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

Improve ip6 support #100

Closed
wants to merge 13 commits into from
Closed

Improve ip6 support #100

wants to merge 13 commits into from

Conversation

jacobheun
Copy link
Contributor

Currently for ip4, TCP will replace 0.0.0.0 in multiaddrs with the ip addresses from your ip4 network. For people using ip6 TCP doesn't do anything. The PR adds that support for ip6. Using an address like /ip6/::/tcp/9094, will replace the host with ip addresses from the ip6 network.

This should help improve node connectivity for users running nodes on ip6 networks.

Other things in the PR

  • Updated deps
  • Removed some encapsulation/decapsulation that wasn't needed for listening.
  • Removed unneeded lodash functions and replaced them with plain js

I'm running a local js-ipfs node with this change and the latest libp2p release candidate (0.24.0-rc.3).

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
libp2p should eventually handle listen versus announce addresses, this helps with ip6 support in the interim

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@ghost ghost assigned jacobheun Nov 15, 2018
@ghost ghost added the status/in-progress In progress label Nov 15, 2018
@jacobheun jacobheun added the kind/enhancement A net-new feature or improvement to an existing feature label Nov 15, 2018
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
@jacobheun jacobheun added the status/blocked Unable to be worked further until needs are met label Nov 15, 2018
@jacobheun
Copy link
Contributor Author

I want to do some more testing of the encapsulation changes. I think there are some integration issues with js-ipfs. I'm going to look into improving testing around those changes.

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
chore: improve test listener closures

License: MIT
Signed-off-by: Jacob Heun <jacobheun@gmail.com>
achingbrain added a commit that referenced this pull request Aug 30, 2022
Adds tests from #100 as the feature has been implemented already.
@achingbrain
Copy link
Member

Superseded by #203

achingbrain added a commit that referenced this pull request Aug 30, 2022
Adds tests from #100 as the feature has been implemented already.
github-actions bot pushed a commit that referenced this pull request Aug 30, 2022
## [3.0.4](v3.0.3...v3.0.4) (2022-08-30)

### Bug Fixes

* add tests for ipv6 wildcard support ([#203](#203)) ([71c974d](71c974d)), closes [#100](#100)
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
kind/enhancement A net-new feature or improvement to an existing feature status/blocked Unable to be worked further until needs are met status/in-progress In progress
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants