// Aula 6 - Como detectar Denial of Service e se proteger deles # netstat -an # netstat -ntu | grep ESTAB | awk '{print $5}' | cut -d: -f1 | sort | uniq -c | sort -nr # netstat -lan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1 # netstat -an|grep 149.56.180.254 # iptables -I INPUT -s 149.56.180.254 -j DROP # netstat -plan|grep :80|awk {'print $5'}|cut -d: -f 1|sort|uniq -c|sort -nk 1