moved fail2ban to docker

This commit is contained in:
Kovasky Buezo
2024-03-21 15:01:10 -04:00
parent 74d4679c93
commit 96c7d033b6
10 changed files with 0 additions and 0 deletions

View File

@ -0,0 +1,13 @@
[INCLUDES]
before = common.conf
[Definition]
failregex = ^.*Unsuccessful (1FA|TOTP|Duo|U2F) authentication attempt by user .*remote_ip="?<HOST>"? stack.*
(?i)^.*access to .*is not authorized.*remote_ip=<HOST>
^.* is banned until .*remote_ip=<HOST> stack.*
ignoreregex = ^.*level=debug.*
^.*level=info.*
^.*level=warning.*

View File

@ -0,0 +1,7 @@
[INCLUDES]
before = common.conf
[Definition]
failregex = .*(Failed authentication attempt|invalid credentials|Attempted access of unknown user).* from <HOST>

View File

@ -0,0 +1,7 @@
[INCLUDES]
before = common.conf
[Definition]
failregex=^{"reqId":".*","remoteAddr":"<HOST>".*message":"Login failed: .*}$