Created
May 30, 2022 21:37
-
-
Save Abrynos/827af357e700cc5dc2fa706ae7bb3aad to your computer and use it in GitHub Desktop.
fail2ban filter to catch authentication failures with postfixadmin via nginx logs
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[Definition] | |
failregex = ^.*PostfixAdmin (admin|user) login failed .*ip_address: <HOST>.*$ | |
(?i)^<HOST> -.*] \"(GET|POST|PUT|DELETE|HEAD) (/.*)?/\.git/ | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment