I'm trying to prevent loic attackes by using this command
iptables -A INPUT -p tcp --dport 80 -m hashlimit --hashlimit-upto 50/min \
--hashlimit-burst 500 --hashlimit-mode srcip --hashlimit-name http -j ACCEPT
iptables -A INPUT -p tcp --dport 80 -j DROP
reference: How to prevent a LOIC (DDOS) attack?
I always got this error message:
iptables v1.3.5: Unknown arg `--hashlimit-upto'
What's causing it and how can I fix it?