jonp Posted August 1, 2014 Share Posted August 1, 2014 Sounds like more network configuration options. TBD. Quote Link to comment
NAS Posted August 4, 2014 Share Posted August 4, 2014 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 Quote Link to comment
frakman1 Posted August 6, 2020 Share Posted August 6, 2020 (edited) 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, 2020 by frakman1 Quote Link to comment
frakman1 Posted August 6, 2020 Share Posted August 6, 2020 (edited) 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, 2020 by frakman1 Quote Link to comment
trurl Posted August 8, 2020 Share Posted August 8, 2020 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:~# Quote Link to comment
Pourko Posted August 16, 2020 Share Posted August 16, 2020 (edited) 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, 2020 by Pourko typo Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.