File tree Expand file tree Collapse file tree 1 file changed +7
-7
lines changed
Expand file tree Collapse file tree 1 file changed +7
-7
lines changed Original file line number Diff line number Diff line change 1- ## Version 2022/08/06
1+ ## Version 2024/01/19
22# Fail2Ban filter configuration for authelia
33
44[INCLUDES]
@@ -11,11 +11,11 @@ before = common.conf
1111[Definition]
1212
1313# this counts every failed login (wrong username or password) and failed TOTP entry as a failure
14- failregex = ^.*Unsuccessful (1FA|TOTP|Duo|U2F) authentication attempt by user .*remote_ip= "?<HOST>"? stack.*
15- (?i)^.*access to .*is not authorized.*remote_ip= <HOST>
16- ^.* is banned until .*remote_ip= <HOST> stack.*
14+ failregex = ^.*Unsuccessful (1FA|TOTP|Duo|U2F) authentication attempt by user .*remote_ip"?(:|=) "?<HOST>"?.*$
15+ (?i)^.*access to .*is not authorized.*remote_ip"?(:|=)"? <HOST>"?.*$
16+ ^.* is banned until .*remote_ip"?(:|=)"? <HOST>"?.*$
1717
1818# we can ignore debug, info and warning messages as all authentication failures are flagged as level=error by Authelia
19- ignoreregex = ^.*level=debug .*
20- ^.*level=info .*
21- ^.*level=warning .*
19+ ignoreregex = ^.*level"?(:|=)"?info .*
20+ ^.*level"?(:|=)"?warning .*
21+ ^.*level"?(:|=)"?debug .*
You can’t perform that action at this time.
0 commit comments