Get current watching user IP address

Is there any easy way to get the IP address of a remote client? I'm aware I could just run lsof or netstat but that's not exactly what I was looking for.  I'm looking for a way to associate a user who could be found in the http://plex:32400/status/sessions with the intention of using it to create a map of users, using geoip to determine their location.  I also thought about using the IP to add an iptables firewall rule to block specific clients temporarily if need be.

 

I was hoping there was an easier way that i've overlooked, because only LAN clients show up under http://plex:32400/clients, and it would be nice to have http://plex:32400/remote-clients .... if that makes sense ...

 

I did find in the Plex Media Server.log files when DEBUG is enabled (for Plex Media Server) it will show a GET request, and it looks like that could be associated with <Player machineIdentifier="13C25X005067">

 

Bumpidy bump

http://forums.plexapp.com/index.php/topic/72552-plexwatch-plex-notify-script-send-push-alerts-on-new-sessions-and-stopped and http://forums.plexapp.com/index.php/topic/82819-plexwatchweb-a-web-front-end-for-plexwatch

I´m using Pushover notifications to monitor who's watching what, on what platform/device and from what IP. Also able to see that same information in the awesome PlexWatchWeb interface.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.