1. Forums
  2. Imunify360
  3. Imunify360 and Imunify Sensor
  1. Morten
  2. Tuesday, 31 October 2017
  3.  Subscribe via email
Is there anyone that has tried NGINX captcha in 2.6.x?
Will the installation interfere with other services on the server? Will it reduce load in general on the server? Anyone tested it on a DoS attack?
How much faster is it then using apache for loading it?

Hope either customers or CL staff could give some more information on one or more question.
Rate this post:
  1. 01.11.2017 11:11:05
  2. # 1
Igor Savenko Accepted Answer
Posts: 2
Joined: 21.11.2012
0
Votes
Undo
Good day! Thank you for your question.
First let me explain the difference. Nginx captcha is simply nginx server returning captcha page as a set of static assets. Nothing more. It should not interfere with any other services on the server because it's just separate process listening on different, non-standard ports.
Because all it does is returning captcha page, we don't think it'll substantially change the overall server load. Neverheless, because nginx is very good at serving static assets we believe it'll improve the overall server performance when the captcha page is repeatedly requested.
As for DOS attacks, we know that no server can stand serious DOS attack. But nginx can stand much, much higher request rates without any difficulties, especially when serving static content, compared to previous captcha.

We cannot directly compare nginx and apache for serving static content. Both servers can do it efficiently. But as apache is an application server (in the shared hosting environment), the cost of request processing for it is much higher than for nginx, because apache workers embed interpreters, use many modules and so on, while nginx's don't. That's why nginx is usually placed in front of apache for serving static content.
  1. 02.11.2017 10:11:02
  2. # 2
Oleksiy Shchukin Accepted Answer
Posts: 20
Joined: 16.03.2017
0
Votes
Undo
Is there anyone that has tried NGINX captcha in 2.6.x?

We are working on collecting feedback for Nginx captcha. We will keep you updated.

Will the installation interfere with other services on the server?

We repacked nginx captcha binaries separately from default nginx package. No package name, config, serving port or path conflicts are expected.

Will it reduce load in general on the server? Anyone tested it on a DoS attack?
How much faster is it then using apache for loading it?

Thanks Igor Savenko for the above reply post. I hope that reply post answers your question.
  1. 05.11.2017 18:11:28
  2. # 3
edie etoile Accepted Answer
Posts: 0
Joined: 22.10.2019
0
Votes
Undo
We can report that we can safely enable and disable the NGINX captcha without any issues. We thought we had an issue the first time we enabled it but upon close and exhaustive inspection and further testing we can see that is was just a coincidence (an unrelated syntax error in apache config). In fact, it leaves apache completely configuration untouched.

We are running mod_lsapi and have wondered if NGINX is in anyway faster but we haven't been able to figure out a way to test it where we see any difference. I'd be interested in knowing if NGINX would present any benefit over mod_lsapi and would be happy to test all three configurations if someone could point out a way to measure.

At least we can say it has no noticeable negative impact.
  1. 06.11.2017 09:11:27
  2. # 4
Oleksiy Shchukin Accepted Answer
Posts: 20
Joined: 16.03.2017
0
Votes
Undo
Hello,

You can experience Nginx interaction in a case, if you add a domain to whitelisted domains list, and IP, you are connecting from, was put on graylist for other domain. Then you may find 'Server:nginx/1.12.1' in http response header. Nginx works here as reverse proxy with no aim to boost apache/mod_lsapi or litespeed webserver performance.
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!
Guest
Submit Your Response
Upload files or images for this discussion by clicking on the upload button below. Supports gif,jpg,png,zip,rar,pdf
• Insert • Remove Upload Files (Maximum File Size: 2 MB)
Captcha
To protect the site from bots and unauthorized scripts, we require that you enter the captcha codes below before posting your question.