Skip to content
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

fix(firewall): block peer base on blacklisted CIDR #1309

Merged
merged 11 commits into from
Jun 2, 2024

Conversation

Ja7ad
Copy link
Contributor

@Ja7ad Ja7ad commented Jun 2, 2024

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.

@Ja7ad Ja7ad requested a review from b00f June 2, 2024 06:13
@b00f b00f changed the title fix(network): firewall block base on ip cidr fix(firewall): block peer base on blacklisted CIDR Jun 2, 2024
config/example_config.toml Outdated Show resolved Hide resolved
sync/firewall/firewall.go Outdated Show resolved Hide resolved
sync/firewall/firewall.go Outdated Show resolved Hide resolved
sync/firewall/firewall.go Outdated Show resolved Hide resolved
util/ipblocker/ipblocker.go Show resolved Hide resolved
util/ipblocker/ipblocker.go Outdated Show resolved Hide resolved
@b00f b00f merged commit 971500b into pactus-project:1.1.x Jun 2, 2024
1 check passed
This was referenced Jun 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants