iptables -N UNLEGAL iptables -A UNLEGAL -m recent --name DROP_UNLEGAL --set iptables -A UNLEGAL -j DROP iptables -t filter -A INPUT -i eth0 -p all -m recent --name DROP_UNLEGAL --update --seconds 60 -hitcount 60 -m state --state ! ESTABLISHED,RELATED -j UNLEGAL