From nuucp@dg-rtp.dg.com  Thu May  1 17:20:42 1997
Received: from dg-rtp.dg.com (dg-rtp.rtp.dg.com [128.222.1.2])
          by hub.freebsd.org (8.8.5/8.8.5) with SMTP id RAA28499
          for <FreeBSD-gnats-submit@freebsd.org>; Thu, 1 May 1997 17:20:41 -0700 (PDT)
Received: by dg-rtp.dg.com (5.4R3.10/dg-rtp-v02)
	id AA13423; Thu, 1 May 1997 20:20:03 -0400
Received: from ponds by dg-rtp.dg.com.rtp.dg.com; Thu,  1 May 1997 20:20 EDT
Received: from lakes.water.net (lakes [10.0.0.3]) by ponds.water.net (8.8.5/8.7.3) with ESMTP id TAA07118 for <FreeBSD-gnats-submit@freebsd.org>; Thu, 1 May 1997 19:52:19 -0400 (EDT)
Received: (from rivers@localhost) by lakes.water.net (8.8.5/8.6.9) id TAA05559; Thu, 1 May 1997 19:59:06 -0400 (EDT)
Message-Id: <199705012359.TAA05559@lakes.water.net>
Date: Thu, 1 May 1997 19:59:06 -0400 (EDT)
From: Thomas David Rivers <ponds!rivers@dg-rtp.dg.com>
Reply-To: ponds!rivers@dg-rtp.dg.com
To: ponds!freebsd.org!FreeBSD-gnats-submit
Subject: netstat -I packet count increase on sl0 when there's no traffic
X-Send-Pr-Version: 3.2

>Number:         3463
>Category:       kern
>Synopsis:       netstat -I packet count increase on sl0 when there's no traffic
>Confidential:   no
>Severity:       serious
>Priority:       low
>Responsible:    freebsd-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Thu May  1 17:30:01 PDT 1997
>Closed-Date:    Tue Jun 12 06:40:56 PDT 2001
>Last-Modified:  Tue Jun 12 06:42:08 PDT 2001
>Originator:     Thomas David Rivers
>Release:        FreeBSD 2.2.1-RELEASE
>Organization:
>Environment:

	FreeBSD 2.2.1-RELEASE
	386dx-33 with Intel 387; 8 megs ram, 16550 uarts.
	NE2000 NIC.

>Description:

	netstat -I sl0 when there is an inactive SL/IP connection
	continues to add to the in and out packet count.  Even though
	no packets are moving through the serial line.  

	Perhaps the packets destined through a different interface
	(e.g. ed0 in my case) are being counted incorrectly against
	the sl0 interface?


>How-To-Repeat:

	Do a slip connection, let it quiesce so no SL/IP packets
	 are moving through the sio driver.
	Run netstat -I sl0, note the Ipkts and Opkts.
	Wait a second or two (watch the modem lights to make sure
	nothing actually goes through)
	Run netstat -I sl0 and notice that Ipkts and Opkts has
	mysteriously increased.
	


>Fix:
	
	

>Release-Note:
>Audit-Trail:

From: Brian McGovern <bmcgover@cisco.com>
To: freebsd-gnats-submit@freebsd.org, ponds!rivers@dg-rtp.dg.com
Cc:  
Subject: Re: kern/3463: netstat -I packet count increase on sl0 when there's no 
 traffic
Date: Thu, 11 Nov 1999 15:12:56 -0500

 I have seen similar issues with netstat -I, as well. However, my case is
 slightly different.
 
 It appears to me that the bug has to do either with the last up
 interface in a class, or the last UP interface on the machine. In my
 case, I run ppp 6 times, and then generate traffic at a particular rate
 (approximately 200 pps). tun0-tun4 show correct packet counts for input
 and output. tun5, on
 the other hand, show input and output packets that are the sum of the
 other tun interfaces (ie 1000pps).
 
     -Brian
 
 
State-Changed-From-To: open->closed 
State-Changed-By: ru 
State-Changed-When: Tue Jun 12 06:40:56 PDT 2001 
State-Changed-Why:  
Timed out. 
Please resubmit if the problem still occurs in the newer versions. 

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