-
Notifications
You must be signed in to change notification settings - Fork 1.7k
Does not pass through POST data to back-end when SecRequestBodyAccess is set to On #630
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
I was not able to reproduce this issue with nginx 1.4.4 modsecurity 2.7.7 and CRS with different VMs for frontend and backend , could you provide more details about your setup. To make sure that I've understood your issue correctly, your nginx is not filtering POST requests sent to the backend servers OR backend's responses are not filtered by nginx which needs SecResponseBodyAccess to be On (didn't test the later) |
If the option "SecRequestBodyAccess On" all large POST requests are blocked. --modsecurity.conf--2.7.7-- OR Installed Packages from epel-nginx-mod_security.repo |
Hi Guys, There was a similar issue reported on #148 which was intended to by fixed by the merge request #148. Recently @ahuango noticed that the merge request was not really solving the issue and there was another merge request at #614. This second merge request was merge into our branch master and it is schedule to be delivered by the next release. Can you test the branch "master" to check if you guys can reproduce this issue? Thanks, |
Tried on version "master" the same result. Large post requests getting 408 (Request Timeout) from back-end/ |
Hi @dimyse, there is a development branch of the nginx version where this issue should be fixed, can you test it? it is available at: |
I've tested new branch - the problem is not fixed. if we use ngx_http_modsecurity_save_request_body / ngx_http_modsecurity_load_request_body |
Hi @kyprizel, just to confirm, you have tested nginx branch: "nginx_refactoring" with a configuration similar of what we have on the comment: #630 (comment) Thanks. |
2014/05/25 17:14:03 [debug] 19370#0: *14 ModSec: Catching a new access phase handler. Count: 1 now upstream config in ngx_http_proxy_module is zero. nginx config is the same as in the first message. SecRuleEngine DetectionOnly SecAuditLogType Concurrent # tried Serial also SecAuditEngine RelevantOnly As I can see - the problem is in nginx modules body reading process. |
We tested, the issue is resolved. zimmerle commented on 6 May |
@kyprizel can you share if your problem been resolved? |
Modsecurity(2.7.7) nginx 1.5.X does not pass through POST data to back-end when SecRequestBodyAccess is set to On
The text was updated successfully, but these errors were encountered: