You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on May 11, 2022. It is now read-only.
Before trusting an AutoNAT service, we should try dialing it on all unroutable addresses. We can do this by creating an ephemeral libp2p node (like the AutoNAT service does) but only feeding it unroutable addresses.
This should help tell is if the target is truely on a different network.
The text was updated successfully, but these errors were encountered:
If we aren't careful, this could potentially lead to a non-trivial amount of local network connection attempts. Many nodes will have private networks in the 3 private network spaces, so we're likely to be generating an ongoing trickle of local network connection attempts from most libp2p nodes in doing this
Really, given that, I'd expect this to be somewhat of a non-issue. The "local" connections should always finish first, so just looking at the remote address should work in almost all cases.
Actually, given that, I'm just going to close this.
Before trusting an AutoNAT service, we should try dialing it on all unroutable addresses. We can do this by creating an ephemeral libp2p node (like the AutoNAT service does) but only feeding it unroutable addresses.
This should help tell is if the target is truely on a different network.
The text was updated successfully, but these errors were encountered: