Date: Wed, 20 Aug 2008 22:17:01 -0700 From: Jeremy Chadwick <koitsu@FreeBSD.org> To: Erik Danielsson <eridan911@gmail.com> Cc: freebsd-pf@freebsd.org Subject: Re: Limiting bandwidth Message-ID: <20080821051701.GA82314@eos.sc1.parodius.com> In-Reply-To: <c66fe0350808202207id862b91xc118e39cb86acb0f@mail.gmail.com> References: <c66fe0350808200556m1c331936v3cfaea441176e455@mail.gmail.com> <48AC1BCE.3050109@quis.cx> <c66fe0350808202207id862b91xc118e39cb86acb0f@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Aug 21, 2008 at 07:07:57AM +0200, Erik Danielsson wrote: > Thanks guys. > > One question remains though. To count the total traffic from a certain IP > range, should a separate PF rule with a label be used? If so, how can I > reset only the labels statistics whenever I want to? The manpage to pfctl doesn't really indicate this is possible. You could simply delete then re-create the label rule, I would think. -- | Jeremy Chadwick jdc at parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP: 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080821051701.GA82314>