trifid/README.md

35 lines
3.2 KiB
Markdown
Raw Permalink Normal View History

2023-02-02 23:38:39 +00:00
# trifid
trifid is an open-souce reimplementation of the [Defined Networking](https://defined.net) management protocol for [Nebula](https://github.com/slackhq/nebula) networks.
2023-03-30 16:45:18 +00:00
It includes a reimplementation of the [API Server](https://api.defined.net), the [Web UI](https://admin.defined.net), `dnclient`, `nebula-cert` and `dnapi` - all fully API-compatible with the original versions.
2023-02-02 23:38:39 +00:00
2023-07-26 21:05:47 +00:00
In addition to this, we include a command-line tool `tfcli` for interfacing with the DN [management API](https://docs.defined.net/api/defined-networking-api/), fully compatible with the upstream API or a third-party API implementation such as `trifid-api`.
We also include a Rust library for interacting with keys and certificates in the Nebula PKI. Find it in `trifid-pki/`, or on crates.rs as `trifid-pki`. This library is an implementation of the Nebula PKI system that is mostly feature-complete, with the exception of non-Curve25519 cryptography, which is currently unsupported.
2023-03-30 16:45:18 +00:00
Want to make your own Defined Networking client? Check out `dnapi-rs`! `dnapi-rs` is a Rust port of the official `dnapi` Go library, to allow for easy interactions with Defined Networking-compatible API servers. Find it in `dnapi-rs/`, or on crates.rs as `dnapi-rs`.
2023-02-27 19:52:29 +00:00
2023-02-02 23:38:39 +00:00
The API implementation is tested with the official dnclient implementaiton, and the dnclient implementation is tested with the official API server, to ensure complete feature parity between the two.
2023-07-26 21:05:47 +00:00
# Documentation
2023-02-02 23:38:39 +00:00
2023-10-11 00:10:21 +00:00
You can find the documentation [here](https://trifid.e3t.cc)! You can find the latest, bleeding-edge docs [here](https://next.trifid.e3t.cc)!
2023-07-27 21:20:54 +00:00
Documentation work is underway. Parts of the documentation may be broken or unfinished.
2023-02-02 23:38:39 +00:00
2023-07-26 21:05:47 +00:00
# Supported Platforms
2023-02-02 23:38:39 +00:00
2023-07-26 21:05:47 +00:00
tfclient is designed to be self-contained and as cross-platform as possible. Where possible, tfclient can be completley self-contained and fully functional on so-called "Tier 1" supported platforms. On other platforms, tfclient itself works great, but due to limitations of the platform cannot properly link with nebula, and thus needs to be broken out into two components - tfclient, to fetch config from the API, and nebula, running entirely separately, running off of that config. These platforms are known as "Tier 2" platforms.
2023-02-02 23:38:39 +00:00
2023-07-26 21:05:47 +00:00
In addition, not all clients support connecting to trifid-api. Both tfclient support tiers and trifid-api connectivity capability are listed below.
2023-06-23 23:21:01 +00:00
2023-07-26 21:05:47 +00:00
| Operating System / Architecture | tfclient support tier | trifid-api compatible? |
|---------------------------------|-----------------------------------|-------------------------------------|
| Windows (all architectures) | Tier 2 - external nebula required | Yes (tfclient/dnclient) |
| Darwin (OSX, MacOS) | Tier 2 - untested, maybe T1 | Yes (tfclient/dnclient) |
| FreeBSD (amd64) | Tier 1 - untested | Yes (tfclient/dnclient) |
| Linux (most architectures) | Tier 1 | Yes (tfclient/dnclient) |
| Android | Unsupported | No (almost - help wanted! see docs) |
| iOS | Unsupported | No (almost - help wanted! see docs) |