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
Originally created by @VooZ2 on GitHub (Dec 7, 2019).
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
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!
@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!
Blocking a user prevents them from interacting with repositories, such as opening or commenting on pull requests or issues. Learn more about blocking a user.
Originally created by @VooZ2 on GitHub (Dec 7, 2019).
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!