mirror of
https://github.com/fail2ban/fail2ban.git
synced 2026-03-11 08:55:31 +00:00
Create vaultwarden.conf
Filter for unsuccessful Vaultwarden authentication attempts
This commit is contained in:
parent
6b57e46070
commit
c7f7bc55bb
1 changed files with 8 additions and 0 deletions
8
config/filter.d/vaultwarden.conf
Normal file
8
config/filter.d/vaultwarden.conf
Normal file
|
|
@ -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 a new issue