3 To build a kernel for use with the loadable kernel module, follow these
7 2. cd to the "BSD" directory and type "make install"
9 3. run "4bsd/minstall" as root
13 5. install and reboot with the new kernel
15 6. use modload(8) to load the packet filter with:
18 7. do "modstat" to confirm that it has been loaded successfully.
20 There is no need to use mknod to create the device in /dev;
21 - upon loading the module, it will create itself with the correct values,
22 under the name (IPL_NAME) from the Makefile. It will also remove itself
23 from /dev when it is modunload'd.
25 To build a kernel with the IP filter, follow these steps:
29 2. cd to the "BSD" directory and type "make install"
31 3. run "4bsd/kinstall" as root
35 5. create devices for IP Filter as follows (assuming it was
36 installed into the device table as char dev 20):
38 mknod /dev/ipnat c 20 1
39 mknod /dev/ipstate c 20 2
40 mknod /dev/ipauth c 20 3
42 6. install and reboot with the new kernel