Limiting bandwidth

Jeremy Chadwick koitsu at FreeBSD.org
Thu Aug 21 05:17:02 UTC 2008


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 |



More information about the freebsd-pf mailing list