sockstat / netstat output 8.x vs 7.x

Gary Palmer gjp at in-addr.com
Tue May 11 20:23:56 UTC 2010


On Tue, May 11, 2010 at 12:20:02PM -0700, Wes Peters wrote:
> The output header is instructive:
> 
> USER     COMMAND    PID   FD PROTO  LOCAL ADDRESS         FOREIGN ADDRESS
> www      httpd      18423 3  tcp4 6 *:80                  *:*
> www      httpd      18423 4  tcp4   *:*                   *:*
> www      httpd      25184 3  tcp4 6 *:80                  *:*
> www      httpd      25184 4  tcp4   *:*                   *:*
> 
> Same as 7, it's the foreign address.  This is normally only useful for
> connected sockets.

Wes,

Your example has 2 "LOCAL ADDRESS" values of "*:*" in addition to the
"*:*" in the FOREIGN ADDRESS column.  I must admit I share Mike's puzzlement
as to the meaning of *:* as the local address of a listening socket for a
daemon

Regards,

Gary


More information about the freebsd-net mailing list