Home of the Squeezebox™ & Transporter® network music players.
Page 256 of 312 FirstFirst ... 156206246254255256257258266306 ... LastLast
Results 2,551 to 2,560 of 3111
  1. #2551
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,223
    Quote Originally Posted by Ron F. View Post
    Hi PasTim,

    I think your use of an individual INPUT rule for each UPnP renderer using the "-s" option makes perfect sense. I am going to experiment using that too.

    I believe the chain, ufw-before-input, are rules that are applied first, before the rules created by using the ufw app are applied.

    I don't have any Airplay or Chromecast players currently, but I will try to look at what might be involved with Chromecast.
    HI Ron F.,

    Thanks. It turns out that Chromecast is much the same as UPnP, including matching the INPUT messages. I had mistakenly left out the Chromecast IP address from the 49152:49158 playing range allowance so it didn't play properly.

    Airplay looks like a challenge for another day, or week. Apple seem to like to do things differently, and prefer not to tell anyone much about it.
    LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.

  2. #2552
    Senior Member
    Join Date
    May 2006
    Location
    Silicon Valley
    Posts
    626
    Quote Originally Posted by PasTim View Post
    HI Ron F.,

    Thanks. It turns out that Chromecast is much the same as UPnP, including matching the INPUT messages. I had mistakenly left out the Chromecast IP address from the 49152:49158 playing range allowance so it didn't play properly.

    Airplay looks like a challenge for another day, or week. Apple seem to like to do things differently, and prefer not to tell anyone much about it.
    Hi PasTim,

    I had originally added this rule, ports that might be used by UPnPBridge - 49152:49158, using gufw. In retrospect, in fitting with the rest of the rules we created using iptables; it seems more appropriate to do the same here; I think it can go anywhere and order is not important for this one:

    Code:
    sudo iptables -A INPUT -p udp -m multiport --dports 49152:49158 -j ACCEPT
    If you are running a headless server, then you don't need to filter outgoing packets to get rid of SSDP broadcasts that contain a user-agent. My home server however is also driving my TV via an HDMI cable, so the browser is often running. In the final analysis, as you correctly pointed out, many of the rules I have been testing are optional and probably not necessary. The real improvement is done by using ipset to open INPUT ports temporarily, and only those ports.

    I had an amusing outcome running BubbleUPnP as a media renderer on my mobile phone last night, having added the netfilter module psad to my firewall. After several days doing this, psad decided that the renderer was a bad actor, and created rules it added to iptables on my server to block all further communication with my phone! I don't know if the cause was the app itself, or coincidentally something else running on my Android device. Nevertheless, it appeared that something on my phone had begun a port scan of my server. I am going to figure out what is really going on here.
    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 + Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
    Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
    Phone: Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
    Server: Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2

  3. #2553
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,694
    Quote Originally Posted by PasTim View Post
    Philippe - As to documenting this for others I'm really not sure I know enough to be precise enough to provide reliable solutions to people who know as little or even less than I do. I'd be quite interested to know what others have done on linux to get their systems working. Do they use any firewall at all?
    I don't know, but I suspect they don't.

    On your conversation with Ron F. about CC and AirPlay, CC uses mDNS for discover, so a multicast on port 5353 (from memory) and then a dynamic webserver on port starting 49152 as well. AirPlay is a different anymal, it uses mDNS as well for discovery but then it opens 3 UDP ports for the player to use (data, timing, control) upon streaming start which are random at this point
    LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  4. #2554
    Senior Member
    Join Date
    May 2006
    Location
    Silicon Valley
    Posts
    626
    Darn it, I forgot that we need to accept TCP packets from the UPnP renderer! I am not sure that we need UDP too, but just in case:

    Code:
    sudo iptables -A INPUT -p udp -m multiport --dports 49152:49158 -j ACCEPT
    sudo iptables -A INPUT -p tcp -m multiport --dports 49152:49158 -j ACCEPT
    Last edited by Ron F.; 2019-08-26 at 21:37.
    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 + Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
    Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
    Phone: Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
    Server: Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2

  5. #2555
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,694
    Quote Originally Posted by Ron F. View Post
    Darn it, I forgot that we need to accept TCP packets from the UPnP renderer! I am not sure that we need UDP too, but just in case:

    Code:
    sudo iptables -A INPUT -p udp -m multiport --dports 49152:49158 -j ACCEPT
    sudo iptables -A INPUT -p tcp -m multiport --dports 49152:49158 -j ACCEPT
    No UDP is needed on this range, this is a webserver
    LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  6. #2556
    Senior Member
    Join Date
    May 2006
    Location
    Silicon Valley
    Posts
    626
    Quote Originally Posted by philippe_44 View Post
    No UDP is needed on this range, this is a webserver
    Of course, I should have remembered that!
    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 + Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
    Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
    Phone: Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
    Server: Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2

  7. #2557
    Senior Member
    Join Date
    May 2006
    Location
    Silicon Valley
    Posts
    626

    UPnPBridge...

    By the way philippe, your UPnP plugin is working very nicely - a great piece of work.

    -Ron
    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 + Vivaldi/Material Skin > Emotiva Little Ego DAC > Grado PS500 headphones
    Bedroom: RPi Zero W + Squeezelite > miniBOSS DAC HAT > Bose SoundLink Revolve
    Phone: Pixel 3a + SB Player + Material APK > Senn IE80 earbuds
    Server: Puget Systems Serenity + Ubuntu 18.04 + LMS 8.2

  8. #2558
    Senior Member
    Join Date
    May 2008
    Location
    Canada
    Posts
    6,694
    Quote Originally Posted by Ron F. View Post
    By the way philippe, your UPnP plugin is working very nicely - a great piece of work.

    -Ron
    Thanks

    I'm also trying to "recruit" people interested by my new project, that we do with @sle118.

    Tell me if you are interested at some point https://github.com/philippe44/SqueezeAMP
    LMS 8.1.x on Odroid-C4 - SqueezeAMP!, 5xRadio, 5xBoom, 2xDuet, 1xTouch, 1xSB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000, ShairPortW, 2xChromecast Audio, Chromecast v1 and v2, Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5, RivaArena 1 & 3

  9. #2559
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,223
    Quote Originally Posted by philippe_44 View Post
    Thanks

    I'm also trying to "recruit" people interested by my new project, that we do with @sle118.

    Tell me if you are interested at some point https://github.com/philippe44/SqueezeAMP
    Hi Philippe,

    In the past I might well have been interested. However, I'm having to back off most things to do with music - my hearing is failing fast and music now often sounds distorted - so I try to maintain just a little technical interest in LMS and a few really good plugins like yours. I am finding other types of things to play with instead
    LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.

  10. #2560
    Senior Member
    Join Date
    Nov 2010
    Location
    Hertfordshire, UK
    Posts
    3,223
    Quote Originally Posted by philippe_44 View Post
    I don't know, but I suspect they don't.

    On your conversation with Ron F. about CC and AirPlay, CC uses mDNS for discover, so a multicast on port 5353 (from memory) and then a dynamic webserver on port starting 49152 as well. AirPlay is a different anymal, it uses mDNS as well for discovery but then it opens 3 UDP ports for the player to use (data, timing, control) upon streaming start which are random at this point
    Yes, thanks. I had already got the 5353 port, and the 4915n port (configured in the settings page). As you say, airplay seems to use unpredictable high-numbered ports - not the best piece of IT design.
    LMS 8.1 on PC, Xubuntu 20.04, FLACs 16->24 bit, 44.1->192kbps. 2 Touches & EDO.
    LMS plugin UPnP/DLNA Bridge to MF M1 CLiC (A308CR amp & ESLs) & Marantz CR603 UPnP renderers.
    Also Minimserver & Upplay to same & to upmpdcli/mpd PC renderers.
    Squeezelite to Meridian USB Explorer DAC to PC speakers/headphones.
    Wireless Xubuntu 20.04 laptop firefox/upplay or Android mobile with Squeeze-Ctrl/BubbleUPnP controls LMS/Minimserver.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •