Toni Mueller <[email protected]> writes:

> I'd like to be able to clear the counters of interfaces, similar to
> "clear counters" in Cisco lingo.

If you read your statistics off pf labels, they're really easy to
reset without disturbing anything else - in fact people do traffic
accounting on periodic data where pfctl resets the counters every N
time units after recording (displaying) values - pfctl -vslz if memory
serves.

Just a thought, may or may not be appropriate for your application,
worth mentioning

Cheers,
Peter

-- 
Peter N. M. Hansteen, member of the first RFC 1149 implementation team
http://bsdly.blogspot.com/ http://www.bsdly.net/ http://www.nuug.no/
"Remember to set the evil bit on all malicious network traffic"
delilah spamd[29949]: 85.152.224.147: disconnected after 42673 seconds.

Reply via email to