netstat -an | grep 80 |grep ffff| awk '{print $5}'| awk 'BEGIN { FS=":" } { Num[$4]++ } END { for(i in Num) if(Num[i]>30) { print i} }'|xargs -i[] /sbin/iptables -I INPUT -p tcp --dport 8 ...