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/log ip on country block #3

Closed
wants to merge 26 commits into from

Conversation

Ulexus
Copy link
Owner

@Ulexus Ulexus commented Jul 1, 2024

Log the IP address which was blocked.

Ulexus and others added 26 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.
allow unknown country IPs to continue being processed
chore(deps): update actions/setup-go action to v5
…er-action-digest

chore(deps): update goreleaser/goreleaser-action digest to 5fdedb9
…gest

chore(deps): update actions/checkout digest to b4ffde6
…er-action-5.x

chore(deps): update goreleaser/goreleaser-action action to v5
…int-action-4.x

chore(deps): update golangci/golangci-lint-action action to v4
yaegi doesn't support ´embed`

Signed-off-by: nscuro <[email protected]>
@Ulexus Ulexus closed this Jul 1, 2024
@Ulexus Ulexus deleted the sean/log-ip-on-country-block branch July 1, 2024 16:35
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.

5 participants