i found a solution ...

create a label

pass in from 0/0 to <destination> label "in $dstaddr"

read an reset the counter with

pfctl -sl -z

thats it

Thomas  


On Wed, 2006-05-10 at 13:05 +0200, Thomas Bvrnert wrote:
> Hi @all
> 
> i want to use pf for accounting.
> 
> pfctl -s Interfaces -i interface -vv
> shows the statistics; fine :-)
> 
> but i want reset this statistics every day and
> write them to a file. does everyone know how i
> can reset the statistics ? pfctl -F info doesn't
> clear it.
> 
> another way can be using netstat -b -I hme1
> but i've the same problem to reset the statistics.
> 
> Thanks for help.
> 
> -Thomas

Reply via email to