Paul Webster wrote: 
> Correction - I see it was merged into 7.9 branch 5 days ago.
> https://github.com/Logitech/slimserver/tree/public/7.9/Slim/Plugin/CLI
> 
> Try turning on Info level logging in "(plugin.cli) - Command Line
> Interface (CLI)"
> 
> If you have access to the source code then check
> Slim/Plugin/CLI/Plugin.pm
> to see if it contains
> > 
Code:
--------------------
  >   > 
  >     if ( !Slim::Utils::Network::ip_is_localhost($tmpaddr)
  >             && $prefsServer->get('protectSettings') && 
!$prefsServer->get('authorize')
  >             && Slim::Utils::Network::ip_is_gateway($tmpaddr)
  >     ) {
  >             $log->error("Access to CLI is restricted to the local network 
or localhost: $tmpaddr");
  >             $cli_socket->close;
  >     }
  >     elsif (!($prefsServer->get('filterHosts')) || 
(Slim::Utils::Network::isAllowedHost($tmpaddr))) {
  > 
--------------------
> > 
Yes, I have that code.  In my server.prefs 'protectSettings' is set to
1.  I don't know how the ip_is_gateway works, but since the IP I see for
ssh is certainly not for my gateway maybe that's why it doesn't get
trapped on my system (which has no password set).



LMS 7.9.1 on VortexBox Midi box, Xubuntu 17.10, FLACs 16->24 bit,
44.1->192kbps.  Touch & EDO. 2nd Touch standard.
LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (to A308CR amp & ESLs) &
Marantz CR603 UPnP renderers.  
Alternatively Minimserver & Upplay to same & to upmpdcli/mpd PC
renderers.  
Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.  
Wireless Xubuntu 17.10 laptop firefox/upplay or Android 'phone with
Squeeze-Commander/BubbleUPnP controls LMS/Minimserver.
------------------------------------------------------------------------
PasTim's Profile: http://forums.slimdevices.com/member.php?userid=41642
View this thread: http://forums.slimdevices.com/showthread.php?t=107165

_______________________________________________
discuss mailing list
discuss@lists.slimdevices.com
http://lists.slimdevices.com/mailman/listinfo/discuss

Reply via email to