1# $FreeBSD$
2
3To build a kernel for use with the loadable kernel module, follow these
4steps:
5	1. do "make bsd"
6
7	2. cd to the "BSD" directory and type "make install"
8
9	3. run "4bsd/minstall" as root
10
11	4. build a new kernel
12
13	5. install and reboot with the new kernel
14
15	6. use modload(8) to load the packet filter with:
16		modload if_ipl.o
17
18	7. do "modstat" to confirm that it has been loaded successfully.
19
20There 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.
24
25To build a kernel with the IP filter, follow these steps:
26
27	1. do "make bsd"
28
29	2. cd to the "BSD" directory and type "make install"
30
31	3. run "4bsd/kinstall" as root
32
33	4. build a new kernel
34
35	5. create devices for IP Filter as follows (assuming it was
36	   installed into the device table as char dev 20):
37		mknod /dev/ipl c 20 0
38		mknod /dev/ipnat c 20 1
39		mknod /dev/ipstate c 20 2
40		mknod /dev/ipauth c 20 3
41
42	6. install and reboot with the new kernel
43
44Darren
45darrenr@pobox.com
46