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

Add blocklist support #6

Merged
merged 1 commit into from
Mar 20, 2014
Merged

Conversation

adammw
Copy link
Contributor

@adammw adammw commented Mar 20, 2014

This PR adds support for blocklists which allows rejecting peers based on a set of predefined IP address ranges. The blocklist format that is expected is an array of objects, each with a startAddress and endAddress and optionally a reason.

This only implements support for IPv4 addresses.

mafintosh added a commit that referenced this pull request Mar 20, 2014
@mafintosh mafintosh merged commit f65f410 into mafintosh:master Mar 20, 2014
@mafintosh
Copy link
Owner

Looks great, thanks!

@mafintosh
Copy link
Owner

Released as 0.4.0

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