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 filter for nginx modsecurity (0.9.7) #2347

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

charlietag
Copy link

I'm using Nginx-modsecurity, and I need fail2ban (0.9.7 - Yum - CentOS 7.x) to filter that log.
And I don't need IPv6.
The only modsecurity related is just apache-modsecurity. So I add this filter.
If something wrong, please let me know. Thanks

Before submitting your PR, please review the following checklist:

  • [ x] CHOOSE CORRECT BRANCH: if filing a bugfix/enhancement
    against 0.9.x series, choose master branch
  • [x ] CONSIDER adding a unit test if your PR resolves an issue
  • [x ] LIST ISSUES this PR resolves
  • [x ] MAKE SURE this PR doesn't break existing tests
  • [x ] KEEP PR small so it could be easily reviewed.
  • [x ] AVOID making unnecessary stylistic changes in unrelated code
  • [x ] ACCOMPANY each new failregex for filter X with sample log lines
    within fail2ban/tests/files/logs/X file

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

1 participant