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

libp2p connectivity check false positive with ipv6? #7

Open
lidel opened this issue Nov 6, 2024 · 1 comment
Open

libp2p connectivity check false positive with ipv6? #7

lidel opened this issue Nov 6, 2024 · 1 comment

Comments

@lidel
Copy link
Contributor

lidel commented Nov 6, 2024

Extracted from #4, originally reported by @aschmahmann:

AFAICT [this connectivity check (subscribing for EvtLocalReachabilityChanged into network.ReachabilityPublic)] does not work due to a mismatch between the ObsAddrManager and EvtLocalReachabilityChanged as emitted by autonat:

This seems like a bug we'd ideally fix within go-libp2p, but maybe I'm missing something
cc @sukunrt @MarcoPolo

@sukunrt
Copy link

sukunrt commented Nov 27, 2024

This will be fixed by libp2p/go-libp2p#2229

To clarify the detail, the AutoNAT Server dials the observed address of the client on the connection(conn.RemoteAddr()) in addition to the ones provided by the client. The observed address manager on the client is not advertising it because it doesn't have enough confidence in the address yet.

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

No branches or pull requests

2 participants