<USERNAME> tag required in regex in fail2ban setup docs #1087

Closed
opened 2026-04-06 01:34:21 +02:00 by MrUnknownDE · 0 comments
Owner

Originally created by @bluppfisk on 6/22/2024

should be updated to contain the USERNAME tag otherwise fail2ban complains about there not being a failure-id group in Username.

(That said, my fail2ban isn't banning although it is recognising the IP address now)

# path_f2b/filter.d/vaultwarden.local

[INCLUDES]
before = common.conf

[Definition]
failregex = ^.*?Username or password is incorrect\. Try again\. IP: <ADDR>\. Username: <USERNAME>.*$
ignoreregex =
*Originally created by @bluppfisk on 6/22/2024* should be updated to contain the USERNAME tag otherwise fail2ban complains about there not being a failure-id group in Username. (That said, my fail2ban isn't banning although it is recognising the IP address now) ``` # path_f2b/filter.d/vaultwarden.local [INCLUDES] before = common.conf [Definition] failregex = ^.*?Username or password is incorrect\. Try again\. IP: <ADDR>\. Username: <USERNAME>.*$ ignoreregex = ```
Sign in to join this conversation.
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github/vaultwarden#1087