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 instant banning to netfilter #6242

Open
wants to merge 3 commits into
base: staging
Choose a base branch
from

Conversation

LostCacher
Copy link

@LostCacher LostCacher commented Jan 12, 2025

Contribution Guidelines

What does this PR include?

Short Description

i have add a instant bann function in netfilter for specifig regex rules

(a suggestion from me would be to check the regex rules in the web ui of the netfilter configuration which should be banned immediately)

Affected Containers

  • netfilter-mailcow

Did you run tests?

YES

What did you tested?

I waited until false sasl logins or non-SMTP comands appeared again. These were then successfully banned immediately. Since I see it as a security risk and get a lot of attempts. It works as expected.

What were the final results? (Awaited, got)

The attacks of the selected regex rules were successfully banned immediately with the maximum ban time

banlist
log

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