Compacting the "pf -v -s rules" output similar to "ipfstat
	-ionh"
    Parv 
    parv at pair.com
       
    Sun Dec 18 19:32:57 PST 2005
    
    
  
in message <20051218214608.GA92198 at scott.blazing.de>,
wrote Frank Steinborn thusly...
>
> Parv wrote:
> > 
> > Before i write it myself, has anybody got a already prepared way to
> > compact the "pfctl -v -s rules" output ...
> > 
> >   pass in on lo0 all
> >     [ Evaluations: 22188     Packets: 10925     Bytes: 8392463     States: 0     ]
> >   pass out on lo0 all
> >     [ Evaluations: 19        Packets: 0         Bytes: 0           States: 0     ]
...
> > ... to something like ...
> > 
> >   22188 pass in on lo0 all
> >   21850 pass out on lo0 all
...
> Don't use -v, just pfctl -s rules. That, however, won't give you a
> number of packets/bytes passed to the rules.
Yes i am aware of that.  Without '-v' all i get only the
parsed/loaded rules which is not very useful to me.
  - Parv
-- 
    
    
More information about the freebsd-questions
mailing list