Firstly - great work on the new version (5.3) of Subsonic - loving it so far.
This release brings two features I had been hoping for - namely the use of custom URLs other than *.subsonic.org for sharing, and the implementation of login-failure logging so as to facilitate the use of tools like fail2ban.
The latter is a great step in the right direction - but currently is fairly basic in so far as it will only log the correct remote IP address if the connection is being made directly - if the Subsonic instance is behind a reverse proxy (as I suspect many are, besides myself), currently it would seem that Subsonic does not parse out/correctly log the 'X-Forwarded-For' headers from the web server forwarding the remote IP address; the logged IP address is the localhost IP (typically 127.0.0.1 if bound to IPv4) which of course would end up with fail2ban inadvertently banning the localhost from accessing itself!
If support for the correct logging of this header if it exists could be added, so that Subsonic would then log the remote IP not the localhost IP, it would be much appreciated - and pretty much cover all bases as regards possible setups with fail2ban or similar.