-
Notifications
You must be signed in to change notification settings - Fork 606
Nginx with naxsi enabled does not finish standard request processing under some configs #628
Comments
sounds like the |
it just delays the processing request.
This is minimal config to illustrate the problem. |
@cuper6 could you please try with the latest version of naxsi? https://github.com/wargio/naxsi/releases/tag/1.4 (yes different repo because this is now abandonware) |
I tried with: https://github.com/wargio/naxsi/archive/refs/tags/1.4.zip There are the missing files errors during configure and make:
|
there are not. you haven't followed the building instructions. |
ok, I did it with 1.4.
|
I have no clue on what is wrong. i have to check that other module |
Nginx does not finish standard processing cycle for some requests under some configs with naxsi enabled.
At least:
How to reproduce:
These requests will be processed by naxsi and triggered an denied action.
The key factor here is "limit_req" in the /403.html location.
The second request is paused by limit rate.
After resuming processing the second request is not finished by nginx as normal.
access.log has only one request logged.
We can send 2 simultaneous GET requests to the second location (without naxsi): http://some_site.net:888/2/index.html?v<<<<>>>>
to satisfy that the similar requests are finished if naxsi is not using.
Was tested on clean nginx 1.22.1 with naxsi 1.3 module linked as static.
Sample nginx.conf
The text was updated successfully, but these errors were encountered: