mirror of https://github.com/fail2ban/fail2ban
more precise anchored RE (also combining all 3 REs in a single regex)
parent
b6fac90b5a
commit
ab0847e2d5
|
@ -16,9 +16,7 @@ _daemon = monitorix-httpd
|
||||||
# (?:::f{4,6}:)?(?P<host>\S+)
|
# (?:::f{4,6}:)?(?P<host>\S+)
|
||||||
# Values: TEXT
|
# Values: TEXT
|
||||||
#
|
#
|
||||||
failregex = NOTEXIST - \[<HOST>\] .*
|
failregex = ^(?:\s+-)?\s*(?:NOTEXIST|AUTHERR|NOTALLOWED) - <ADDR>\b
|
||||||
AUTHERR - \[<HOST>\] .*
|
|
||||||
NOTALLOWED - \[<HOST>\] .*
|
|
||||||
|
|
||||||
# Option: ignoreregex
|
# Option: ignoreregex
|
||||||
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||||
|
|
Loading…
Reference in New Issue