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

Sean/allow unknown country processing #2

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Ulexus
Copy link
Owner

@Ulexus Ulexus commented Nov 1, 2023

If an IP address is not found in the country database, the previous behaviour was to stop processing. This change allows the processing to continue, to be handled by IP rules or otherwise be handled as the default rule.

Ulexus and others added 7 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.
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