From owner-freebsd-bugs Mon Jul 8 20:50: 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 CDAE037B400 for ; Mon, 8 Jul 2002 20:50:02 -0700 (PDT) Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 214E443E64 for ; Mon, 8 Jul 2002 20:50:02 -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 g693o1JU070002 for ; Mon, 8 Jul 2002 20:50:01 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.4/8.12.4/Submit) id g693o1lp070001; Mon, 8 Jul 2002 20:50:01 -0700 (PDT) Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 547F237B400 for ; Mon, 8 Jul 2002 20:49:28 -0700 (PDT) Received: from www.freebsd.org (www.FreeBSD.org [216.136.204.117]) by mx1.FreeBSD.org (Postfix) with ESMTP id E0EBB43E31 for ; Mon, 8 Jul 2002 20:49:10 -0700 (PDT) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.12.4/8.12.4) with ESMTP id g693lxOT046121 for ; Mon, 8 Jul 2002 20:47:59 -0700 (PDT) (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.12.4/8.12.4/Submit) id g693lxkm046120; Mon, 8 Jul 2002 20:47:59 -0700 (PDT) Message-Id: <200207090347.g693lxkm046120@www.freebsd.org> Date: Mon, 8 Jul 2002 20:47:59 -0700 (PDT) From: NAKAMURA Takayuki To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-1.0 Subject: bin/40365: sockstat -4 does not show some listening IPv4 sockets 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 >Number: 40365 >Category: bin >Synopsis: sockstat -4 does not show some listening IPv4 sockets >Confidential: no >Severity: serious >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Mon Jul 08 20:50:01 PDT 2002 >Closed-Date: >Last-Modified: >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 >Fix: >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message