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 blacklist #1

Merged
merged 4 commits into from
Oct 12, 2023
Merged

Add blacklist #1

merged 4 commits into from
Oct 12, 2023

Conversation

Ulexus
Copy link
Collaborator

@Ulexus Ulexus commented Oct 3, 2023

No description provided.

Ulexus added 3 commits October 2, 2023 09:24
This adds blocklist functionality, while preserving the allowlist.
To make this more useful, we also introduce a default policy:  if an IP
matches neither allow- or block-list, it will be allowed or not based on
the default policy.

For CIDR-based lists, higher specificity CIDRs should always take
priority to lower-specificity ones.  In the event of a tie, the block
list should always take priority over the allow list.
@jack-kearney jack-kearney merged commit e71fca6 into main Oct 12, 2023
3 checks passed
@Ulexus Ulexus deleted the add-blacklist branch October 12, 2023 15:01
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.

2 participants