You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
So what i'm seeing is a bit weird.
This command request gets blocked as it should: curl 'http://localhost:80/?foo=/etc/passwd&bar=/bin/sh'
However, when using telnet, the message is Peer closed connection: I/O error.
I've also tested this using your previous image, there i didn't had that error.
The text was updated successfully, but these errors were encountered:
I'm using the latest version as of now, 0.13.
I've setup docker to run, and configured haproxy to use this tool.
My haproxy config:
All works beautifully, when i send an example request like this:
I see the docker logs that the request is denied as well:
1721067956.818297 [00] [client 127.0.0.1] ModSecurity: Access denied with code 403 (phase 2). Matched phrase "...[tag ....
And then haproxy provides me with a 403, all is good.
Now, when i try the following:
So, I provide the arguments to telnet
POST /test HTTP/1.1 Host: test
Then, the request gets sends through the backend, with a proper response.
This is undesired, as i expected a 403 again.
The docker logs:
So what i'm seeing is a bit weird.
This command request gets blocked as it should:
curl 'http://localhost:80/?foo=/etc/passwd&bar=/bin/sh'
However, when using telnet, the message is
Peer closed connection: I/O error
.I've also tested this using your previous image, there i didn't had that error.
The text was updated successfully, but these errors were encountered: