-
Notifications
You must be signed in to change notification settings - Fork 141
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
feat: add ipblocker package #1323
Conversation
There are some items that need to be added to this PR: |
We have many changes before merge PR #1309 about query votes, peerset and ... https://github.com/pactus-project/pactus/tree/971500b7a5612b32317e7509ddd2f0d7edda3afa First need add this changes before add ipblocker on sync and firewall. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1323 +/- ##
==========================================
+ Coverage 76.05% 76.43% +0.37%
==========================================
Files 206 231 +25
Lines 10672 11718 +1046
==========================================
+ Hits 8117 8957 +840
- Misses 2169 2347 +178
- Partials 386 414 +28 |
Done |
fix(firewall): rename blacklisted to banned
Description
This PR allows nodes to block peers based on a given CIDR range, instead of individual IP addresses. This enables each node to block a range of IPs more effectively.