Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 11 May 2010 16:23:09 -0400
From:      Gary Palmer <gjp@in-addr.com>
To:        Wes Peters <barnaclewes@gmail.com>
Cc:        freebsd-net@freebsd.org, Mike Tancsa <mike@sentex.net>
Subject:   Re: sockstat / netstat output 8.x vs 7.x
Message-ID:  <20100511202309.GB59765@in-addr.com>
In-Reply-To: <AANLkTinEjLEbGv_TIDWTz_rDxc4S_EDr_mCMmd0cINzl@mail.gmail.com>
References:  <201005111814.o4BIEPfN071211@lava.sentex.ca> <AANLkTinEjLEbGv_TIDWTz_rDxc4S_EDr_mCMmd0cINzl@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20100511202309.GB59765>