Nmap Security Scanner
*Intro
*Ref Guide
*Install Guide
*Download
*Changelog
*Book
*Docs
Security Lists
*Nmap Hackers
*Nmap Dev
*Bugtraq
*Full Disclosure
*Pen Test
*Basics
*More
Security Tools
*Pass crackers
*Sniffers
*Vuln Scanners
*Web scanners
*Wireless
*Exploitation
*Packet crafters
*More
Site News
Site Search:
Exploit World
Advertising
About/Contact
Credits
Sponsors:
edgeos



Security Basics: Re: see which programs are opening ports

Re: see which programs are opening ports

From: Bryan Allen <bda_at_mirrorshades.net>
Date: Tue, 8 Mar 2005 13:21:51 -0500

On Mar 8, 2005, at 6:27 AM, Tahis Vera wrote:

> 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)?

man netstat

Or, more than likely what you want:

netstat -p

Also look at lsof.

--
Bryan Allen
bda_at_mirrorshades.net
cyberpunk is dead. long live cyberpunk.
Received on Mar 08 2005
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]
edgeos