Deutsch   English   Français   Italiano  
<pan$98f5f$d61a8c9$9aa88326$ea218693@linux.rocks>

View for Bookmarking (what is this?)
Look up another Usenet article

From: Farley Flud <ff@linux.rocks>
Subject: Please List Your Open Ports
Newsgroups: comp.os.linux.advocacy,comp.os.linux.misc
Followup-To: comp.os.linux.advocacy
Mime-Version: 1.0
Message-Id: <pan$98f5f$d61a8c9$9aa88326$ea218693@linux.rocks>
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Lines: 23
Path: ...!weretis.net!feeder9.news.weretis.net!usenet.blueworldhosting.com!diablo1.usenet.blueworldhosting.com!feeder.usenetexpress.com!tr1.iad1.usenetexpress.com!news.usenetexpress.com!not-for-mail
Date: Sun, 16 Mar 2025 15:19:03 +0000
Nntp-Posting-Date: Sun, 16 Mar 2025 15:19:03 +0000
X-Received-Bytes: 1210
Organization: UsenetExpress - www.usenetexpress.com
X-Complaints-To: abuse@usenetexpress.com
Bytes: 1529

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.