From owner-freebsd-net@FreeBSD.ORG Sat Oct 14 07:14:21 2006 Return-Path: X-Original-To: freebsd-net@freebsd.org Delivered-To: freebsd-net@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5F59B16A416 for ; Sat, 14 Oct 2006 07:14:21 +0000 (UTC) (envelope-from thedanyes@yahoo.com) Received: from web56508.mail.re3.yahoo.com (web56508.mail.re3.yahoo.com [66.196.97.37]) by mx1.FreeBSD.org (Postfix) with SMTP id BC44143D5C for ; Sat, 14 Oct 2006 07:14:20 +0000 (GMT) (envelope-from thedanyes@yahoo.com) Received: (qmail 64067 invoked by uid 60001); 14 Oct 2006 07:14:16 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=Qy1qYTCxco0tsO1PfB43UF+OaS83jTvW1MkAyX4Pgxfo5Dm9oRvs/0PTKazdF1Uj6/6xQj3qfl2137opbBYZeNBJHxiokKacxIC0TY68J3fyf8zivdwAgyFdeyH+D6EY50VBhhFp3ee/MF4k6S/8dXjpIZP+/ImKAdDjlrxbzQs= ; Message-ID: <20061014071416.64065.qmail@web56508.mail.re3.yahoo.com> Received: from [71.231.62.46] by web56508.mail.re3.yahoo.com via HTTP; Sat, 14 Oct 2006 00:14:16 PDT Date: Sat, 14 Oct 2006 00:14:16 -0700 (PDT) From: Dan b To: freebsd-net@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: reset netstat statistics X-BeenThere: freebsd-net@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Networking and TCP/IP with FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 14 Oct 2006 07:14:21 -0000 Hello, I searched the archives for this and was unable to find anything relevant. I have a machine that is being used as a NAT Router with IPFW and IPNAT running 5.3-RELEASE. I'm only using IPFW to keep track of traffic, no actual packet filtering is going on. The problem is that the statistics reported by netstat seem to reset themselves intermittently. Last night I ran netstat -ib and got an Ibytes stat of around 2.1GB on my sis0 adapter. Today I ran netstat -ib and got an Ibytes stat of around 600MB on my sis0 adapter. The system has around 29 days of uptime, and I have run ipfw zero a few times, but have not run netstat -z at all. Let me know if you have any ideas about this. Thanks, Daniel __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com