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: Maxime Ducharme <mducharme_at_cybergeneration.com>
Date: Tue, 8 Mar 2005 15:40:54 -0500

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

[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]