[Enhancement]: Log client IP address on successful login #1115

Closed
opened 2026-04-24 23:33:15 +02:00 by adam · 5 comments
Owner

Originally created by @Jdiesel87 on GitHub (Apr 28, 2023).

Describe the feature/enhancement

I would like to request that logging be changed to capture the client IP on successful/unsuccessful authentication to the server.

This info would allow for integration with Fail2ban for the purpose of hardening server security.

Not required but maybe a nice addition, include client IP in listening session view.

Originally created by @Jdiesel87 on GitHub (Apr 28, 2023). ### Describe the feature/enhancement I would like to request that logging be changed to capture the client IP on successful/unsuccessful authentication to the server. This info would allow for integration with Fail2ban for the purpose of hardening server security. Not required but maybe a nice addition, include client IP in listening session view.
adam added the enhancement label 2026-04-24 23:33:15 +02:00
adam closed this issue 2026-04-24 23:33:15 +02:00
Author
Owner

@advplyr commented on GitHub (Apr 28, 2023):

We currently log the ip on failed login attempts. We also display the ip in the listening session if you click on it.
We can display the ip address on successful logins

@advplyr commented on GitHub (Apr 28, 2023): We currently log the ip on failed login attempts. We also display the ip in the listening session if you click on it. We can display the ip address on successful logins
Author
Owner

@Jdiesel87 commented on GitHub (Apr 28, 2023):

Thanks! Still learning something new every day!

@Jdiesel87 commented on GitHub (Apr 28, 2023): Thanks! Still learning something new every day!
Author
Owner

@advplyr commented on GitHub (May 6, 2023):

Added in v2.2.20

@advplyr commented on GitHub (May 6, 2023): Added in [v2.2.20](https://github.com/advplyr/audiobookshelf/releases/tag/v2.2.20)
Author
Owner

@mels0n commented on GitHub (Jan 15, 2024):

Is there something I need to enable to see the login attempts (success or fail?) My logs do not appear to show them. 2.7.1

@mels0n commented on GitHub (Jan 15, 2024): Is there something I need to enable to see the login attempts (success or fail?) My logs do not appear to show them. 2.7.1
Author
Owner

@Magusbear commented on GitHub (Jul 13, 2024):

Same here. I was looking to setup fail2ban but I don't see any login attempts in the log files. Has this been removed?

@Magusbear commented on GitHub (Jul 13, 2024): Same here. I was looking to setup fail2ban but I don't see any login attempts in the log files. Has this been removed?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: starred/audiobookshelf#1115