iptables Block bittorent 100% EasyZone - บริการ Software จัดการ อินเตอร์เน็ตในหอพัก, อพาร์ทเมนท์, แมนชั่น, คอนโด, โรงแรม
 


หน้าแรก | ลงทะเบียน | เข้าสู่ระบบ | สินค้าและบริการ | ลูกค้าของเรา | Dealer | Install | Support | ติดต่อ | DEMO
02-691-6382 (Office), 089-758-0691(ฝ่ายขาย), 086-644-2243 (ฝ่ายเทคนิค)

EasyZone Pro30 : บริการโปรแกรม Radius, Hotspot, PPPoE billing


  

 Question: iptables Block bittorent 100%

 

 # Algo string

 $IPTABLES -A FORWARD -m string --algo bm --string "BitTorrent" -j DROP 
 $IPTABLES -A FORWARD -m string --algo bm --string "BitTorrent protocol" -j DROP
 $IPTABLES -A FORWARD -m string --algo bm --string "peer_id=" -j DROP
 $IPTABLES -A FORWARD -m string --algo bm --string ".torrent" -j DROP
 $IPTABLES -A FORWARD -m string --algo bm --string "announce.php?passkey=" -j DROP 
 $IPTABLES -A FORWARD -m string --algo bm --string "torrent" -j DROP
 $IPTABLES -A FORWARD -m string --algo bm --string "announce" -j DROP
 $IPTABLES -A FORWARD -m string --algo bm --string "info_hash" -j DROP 
 $IPTABLES -A FORWARD -m string --algo bm --string "/default.ida?" -j DROP  #codered virus
 $IPTABLES -A FORWARD -m string --algo bm --string ".exe?/c+dir" -j DROP  #nimda virus
 $IPTABLES -A FORWARD -m string --algo bm --string ".exe?/c_tftp" -j DROP  #nimda virus 
# bittorrent key
 $IPTABLES -A FORWARD -m string --string "peer_id" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "BitTorrent" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "BitTorrent protocol" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "bittorrent-announce" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "announce.php?passkey=" --algo kmp --to 65535 -j DROP
# DHT keyword
 $IPTABLES -A FORWARD -m string --string "info_hash" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "get_peers" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "announce" --algo kmp --to 65535 -j DROP
 $IPTABLES -A FORWARD -m string --string "announce_peers" --algo kmp --to 65535 -j DROP
 
refer : http://www.linuxthai.org/forum/index.php?topic=3884.0


  by: EasyZone      วันที่ 6/9/2553 - 17:04:00  




Question and Comment
name:
Email:
message:
Security Code :
    * กรุณากรอก Security Code เพื่อป้องการกันการโจมตีเว็บบอร์ด
 

Back