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

Re: netstat output



Ryan J Goss wrote:
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?

netstat -anp will tell you which processes.
lsof -i :<port> will tell you more specifically who (e.g. lsof -i :25)

If you don't have lsof installed...get it. It's good for you.

Mike Shappe





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



Reply to: