| Thi file is for use with FreeBSD 4.x and 5.x only. |
| To build a kernel for use with the loadable kernel module, follow these |
| 0. Run "config GENERIC" or similar in /sys/i386/conf or the |
| appropriate directory for your kernel. |
| (probably has to be done as root) |
| 5. install and reboot with the new kernel |
| 6. use modload(8)/kldload(8) to load the packet filter with: |
| 7. do "modstat" or "kldstat" to confirm that it has been loaded |
| There is no need to use mknod to create the device in /dev; |
| - upon loading the module, it will create itself with the correct values, |
| under the name (IPL_NAME) from the Makefile. It will also remove itself |
| from /dev when it is modunload'd. |
| To build a kernel with the IP filter, follow these steps: |
| (probably has to be done as root) |
| 3. run "FreeBSD/kinstall" as root |
| b) If you are using FreeBSD-3 or later: |
| create devices for IP Filter as follows (assuming it was |
| installed into the device table as char dev 20): |
| mknod /dev/ipstate c 79 2 |
| 6. install and reboot with the new kernel |