PasTim wrote: 
> I don't understand enough about IP to comprehend this.  If a port is
> used (e.g. 8080) surely it needs to be open?   Being a simple fellow I
> expected the UPnP definitions (not you of course) to say precisely what
> was required, but it seems not.  
> 
> When setting it all up (on linux) my recollection is that 8080 seemed to
> be needed for sq2u, but I don't have 1900 open on the server.  The ufw
> linux firewall is very simple, but brutal - it assumes almost nothing
> (as far as I know) and blocks almost everything. Windows may well
> attempt to be a lot cleverer, leaving some ports open (and there is much
> on the web about the risk of UPnP ports being left open on the WAN
> side).

There is a difference between a port that needs to be always left open
to receive asynchronous incoming connection requests and outcoming ports
used by applications requiring a temporary connection (srcip:port <==>
dstip:port). Incoming, always-open, ports requires a firewall
configuration so that they are left open, while the outcoming ports do
not require special rules (doors can always be opened from the inside to
exit your house, because you close it right away. But you don't want all
doors of your house to be left open from the outside by default - if you
have to let some open, you at least want to limit/control them) - I'm
over-simplifying of course.

sq2u creates a web server (to retrieve -idx- files) on an available port
(usually 49152) and the firewall must not prevent it to do that. It will
use whatever port a given player has told it is listening to (1400 on
Sonos, 8080 on my Marantz). But neither 1400 nor 8080 need to be open on
the machine running sq2u. Still, what happens on Win, for example, is
that when a new program is launched, Win will asks if it shall let it
access the network and open 49152. This is requested once for all. If
people say no, then the webserver will not be able to receive streaming
request from players once sq2u has told them the URL to retrieve the
-idx- files

sq2u uses libupnp and finds uPnP rendered by broadcasting a SSDP
"search" protocol request using an UDP multicast request at
239.255.255.255:1900. uPnP rendered shall listen to that and answer to
the port sq2u has used to send the broadcast. 

So normally, no special configuration is needed for sq2u as most
firewall should let it open what it wants



LMS 7.7.2 - 5 radio, 3 Boom, 4 Duet, 1 Touch, 1 SB2. Sonos 2xPLAY:1,
PLAY:3, PLAY:5, Marantz NR1603, JBL OnBeat, XBMC, Foobar2000, XBoxOne
(sort of)
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=102496

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

Reply via email to