pf, pfil hooks and if_bridge

Lowell Gilbert freebsd-questions-local at be-well.ilk.org
Wed Dec 28 05:45:08 PST 2005


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."

-- 
Lowell Gilbert, embedded/networking software engineer, Boston area
		http://be-well.ilk.org/~lowell/


More information about the freebsd-questions mailing list