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

Re: PF and Traffic Accounting

> well, this case is so easy that pfctl's interface stats are sufficient.
> otherwise:

	Not so easy. :)

> block in  on fxp1 all
> pass  out on fxp1 all keep state label "passed"

> and watch at "pfctl -sl" output.
> you'll see
> [label] [evaluations] [packets] [bytes]

	...and I'll see _both_ incoming _and_ outgoing traffic summed up for
label "passed". But I need to count _only_ incoming traffic.

> Of course this is documented in the manpage...

	Of cource I've read the manpage. I always do my homework before
mailing to lists.

Alex Teldekov mailto:alext_(_at_)_Parusv_(_dot_)_RU
GnuPG Key fingerprint = 3561 BD3A DFFB 8CF4 EE99  67EC 3886 6834 8997 2D18