netstat on fresh install of Solaris 10 update 9

Posted by cjavapro on Server Fault See other posts from Server Fault or by cjavapro
Published on 2010-12-28T21:31:33Z Indexed on 2010/12/28 21:55 UTC
Read the original article Hit count: 328

Filed under:
|
|

I am attempting to decipher the below output

bash-3.00$ netstat -a

UDP: IPv4
   Local Address        Remote Address      State
-------------------- -------------------- ----------
      *.sunrpc                            Idle
      *.*                                 Unbound
      *.32771                             Idle

TCP: IPv4
   Local Address        Remote Address    Swind Send-Q Rwind Recv-Q    State
-------------------- -------------------- ----- ------ ----- ------ -----------
      *.*                  *.*                0      0 49152      0 IDLE
      *.sunrpc             *.*                0      0 49152      0 LISTEN
      *.*                  *.*                0      0 49152      0 IDLE
localhost.5987             *.*                0      0 49152      0 LISTEN
localhost.898              *.*                0      0 49152      0 LISTEN
localhost.32771            *.*                0      0 49152      0 LISTEN
localhost.5988             *.*                0      0 49152      0 LISTEN
localhost.32772            *.*                0      0 49152      0 LISTEN
      *.ssh                *.*                0      0 49152      0 LISTEN
      *.32785              *.*                0      0 49152      0 BOUND
localhost.6788             *.*                0      0 49152      0 LISTEN
localhost.6789             *.*                0      0 49152      0 LISTEN
localhost.32782            *.*                0      0 49152      0 LISTEN
localhost.smtp             *.*                0      0 49152      0 LISTEN
localhost.submission       *.*                0      0 49152      0 LISTEN
server-host-name.ssh pc-host-name.51269   64868     51 49640      0 ESTABLISHED

TCP: IPv6
   Local Address                     Remote Address                 Swind Send-Q Rwind Recv-Q   State      If
--------------------------------- --------------------------------- ----- ------ ----- ------ ----------- -----
      *.*                               *.*                             0      0 49152      0 IDLE        
      *.ssh                             *.*                             0      0 49152      0 LISTEN      

SCTP:
        Local Address                   Remote Address          Swind  Send-Q Rwind  Recv-Q StrsI/O  State
------------------------------- ------------------------------- ------ ------ ------ ------ ------- -----------
0.0.0.0                         0.0.0.0                              0      0 102400      0  32/32  CLOSED

Active UNIX domain sockets
Address  Type          Vnode     Conn  Local Addr      Remote Addr
ffffffff84e25ab8 stream-ord ffffffff8569c740 00000000    /var/run/.inetd.uds 
bash-3.00$ 

It looks to me like we have the following items

  • UDP
    • IPv4
      • Open ports sunrpc, 32771
      • Question 1: What is *.* Unbound?
  • TCP
    • IPv4
      • Open ports sunrpc, ssh
      • 10 ports open only for localhost
      • The open ssh connection from my PC
      • Question 2: What is *.32785 *.* 0 0 49152 0 BOUND?
      • Question 3: What is *.* *.* 0 0 49152 0 IDLE? (shows up twice)
    • IPv6
      • Open port ssh
      • Question 3: What is *.* *.* 0 0 49152 0 IDLE?
  • Question 4: What is SCTP?
  • Question 5: What is Active UNIX domain sockets

© Server Fault or respective owner

Related posts about unix

Related posts about solaris