You are viewing a single comment's thread.

view the rest of the comments →

bowyang ago

Will it help to rate limit connections:

iptables --new-chain RATE-LIMIT
iptables --append RATE-LIMIT --match hashlimit --hashlimit-upto 50/sec --hashlimit-burst 20 --hashlimit-name conn_rate_limit --jump ACCEPT
iptables --append RATE-LIMIT --jump DROP

Now each SRCIP is limited to 50 new connections per second.