-
Notifications
You must be signed in to change notification settings - Fork 211
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
[Merged by Bors] - p2p: fix gater blocklist setup #5511
Conversation
The IP blockslists were not initialized properly. This change is related to #5510, but doesn't constitute a complete fix, as enabling the blocklists makes it impossible for the peers on the same LAN to talk to each other on their private IPs without involving NAT hairpinning, which may not be supported by the router or the ISP.
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## develop #5511 +/- ##
=======================================
Coverage 77.6% 77.6%
=======================================
Files 268 268
Lines 31211 31200 -11
=======================================
- Hits 24242 24241 -1
+ Misses 5439 5430 -9
+ Partials 1530 1529 -1 ☔ View full report in Codecov by Sentry. |
bors try |
tryBuild failed: |
bors merge |
## Motivation The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
Build failed: |
Good job! |
bors merge |
## Motivation The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
Build failed: |
bors merge |
## Motivation The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
Pull request successfully merged into develop. Build succeeded:
|
## Motivation The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
## Motivation The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
## Motivation The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
Backport #5511: p2p: fix gater blocklist setup
Motivation
The IP blockslists were not initialized properly. This results in "portscans", when the node tries to contact other nodes outside its local network on their private IP. See #5510 for more information
Description
This fixes gater setup and adds test cases that were missing, causing the issue to be overlooked in the first place.
This change is related to #5510, but doesn't constitute a complete fix, as enabling the blocklists makes it impossible for the peers on the same LAN to talk to each other on their private IPs without involving NAT hairpinning, which may not be supported by the router or the ISP.
Test Plan
Ran a node with this patch applied