Security Basics mailing list archives
RE: see which programs are opening ports
From: "Jorge Reyes" <Jorge.Reyes () Reardencommerce com>
Date: Tue, 8 Mar 2005 23:40:47 -0800
In some distribution is -i not -I JR -----Original Message----- From: Young, Randy [mailto:RWYoung () verisign com] Sent: Tuesday, March 08, 2005 3:54 PM To: rohithj; Tahis Vera; Security Basics Subject: RE: see which programs are opening ports Even better, with lsof to get the PIDs lsof -I -n | egrep 'COMMAND|LISTEN' This will give you the PIDs of all ports that are either in a listen or command state. -----Original Message----- From: rohithj [mailto:rohithj () dsl pipex com] Sent: Tuesday, March 08, 2005 10:04 AM To: Tahis Vera; Security Basics Subject: Re: see which programs are opening ports You could use 'lsof' ... and pipe it through 'grep' to get the network ports $ lsof | grep 'IPv.' ----- Original Message ----- From: "Tahis Vera" <tahis.vera () gmail com> To: "Security Basics" <security-basics () securityfocus com> Sent: Tuesday, March 08, 2005 11: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
Current thread:
- Re: see which programs are opening ports, (continued)
- Re: see which programs are opening ports Cole Tuininga (Mar 08)
- Re: see which programs are opening ports AleX (Mar 08)
- Re: see which programs are opening ports Mario Pascucci (Mar 08)
- Re: see which programs are opening ports Maxime Ducharme (Mar 08)
- Re: see which programs are opening ports Alonso / ReYDeS (Mar 08)
- Re: see which programs are opening ports Danux (Mar 08)
- Re: see which programs are opening ports Juan Pablo (Mar 08)
- Re: see which programs are opening ports louie (Mar 09)
- Re: see which programs are opening ports xyberpix (Mar 15)
- RE: see which programs are opening ports Young, Randy (Mar 08)
- RE: see which programs are opening ports Jorge Reyes (Mar 09)