mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
more precise anchored RE (also combining all 3 REs in a single regex)
This commit is contained in:
parent
b6fac90b5a
commit
ab0847e2d5
1 changed files with 1 additions and 3 deletions
|
|
@ -16,9 +16,7 @@ _daemon = monitorix-httpd
|
|||
# (?:::f{4,6}:)?(?P<host>\S+)
|
||||
# Values: TEXT
|
||||
#
|
||||
failregex = NOTEXIST - \[<HOST>\] .*
|
||||
AUTHERR - \[<HOST>\] .*
|
||||
NOTALLOWED - \[<HOST>\] .*
|
||||
failregex = ^(?:\s+-)?\s*(?:NOTEXIST|AUTHERR|NOTALLOWED) - <ADDR>\b
|
||||
|
||||
# Option: ignoreregex
|
||||
# Notes.: regex to ignore. If this regex matches, the line is ignored.
|
||||
|
|
|
|||
Loading…
Reference in a new issue