netstat在Solaris 10 update 9的全新安装上

我正试图破译下面的输出

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$ 

它看起来像我们有以下几个项目

  • UDP
    • IPv4
      • 打开端口sunrpc32771
      • 问题1:什么是*.* Unbound
  • TCP
    • IPv4
      • 打开端口sunrpcssh
      • 10端口只能打开localhost
      • 从我的电脑打开ssh连接
      • 问题2:什么是*.32785 *.* 0 0 49152 0 BOUND
      • 问题3:什么是*.* *.* 0 0 49152 0 IDLE ? (出现两次)
    • IPv6
      • 打开端口ssh
      • 问题3:什么是*.* *.* 0 0 49152 0 IDLE
  • 问题4:什么是SCTP
  • 问题5:什么是Active UNIX domain sockets

套接字可以处于不同的状态(绑定到地址/端口,未绑定,监听广播地址等)。 以下文章深入介绍了它在Solaris中的工作原理。

http://www.itworld.com/swol-0202-insidesolaris