-
Notifications
You must be signed in to change notification settings - Fork 1.2k
basichost: don't advertise unreachable addrs. #3357
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
sukunrt
wants to merge
16
commits into
sukun/an-logic
Choose a base branch
from
sukun/unreachable-addrs
base: sukun/an-logic
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
8e6183e
to
9c625fa
Compare
d2e6f83
to
b49b95c
Compare
007a35f
to
acb8b4d
Compare
b49b95c
to
139e307
Compare
acb8b4d
to
e96cfc1
Compare
49d58c5
to
e9e77a1
Compare
e96cfc1
to
2350568
Compare
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.
e9e77a1
to
1c6037b
Compare
2350568
to
0ac09cd
Compare
1c6037b
to
5854b79
Compare
0ac09cd
to
02da20e
Compare
02da20e
to
49a307e
Compare
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.
5854b79
to
a29a664
Compare
49a307e
to
5df6534
Compare
MarcoPolo
approved these changes
Aug 18, 2025
4801766
to
5616d4d
Compare
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.