[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Counting bytes to/from alias IPs on 3.0



On Thu, Feb 07, 2002 at 10:09:41AM -0700, Richard Johnson wrote:
> For accounting purposes, I need to count bytes sent to and from particular
> IPs, all of which are aliases on one interface.  netstat -bi gives me the

With a pf more current than -stable you can use rule labels and parse "pfctl
-s labels" output.
With pf of -stable, hmm, you COULD parse pfctl -s rules, though that is not
really fun.

Greetz

Henning

-- 
http://2suck.net/hhwl.html
Unix is very simple, but it takes a genius to understand the simplicity.
(Dennis Ritchie)