PasTim wrote: > I'm going to put this project to one side for a few days at least. It > now seems that some of my UPnP renderers need this check for random 5 > digits port numbers to be discovered, and some don't. > > I was trying to see if I could further qualify the devices that respond > to the multicast to 239.255.255.250 by adding a "-s" (or possibly a "-m > iprange") clause, and found that two out of my 3 UPnP renderers were > found even without the INPUT clause at all. I am slightly unsure > whether the -s clause works - the device that seems to need the INPUT > clause seems to be somewhat temperamental in being discovered. > > As it stands all 3 of my devices work at the moment. If I recall > correctly you are using a mobile. I have an LMS player on my mobile, so > don't need UPnP for it. However, it might be useful for me to have > another player to test. What renderer are you using?
I do not understand how your server can accept responses from your UPnP renderers unless some INPUT rule is present that allows this to happen, or the firewall has been disabled altogether? I use *sudo iptables -S* to get a list of the rules that are currently in force. I found sometimes my phone was temperamental in being discovered too, and increasing the timeout parameter when creating the ipset upnp, seemed to help with that. I will play with the "-s" option that you mentioned, but it should work. Additionally, although this might not be all that helpful, I think I found a simple way to limit the number of SSDP M-Search broadcasts that go out periodically to just 1 each time; I added this rule at the end of the rest of the setup: SUDO IPTABLES -I OUTPUT 4 -D 239.255.255.250/32 -P UDP -M SET --MATCH-SET UPNP SRC,SRC -J DROP Since it is also #4, it will be placed BEFORE the previous #4 rule, and it does have to go prior, to drop the packet in time. *Living Room:* SB Touch + DIY PSU > CI Audio VDA.2 DAC + VAC.1 PSU > VRX.1 cables > Emotiva XSP-1 Gen 2 preamp + XPA-DR2 amp > Blue Jeans cables > B&W 804 speakers *Laptop:* System76 Galago + Ubuntu 16.04 + Squeezelite + Material Skin > ifi USB iSilencer > Audirect Beam DAC > Senn IE 80 earbuds *Bedroom:* Android Phone + SB Player + Squeeze Ctrl > Bluetooth > Bose SoundLink Revolve *Server:* Puget Systems Serenity + Ubuntu 18.04 + LMS 7.9.2 *Music:* Personal FLAC, Radio Paradise FLAC, Qobuz, Spotify ------------------------------------------------------------------------ Ron F.'s Profile: http://forums.slimdevices.com/member.php?userid=5616 View this thread: http://forums.slimdevices.com/showthread.php?t=103728 _______________________________________________ plugins mailing list [email protected] http://lists.slimdevices.com/mailman/listinfo/plugins
