From owner-freebsd-bugs Thu May 24 10: 6:40 2001 Delivered-To: freebsd-bugs@freebsd.org Received: from Awfulhak.org (awfulhak.demon.co.uk [194.222.196.252]) by hub.freebsd.org (Postfix) with ESMTP id 6FC7C37B422; Thu, 24 May 2001 10:06:34 -0700 (PDT) (envelope-from brian@Awfulhak.org) Received: from hak.lan.Awfulhak.org (root@hak.lan.Awfulhak.org [172.16.0.12]) by Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4OH6VY18634; Thu, 24 May 2001 18:06:31 +0100 (BST) (envelope-from brian@lan.Awfulhak.org) Received: from hak.lan.Awfulhak.org (brian@localhost [127.0.0.1]) by hak.lan.Awfulhak.org (8.11.3/8.11.3) with ESMTP id f4OH6TF39843; Thu, 24 May 2001 18:06:29 +0100 (BST) (envelope-from brian@hak.lan.Awfulhak.org) Message-Id: <200105241706.f4OH6TF39843@hak.lan.Awfulhak.org> X-Mailer: exmh version 2.3.1 01/18/2001 with nmh-1.0.4 To: "Bill O'Connell" Cc: brian@FreeBSD.ORG, freebsd-bugs@FreeBSD.ORG, "Josef L. Karthauser" , freebsd-gnats-submit@FreeBSD.ORG Subject: Re: bin/27283: netstat -i missing IPv4 input packet count for tu In-Reply-To: Message from "Bill O'Connell" of "Wed, 23 May 2001 21:28:43 EDT." <200105240133.VAA28699@ns1.springwoodsys.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 24 May 2001 18:06:29 +0100 From: Brian Somers Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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 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