Netstat command output explanation.
Hi all,
When i typed netstat -lna, the output: Active Internet connections (servers and established) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 0.0.0.0:580 0.0.0.0:* LISTEN ... ... Active UNIX domain sockets (servers and established) Proto RefCnt Flags Type State I-Node unix 2 [ ACC ] STREAM LISTENING 23581 ... ... Can anyone explain to me: 1. What is "Active Internet connections" & "Active UNIX domain sockets"? 2. What is unix Proto? 3. Difference between LISTEN and LISTENING state. I searched in google but i not found much information. Thanks in advance. |
Here is a good tutorial I found a while back on using netstat:
http://linuxplanet.com/linuxplanet/tutorials/5633/1/ I think Proto is simply short for protocol. |
Hi tommcd,
Thank you,I have read the website. But I haven't found the answer yet. Can you explain to me what is unix protocol? and what is Active UNIX domain sockets? Thanks again. |
|
Quote:
Quote:
|
Hi tommcd,
I got it, thank you so much. Regards, |
Glad I could be of help!
I am most definitely not any kind of a networking guru. But from a security standpoint, I have wondered about this also. Form my rather limited understanding, I have found that simply running: Code:
netstat --inet -a NOTE: If you have any bittorrent apps running, you will get a crapload of connections when you run netstat because it will list all of the users that are uploading or downloading your torrent files. |
Hi tommcd,
Thanks a lot. When i run netstat --inet -anp. The result display: Quote:
From remote PC, i can connect to port 5802 and 1521 in this example. But i can't connect to port 25 (Connection refused) Thank you. Regards, |
Quote:
That's because it's only listening on the loop-back interface, not the one bound to your ethernet/wifi card. Have a look: http://lmgtfy.com/?q=127.0.0.1 |
All times are GMT -5. The time now is 10:05 AM. |