pf, pfil hooks and if_bridge

Aaron Peterson lloyd.peterson at gmail.com
Wed Dec 28 06:13:56 PST 2005


On 28 Dec 2005 08:45:06 -0500, Lowell Gilbert
<freebsd-questions-local at be-well.ilk.org> wrote:
> Aaron Peterson <lloyd.peterson at gmail.com> writes:
>
> > I was reading about the new if_bridge driver, and the ability of any
> > packet filter to interface with it that uses pfil hooks.  But I can't
> > seem to find any documentation that says whether pf is such a packet
> > filter?  Would someone enlighten me if pf is useable with the new
> > if_bridge driver?
>
>
>  $ grep 'pfil\.h' /usr/scratch/ncvs/src/sys/contrib/pf/*/*
>  /usr/scratch/ncvs/src/sys/contrib/pf/net/pf_ioctl.c,v:#include <net/pfil.h>
>  $
>
> So, the answer is "yes."

Thanks, I think it's likely I would not have figured that out on my own :-)

Aaron


More information about the freebsd-questions mailing list