Routeros Mikrotik Tutorial - Menginstall Netfilter-Layer7 di Ubuntu 7.04 server

# wget http://www.coolsolutions.eu/ipsqos-1.10.9/de4.0/linux-image-2.6.22-o3_2.0_i386.deb
# wget http://www.coolsolutions.eu/ipsqos-1.10.9/de4.0/linux-headers-2.6.22-o3_2.0_i386.deb
# wget http://www.coolsolutions.eu/ipsqos-1.10.9/de4.0/layer7_1.3.6-2.6.18_o3_deb4.0_i386.deb
# wget http://internode.dl.sourceforge.net/sourceforge/l7-filter/l7-protocols-2008-04-23.tar.gz

# dpkg -i linux-image-2.6.22-o3_2.0_i386.deb
# dpkg -i linux-headers-2.6.22-o3_2.0_i386.deb
# dpkg -i layer7_1.3.6-2.6.18_o3_deb4.0_i386.deb
# tar -zxvf l7-protocols-2008-04-23.tar.gz
# cd l7-protocols-2008-04-23
# make install
# reboot

netfilter-layer7 siap digunakan.

block p2p

#iptables -t mangle -A PREROUTING -m layer7 --l7proto 100bao –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto applejuice –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto ares –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto bittorrent –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto directconnect –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto edonkey –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto fasttrack –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto freenet –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto gnucleuslan –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto gnutella –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto goboogy –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto hotline –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto imesh –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto kugoo –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto mute –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto napster –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto openft –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto poco –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto soribada –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto soulseek –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto http-dap –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto audiogalaxy –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto rpm –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto code_red –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto nimda –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto tesla –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto thecircle –j DROP
#iptables -t mangle -A PREROUTING -m layer7 --l7proto xunlei –j DROP

selengkapnya wacana L7-filter Supported Protocols silahkan lihat http://l7-filter.sourceforge.net/protocols

Comments