usb devices and devfs settings

Chuck Swiger cswiger at mac.com
Sat Feb 14 12:29:05 PST 2004


Dima Dorfman wrote:
> Dag-Erling Sm?rgrav <des at des.no> wrote:
>>(like ipfw does);
> 
> ipfw(8) doesn't actually read from a file; rc.firewall calls ${fwcmd}
> explicitly for each rule.

While the mode of operation you describe is the default behavior, please note 
that /etc/rc.firewall ends with:

         if [ -r "${firewall_type}" ]; then
                 ${fwcmd} ${firewall_flags} ${firewall_type}
         fi

If you set firewall_type to the name of a file,ipfw will happy read one rule 
per line from that file via a pre-processor like cpp (or cat)...

-- 
-Chuck



More information about the freebsd-current mailing list