Welcome! Log In Create A New Profile

Advanced

Re: DoS attack in the wild

luben karavelov
June 19, 2009 03:09PM
luben karavelov wrote:
> A DoS attack against number of http servers is available and has hit
> slashdot today:
> http://it.slashdot.org/story/09/06/19/1243203/Attack-On-a-Significant-Flaw-In-Apache-Released
>
>
> Out of the box nginx is also vulnerable (I have tested it on latest 0.7
> installation). A quick fix for the vulnerability follows:
>
> Put in "http" section:
>
> client_body_timeout 10;
> client_header_timeout 10;
> keepalive_timeout 10;
> send_timeout 10;
> limit_zone limit_per_ip $binary_remote_addr 1m;
>
> and put in "server" section :
>
> limit_conn limit_per 16;
>
> The last 2 configuration lines are for limiting connections per client
> IP. This fist lines are same sane connection timeouts.
>
> Best regards and keep the great work!
>

If you process some large uploads or the page generation gets over 10
seconds you could raise the timeouts. Actually the fix is the last
lines: limiting the connection number per client IP

Luben
Subject Author Posted

DoS attack in the wild

luben karavelov June 19, 2009 02:45PM

Re: DoS attack in the wild

luben karavelov June 19, 2009 03:09PM

Re: DoS attack in the wild

Cliff Wells June 19, 2009 03:31PM

Re: DoS attack in the wild

Cliff Wells June 19, 2009 03:22PM

Re: DoS attack in the wild

Neelesh Gurjar June 19, 2009 04:10PM

Re: DoS attack in the wild

Jérôme Loyet June 19, 2009 04:19PM

Re: DoS attack in the wild

luben karavelov June 20, 2009 08:33AM

Re: DoS attack in the wild

Igor Sysoev June 20, 2009 08:41AM

Re: DoS attack in the wild

Igor Sysoev June 20, 2009 08:50AM

Re: DoS attack in the wild

E. Johnson June 19, 2009 04:24PM

Re: DoS attack in the wild

Cliff Wells June 19, 2009 04:52PM

Re: DoS attack in the wild

Igor Sysoev June 20, 2009 04:59AM

Re: DoS attack in the wild

Cliff Wells June 19, 2009 03:39PM

Re: DoS attack in the wild

w3wsrmn June 19, 2009 08:09PM

Re: DoS attack in the wild

Igor Sysoev June 20, 2009 04:54AM

Re: DoS attack in the wild

Weibin Yao June 22, 2009 06:51AM

Re: DoS attack in the wild

Istv June 22, 2009 08:40AM

Re: DoS attack in the wild

Weibin Yao June 22, 2009 10:34PM

Re: DoS attack in the wild

Istv June 23, 2009 03:46AM

Re: DoS attack in the wild

Weibin Yao June 23, 2009 04:09AM

Re: DoS attack in the wild

Istv June 23, 2009 05:22AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 288
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready