mherger wrote: 
> >
> > Interested to see how the code can distinguish an external request
> from
> > internal though.[/color]
> 
> It's not very sophisticated, and not even fully correct: when a request
> is coming from the network's default gateway, I'm assuming it's coming
> from the outside. I know that this is a rather simplistic approach. But
> I thought I'd push it out this way and see whether people run into
> issues :-). If they do, then at least they can double check their
> network configuration to make sure they really don't open things up.
> 
> And then there's that undocumented pref you can set to disable the check
> in such an exceptional case.
> 

Ok, figured it might be something like that. Not an easy problem to
solve. In this circumstance it would be better to receive a page back
that says *why* the request was blocked and where to look to allow it
rather than a 403. Anonymise the hell out of the response of course so
people can't reasonably guess it's an LMS instance.


-Transcoded from Matt's brain by Tapatalk-



--
Hardware: 3x Touch, 1x Radio, 2x Receivers, 1 HP Microserver NAS with
Debian+LMS 7.9.0
Music: ~1300 CDs, as 450 GB of 16/44k FLACs. No less than 3x 24/44k
albums..
------------------------------------------------------------------------
drmatt's Profile: http://forums.slimdevices.com/member.php?userid=59498
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