mirror of
https://github.com/dani-garcia/vaultwarden.git
synced 2026-04-26 09:46:00 +03:00
[GH-ISSUE #761] no IP address in log file #521
Labels
No labels
SSO
Third party
better for forum
bug
bug
documentation
duplicate
enhancement
future Vault
future Vault
future Vault
good first issue
help wanted
low priority
notes
pull-request
question
troubleshooting
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/vaultwarden#521
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @VooZ2 on GitHub (Dec 7, 2019).
Original GitHub issue: https://github.com/dani-garcia/vaultwarden/issues/761
Hi,
I'm trying to run fail2ban from WIKI. With /admin page it works, logs are with IP address:
[2019-12-07 14:54:04][bitwarden_rs::api::admin][ERROR] Invalid admin token. IP: 188.69.198.226
[2019-12-07 14:54:05][bitwarden_rs::api::admin][ERROR] Invalid admin token. IP: 188.69.198.226
[2019-12-07 14:54:06][bitwarden_rs::api::admin][ERROR] Invalid admin token. IP: 188.69.198.226
But for vault failed attempts logs don't have IP address and fail2ban doesn't work:
[2019-12-07 15:00:52][error][ERROR] Username or password is incorrect. Try again
[2019-12-07 15:00:53][error][ERROR] Username or password is incorrect. Try again
[2019-12-07 15:00:54][error][ERROR] Username or password is incorrect. Try again
[2019-12-07 15:06:08][error][ERROR] Username or password is incorrect. Try again
Where I made mistake and how to fix it?
Version: 1.13.0-a03db6d2
@dani-garcia commented on GitHub (Dec 7, 2019):
Oops that was my mistake in the latest changes to logging, I added it back again and it should show in all the new builds. Thanks for mentioning it!