Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Jan 2001 02:03:45 -0800 (PST)
From:      Luigi Rizzo <rizzo@aciri.org>
To:        jon@abccom.bc.ca (Jon Simola)
Cc:        rizzo@aciri.org, ipfw@FreeBSD.ORG
Subject:   Re: Indexing IPFW rule
Message-ID:  <200101051003.f05A3jo97252@iguana.aciri.org>
In-Reply-To: <Pine.BSF.3.96.1010104235451.462h-100000@newmail.netbistro.com> from Jon Simola at "Jan 5, 2001  1:57:42 am"

next in thread | previous in thread | raw e-mail | index | archive | help

> > oh for traffic stats, you can replace the 'accept' rule with a "pipe N"
...
> Is there a way to zero the stats? I can't see a way to do that without

no, you'd need to implement a "pipe N zero" rule to zero the
counters.

> > Only catch is that you might need more room in the ipfw struct.
> 
> Hmm... 

well, it is just a one line change in the struct definition!

	u_in32_t bitmap[8] ;

	cheers
	luigi



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




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