Security Basics mailing list archives

Re: see which programs are opening ports


From: Mario Pascucci <ilpettegolo () yahoo it>
Date: Tue, 08 Mar 2005 20:55:01 +0100

Il mar, 2005-03-08 alle 12:27, Tahis Vera ha scritto:
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)?
netstat -ltp (shows tcp listaning ports and programs)
netstat -lup (for udp)
from root superuser.
See man page for more details

HTH
-- 
Mario "Reliant" Pascucci
http://ilpettegolo.altervista.org/

Attachment: signature.asc
Description: Questa parte del messaggio รจ firmata


Current thread: