mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
improve regex (anchored from left, no catch-alls, <ADDR> for IP, etc)
This commit is contained in:
parent
cf9135983c
commit
6104444bb4
1 changed files with 1 additions and 1 deletions
|
|
@ -4,5 +4,5 @@
|
|||
|
||||
[Definition]
|
||||
|
||||
failregex = \[vaultwarden::api::(identity||admin||core::two_factor::authenticator)\]\[ERROR\] (Invalid admin token||Invalid TOTP code||Username or password is incorrect)(.*) IP: <HOST>(?:\. Username: <F-USER>.+</F-USER>\.)?$
|
||||
failregex = ^\s*(?:\[\]\s*)?\[vaultwarden::api::(identity||admin||core::two_factor::authenticator)\]\[ERROR\] (Invalid admin token||Invalid TOTP code||Username or password is incorrect)[\.!](?:\s+(?!IP:)\S+)* IP: <ADDR>(?:\. Username: <F-USER>\S+</F-USER>)?
|
||||
ignoreregex =
|
||||
|
|
|
|||
Loading…
Reference in a new issue