Skip to content

How does js-libp2p deal with private networks and IPs? #3178

Answered by achingbrain
2color asked this question in Q&A
Discussion options

You must be logged in to vote

All listening addresses are sent during identify. Other modules may make other decisions, for example Kad-DHT can be configured to filter out private addresses (i.e. amino does this) or public addresses (lan-only DHT does this).

Are you seeing public/private addresses in places you don't expect them?

Replies: 1 comment 2 replies

Comment options

You must be logged in to vote
2 replies
@2color
Comment options

2color Jun 10, 2025
Maintainer Author

@akhileshthite

This comment was marked as off-topic.

Answer selected by 2color
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants