Skip to main content

Module outbound_relay

Module outbound_relay 

Source
Expand description

Outbound packet relay — both peers dial the hub; the hub forwards datagrams.

This is the DERP/TURN shape for SocialWebNet: neither side listens on a public UDP port. WireGuard Tunn packets are opaque payloads. An in-process hub proves the contract. A public WSS/443 deployment is a separate operator step (see qdnf-imp/nat-traversal-expert-brief.md).

Labelled transition. Not Native Independent. Not an internet handshake.

Structs§

RelayEndpoint
One dialed end of an outbound relay pair.

Constants§

MAX_DATAGRAM
Bounded datagram size (WireGuard handshake/data frames fit).

Functions§

public_relay_dialed
A public internet relay has not been dialed from this build.
relay_pair
Both endpoints have already “dialed out”. There is no listen socket.
relay_required_for_address_dependent
Recommendation for this pod’s measured class, not a universal connectivity theorem. See address_dependent_is_not_universal_relay_law.