HP-UX IPFilter Version A.03.05.14 Administrator's Guide
HP-UX IPFilter Static Linking
Static Linking
Appendix B180
Static Linking of HP-UX IPFilter on HP-UX 11i v2
Use the following steps to statically link the IPFilter modules to the
kernel with HP-UX 11i v2:
1. Set up the IPFilter modules to be statically linked to the kernel using
the kcmodule command. The modules will be statically linked at the
next system boot. See the kcmodule (1M) manpage for further
details. For example:
$ kcmodule -K -h -s pfil=static
$ kcmodule -K -h -s ipf=static
2. Reboot the system.
Use the following steps to return the system back to dynamic linking.
1. Set up the IPFilter modules to be dynamically linked to the kernel
using the following commands:
$ kcmodule -K -h -s pfil=auto
$ kcmodule -K -h -s ipf=auto
2. Reboot the system.
CAUTION If you need to remove or update IPFilter software, you must reconfigure
the ipf and pfil modules to link dynamically into the kernel. The
install and remove scripts for IPFilter assume the IPFilter modules to be
dynamically linked. Do not try installing a newer version or removing
the existing IPFilter product if it is statically linked to the kernel.