eagfaz

2016-09-27 Thread xcvg xf hetj
azegé"(hyh___ nginx mailing list nginx@nginx.org http://mailman.nginx.org/mailman/listinfo/nginx

[PATCH] Core: fixed uninitialized memory access

2016-09-27 Thread Jan Seda
Struct sockaddr was allocated without zeroing. As getsockname() does not necessarily fill all the bytes, this left potentially uninitialized memory, which caused me a weird failure in the on-the-fly upgrade mechanism, where the new master failed to pair the config file AF_UNIX sockets with the

Re: Nginx не отвечает на запросы

2016-09-27 Thread Alexey Kuznetsov
24.09.2016 11:41, Mikanoshi пишет: Alexey Kuznetsov Wrote: --- Помогает или откат кернела на старую версию (достаточно самого ядра и модулей) ИЛИ выключение "accf_http" (и модуль не загружен и в конфиге соотв выключено, отключать только в

Re: 444 return code and rate limiting

2016-09-27 Thread c0nw0nk
What I would say to do is write IP's from your toolkit or what ever you are using for reading your access.log and those that trigger and spam the 503 error within milliseconds or what ever range it is you can do an API call and add those IP's to be blocked at a router level. With CloudFlare you

Re: 444 return code and rate limiting

2016-09-27 Thread lists
If you dig through some old posts, it was established that the deny feature of nginx isn't very effective at limiting‎ network activity. I deny at the firewall.  What remains is if you should deny dynamically or statically. ‎   Original Message   From: c0nw0nk Sent: Tuesday, September 27, 2016

Re: 444 return code and rate limiting

2016-09-27 Thread c0nw0nk
It is a response by the time the 444 is served it is to late a true DDoS is not about what the server outputs its about what it can receive you can't expect incoming traffic that amounts to 600Gbps to be prevented by a 1Gbps port it does not work like that Nginx is an Application preventing any

Re: Uneven High Load on the Nginx Server

2016-09-27 Thread anish10dec
Thanks Maxim We enabled the upstream_request_time on both the server which shows response time less than a sec for Upstream request. It doesn't seems to be issue with Upstream Server . Even for the request which are HIT response time on the server on which "Writing" is more varies from 10 sec

Re: Uneven High Load on the Nginx Server

2016-09-27 Thread Maxim Dounin
Hello! On Tue, Sep 27, 2016 at 01:09:41PM -0400, anish10dec wrote: > We are having two Nginx Server acting as Caching Server behind haproxy > loadbalancer. We are observing a high load on one of the server though we > see equal number of requests coming on the server from application per sec. >

Re: 444 return code and rate limiting

2016-09-27 Thread lists
‎Your reply does not agree with the documentation.  ‎https://httpstatuses.com/444 ‎   Original Message   From: B.R. Sent: Tuesday, September 27, 2016 10:09 AM To: nginx ML Reply To: nginx@nginx.org Subject: Re: 444 return code and rate limiting Responding 444 is... a response. It is not anything

Uneven High Load on the Nginx Server

2016-09-27 Thread anish10dec
We are having two Nginx Server acting as Caching Server behind haproxy loadbalancer. We are observing a high load on one of the server though we see equal number of requests coming on the server from application per sec. We see that out of two server on which load is high i.e around 5 , response

Re: 444 return code and rate limiting

2016-09-27 Thread B.R.
Responding 444 is... a response. It is not anything else than a (non-standard, thus 'unknown', just like 499 nginx chose to illustrate client-side premature disconnection) HTTP status code as any other. Some speedup might come from using return instead of doing further processing, but there is

444 return code and rate limiting

2016-09-27 Thread lists
I pulled this off the rate limiting thread since I think the 444 return is a good topic all on its own. "But under a DoS attack I always feel those values would be better being "444" since the server won't respond and cut's the connection rather than waste bandwidth on a client who is opening

Re: performance hit in using too many if's

2016-09-27 Thread Alt
Hello, You just need fail2ban and no need to know Perl. But you'll probably need to know regular expressions. Fail2ban can be adapted to most log format, but nginx logs format is the same as apache, so it's easy :-) I'm sure you can find many tutorials to explain how to install and configure it

Re: Recommended limit_req and limit_conn for location ~ \.php$ {}

2016-09-27 Thread Alt
Hello, Not sure if it can help you, because only some bots respect it and not in the same way, but you could look at the "crawl-delay" directive in the robots.txt file: https://en.wikipedia.org/wiki/Robots_exclusion_standard#Crawl-delay_directive Posted at Nginx Forum:

nginx with openssl?

2016-09-27 Thread Cabchinoe
I replaced openssl library with the newest one,1.0.1u, and then compiled and make install the newest Nginx, why Nginx still run with old openssl? Please Help!! [root@10-4-28-10 modules]# /usr/sbin/nginx -V nginx version: nginx/1.11.4 built by gcc 4.4.7 20120313 (Red Hat 4.4.7-17) (GCC)

Re: Recommended limit_req and limit_conn for location ~ \.php$ {}

2016-09-27 Thread oscaretu .
Perhaps this can help: http://stackoverflow.com/questions/12022429/http-status-code-for-overloaded-server Another option is a *429 - Too Many Requests* response. Defined in RFC6585 - http://tools.ietf.org/html/rfc6585#section-4 The spec does not define how the origin server identifies the

Re: Recommended limit_req and limit_conn for location ~ \.php$ {}

2016-09-27 Thread itpp2012
General rule of thumb is set it as low as possible, as soon as 503's are getting your users upset or resources are getting blocked, then double the values, keep an eye on the logs, double it one more time when required, done. Posted at Nginx Forum:

Re: Recommended limit_req and limit_conn for location ~ \.php$ {}

2016-09-27 Thread Francis Daly
On Mon, Sep 26, 2016 at 07:41:12PM -0400, c0nw0nk wrote: Hi there, > Whats a good setting that won't effect legitimate decent (I think I just > committed a crime calling some of these companies decent?) crawlers like > Google, Bing, Baidu, Yandex etc. Look at your logs for traffic from Google,

Re: Are there plans for Nginx supporting HTTP/2 server push?

2016-09-27 Thread atulhost
Hi Mastercan, As of now NGINX is supporting HTTP/2 Natively here is how to activate it. https://atulhost.com/enable-http2-nginx Posted at Nginx Forum: https://forum.nginx.org/read.php?2,269749,269863#msg-269863 ___ nginx mailing list nginx@nginx.org