Skip to content

Add SessionID/RequestID/IP/Host to Debug Log Entries #713

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

Closed
DOSarrest opened this issue May 5, 2014 · 1 comment
Closed

Add SessionID/RequestID/IP/Host to Debug Log Entries #713

DOSarrest opened this issue May 5, 2014 · 1 comment
Assignees
Milestone

Comments

@DOSarrest
Copy link

The debug logs sent through nginx differ than the logs sent to the debug.log file. The debug.log file contains the values...
[localhost/sid#9b5880][rid#21d7f0c0]
But these values are not put sent to the nginx log. The host value also is the local system hostname rather than the hostname of the server running the nginx daemon rather than the hostname of the website that was accessed.
Without this information it's almost impossible to figure out what log entry is for what website. We run multiple websites through nginx via reverse proxying.
Could you please add the sid/rid into the logs sent to nginx along with a proper IP/Host of the site rather than the local server hostname.
We are willing to arrange monetary compensation to have this functionality fixed asap.

@victorhora
Copy link
Contributor

Nginx support in ModSecurity 2.9.x branch is deprecated. This shouldn't be a concern with libModSecurity.

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants