migselv wrote:
> Thank phillipe44 for making the ports configurable. However, there's
> still some TCP ports being opened that I do not know what are for.
>
> I've set the port_base to '46000' and port_range to '10'(this is just
> for testing). This seems to be working "fine" as I can see this in the
> log files:
> >
Code:
--------------------
> >
> [22:00:49.840529] hairtunes_init:400 [0xe429e0]: UDP port-0 46003
> [22:00:49.840607] hairtunes_init:400 [0xe429e0]: UDP port-1 46004
> [22:00:49.840645] hairtunes_init:400 [0xe429e0]: UDP port-2 46005
> [22:00:49.840704] hairtunes_init:418 [0xe429e0]: HTTP listening port 46006
>
--------------------
> >
>
> So far so good. But there's still a TCP port being opened by the
> helper program as well, and I do not know what that's for(it's dynamic
> and a new port number opens at each restart of the plugin):
> >
Code:
--------------------
> >
> # ps -aux | grep shair
> lms 24292 0.0 0.0 75756 4 ? Sl 21:29 0:00
/config/cache/InstalledPlugins/Plugins/ShairTunes2W/Bin/shairport_helper-x64-linux
-dns host 10.0.0.5 XXXXXX@Bathroom-Squeeze _raop._tcp 46279 tp=UDP sm=false
sv=false ek=1 et=0,1 md=0,1,2 cn=0,1 ch=2 ss=16 sr=44100 pw=false vn=3
txtvers=1 am=shairtunes2
>
>
> # netstat -tulnp | grep 46279
> tcp 0 0 0.0.0.0:46279 0.0.0.0:* LISTEN
24273/perl
>
--------------------
> >
>
> Questions:
> 1. What is this TCP 46279 port opened by the helper program being used
> for,
> 2. Do I also need to make sure that's opened in the firewall?
> 3. Is it possible to set a port_base and range for these helper ports
> as well?
> 4. Exactly what ports needs to be opened in a firewall for this plug
> into work? It seems that UDP Port 5353 also needs to be opened. Is it
> possible to ask what STATIC ports are required by this plugin.
>
> Thx.
You're right, I forgot the listener for the Perl part of the plugin...
that's why I really did not want to make that change. Anyway, please try
0.120.2.
The other port that might be needed is 5353 when the helper is used for
mDNS broadcast. Otherwise, if avahi, mDNS or mDNS-Publish is found on
the system, they are preferred and in that case, the port should be
already opened
LMS 7.9 on Pi 3B+ & Odroid-C2 - *SqueezeAMP!*, 5xRadio, 3xBoom, 4xDuet,
1xTouch, 1 SB3. Sonos PLAY:3, PLAY:5, Marantz NR1603, Foobar2000,
ShairPortW, JRiver 21, 2xChromecast Audio, Chromecast v1 and v2,
Squeezelite on Pi, Yamaha WX-010, AppleTV 4, Airport Express, GGMM E5,
Riva 1 & 3
------------------------------------------------------------------------
philippe_44's Profile: http://forums.slimdevices.com/member.php?userid=17261
View this thread: http://forums.slimdevices.com/showthread.php?t=106289
_______________________________________________
plugins mailing list
[email protected]
http://lists.slimdevices.com/mailman/listinfo/plugins