From owner-freebsd-bugs Mon Jul 8 23:30: 8 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F6E537B400 for ; Mon, 8 Jul 2002 23:30:04 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E0E243E58 for ; Mon, 8 Jul 2002 23:30:04 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.4/8.12.4) with ESMTP id g696U3JU097615 for ; Mon, 8 Jul 2002 23:30:03 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g696U3LG097614; Mon, 8 Jul 2002 23:30:03 -0700 (PDT) Date: Mon, 8 Jul 2002 23:30:03 -0700 (PDT) Message-Id: <200207090630.g696U3LG097614@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Peter Pentchev Subject: Re: bin/40365: sockstat -4 does not show some listening IPv4 sockets Reply-To: Peter Pentchev Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR bin/40365; it has been noted by GNATS. From: Peter Pentchev To: NAKAMURA Takayuki Cc: bug-followup@FreeBSD.org Subject: Re: bin/40365: sockstat -4 does not show some listening IPv4 sockets Date: Tue, 9 Jul 2002 09:28:14 +0300 On Mon, Jul 08, 2002 at 08:47:59PM -0700, NAKAMURA Takayuki wrote: > > >Number: 40365 > >Category: bin > >Synopsis: sockstat -4 does not show some listening IPv4 sockets > >Originator: NAKAMURA Takayuki > >Release: 4.6-stable > >Organization: > >Environment: > FreeBSD reverse 4.6-STABLE-20020628-JPSNAP FreeBSD 4.6-STABLE-20020628-JPSNAP #0 > : Sun Jun 30 14:48:56 JST 2002 root@air:/usr/src/sys/compile/TAKA i386 > >Description: > When ipv6_ipv4mapping="YES" in rc.conf (i.e. default setting), some IPv4 listening sockets are created as TCP46. > So such sockets are not shown by sockstat -4. > This may not be a bug, but causes users' inconvenience and confusion. > sockstat(1) should be modified, or the default value of the variable should be "NO". > >How-To-Repeat: > on FreeBSD 4.6.*-RELEASE box: > pkg_add apache2-*.tgz, and invoke apache2. > # sockstat -4 | grep 80 > (nothing is shown here.) > # sockstat | grep 80 That's, basically, why I'm in the habit of using 'sockstat -46' :) G'luck, Peter -- Peter Pentchev roam@ringlet.net roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 Hey, out there - is it *you* reading me, or is it someone else? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message