Sujet : Please List Your Open Ports
De : ff (at) *nospam* linux.rocks (Farley Flud)
Groupes : comp.os.linux.advocacy comp.os.linux.miscSuivi-à : comp.os.linux.advocacyDate : 16. Mar 2025, 16:19:03
Autres entêtes
Organisation : UsenetExpress - www.usenetexpress.com
Message-ID : <pan$98f5f$d61a8c9$9aa88326$ea218693@linux.rocks>
I am curious about how many open ports the average distro exposes.
List your open ports using the following command:
netstat -lnptu
Here are my open ports (I don's use a distro):
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State PID/Program name
tcp 0 0 127.0.0.1:53 0.0.0.0:* LISTEN 215/pdnsd
udp 0 0 127.0.0.1:53 0.0.0.0:* 215/pdnsd
That's all I need for my workstation.
Note that "netstat" may not be available with that putrid abomination
knows as systemd.
Use whatever equivalent.
--
Systemd: made by assholes for assholes.