pfstat 2.2 and FreeBSD

Max Laier max at love2party.net
Tue Jul 11 12:26:52 UTC 2006


On Tuesday 11 July 2006 13:59, Fabian Keil wrote:
> 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.

Looks good.  I will commit it later unless somebody screams "no".  Thanks for 
the good work!

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

Neat.

-- 
/"\  Best regards,                      | mlaier at freebsd.org
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | mlaier at EFnet
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-pf/attachments/20060711/b052d19b/attachment.pgp


More information about the freebsd-pf mailing list