[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: PF and Traffic Accounting
- To: misc_(_at_)_openbsd_(_dot_)_org
- Subject: Re: PF and Traffic Accounting
- From: alext_(_at_)_Parusv_(_dot_)_RU (Alex Teldekov)
- Date: Tue, 4 Jun 2002 09:32:29 +0400
- Keywords: 2049149303
> well, this case is so easy that pfctl's interface stats are sufficient.
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