Install l7-filter module for Iptables
Preparing: To use menuconfig: yum install -y ncurses-devel Download required packages Download L7-filter kernel wget http://downloads.sourceforge.net/l7-filter/netfilter-layer7-v2.19.tar.gz Download L7-filter Protocol definitions wget http://sourceforge.net/projects/l7-filter/files/Protocol definitions/2009-05-28/l7-protocols-2009-05-28.tar.gz Download Linux Iptables 1.4.0 wget http://www.netfilter.org/projects/iptables/files/iptables-1.4.0.tar.bz2 Download Linux Kernel 2.6.26 wget http://www.kernel.org/pub/linux/kernel/v2.6/linux-2.6.26.tar.bz2 Extract it: tar xvf linux-2.6.26.tar.bz2 tar xvf netfilter-layer7-v2.19.tar.gz Apply patch to Linux kernel source cd linux-2.6.26 patch -p1 < ../netfilter-layer7-v2.19/kernel-2.6.25-layer7-2.19.patch Apply patch & install iptables 1.4.0 tar -xvf iptables-1.4.0.tar.bz2 cd iptables-1.4.0 patch -p1 < ../netfilter-layer7-v2.19/iptables-1.4-for-kernel-2.6.20forward-layer7-2.19.patch chmod +x extensions/.laye