Re: see which programs are opening ports
From: Bryan Allen (bda_at_mirrorshades.net)
Date: 03/08/05
- Previous message: Britton, Jeff B.: "RE: Career Choice"
- In reply to: Tahis Vera: "see which programs are opening ports"
- Next in thread: Ron: "Re: see which programs are opening ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Tue, 8 Mar 2005 13:21:51 -0500 To: Security Basics <security-basics@securityfocus.com>
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@mirrorshades.net cyberpunk is dead. long live cyberpunk.
- Previous message: Britton, Jeff B.: "RE: Career Choice"
- In reply to: Tahis Vera: "see which programs are opening ports"
- Next in thread: Ron: "Re: see which programs are opening ports"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]