-
Notifications
You must be signed in to change notification settings - Fork 25
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
Add validation for the node's IP address #108
Comments
I think we also need to may to bypass the verification , for instance during dev, loopback address should be allowed or even private ones (for docker) |
we can also exclude router addresses |
Yes we will filter out all the private address ranges. |
So I am only implementing this for prod because in dev I use 0.0.0.0. |
Writing testcases for p2p.ex, pending_transaction_validation.ex, networking.ex. |
Added IP address verification to ensure a node is reachable (discarding private IP ranges, and unreachable addresses) Added node duplication check to avoid overload of IP/Port for different nodes Fixes #108
Prevents unreachable or dummy node's IP address to join (i.e 0.0.0.0, 127.0.0.1, etc.)
Prevents an already existing IP address to join (to avoid conflicts)
Epic: #306
The text was updated successfully, but these errors were encountered: