Date: Tue, 20 Mar 2001 09:30:47 -0800 From: bmah@freebsd.org (Bruce A. Mah) To: joe@freebsd.org Cc: bmah@freebsd.org, freebsd-net@freebsd.org Subject: netstat(1) bug in per-address packet counts? Message-ID: <200103201730.f2KHUlo11577@bmah-freebsd-0.cisco.com>
next in thread | raw e-mail | index | archive | help
--==_Exmh_940605221P Content-Type: text/plain; charset=us-ascii Hi Joe-- I was playing around with netstat(1) on a recent RELENG_4 machine, and noticed something odd. Apparently, the input packet counter for the IPv6 loopback address never gets incremented (even after some pings, the input packet count on lo0 is still 0): bmah-freebsd-0:netstat% ping6 ::1 PING6(56=40+8+8 bytes) ::1 --> ::1 16 bytes from ::1, icmp_seq=0 hlim=64 time=0.276 ms 16 bytes from ::1, icmp_seq=1 hlim=64 time=0.242 ms 16 bytes from ::1, icmp_seq=2 hlim=64 time=0.239 ms 16 bytes from ::1, icmp_seq=3 hlim=64 time=0.207 ms 16 bytes from ::1, icmp_seq=4 hlim=64 time=0.216 ms ^C --- ::1 ping6 statistics --- 5 packets transmitted, 5 packets received, 0% packet loss round-trip min/avg/max = 0.207/0.236/0.276 ms bmah-freebsd-0:netstat% netstat -in Name Mtu Network Address Ipkts Ierrs Opkts Oerrs Coll fxp0 1500 <Link#1> 00:d0:b7:5a:f1:6f 153964 0 133432 0 0 fxp0 1500 171.70.84/23 171.70.84.42 312026 - 322155 - - fxp0 1500 fe80:1::2d0 fe80:1::2d0:b7ff: 0 - 0 - - gif0* 1280 <Link#2> 0 0 0 0 0 lo0 16384 <Link#3> 213161 0 213161 0 0 lo0 16384 fe80:3::1/6 fe80:3::1 0 - 0 - - lo0 16384 ::1/128 ::1 0 - 13119 - - lo0 16384 127 127.0.0.1 11295 - 11295 - - ppp0* 1500 <Link#4> 0 0 0 0 0 stf0* 1280 <Link#5> 0 0 0 0 0 bmah-freebsd-0:netstat% uname -a FreeBSD bmah-freebsd-0.cisco.com 4.3-BETA FreeBSD 4.3-BETA #2: Mon Mar 19 15:16:43 PST 2001 root@bmah-freebsd-0.cisco.com:/usr/obj/usr/src/sys/NIMITZ i386 Is it just me? :-) Thanks, Bruce. --==_Exmh_940605221P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.0.4 (FreeBSD) Comment: Exmh version 2.2 06/23/2000 iD8DBQE6t5PH2MoxcVugUsMRAj/5AKDuhlweGN6KWjRiWxoqndFxKB24SQCfdtiz p71A4nacB3dVEsk1UQ56kDU= =RzLg -----END PGP SIGNATURE----- --==_Exmh_940605221P-- To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-net" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200103201730.f2KHUlo11577>