LinuxでUDPパケット送信処理スクリプト
#/bin/bash
#Createdby http://www.arkgame.com
#DROP UDP Flood
list=`grep nameserver /etc/resolv.conf |awk '{print $NF}’`
for i in $list
do
iptables -A OUTPUT -p udp -d $i –dport 53 -j ACCEPT
done
iptables -A OUTPUT -p udp -j DROP
service iptables save