Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2001 18:06:29 +0100
From:      Brian Somers <brian@Awfulhak.org>
To:        "Bill O'Connell" <bill@springwoodsys.com>
Cc:        brian@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, "Josef L. Karthauser" <joe@tao.org.uk>, freebsd-gnats-submit@FreeBSD.ORG
Subject:   Re: bin/27283: netstat -i missing IPv4 input packet count for tu 
Message-ID:  <200105241706.f4OH6TF39843@hak.lan.Awfulhak.org>
In-Reply-To: Message from "Bill O'Connell" <bill@springwoodsys.com>  of "Wed, 23 May 2001 21:28:43 EDT." <200105240133.VAA28699@ns1.springwoodsys.com> 

next in thread | previous in thread | raw e-mail | index | archive | help
Hmm, I think I know what the problem is.

Recently, the network traffic counters were changed so that they 
count things on a per-ip basis.  I'd guess that your tun interface 
changed IP number and therefore lost all of the old packet counts.

WRT the other interfaces, I can't say for sure.  Maybe Joe (cc'd) can 
comment on this - he did the changes :)  Perhaps this is also due to 
an IP number change....  I've just done some quick tests here, and it 
looks as if just ifconfig'ing the interface with the same IP number 
that it currently has will reset the traffic counts.  This doesn't 
sound good...

Comments Joe ?

> Yes, the link was definitely functional. And yes, now that you
> mention it, the IPv4 opkts -- as well as almost all of the IPv4
> counts -- are too low. The only IPv4 count that could possibly be
> accurate is sis1 opkts, but all of the link-layer counts look good.
> 
> As an aside, all of my other systems, from 3.2-RELEASE through
> 4.2-STABLE, have the same count for the link-layer and IPv4 rows
> under each column. Starting with 4.3, the code appears to have
> changed in terms of how packets are classified. I see the same thing
> on one of my 5.0-CURRENT boxes.

-- 
Brian <brian@Awfulhak.org>                        <brian@[uk.]FreeBSD.org>
      <http://www.Awfulhak.org>;                   <brian@[uk.]OpenBSD.org>
Don't _EVER_ lose your sense of humour !



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200105241706.f4OH6TF39843>