Skip to content

AutoNat #4500

Closed Answered by thomaseizinger
kehiy asked this question in Q&A
AutoNat #4500
Sep 13, 2023 · 1 comments · 3 replies
Discussion options

You must be logged in to vote

Two things: Our current AutoNAT implementation is (unfortunately by design) a bit flawed because we might accidentally be hole-punching and thus falsely reporting a "no NAT" status. To fix this, there is a V2 currently in the works: libp2p/specs#538

And if it doesn't, how they send the result to a private node?

The node that wants its NAT status figured out dialed the AutoNAT server. This means the server can still open a stream back to the node and report the result of the dial attempt. See the specs for details: https://github.com/libp2p/specs/tree/master/autonat

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@kehiy
Comment options

@thomaseizinger
Comment options

@kehiy
Comment options

Answer selected by kehiy
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants