Skip to content
This repository has been archived by the owner on Jun 26, 2023. It is now read-only.

feat!: add observed address methods #269

Merged
merged 2 commits into from
Oct 7, 2022

Conversation

achingbrain
Copy link
Member

When we observe an address that might be externally dialable (via identify or uPNP NAT holepunching, etc), we need some way of signalling that we've either verified it's externally dialable and that we are safe to advertise it, or that it's not dialable and that we should forget about it.

These methods are necessary to implement autonat.

When we observe an address that might be externally dialable (via
identify or uPNP NAT holepunching, etc), we need some way of signalling
that we've either verified it's externally dialable and that we are
safe to advertise it, or that it's not dialable and that we should
forget about it.

These methods are necessary to implement autonat.
achingbrain added a commit to libp2p/js-libp2p that referenced this pull request Jul 19, 2022
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
@achingbrain achingbrain changed the title feat: add observed address methods feat!: add observed address methods Oct 7, 2022
@achingbrain achingbrain merged commit 0b157d5 into master Oct 7, 2022
@achingbrain achingbrain deleted the feat/add-observed-address-methods branch October 7, 2022 14:57
github-actions bot pushed a commit that referenced this pull request Oct 7, 2022
## [@libp2p/interface-address-manager-v2.0.0](https://github.com/libp2p/js-libp2p-interfaces/compare/@libp2p/interface-address-manager-v1.0.3...@libp2p/interface-address-manager-v2.0.0) (2022-10-07)

### ⚠ BREAKING CHANGES

* add observed address methods (#269)

### Features

* add observed address methods ([#269](#269)) ([0b157d5](0b157d5))
@github-actions
Copy link

github-actions bot commented Oct 7, 2022

🎉 This PR is included in version @libp2p/interface-address-manager-v2.0.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

achingbrain added a commit to libp2p/js-libp2p that referenced this pull request Mar 14, 2023
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:

- [x] libp2p/js-libp2p-interfaces#269

Fixes #1005
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants