go-libp2p-kad-dht
go-libp2p-kad-dht copied to clipboard
Filter addresses advertised by Kademlia
We probably don't want to advertise the node's private addresses on the global DHT. However, we still want users to be able to create their own private (non local) DHT. This filter could be implemented as an option on the IpfsDHT
, and the default filter could prevent advertising private addresses.
See: https://github.com/libp2p/go-libp2p-kad-dht/pull/839
cc: @marten-seemann
related to https://github.com/libp2p/go-libp2p-kad-dht/pull/872
Closing for https://github.com/libp2p/go-libp2p-kad-dht/pull/872 has been merged