Nginx Reverse proxy + SYN Flood

Posted by Bradley on Server Fault See other posts from Server Fault or by Bradley
Published on 2012-03-18T23:50:29Z Indexed on 2012/03/19 2:07 UTC
Read the original article Hit count: 526

Filed under:
|

We're running a nginx reverse proxy cluster, forwarding traffic to our main website, this enables us to filter out unwanted traffic/users etc, and send them off else where, now we have a few issues with SYN floods where the requests a second is overflowing the proxy + the main server causing them to become unavailable.

Is there any ip tables magic that can A) Rate limit SYN packets / connections to HTTP B) Block it all together if packets a second is malicious

or any advice how to use limit_rate_zone in nginx, I've googled and tried to apply a few new results and none of them work and the websites are still unavailable.

© Server Fault or respective owner

Related posts about nginx

Related posts about iptables