[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: netstat output



I use:  netstat -vat | grep LISTEN

That will tell you everything that is really listening on your server.

You should be able to use "lsof" to find out what is actually listening
on those ports.

- James

> -----Original Message-----
> From: Ryan J Goss [mailto:rgoss@cs.umn.edu] 
> Sent: Monday, June 10, 2002 1:04 PM
> To: Debian security mailing list
> Subject: netstat output
> 
> 
> When I do a netstat -an, how do I properly decipher the 
> output?  To me it looks like a lot of ports are listening, is 
> there a way to determine what daemon is running on those ports?
> 
> --Ryan Goss <rgoss@cs.umn.edu>
> Systems Staff
> 
> "Counting in octal is just like counting in decimal--if you 
> don't use your thumbs."
>                 -- Tom Lehrer
> 
> 
> -- 
> To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact 
> listmaster@lists.debian.org
> 


-- 
To UNSUBSCRIBE, email to debian-security-request@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org



Reply to: