On Wed, Nov 15, 2006 at 01:22:33AM -0500, Joseph Gorse wrote:
> This may seem like a silly question, but where exactly is the code  
> that sets up the /dev/pf device? I am probably overlooking something  
> extremely simple and it's probably because I am currently overwhelmed  
> with a foreign OS source tree (obsd).

/dev/MAKEDEV


> So far as I can see, /dev/pf  either doesn't show up or isn't useful
> until /etc/rc.conf has pf=YES  in it. Perhaps this has something to do
> with why I can't find it?

No, it's there and useable even if you don't have pf=YES in rc.conf.
Basically the rc.conf setting just loads a default ruleset, enables pf
and pflogd, and loads your /etc/pf.conf if it exists.  If you don't have
that set, you can manually enable pf with pfctl at any time.

Reply via email to