Yes, stick it on the list of things that don't make any difference :-) 

Every LMS service is already listening on * anyway:

cliaddr unset:

Code:
--------------------
    
  # lsof -i -n | grep LISTEN | grep squeez
  squeezebo 4193133 squeezeboxserver    8u  IPv4 998619746      0t0  TCP *:3483 
(LISTEN)
  squeezebo 4193133 squeezeboxserver   18u  IPv4 998624279      0t0  TCP *:9090 
(LISTEN)
  squeezebo 4193133 squeezeboxserver   25u  IPv4 998624352      0t0  TCP 
*:43447 (LISTEN)
  squeezebo 4193133 squeezeboxserver   28u  IPv4 998624358      0t0  TCP *:9000 
(LISTEN)
  
--------------------


cliaddr set

Code:
--------------------
    
  # lsof -i -n | grep LISTEN | grep squeez
  squeezebo   21250 squeezeboxserver    8u  IPv4 998654547      0t0  TCP *:3483 
(LISTEN)
  squeezebo   21250 squeezeboxserver   18u  IPv4 998654548      0t0  TCP 
192.168.1.3:9090 (LISTEN)
  squeezebo   21250 squeezeboxserver   25u  IPv4 998654621      0t0  TCP 
*:36413 (LISTEN)
  squeezebo   21250 squeezeboxserver   26u  IPv4 998654625      0t0  TCP *:9000 
(LISTEN)
  
--------------------

cliaddr is not compared to anything in Plugin/CLI/Plugin.pm so doesn't
appear to be regarded in terms of access control. 
I modified Plugin/CLI/Plugin.pm to print cliaddr as well as listenerport
so I can be absolutely sure it was taking notice of the cliaddr
parameter [was unneccesary in the end because lsof -i tells what is
happening]:


Code:
--------------------
    
  [21-02-07 11:32:48.3015] Slim::Plugin::CLI::Plugin::initPlugin (86) 
Initializing
  [21-02-07 11:32:48.3018] Slim::Plugin::CLI::Plugin::cli_socket_change (185) 
Begin Function
  [21-02-07 11:32:48.3019] Slim::Plugin::CLI::Plugin::cli_socket_open (159) 
Opening on 9090 on 192.168.1.3
  [21-02-07 11:32:48.3022] Slim::Plugin::CLI::Plugin::cli_socket_open (178) Now 
accepting connections on port 9090
  [21-02-07 11:32:48.4621] Slim::Utils::PluginDownloader::checkForUpdates (284) 
generating apps query to find latest plugin state
  [21-02-07 11:32:48.4673] main::init (600) Server Jive init...
  ...
  [21-02-07 11:32:48.4993] main::init (667) Server done init...
  [21-02-07 11:32:51.1300] Slim::Plugin::CLI::Plugin::cli_socket_accept (227) 
Begin Function
  [21-02-07 11:32:51.1392] Slim::Plugin::CLI::Plugin::cli_socket_accept (250) 
Access to CLI is restricted to the local network or localhost: 192.168.1.43
  
--------------------


------------------------------------------------------------------------
troffasky's Profile: http://forums.slimdevices.com/member.php?userid=70248
View this thread: http://forums.slimdevices.com/showthread.php?t=113868

_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter

Reply via email to