August 4, 201411 yr Given that unRAID supports bridges and Docker now, allowing users native visibility to port allocations will become an ever more important part of the process of adding containers and plugins etc. In its simplest form this is just presenting netstat information via emHTTP but it is expected better code exists under GPL to make this more user friendly
August 6, 20205 yr How/Where do I get netstat for UnRAID? I want to list the ports that the server is listening to. To clarify, I tried running netstat and it said no such file or directory. I tried installing a package I found online for slackware: upgradepkg --install-new net-tools-20181103_0eebece-i586-1.txz But I still get the same error. Can anyone please help me get netstat working? # netstat --help -bash: /bin/netstat: No such file or directory Edited August 6, 20205 yr by frakman1
August 6, 20205 yr OK. I found something that works here. Installed it like this and it worked. # wget http://slackware.cs.utah.edu/pub/slackware/slackware64-14.2/slackware64/n/net-tools-1.60.20120726git-x86_64-1.txz # upgradepkg --install-new net-tools-1.60.20120726git-x86_64-1.txz Edited August 6, 20205 yr by frakman1
August 8, 20205 yr On 8/6/2020 at 10:33 AM, frakman1 said: I tried running netstat and it said no such file or directory. Works for me. root@unSERVER:~# which netstat /bin/netstat root@unSERVER:~#
August 16, 20205 yr Works for me too. 0 root@ToyVB:~# wget ftp://ftp.slackware.com/pub/slackware/slackware64-current/slackware64/n/net-tools-*.txz 0 root@ToyVB:~# installpkg net-tools-*.txz 0 root@ToyVB:~# which -a netstat /bin/netstat 0 root@ToyVB:~# netstat --version | line net-tools 2.10-alpha 0 root@ToyVB:~# netstat -tunlp Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name tcp 0 0 10.22.33.88:23613 0.0.0.0:* LISTEN 1671/sshd tcp 0 0 10.22.33.88:80 0.0.0.0:* LISTEN 9062/nginx: master tcp 0 0 10.22.33.88:445 0.0.0.0:* LISTEN 8921/smbd This output reassures me that I have nicely hardened all my services to only listen on my private "admin-only" interface. :-) Edited August 17, 20205 yr by Pourko typo
Archived
This topic is now archived and is closed to further replies.