mirror of https://github.com/fail2ban/fail2ban
ENH: stricter regex thanks to Steven Hiscocks (kwirk)
parent
16d63434ef
commit
f2fa4d53a8
|
@ -8,10 +8,10 @@
|
|||
[Definition]
|
||||
|
||||
# Option: failregex
|
||||
# Notes.: http://www.3proxy.ru/howtoe.asp#ERRORS that 1-9 are all authentication problems
|
||||
# Notes.: http://www.3proxy.ru/howtoe.asp#ERRORS that 1-9 are all authentication problems (%E field)
|
||||
# Log format is: "L%d-%m-%Y %H:%M:%S %z %N.%p %E %U %C:%c %R:%r %O %I %h %T"
|
||||
# Values: TEXT
|
||||
#
|
||||
failregex = \S+\s0000[1-9]\s\S+\s<HOST>:[0-9]+\S+[0-9]+\s[0-9]+\s.*$
|
||||
failregex = \s[+-][0-9]{4} \S+ 0000[1-9] \S+ <HOST>:[0-9]+ [0-9.]+:[0-9]+ [0-9]+ .*$
|
||||
|
||||
ignoreregex =
|
||||
|
|
Loading…
Reference in New Issue