From owner-freebsd-net@FreeBSD.ORG Tue May 11 20:23:56 2010 Return-Path: Delivered-To: freebsd-net@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A30C106566C for ; Tue, 11 May 2010 20:23:56 +0000 (UTC) (envelope-from gjp@in-addr.com) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id 423888FC0C for ; Tue, 11 May 2010 20:23:56 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1OBvyv-000KxC-HA; Tue, 11 May 2010 16:23:09 -0400 Date: Tue, 11 May 2010 16:23:09 -0400 To: Wes Peters Message-ID: <20100511202309.GB59765@in-addr.com> References: <201005111814.o4BIEPfN071211@lava.sentex.ca> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: From: Gary Palmer Cc: freebsd-net@freebsd.org, Mike Tancsa Subject: Re: sockstat / netstat output 8.x vs 7.x X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 11 May 2010 20:23:56 -0000 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