Skip to content

Conversation

sukunrt
Copy link
Member

@sukunrt sukunrt commented Aug 4, 2025

This improves the reachability detection logic by introducing the concept of primary and secondary addresses. If we have a webtransport address which shares the IP and Port with a QUIC address, the WebTransport address will be considered secondary and the QUIC address will be considered primary.

If the Primary is reachable or unreachable, we require only one confirmation for the Secondary address. This speeds up address verification considerably.

@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch from 91d3854 to 611df04 Compare August 7, 2025 16:29
@sukunrt sukunrt force-pushed the sukun/an-logic branch 2 times, most recently from 791cacb to d2e6f83 Compare August 7, 2025 17:19
@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch from 611df04 to 8be2504 Compare August 7, 2025 17:19
@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch from 8be2504 to b8d1eab Compare August 17, 2025 12:36
@sukunrt sukunrt force-pushed the sukun/an-logic branch 2 times, most recently from b49b95c to 139e307 Compare August 18, 2025 11:16
@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch 2 times, most recently from d388884 to 4d77c2b Compare August 18, 2025 11:22
@sukunrt sukunrt force-pushed the sukun/an-logic branch 2 times, most recently from 49d58c5 to e9e77a1 Compare August 18, 2025 13:25
@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch from 4d77c2b to 51add1c Compare August 18, 2025 13:25
We'll deprecate this event, but we still have to keep sending this for a
few more releases. More importantly, we need to update the peerstore
with the host's addresses and it's better to do this *before* sending
update events so that consumers of the event can rely on the host addrs
being updated in the peerstore.
@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch from 51add1c to 2346193 Compare August 18, 2025 13:34
@sukunrt sukunrt marked this pull request as ready for review August 18, 2025 13:42
This improves the reachability detection logic by introducing the
concept of primary and secondary addresses. If we have a webtransport
address which shares the IP and Port with a QUIC address, the
WebTransport address will be considered secondary and the QUIC address
will be considered primary. 

If the Primary is reachable or unreachable, we require only one 
confirmation for the Secondary address. This speeds up address
verification considerably.
@MarcoPolo
Copy link
Collaborator

If we have a webtransport address which shares the IP and Port with a QUIC address, the WebTransport address will be considered secondary and the QUIC address will be considered primary.

Why isn't this based on just the "thinwaist" aspect rather than the transport? If my IP + UDP port is reachable, then it very likely doesn't matter if I'm running QUIC, WebTransport, or WebRTC

@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch 4 times, most recently from e675e47 to ecab374 Compare September 16, 2025 16:07
@sukunrt sukunrt force-pushed the sukun/basichost-evtlocaladdrs branch from ecab374 to 4fb69b6 Compare September 25, 2025 16:39
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants