UnCloaked DOS

Posted by alex almazan Mon, 17 Dec 2007 22:23:00 GMT

The following for loop will inject filters against the source IP(s) of the ‘Treason Uncloaked’ attempts to eat up server resources.
 for DOS_IP in $(dmesg |grep 'Treason uncloaked!' |cut -d ' ' -f5|cut -d':' -f1 |sort -u); do iptables -A INPUT -s $DOS_IP -j DROP;done