NetBSD Problem Report #27265

Received: (qmail 19455 invoked by uid 605); 15 Oct 2004 17:13:17 -0000
Message-Id: <20041015171315.5A97B2521DE@narn.netbsd.org>
Date: Fri, 15 Oct 2004 17:13:15 +0000 (UTC)
From: evaldo@gardenali.biz
Sender: gnats-bugs-owner@NetBSD.org
Reply-To: evaldo@gardenali.biz
To: gnats-bugs@gnats.NetBSD.org
Subject: netstat -s doesn't count traffic from pppoe0
X-Send-Pr-Version: www-1.0

>Number:         27265
>Category:       bin
>Synopsis:       netstat -s doesn't count traffic from pppoe0
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    bin-bug-people
>State:          closed
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Fri Oct 15 17:14:00 +0000 2004
>Closed-Date:    Wed Jan 17 20:04:35 +0000 2018
>Last-Modified:  Wed Jan 17 20:04:35 +0000 2018
>Originator:     Evaldo Gardenali
>Release:        2.0RC3
>Organization:
>Environment:
NetBSD (invalid hostname) 2.0_RC3 NetBSD 2.0_RC3 (GENERIC) #0: Sat Oct  9 01:38:48 UTC 2004  autobuild@tgm.netbsd.org:/autobuild/netbsd-2-0/i386/OBJ/autobuild/netbsd-2-0/src/sys/arch/i386/compile/GENERIC i386

>Description:
netstat -s shows many things, including:

tcp:
        2010897 packets sent
                1663069 data packets (2055119677 bytes)
                169 data packets (68807 bytes) retransmitted
                278990 ack-only packets (390952 delayed)
                0 URG only packets
                0 window probe packets
                67642 window update packets
                1037 control packets
                0 send attempts resulted in self-quench
        1465088 packets received
                902007 acks (for 2055103899 bytes)
                1568 duplicate acks
                0 acks for unsent data
                514200 packets (394472826 bytes) received in-sequence

for some reason, it doesn't count packets from pppoe0. on the other hand, netstat -b -I pppoe0 works fine

 netstat -b -I pppoe0
Name  Mtu   Network       Address               Ibytes     Obytes
pppoe 1492  <Link>                          1011411416   52967289
pppoe 1492  fe80::        fe80::xxx:xxxx:xx 1011411416   52967289
pppoe 1492  x.x.x.x       x.x.x.x           1011411416   52967289

>How-To-Repeat:
establish a pppoe link
minimize other networking use
use the pppoe link and monitor netstat -s
compare to monitoring netstat -b -I pppoe0

>Fix:

>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: spz@NetBSD.org
State-Changed-When: Wed, 17 Jan 2018 20:04:35 +0000
State-Changed-Why:
I just checked and netstat -s counted icmp6 on a pppoe for me.
I guess whoever fixed it forgot to close the PR.


>Unformatted:

NetBSD Home
NetBSD PR Database Search

(Contact us) $NetBSD: query-full-pr,v 1.43 2018/01/16 07:36:43 maya Exp $
$NetBSD: gnats_config.sh,v 1.9 2014/08/02 14:16:04 spz Exp $
Copyright © 1994-2017 The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.