mirror of https://github.com/fail2ban/fail2ban
improved failregex according to @sebres recomendations
parent
dcb69b0242
commit
48c094f612
|
@ -13,7 +13,7 @@ before = common.conf
|
||||||
|
|
||||||
_daemon = slapd
|
_daemon = slapd
|
||||||
|
|
||||||
failregex = ^(?P<__prefix>%(__prefix_line)s).* conn=(?P<pid>\d+) fd=\d+ ACCEPT from IP=<HOST>\:\d+ .+$<SKIPLINES>(?P=__prefix).+ conn=(?P=pid) .* RESULT .* err=49 .*$
|
failregex = ^(?P<__prefix>%(__prefix_line)s)conn=(?P<_conn_>\d+) fd=\d+ ACCEPT from IP=<HOST>[^\n]+<SKIPLINES>(?P=__prefix)conn=(?P=_conn_) op=\d+ RESULT(?:\s(?!err)\S+=\S*)* err=49\s
|
||||||
|
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue