go-libp2p icon indicating copy to clipboard operation
go-libp2p copied to clipboard

Don't accounce deprecated addresses to the network

Open lemmi opened this issue 6 years ago • 1 comments

I just noticed ipfs announces almost all addresses to the swam. This is kind of annoying with ipv6 privacy extensions enabled, because there will be a bunch of deprecated addresses that should not be used for new connections anymore:

...
    inet6 2xxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx:xxxx/64 scope global temporary deprecated dynamic
       valid_lft 11814sec preferred_lft 0sec
...

lemmi avatar Jun 12 '18 08:06 lemmi

More context and explanation what a deprecated address is: https://www.reddit.com/r/ipv6/comments/nfpu9h/why_do_i_have_3_ipv6_addresses_and_what_do_these/

Related Go proposal: https://github.com/golang/go/issues/42694

Since we need the Go proposal to be implemented, this issue is currently blocked.

marten-seemann avatar Jun 28 '23 02:06 marten-seemann