Hy,
I would like to limit TCP packets per connection (Block LOIC etc).
I think I need something like this but transcribed in MKT language:
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
Am I on the right track?
Tnx in Advance.
Ed.