I have a configuration where my players are on the 10.21.6/24 net and my
normal network (computers, phones) are on 10.21.0/24.
My server (running Ubuntu and LMS 7.9.1) has two interfaces one on each
VLAN, The LMS listens to ip 0.0.0.0 in order to be found from both
networks.
But when I try to access the settings page i get the 403 and the log
says:
[19-08-14 12:49:23.8910] Slim::Web::HTTP::generateHTTPResponse (981)
Access to settings pages is restricted to the local network or
localhost: 10.21.0.136 -> 10.21.6.101 (settings/index.html)
I thought this would be handled by the ip_is_private function:
sub ip_is_private {
my $packed_ip = inet_aton(shift) || return 0;
# changed row due to posing rules
return $packed_ip =~ m{
^
(?: \x0A # 10.0.0.0/8
| \xAC[\x10-\x1F] # 172.16.0.0/12
| \xC0\xA8 # 192.168.0.0/16
)
}x;
}
Looks like anything on the 10 network should be ok... but for some
reason id does not work.
------------------------------------------------------------------------
happi's Profile: http://forums.slimdevices.com/member.php?userid=69354
View this thread: http://forums.slimdevices.com/showthread.php?t=108599
_______________________________________________
Squeezecenter mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/squeezecenter