Date: Mon, 8 Jul 2002 22:50:04 -0700 (PDT) From: tak@st.rim.or.jp (NAKAMURA Takayuki) To: freebsd-bugs@FreeBSD.org Subject: Re: bin/40365: sockstat -4 does not show some listening IPv4 sockets Message-ID: <200207090550.g695o4Hv089099@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: tak@st.rim.or.jp (NAKAMURA Takayuki) To: freebsd-gnats-submit@FreeBSD.org Cc: tak@st.rim.or.jp Subject: Re: bin/40365: sockstat -4 does not show some listening IPv4 sockets Date: Tue, 9 Jul 2002 14:40:45 +0900 (JST) Some TCP4 connections are also not shown by sockstat -4. This can cause overlooking of some important connections. In PR bin/40365: >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. > >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 On another host (hostb): hostb% telnet webhost 80 webhost% sockstat -4 | grep 80 (nothing is shown here.) webhost% sockstat -6 | grep 80 (A TCP4 connection is shown.) This looks very strange behavior for me. -- NAKAMURA Takayuki <tak@st.rim.or.jp> 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?200207090550.g695o4Hv089099>