Skip to content
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

E. 📢 Judicious Address Advertisements #1812

Open
p-shahi opened this issue Oct 7, 2022 · 0 comments
Open

E. 📢 Judicious Address Advertisements #1812

p-shahi opened this issue Oct 7, 2022 · 0 comments
Labels

Comments

@p-shahi
Copy link
Member

p-shahi commented Oct 7, 2022

Why: A node that advertises lots of addresses hurts itself. Other nodes will have to try dialing a lot of addresses before they find one that actually works, dramatically increasing handshake latencies.

Goal: Nodes only advertise addresses that they are actually reachable at.

How: Unfortunately, the AutoNAT protocol can’t be used to probe the reachability of any particular address (especially due to a bug in the go-libp2p implementation deployed years ago). Most likely, we need a second version of the AutoNAT protocol.

Related discussion: #1480

@p-shahi p-shahi added the Epic label Oct 7, 2022
@p-shahi p-shahi changed the title G. 📢 Judicious Address Advertisements E. 📢 Judicious Address Advertisements Oct 21, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant