Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 30 Jan 2001 10:35:14 +0200
From:      Nevermind <never@nevermind.kiev.ua>
To:        "Crist J. Clark" <cjclark@reflexnet.net>
Cc:        freebsd-questions@FreeBSD.ORG
Subject:   Re: ipfw count
Message-ID:  <20010130103514.F16812@nevermind.kiev.ua>
In-Reply-To: <20010129234851.H91447@rfx-216-196-73-168.users.reflex>; from cjclark@reflexnet.net on Mon, Jan 29, 2001 at 11:48:51PM -0800
References:  <20010129163837.A17432@nevermind.kiev.ua> <20010129234851.H91447@rfx-216-196-73-168.users.reflex>

next in thread | previous in thread | raw e-mail | index | archive | help
Hello, Crist J. Clark!

On Mon, Jan 29, 2001 at 11:48:51PM -0800, you wrote:

> > The point is I need to count my total traffic, and traffic initiated by all of
> > my local workstations but my router reboots sometimes and all of my ipfw rules
> > are zeroed...
> 
> Spontaneuous reboots, especially on a box just doing routing, should
> not be happening. If that is the case, bets are off on
> rc.shutdown. You can put in a cronjob to write out 'ipfw show' every
> few minutes.
Yeah, it is what exactly I'm doing now, I'm logging count diffs to postgesql
database for each of rules, but I just thought that maybe there is some
internal functionality in ipfw which allows to say, for example "ipfw
save-counters-between-reboots" :)

So, as I can see there is no such feature and the way I'm doing now is the
rightmost way :)

Thanx fo answer.

-- 
Alexandr P. Kovalenko	http://nevermind.kiev.ua/
NEVE-RIPE


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




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