mirror of https://github.com/fail2ban/fail2ban
anchored datepattern and added journalmatch (if monitoring systemd journal)
parent
212a4c236a
commit
9cbf59c827
|
@ -19,3 +19,7 @@
|
||||||
[Definition]
|
[Definition]
|
||||||
failregex = \[error\] \d+#\d+: \*\d+ access forbidden by rule, client: <HOST>
|
failregex = \[error\] \d+#\d+: \*\d+ access forbidden by rule, client: <HOST>
|
||||||
ignoreregex =
|
ignoreregex =
|
||||||
|
|
||||||
|
datepattern = {^LN-BEG}
|
||||||
|
|
||||||
|
journalmatch = _SYSTEMD_UNIT=nginx.service + _COMM=nginx
|
||||||
|
|
Loading…
Reference in New Issue