Bug 7138 - Problem with security settings
: Problem with security settings
Status: CLOSED FIXED
Product: Logitech Media Server
Classification: Unclassified
Component: Misc
: 7.0
: PC Windows XP
: -- normal (vote)
: 7.x
Assigned To: Michael Herger
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2008-02-14 05:04 UTC by Craig Garnett
Modified: 2009-07-31 10:17 UTC (History)
0 users

See Also:
Category: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Craig Garnett 2008-02-14 05:04:32 UTC
I was messing with my Allowed IP Addresses and incorrectly entered them as 127.0.0.1 192.168.1.* missing out the comma between the two addresses. 
This was saved ok, however when I later restarted the server it failed to start, running at 99%cpu and repeatedly throwing out the messages -

[11:53:59.2737] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.68
[11:53:59.2761] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.67
[11:53:59.2784] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.75
[11:53:59.2806] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.70
[11:53:59.2827] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.68
[11:53:59.2849] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.67
[11:53:59.2871] Slim::Networking::Slimproto::slimproto_accept (165) unauthorized
host, accept denied: 192.168.1.70

It was an easy mistake to make and was soon fixed by editing the prefs but I don't think a simple mistake should be allowed to bring the system down so easily.

Craig
Comment 1 Michael Herger 2008-02-14 07:14:34 UTC
note to myself: need to add a validator in Slim::Utils::Prefs
Comment 2 Michael Herger 2008-03-11 06:50:25 UTC
change 17849 - add validation for allowedHosts value
Comment 3 James Richardson 2008-05-08 14:16:49 UTC
(In reply to comment #2)
> change 17849 - add validation for allowedHosts value
> 

Craig: if you see this happen again, please reopen the bug
Comment 4 James Richardson 2008-05-15 12:27:59 UTC
This bug has recently been fixed in the latest release of SqueezeCenter 7.0.1

Please try that version, if you still see the error, then reopen this bug.

To download this version, please navigate to: http://www.slimdevices.com/su_downloads.html
Comment 5 Chris Owens 2009-07-31 10:17:10 UTC
Reduce number of active targets for SC