Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread William A. Rowe, Jr.
Tom Evans wrote: > > It is a bit like an arms race - I guess a solution could be to use a > dedicated thread for reading in POST bodies. This is why IIS appears to the author that is invulnerable; IIS does fill an initial buffer, at least 64k worth. Exhaust that buffer and it should cripple IIS

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread Tom Evans
On Thu, 2009-06-25 at 10:17 -0500, William A. Rowe, Jr. wrote: > André Warnier wrote: > > fredk2 wrote: > >> Would'nt you think that a (simple) timer for the header could fend off > >> some > >> of the effect. Can't we assume that if it takes more than 3 second to > >> enter > >> the header we do

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread William A. Rowe, Jr.
André Warnier wrote: > William A. Rowe, Jr. wrote: >> André Warnier wrote: >>> fredk2 wrote: Would'nt you think that a (simple) timer for the header could fend off some of the effect. Can't we assume that if it takes more than 3 second to enter the header we do not want th

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread André Warnier
William A. Rowe, Jr. wrote: André Warnier wrote: fredk2 wrote: Would'nt you think that a (simple) timer for the header could fend off some of the effect. Can't we assume that if it takes more than 3 second to enter the header we do not want that client (i'll have to learn to type faster in tel

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread William A. Rowe, Jr.
André Warnier wrote: > fredk2 wrote: >> Would'nt you think that a (simple) timer for the header could fend off >> some >> of the effect. Can't we assume that if it takes more than 3 second to >> enter >> the header we do not want that client (i'll have to learn to type >> faster in >> telnet :-).

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread André Warnier
fredk2 wrote: Would'nt you think that a (simple) timer for the header could fend off some of the effect. Can't we assume that if it takes more than 3 second to enter the header we do not want that client (i'll have to learn to type faster in telnet :-). For the headers, I think it might help.

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread fredk2
Would'nt you think that a (simple) timer for the header could fend off some of the effect. Can't we assume that if it takes more than 3 second to enter the header we do not want that client (i'll have to learn to type faster in telnet :-). Thanks - Fred awarnier wrote: > > fredk2 wrote: >> Hi

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread Eric Covener
On Thu, Jun 25, 2009 at 4:01 AM, André Warnier wrote: > - and the arrival of the first byte of the HTTP request itself > (the G of GET) I think there's some magic that makes the request line in its entirety subject to the Timeout, instead of each read. -- Eric Covener cove...@gmail.com

Re: [us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-25 Thread André Warnier
fredk2 wrote: Hi, http://httpd.apache.org/docs/2.2/mod/core.html#timeout says: The TimeOut directive currently defines the amount of time Apache will wait for three things 1. The total amount of time it takes to receive a GET request ... 1. seems to be misleading, tests with "Timeout 3" does n

[us...@httpd] Setting the Timeout directive to refrain a DoS attacks

2009-06-24 Thread fredk2
Hi, http://httpd.apache.org/docs/2.2/mod/core.html#timeout says: The TimeOut directive currently defines the amount of time Apache will wait for three things 1. The total amount of time it takes to receive a GET request ... 1. seems to be misleading, tests with "Timeout 3" does not appear very