What it is
A small daemon on weirdnet-net with relay_server on. Phones and other nodes behind NAT reserve a slot and become reachable at …/p2p/RELAY/p2p-circuit/p2p/PEER; DCUtR tries a direct path first and the circuit is the fallback.
It also serves the Kademlia DHT, announces itself under the relay provider key, answers AutoNAT probes, and publishes a page with its name, peer id and addresses for people and apps to add it.
What is in it
- Circuit relay v2 server with configurable limits (unlimited by default).
- Kademlia server mode and the
/weirdnet/relay/1provider record, so nodes find relays they were not configured with. - Its node key and state in a SQLCipher database (
weirdnet-storage), keyed from a systemd credential. - An info page: HTML at
/and/.well-known/weirdnet-relay.json. - A TOML config file, flags and environment variables; structured logs; a hardened systemd unit.
Where it fits
- Builds on weirdnet-net, weirdnet-storage.
- Used by WeirdBrains public relays, self-hosters.
- License: BSD-3-Clause.