iptables -A OUTPUT -p icmp -m state --state new -m recent --rcheck \ --name ICMP_ALL_OUT --hitcount $MAX_REPONSE_OUT \ --seconds $TIME_RESET_OUT -j DROP iptables -A OUTPUT -p icmp -m state --state new -m recent --set \ --name ICMP_ALL_OUT -j ACCEPT