Welcome! Log In Create A New Profile

Advanced

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

June 18, 2010 10:36AM
Переписать под GeoIp модуль?

Alexandr Vasilenko
Web Developer
www.savevid.com
ICQ:284752117/JID:mente@jabber.kiev.ua <JID%3Amente@jabber.kiev.ua>
Skype:menterr
mob: +38097-611-45-99


18 июня 2010 г. 17:26 пользователь vl <nginx-forum@nginx.us> написал:

> 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@nginx.org
> http://nginx.org/mailman/listinfo/nginx-ru
>
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

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

vl June 18, 2010 05:10AM

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

mente June 18, 2010 10:36AM

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

Михаил Монашёв June 18, 2010 11:10AM

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

Igor Sysoev June 18, 2010 11:20AM

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

jjjx128 June 18, 2010 10:36AM

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

Boris Dolgov June 18, 2010 10:36AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 143
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready