1

Can you stop a SYN Flood attack with .htaccess?

view story
linux-howto

http://serverfault.com – [Linux - CentOS - Apache - VPS] Last week my servers came under a SYN Flood attack, my hosting provider took some steps and resolved the issue. One of the things that they did was turn on SYN Cookies. I do know that all the traffic originated in South America. My question is: Knowing which country that the attack is coming from is it possible to defend against the attack by blocking that country in my .htaccess file? Or does the attack happen on a lower level before the .htaccess is in the picture? (HowTos)