Rev 192 |
Details |
Compare with Previous |
Last modification |
View Log
| RSS feed
Rev |
Author |
Line No. |
Line |
192 |
- |
1 |
# Fail2Ban filter for Bitwarden
|
|
|
2 |
# Detecting failed login attempts
|
|
|
3 |
# Logged in bwdata/logs/identity/Identity/log.txt
|
|
|
4 |
|
193 |
- |
5 |
[INCLUDES]
|
|
|
6 |
before = common.conf
|
|
|
7 |
|
192 |
- |
8 |
[Definition]
|
193 |
- |
9 |
_daemon = Bitwarden-Identity
|
|
|
10 |
failregex = ^%(__prefix_line)s\s*\[(?:W(?:RN|arning)|Bit\.Core\.[^\]]+)\]\s+Failed login attempt(?:, 2FA invalid)?\. <ADDR>$
|
|
|
11 |
|
|
|
12 |
# DEV Notes:
|
|
|
13 |
# __prefix_line can result to an empty string, so it can support syslog and non-syslog at once.
|