Networking
Peer discovery
ETSi discovers peers by scanning every IP address in your subnet on port 9090 in parallel async tasks. This typically completes within 1–3 seconds on a standard /24 subnet. Discovered peers are added to the address book immediately.
Gossip protocol
Every 10 seconds, ETSi selects a random known peer and sends it your complete address book as a JSON payload. The receiving peer merges this with its own state and responds in kind. State propagates to every node on the mesh within a few cycles.
Ports
| Port | Protocol | Purpose |
|---|---|---|
9090 | TCP | Mesh listener — discovery and gossip |
9095 | TCP | Direct peer chat |
9099 | TCP | Zero trust gateway proxy |
8080 | TCP | Caddy server (when hosting a site) |