summaryrefslogtreecommitdiffstats
path: root/contrib/ipfilter/INSTALL.xBSD
diff options
context:
space:
mode:
Diffstat (limited to 'contrib/ipfilter/INSTALL.xBSD')
-rw-r--r--contrib/ipfilter/INSTALL.xBSD45
1 files changed, 45 insertions, 0 deletions
diff --git a/contrib/ipfilter/INSTALL.xBSD b/contrib/ipfilter/INSTALL.xBSD
new file mode 100644
index 0000000..2f933ff
--- /dev/null
+++ b/contrib/ipfilter/INSTALL.xBSD
@@ -0,0 +1,45 @@
+# $FreeBSD$
+
+To build a kernel for use with the loadable kernel module, follow these
+steps:
+ 1. do "make bsd"
+
+ 2. cd to the "BSD" directory and type "make install"
+
+ 3. run "4bsd/minstall" as root
+
+ 4. build a new kernel
+
+ 5. install and reboot with the new kernel
+
+ 6. use modload(8) to load the packet filter with:
+ modload if_ipl.o
+
+ 7. do "modstat" to confirm that it has been loaded successfully.
+
+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:
+
+ 1. do "make bsd"
+
+ 2. cd to the "BSD" directory and type "make install"
+
+ 3. run "4bsd/kinstall" as root
+
+ 4. build a new kernel
+
+ 5. create devices for IP Filter as follows (assuming it was
+ installed into the device table as char dev 20):
+ mknod /dev/ipl c 20 0
+ mknod /dev/ipnat c 20 1
+ mknod /dev/ipstate c 20 2
+ mknod /dev/ipauth c 20 3
+
+ 6. install and reboot with the new kernel
+
+Darren
+darrenr@pobox.com
OpenPOWER on IntegriCloud