pfstat 2.2 and FreeBSD

Fabian Keil freebsd-listen at fabiankeil.de
Tue Jul 11 11:59:52 UTC 2006


Fabian Keil <freebsd-listen at fabiankeil.de> wrote:

> Daniel Hartmeier <daniel at benzedrine.cx> wrote:

> > http://www.benzedrine.cx/pfstat.html
> > 
> > (make sure to grab pfstat-2.2.tar.gz, older versions didn't fetch
> > queue stats, either)
> 
> Yesterday I installed pfstat 2.2 on FreeBSD RELENG_6. It compiled
> cleanly, but fetching the statistics failed with "ioctl
> DIOCIGETIFACES not supported by device" (not the exact wording).
> 
> To get it running I used:
> <http://www.fabiankeil.de/sourcecode/freebsd/pfstat-2.2.diff>
> (update for sysutils/pfstat from 1.7 to 2.2)

I forgot to mention that the patch was incomplete
and did not install pfstatd.8 and pfstatd, it does now.
Additionally the default configuration is read from
${PREFIX}/etc/pfstat.conf instead of /etc/pfstat.conf.
 
> Could someone with FreeBSD PF foo please check patch-pf.c
> for correctness?

I added two testing queues and as the graphs[1] match
the output of pfctl, I assume the patch is correct.

[1] http://tor.fabiankeil.de/pf-stats/

Fabian
-- 
http://www.fabiankeil.de/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20060711/51006e1b/signature.pgp


More information about the freebsd-pf mailing list