-
Notifications
You must be signed in to change notification settings - Fork 445
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
feat: add autonat support #1298
Conversation
Implements the [autonat](https://github.com/libp2p/specs/blob/master/autonat/README.md) spec to give us confidence in our external addresses and to open the door to things like switching DHT server mode on automatically, hole punching, v2 circuit relay etc. Depends on: - [ ] libp2p/js-libp2p-interfaces#269
Testing locally, I get different port numbers from every connection during identify. E.g. I have uPNP hole punching which opens We need to handle this better before merging. Either:
|
Okay, I managed to bring it up to speed with the current master branch. @achingbrain How do you test that locally and observe? |
Implements the autonat spec to give us confidence in our external addresses and to open the door to things like switching DHT server mode on automatically, hole punching, v2 circuit relay etc.
Depends on:
Fixes #1005