Many people have faced the DDoS attacks and HTTP flooding. No, this is not just another tutorial on setting up nginx, but I would like to introduce my module that works as a quick filter between the bots and backend during L7 DDoS attacks, as well it allows filtering the garbage requests.

The module can do:


• To set cookies in a standard way through HTTP header Set-Cookie. After the cookies are set it redirects the user using the response code 301 and Location header.
• After the cookies are set it redirects the user using the response code 200 and HTML tag Meta refresh.
• To count the number of attempts to set the cookies and to direct the user to a specified URL after exceeding the maximum number of unsuccessful attempts.
• To use the custom templates for the filter response, for example, to set cookies through JavaScript.
ZimerMan 22 april 2012, 16:30

A remarkable event took place in the latest Netcraft statistics for January 2012: a web server nginx got finally ahead of Microsoft IIS and came in second place on the internet among the Active Sites (namely the sites with unique content).

image
DeveloperDecember 2011PercentJanuary 2012PercentChange
Apache 102 005 032 58,21% 105 684 049 57,93% -0,28
nginx 20 342 324 11,61% 22 221 514 12,18% 0,57
Microsoft 21 572 870 12,31% 22 142 114 12,14% -0,17
Google 14 240 979 8,13% 14 412 926 7,90% -0,23

According to that statistics all main competitors lost their positions, and the only nginx went up compared to December 2011.

So far Nginx yields to Microsoft IIS in terms of general statistics, namely without filtering concerning the active domains. However, here the Russian web server became the only one among the leaders, which built up its share in January 2012.

image
Developer December 2011 Percent January 2012 Percent Change
Apache 362 267 922 65,22% 378 267 399 64,91% -0,30
Microsoft 82 521 809 14,86% 84 288 985 14,46% -0,39
nginx 49 143 289 8,85% 56 087 776 9,63% 0,78
Google 18 464 148 3,32% 18 936 381 3,25% -0,07
Pirat 8 january 2012, 11:41