[GH-ISSUE #4666] <USERNAME> tag required in regex in fail2ban setup docs #1950

Closed
opened 2026-03-03 02:13:43 +03:00 by kerem · 0 comments
Owner

Originally created by @bluppfisk on GitHub (Jun 22, 2024).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4666

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 GitHub (Jun 22, 2024). Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/4666 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 = ```
kerem closed this issue 2026-03-03 02:13:43 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/vaultwarden#1950
No description provided.