Description
Currently, STUN packets are sent as raw UDP packets. We've run into situations in the wild where STUN packets get dropped due to high latency or congestion. Since STUN packets tell us what our own public IP address is, when these packets get lost, we no don't know our own address, and therefore can't tell other's what our dialable addresses are.
Doing address discovery over QUIC rather than through the usual STUN / UDP process does two things:
-
QUIC connections have guaranteed delivery. In highly congested / low latency networks, we will still get our public addresess.
-
QUIC connections are encrypted! No more leaking your public address information for anyone to peak at.
Our plan is to implement QUIC Address Discovery, which replaces the functionality of STUN with a new protocol that runs over a QUIC connection.
This work will happen in a few phases:
- implement QUIC Address Discovery in iroh-quinn, our fork of quinn
QUIC Address discovery extension quinn#12 - interop tests with picoquic
- integrating QUIC Address Discovery into iroh-relay
- integrating QUIC Address Discovery into net-report
Metadata
Metadata
Assignees
Type
Projects
Status