Re: nginx 0.7.67 падает на большом regexp
Boris Dolgov
boris на dolgov.name
Пт Июн 18 18:34:38 MSD 2010
Добрый день!
2010/6/18 vl <nginx-forum at nginx.us>:
> 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])")
http://sysoev.ru/nginx/docs/http/ngx_http_geo_module.html
--
Boris Dolgov.
Подробная информация о списке рассылки nginx-ru