From nobody@FreeBSD.org  Sun Mar 12 06:11:50 2000
Return-Path: <nobody@FreeBSD.org>
Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21])
	by hub.freebsd.org (Postfix) with ESMTP id DC1EF37BB15
	for <freebsd-gnats-submit@FreeBSD.org>; Sun, 12 Mar 2000 06:11:50 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Received: (from nobody@localhost)
	by freefall.freebsd.org (8.9.3/8.9.2) id GAA44938;
	Sun, 12 Mar 2000 06:11:50 -0800 (PST)
	(envelope-from nobody@FreeBSD.org)
Message-Id: <200003121411.GAA44938@freefall.freebsd.org>
Date: Sun, 12 Mar 2000 06:11:50 -0800 (PST)
From: ai@gmx.net
Sender: nobody@FreeBSD.org
To: freebsd-gnats-submit@FreeBSD.org
Subject: netstat shows down counting UDP delivery stats
X-Send-Pr-Version: www-1.0

>Number:         17338
>Category:       bin
>Synopsis:       netstat shows down counting UDP delivery stats
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    ru
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 12 06:20:01 PST 2000
>Closed-Date:    Sat Jun 23 10:22:52 PDT 2001
>Last-Modified:  Sat Jun 23 10:24:50 PDT 2001
>Originator:     Andre Ilie
>Release:        3.4-STABLE
>Organization:
>Environment:
FreeBSD box.technik.gmx.net 3.4-STABLE FreeBSD 3.4-STABLE #1: Thu Jan 20 14:14:2
0 MET 2000     root@box.technik.gmx.net:/usr/src/sys/compile/ROUTE  i386
>Description:
Hi

I'm using this box to route several networks over nine SMC Etherpower II NICs, 
so that several UDP packets pass the box. When I try to see how many UDP
packets have been delivered I see a UDP delivery counter which is counting
down! On all other BSD boxes I have this counter is getting more not less.

Look at that:
# while true ; do netstat -ss -p udp | grep deli ; sleep 1 ; done
        4292032523 delivered
        4292032521 delivered
        4292032519 delivered
        4292032519 delivered
        4292032519 delivered
        4292032510 delivered
        4292032507 delivered
        4292032507 delivered
        4292032501 delivered
        4292032495 delivered
        4292032488 delivered
        4292032485 delivered
        4292032485 delivered

Strange?
>How-To-Repeat:
while true ; do netstat -ss -p udp | grep deli ; sleep 1 ; done
>Fix:
I had the same problem on NetApp Fliers with the network packet counter.
They have tool to zero the stats if they overrun the buffer after several
days of high traffic. It would be very usefull to implement such a tool.

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Sat Jun 23 10:22:52 PDT 2001 
State-Changed-Why:  
In 5.0-CURRENT, it's now possible to zero protocol stats with netstat(1). 


Responsible-Changed-From-To: freebsd-bugs->ru 
Responsible-Changed-By: ru 
Responsible-Changed-When: Sat Jun 23 10:22:52 PDT 2001 
Responsible-Changed-Why:  
++Responsible[ru]; 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=17338 
>Unformatted:
