helium / erlang-libp2p

An Erlang implementation of libp2p swarms
https://helium.github.io/erlang-libp2p
Apache License 2.0
121 stars 34 forks source link

Some IPv6 fixes #391

Open PaulVMo opened 3 years ago

PaulVMo commented 3 years ago

Some fixes to help functionality/testing of IPv6:

  1. Remove ipv6_v6only from connection options for tcp_connect calls as this causes the call to fail (at least on Ubuntu Linux). It remains for socket/listener creation. This addresses the issue in #387
  2. Add bogon list for non-routable IPv6 subnets to avoid publishing unreachable addresses in peer book