Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Jul 2002 23:30:03 -0700 (PDT)
From:      Peter Pentchev <roam@ringlet.net>
To:        freebsd-bugs@FreeBSD.org
Subject:   Re: bin/40365: sockstat -4 does not show some listening IPv4 sockets
Message-ID:  <200207090630.g696U3LG097614@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR bin/40365; it has been noted by GNATS.

From: Peter Pentchev <roam@ringlet.net>
To: NAKAMURA Takayuki <tak@st.rim.or.jp>
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




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