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:[EMAIL PROTECTED] 
> 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 <[EMAIL PROTECTED]>
> Systems Staff
> 
> "Counting in octal is just like counting in decimal--if you 
> don't use your thumbs."
>                 -- Tom Lehrer
> 
> 
> -- 
> To UNSUBSCRIBE, email to [EMAIL PROTECTED]
> with a subject of "unsubscribe". Trouble? Contact 
> [EMAIL PROTECTED]
> 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to