-
Notifications
You must be signed in to change notification settings - Fork 17
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support an operation mode that doesn't dial private IP addresses #121
Comments
You can just use a go-libp2p connection gater. Here are the address ranges you probably want to filter https://github.com/ipfs/kubo/blob/4283b9d98f8438fc8751ccc840d8fc24eeae6f13/config/profile.go#L27. Here is the addressfilter connection gater used in kubo https://github.com/ipfs/kubo/blob/4283b9d98f8438fc8751ccc840d8fc24eeae6f13/core/node/libp2p/addrs.go#L13. go-libp2p might have some other builtins that you can use though, I don't recall what the latest is there |
Do we need further action here? |
essentially should we apply the setup @aschmahmann referenced above @willscott ? |
correct |
@hannahhoward is this done? |
I don't believe this is done, shouldn't be too hard but we should only be doing this when the user doesn't give us explicit |
There are reports from operators of
Netscan detected
and similar.This is also present in IPFS nodes, and often comes from attempts to dial peers that have private-space ip addresses
(in this case the data center observed the VM attempting to dial into the
192.168.x.x
and10.x.x.x
spaces)this is likely a libp2p configuration tweak. we may want help from libp2p stewards to identify what the optimal configuration will be to limit our exposure to triggering this sort of issue.
The text was updated successfully, but these errors were encountered: