mirror of https://github.com/fail2ban/fail2ban
Create vaultwarden.conf
Filter for unsuccessful Vaultwarden authentication attemptspull/3979/head
parent
6b57e46070
commit
c7f7bc55bb
|
@ -0,0 +1,8 @@
|
|||
# Fail2Ban filter for unsuccessful Vaultwarden authentication attempts
|
||||
# Logged in /var/log/vaultwarden.log
|
||||
# Author: LearningSpot
|
||||
|
||||
[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>\.)?$
|
||||
ignoreregex =
|
Loading…
Reference in New Issue