Requirements:
- Linux 2.6.x kernel sources between 2.6.11 and 2.6.13
(for 2.6.14 you need an additional patch from the downloads section)
cd /usr/src/linux
patch -p1 -F3 < /usr/src/nf-hipac-0.9.1/nf-hipac-0.9.1.patch
This builds the userspace tool with support for iptables 1.3.x. If you instead want to compile with support for iptables 1.2.x you have to type:make install PREFIX=/usr/local IPT_LIB_DIR=/lib/iptables
Please remember to recompile the nf-hipac userspace tool as soon as you update your iptables 1.2.x to 1.3.x. Otherwise you will experience segfaults of the nf-hipac userspace tool when using iptables matches or targets.make install PREFIX=/usr/local IPT_LIB_DIR=/lib/iptables IPTABLES_1_2=true