renames vmcb->control.v_irq to virq_pending
[freebsd-src/fkvm-freebsd.git] / contrib / ipfilter / INSTALL.FreeBSD
bloba4a787ac42be27fd2a943b0dcc72cde379416dbc
2 This file is for use with FreeBSD 4.x and 5.x only.
4 To build a kernel for use with the loadable kernel module, follow these
5 steps:
6         1. For FreeBSD version:
7                 4.*      do     make freebsd4
8                 5.*      do     make freebsd5
10         2. do "make install-bsd"
11            (probably has to be done as root)
13         3. Run "BSD/kupgrade"
15         4. build a new kernel
17         5. install and reboot with the new kernel
19         6. use modload(8) to load the packet filter with:
20                 modload if_ipl.o
22         7. do "modstat" to confirm that it has been loaded successfully.
24 There is no need to use mknod to create the device in /dev;
25 - upon loading the module, it will create itself with the correct values,
26   under the name (IPL_NAME) from the Makefile.  It will also remove itself
27   from /dev when it is modunload'd.
29 To build a kernel with the IP filter, follow these steps:
31         1. For FreeBSD version:
32                 4.*      do     make freebsd4
33                 5.*      do     make freebsd5
35         2. do "make install-bsd"
36            (probably has to be done as root)
38         3.  run "FreeBSD/kinstall" as root
40         4. build a new kernel
42         5.
43           b) If you are using FreeBSD-3 or later:
44            create devices for IP Filter as follows (assuming it was
45            installed into the device table as char dev 20):
46               mknod /dev/ipl c 79 0
47               mknod /dev/ipnat c 79 1
48               mknod /dev/ipstate c 79 2
49               mknod /dev/ipauth c 79 3
50               mknod /dev/ipsync c 79 4
51               mknod /dev/ipscan c 79 5
53         6. install and reboot with the new kernel
55 Darren Reed
56 darrenr@pobox.com