Warren Welch (Intraceptives) wrote:
Hi all,

Any chance we can get this to apply cleanly to FreeBSD 6.2 RELEASE?

It seems that following the instructions in INSTALL.FreeBSD for a kernel
install, yields a number of errors, and a failed kernel compile.

Is this to build IPFilter as an LKM or into the kernel?

The directions should read like this:
       0. Run "config GENERIC" or similar in /sys/i386/conf or the
          appropriate directory for your kernel.

       1. Build IPFilter for FreeBSD:
               make freebsd

       2. do "make install-bsd"
          (probably has to be done as root)

       3. Run "BSD/kupgrade"

       4. build a new kernel

       5. install and reboot with the new kernel

       6. use modload(8)/kldload(8) to load the packet filter with:
               modload if_ipl.o
               kldload ipf.ko

       7. do "modstat" or "kldstat" to confirm that it has been loaded
          successfully.

Does this work for you?
At what point do you run into problems?

You should also be able to do "make freebsd", "make install-bsd" and
rename ipf.ko to ipl.ko in /boot/kernel to get where you want, unless
there are some config options from your kernel config file that you
want to apply.

Darren

Reply via email to