21 messages in ru.sysoev.nginxRe: DoS attack in the wild
FromSent OnAttachments
luben karavelovJun 19, 2009 11:44 am 
luben karavelovJun 19, 2009 12:09 pm 
Cliff WellsJun 19, 2009 12:22 pm 
Cliff WellsJun 19, 2009 12:30 pm 
Cliff WellsJun 19, 2009 12:39 pm 
Neelesh GurjarJun 19, 2009 1:09 pm 
Jérôme LoyetJun 19, 2009 1:19 pm 
E. JohnsonJun 19, 2009 1:23 pm 
Cliff WellsJun 19, 2009 1:51 pm 
w3wsrmnJun 19, 2009 5:09 pm 
Igor SysoevJun 20, 2009 1:53 am 
Igor SysoevJun 20, 2009 1:58 am 
luben karavelovJun 20, 2009 5:33 am 
Igor SysoevJun 20, 2009 5:41 am 
Igor SysoevJun 20, 2009 5:50 am 
Weibin YaoJun 22, 2009 3:51 am 
IstvánJun 22, 2009 5:40 am 
Weibin YaoJun 22, 2009 7:33 pm 
IstvánJun 23, 2009 12:46 am 
Weibin YaoJun 23, 2009 1:08 am 
IstvánJun 23, 2009 2:22 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: DoS attack in the wildActions...
From:Weibin Yao (nbub@gmail.com)
Date:Jun 23, 2009 1:08:46 am
List:ru.sysoev.nginx

István at 2009-6-23 15:46 wrote:

I am not able to reproduce this. The server is answering and serving

./slowloris.pl -dns doma.in <http://doma.in> -port 80 -timeout 2 -num 10000

The load is zero, there is not even a delay in the response time. Would you mind to share your slowloris.pl command and/or the nginx relevant config, OS type and version, sysctl.conf(or equivalent).

It would be also nice to know what the nginx is doing in that time, do you have dtrace on that node? Enable debug level logging in nginx is a really bad idea if you have 5000 requests...

/"But if you have enough attack computers, you also can make a Nginx server deny service."/ / / If you have enough computer you can take down even google.com <http://google.com>, this is not relevant to this conversation, moreover the slowloris is a dedicated tool to low bandwith/low amount of computers attacks.

I'm sorry for my misunderstanding with your last mail. My meaning is that Nginx has much better performance under such attack.

In my test case, I reduce the worker_connections to only 1024 because I just have one attack computer.

And my test script is: ./slowloris.pl -dns doma.in <http://doma.in> -port 80 -timeout 30 -num 10000 -tcpto 5 :-P