From hsu@clinet.fi  Sun Jun  1 01:17:32 1997
Received: from hauki.clinet.fi (root@hauki.clinet.fi [194.100.0.1])
          by hub.freebsd.org (8.8.5/8.8.5) with ESMTP id BAA12808
          for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Jun 1997 01:17:31 -0700 (PDT)
Received: from plentium.clinet.fi (root@plentium.clinet.fi [194.100.1.97]) by hauki.clinet.fi (8.8.5/8.6.4) with ESMTP id LAA16079 for <FreeBSD-gnats-submit@freebsd.org>; Sun, 1 Jun 1997 11:17:28 +0300 (EET DST)
Received: (hsu@localhost) by plentium.clinet.fi (8.7.6/8.6.4) id LAA28038; Sun, 1 Jun 1997 11:17:28 +0300 (EET DST)
Message-Id: <199706010817.LAA28038@plentium.clinet.fi>
Date: Sun, 1 Jun 1997 11:17:28 +0300 (EET DST)
From: Heikki Suonsivu <hsu@clinet.fi>
Reply-To: hsu@clinet.fi
To: FreeBSD-gnats-submit@freebsd.org
Subject: Byte and packet counters in ipfw overflow quickly
X-Send-Pr-Version: 3.2

>Number:         3738
>Category:       kern
>Synopsis:       Byte and packet counters in ipfw overflow quickly
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    alex
>State:          closed
>Quarter:
>Keywords:
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sun Jun  1 01:20:01 PDT 1997
>Closed-Date:    Wed Jan 7 19:22:57 PST 1998
>Last-Modified:  Wed Jan  7 19:24:44 PST 1998
>Originator:     Heikki Suonsivu
>Release:        FreeBSD 2.2-CURRENT i386
>Organization:
Clinet, Espoo, Finland
>Environment:

2.2-CURRENT

>Description:

fw_pcnt and fw_bcnt fields in ip_fw are u_long.  A 2 Mbps link wraps over
in just four hours.  This forces building some kind of collector program
which reads and resets the counters quickly enough to save the information.
These should be 64 bit values ?

>How-To-Repeat:

try to use ipfw to collect usage statistics in a busy network.

>Fix:

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-bugs->alex 
Responsible-Changed-By: alex 
Responsible-Changed-When: Mon Jan 5 19:29:52 PST 1998 
Responsible-Changed-Why:  
I will be committing a fix for this to -current in the next day or so. 
State-Changed-From-To: open->closed 
State-Changed-By: alex 
State-Changed-When: Wed Jan 7 19:22:57 PST 1998 
State-Changed-Why:  
I've fixed this in -current, but I'm very reluctant to bring this into 
2.2.  If you need to run this on -stable, you can obtain diffs from 
http://www.FreeBSD.ORG/~alex 
>Unformatted:
