ПРОЕКТЫ 


  АРХИВ 


Apache-Talk @lexa.ru 

Inet-Admins @info.east.ru 

Filmscanners @halftone.co.uk 

Security-alerts @yandex-team.ru 

nginx-ru @sysoev.ru 


  СТАТЬИ 


  ПЕРСОНАЛЬНОЕ 


  ПРОГРАММЫ 



ПИШИТЕ
ПИСЬМА












     АРХИВ :: nginx-ru
Nginx-ru mailing list archive (nginx-ru@sysoev.ru)

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: nginx 0.7.67 падает на большо м regexp


  • To: nginx-ru@xxxxxxxxx
  • Subject: Re: nginx 0.7.67 падает на большо м regexp
  • From: Alex Vasilenko <aa.vasilenko@xxxxxxxxx>
  • Date: Fri, 18 Jun 2010 17:34:08 +0300
  • Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:mime-version:received:in-reply-to :references:from:date:message-id:subject:to:content-type; bh=roSMbjF9Wdpkwssi2zLVDSctqTAHYbsNRKMgf5K1Ty0=; b=gkYu5ov6LHXsMYPG3J+QRAHpZpHVkZe8aHjwwxq2r8aXntH0BHj2TiulzN+gFfoYVK FN8gTp/ygpigVXs+FUYzB09M4nj2Tq4Iq6bJBeRx2E/gJs69wewe7CchEGahV4zWRljx Ib2+KjU5II/H670TNfj7zHb2LtFZyQtiurRwU=
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type; b=Jd7dCoe7Lw04X838OJCXxTLRP7fDim8GvzK7CWp4PW0ZSoCkZhc2fFUQnly1LoUoqj IfogsirfpYFEKZlbHu505UfbJ7FL0Vt/RJG4XXZT1ZJJIl7nB5qLIJ10UAgxFRtcFLTb ZPGxnRfsPTx0pEavHS//g+5gO1zAYp2mDgsMY=
  • In-reply-to: <aad5bb56e5afa625d518fa8fb29be3eb.NginxMailingListRussian@xxxxxxxxxxxxxxx>
  • References: <aad5bb56e5afa625d518fa8fb29be3eb.NginxMailingListRussian@xxxxxxxxxxxxxxx>

Переписать под GeoIp модуль?

Alexandr Vasilenko
Web Developer
www.savevid.com
ICQ:284752117/JID:mente@xxxxxxxxxxxxxx
Skype:menterr
mob: +38097-611-45-99


18 июня 2010 г. 17:26 пользователь vl <nginx-forum@xxxxxxxx> написал:
CentOS release 5.5 (Final)

nginx 0.7.67 падает из-за regexp. 0.6.39 работает.
0.7.67 собирал вручную, пробовал из src.rpm,
пробовал поставить уже готовую rpm, все
падают.

       location /
           {
               root /aaa/bbb/;

               add_header Content-Disposition 'attachment;';
               add_header Content-Description 'File Transfer';
               add_header Content-Transfer-Encoding 'binary';
               types         { }
               default_type  application/octet-stream;
               access_log   /aaa/gggggggg/nginx.log short;
               error_page  403 404    http://www.www.ru;

               if ($remote_addr ~*
"213.87.(89\..*|90\..*)|213.87.64.(6[4-9]|[7-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.74.251([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.66.146.(3[3-9]|[4-9][0-9]|10[0-7])|80.83.(232\..*|233\..*)|213.87.76.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|195.85.238.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|213.87.(112\..*|113\..*)|217.8.239.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|80.83.(238\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|239\..*)|217.74.255.115|213.87.195.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4]0-9]|25[0-5])|213.87.77.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4])|217.74.244.(12[8-9]|1[3-9][0-9]|2[0-4]0-9]|25[0-5])|217.74.248.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|213.87.(80\..*|81\..*)|195.22.110.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4])|213.87.197.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|80.83.(228\.([1-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|(229|230)\..*|231\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|84.17.(254\..*|255..*)|217.8.(230\..*|231\..*)|213.87.196.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.8.225.([0-9]|1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.74.249.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.66.(148\.([1-9]|1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|(149|150)\..*|151\.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-4]))|217.8.(226\..*|227\..*)|217.8.(232\..*|233\..*)|213.87.(8\..*|(9|1[0-4])\..*|15\..*)|217.74.247.(12[8-9]|1[3-9][0-9]|2[0-4][0-9]|25[0-4])|217.8.234.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|213.87.194.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.8.(228\..*|229..*)|217.74.250.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|213.87.86.(6[4-9]|[7-9][0-9]|1[0-1][0-9]|12[0-7])|95.153.(160\..*|(16[1-9]|1[7-8][0-9]|190)\..*|191\..*)|217.66.147.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4]0-9]|25[0-5])|217.74.245.([0-9]|[1-9][0-9]|1[0-9][0-9]|2[0-4][0-9]|25[0-5])|217.8.238.(12[8-9]|1[3-9][0-9]|2[0-4][0-9]|25[0-5])|213.87.(82\..*|8[3-4]\..*|85\..*)|213.87.(87\..*|88\..*)|217.8.236.(6[4-9]|[7-9][0-9]|1[0-9][0-9]|2[0-4]0-9]|25[0-5])|217.66.146.([1-9]|[1-2][0-9]|3[0-2])")
{
                       rewrite ^(.*)$ http://aaaa/bbbb$1 last;
                       break;
               }
           }

Posted at Nginx Forum: http://forum.nginx.org/read.php?21,99769,99769#msg-99769


_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru

_______________________________________________
nginx-ru mailing list
nginx-ru@xxxxxxxxx
http://nginx.org/mailman/listinfo/nginx-ru


 




Copyright © Lexa Software, 1996-2009.