>Number: 153206 >Category: misc >Synopsis: "netstat -sz" doesn't reset any IPv6 statistic >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Dec 16 09:00:19 UTC 2010 >Closed-Date: >Last-Modified: >Originator: Dennis Yusupoff >Release: 8.1-STABLE >Organization: SOHO >Environment: FreeBSD server.dyr 8.1-STABLE FreeBSD 8.1-STABLE #5: Wed Nov 10 23:34:51 MSK 2010 r...@server.dyr:/usr/obj/usr/src/sys/DYR_SERVER amd64 >Description: nestat doesn't clear IPv6 statictic, under any circumstates, by using "netstat -sz" or "netstat -s -z -f inet6".
=== r...@server:/usr/home/dyr (7203) netstat -ssz -f inet6; netstat -ss -f inet6 tcp: 1767 packets sent 243 data packets (32971 bytes) 1212 ack-only packets (0 delayed) 101 window update packets 211 control packets 1490 packets received 404 acks (for 33086 bytes) 14 duplicate acks 1092 packets (1392624 bytes) received in-sequence 7 window update packets 1 packet received after close 101 connection requests 14 connection accepts 102 connections established (including accepts) 116 connections closed (including 0 drops) 15 connections updated cached RTT on close 15 connections updated cached RTT variance on close 13 embryonic connections dropped 402 segments updated rtt (of 402 attempts) 18 retransmit timeouts 2 keepalive timeouts 2 connections dropped by keepalive 918 correct data packet header predictions 14 syncache entries added 14 completed 14 cookies sent 7 SACK options (SACK blocks) received udp: 438 datagrams received 22 dropped due to no socket 7 broadcast/multicast datagrams undelivered 34 dropped due to full socket buffers 375 delivered 392 datagrams output ip6: 669902 total packets received 93933 packets for this host 517361 packets forwarded 192733 packets sent from this host 265 multicast packets which we don't join Input histogram: TCP: 377282 UDP: 69829 ICMP6: 214085 no next header: 8706 Mbuf statistics: 26188 one mbuf two or more mbuf: lo0= 2 643712 one ext mbuf 0 two or more ext mbuf Source addresses selection rule applied: 111354 first candidate 10366 same address 139781 appropriate scope 135406 outgoing interface icmp6: 28088 calls to icmp6_error Output histogram: unreach: 28088 echo reply: 12 router advertisement: 9185 neighbor solicitation: 52557 neighbor advertisement: 20923 MLDv2 listener report: 22 Input histogram: echo: 12 router solicitation: 197 router advertisement: 10877 neighbor solicitation: 20923 neighbor advertisement: 37674 Histogram of error messages to be generated: 4635 address unreachable 23453 port unreachable 12 message responses generated ipsec6: rip6: tcp: 11 packets sent 11 data packets (2636 bytes) 3 packets received 3 acks (for 2688 bytes) 2 segments updated rtt (of 1 attempt) udp: ip6: 669902 total packets received 93933 packets for this host 517361 packets forwarded 192733 packets sent from this host 265 multicast packets which we don't join Input histogram: TCP: 377282 UDP: 69829 ICMP6: 214085 no next header: 8706 Mbuf statistics: 26188 one mbuf two or more mbuf: lo0= 2 643712 one ext mbuf 0 two or more ext mbuf Source addresses selection rule applied: 111354 first candidate 10366 same address 139781 appropriate scope 135406 outgoing interface icmp6: 28088 calls to icmp6_error Output histogram: unreach: 28088 echo reply: 12 router advertisement: 9185 neighbor solicitation: 52557 neighbor advertisement: 20923 MLDv2 listener report: 22 Input histogram: echo: 12 router solicitation: 197 router advertisement: 10877 neighbor solicitation: 20923 neighbor advertisement: 37674 Histogram of error messages to be generated: 4635 address unreachable 23453 port unreachable 12 message responses generated ipsec6: rip6: === >How-To-Repeat: Do netstat -ssz -f inet6; netstat -ss -f inet6 and compare. >Fix: >Release-Note: >Audit-Trail: >Unformatted: _______________________________________________ freebsd-bugs@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-bugs To unsubscribe, send any mail to "freebsd-bugs-unsubscr...@freebsd.org"