Hello
Some Linux distro have netstat with a "-p"
option which will show PID of the process
netstat -anp
You may also take a look at "lsof" program
HTH
Maxime Ducharme
Programmeur / Spécialiste en sécurité réseau
----- Original Message -----
From: "Tahis Vera" <tahis.vera_at_gmail.com>
To: "Security Basics" <security-basics_at_securityfocus.com>
Sent: Tuesday, March 08, 2005 6:27 AM
Subject: see which programs are opening ports
> Hi all,
> I'm using Linux Debian. I ran nmap on my machine and saw some strange
> ports opened.
> How can i check which programs are opening which ports, in order to
> kill some of them (with ps -aux or top i couldn't see the ports
> programs are using)?
>
> thanks
>
Received on Mar 09 2005