update mwp docs
This commit is contained in:
@@ -41,6 +41,17 @@ MWP eliminates all three by having peers **witness each other**:
|
||||
3. Shared parameters computed from both contributions
|
||||
4. Simultaneous connection attempt at computed rendezvous time
|
||||
|
||||
### Bundled STUN (IP Reflection)
|
||||
|
||||
MWP includes a novel **Bundled STUN** mechanism: every DHT response includes the requester's observed source address. This eliminates STUN servers entirely - peers discover their public IP from normal DHT traffic:
|
||||
|
||||
```
|
||||
Alice ── DHT_REQUEST ──> DHT Node (src: 192.0.2.1:54321)
|
||||
Alice <── DHT_RESPONSE ── DHT Node (observed_addr: 192.0.2.1:54321)
|
||||
|
||||
Now Alice knows her public IP without any STUN server!
|
||||
```
|
||||
|
||||
## Quick Start
|
||||
|
||||
```zig
|
||||
@@ -86,6 +97,7 @@ defer connection.close();
|
||||
| Metric | DCUtR | STUN+Signaling | **MWP** |
|
||||
|--------|-------|----------------|---------|
|
||||
| External servers | 1+ relays | 2 servers | **0** |
|
||||
| IP discovery | STUN servers | STUN servers | **Bundled in DHT** |
|
||||
| Latency (typical) | ~2s | ~1-2s | **~1-2s** |
|
||||
| Centralization | Relay operators | Server operators | **None** |
|
||||
| Infrastructure | Must run relays | Must run servers | **DHT only** |
|
||||
|
||||
Reference in New Issue
Block a user