Repository navigation
knoten_first_release
Pre-release
Pre-release
v0.2.0-alpha
First working release of Knoten, a mesh VPN that creates direct, peer-to-peer WireGuard tunnels.
What's included
Coordination server (coordserver)
- Machine registration with automatic VPN address assignment from
10.10.0.0/16 - Peer sync endpoint, nodes poll for the latest peer list on a configurable interval
- Health endpoint (
/v1/health) reporting machine count, uptime, and fleet status - Join token authentication with constant-time comparison
- Pure-Go SQLite storage (WAL mode,
synchronous = FULL) - Defensive HTTP layer: bounded request bodies, strict JSON decoding, request timeouts, panic recovery
Node daemon (meshd)
- Automatic X25519 key generation via
crypto/ecdh— private keys never leave the machine - Register → sync → render → apply loop with live
wg syncconfupdates (zero tunnel downtime) - Exponential backoff with jitter (1s → 60s) when the coordination server is unreachable
- Standalone mode for static peer lists, no server required
- Interactive setup wizard (
meshd -setup) - SIGHUP for immediate sync, SIGTERM/SIGINT for clean shutdown
- Atomic config writes (temp → fsync → rename)
Requirements
- Linux with
wireguard-toolsinstalled - One reachable host for
coordserver(coordinated mode only)
Full Changelog: https://github.com/Yacin1102/Knoten/commits/0.2.0-alpha