IP Adress from Users

Need help? Post your questions here.

Moderator: moderators

IP Adress from Users

Postby Elsi29 » Mon Feb 06, 2012 10:44 am

Hello everybody,

Sorry for my bad English, but i came from Germany :)

How can I see from a User the last IP Adress in the Logs?? It isnt in /subsonic/subsonic.log

Is it shown at another Place or isnt it logged??

Also is it Possible, when a User type 3 x a wrong password, that his account is locked??

Thanks for answers anyway :)
Server: Atom D525, 4 GB RAM, 1,5 TB HD, Win 7 Prof. 64 Bit, Pico PSU, Power 25 Watt
FRITZ!Box 7390
Subsonic 4.9.beta4
Internet: 51 MBits Down / 9,5 MBits Up
Elsi29
 
Posts: 9
Joined: Sun Apr 03, 2011 1:34 pm
Location: Germany

Re: IP Adress from Users

Postby MadEvil » Mon Feb 06, 2012 11:38 am

Elsi29 wrote:Hello everybody,
Is it shown at another Place or isnt it logged??


Hi,

there are many ways ..

1. try to query via \db.view

Code: Select all
SELECT USERNAME, IP_ADDRESS, LAST_SEEN FROM PLAYER


2. or you can modify your playerSettings.jsp settings page like -> (viewtopic.php?f=8&t=8824)

I hope this help you!
Best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna

Re: IP Adress from Users

Postby Elsi29 » Mon Feb 06, 2012 11:51 am

Thanks for your Answer.

The User have logged at 3. February, i have seen him the Webif, also the User is listed in /subsonic/subsonic.txt that he streamed a few Songs.

But he isnt listed in /db.view

Can you explain this please??
Server: Atom D525, 4 GB RAM, 1,5 TB HD, Win 7 Prof. 64 Bit, Pico PSU, Power 25 Watt
FRITZ!Box 7390
Subsonic 4.9.beta4
Internet: 51 MBits Down / 9,5 MBits Up
Elsi29
 
Posts: 9
Joined: Sun Apr 03, 2011 1:34 pm
Location: Germany

Re: IP Adress from Users

Postby MadEvil » Mon Feb 06, 2012 12:27 pm

Elsi29 wrote:Thanks for your Answer.

The User have logged at 3. February, i have seen him the Webif, also the User is listed in /subsonic/subsonic.txt that he streamed a few Songs.

But he isnt listed in /db.view

Can you explain this please??


The IP Adress will be saved only for Players not for user, so if the user delete his own Player from Webinterface you can't see it through db.view.
This must be changed in the Subsonic java code to save the last IP back into User-Table.

Maybe if you using the sharing-feature the guest account will be used for.

Best regards
Madsonic Developer
User avatar
MadEvil
 
Posts: 354
Joined: Wed Nov 09, 2011 8:35 pm
Location: Vienna


Return to Help

Who is online

Users browsing this forum: No registered users and 40 guests