Re: Logging real ip behind proxy
Reindl Harald <[email protected]>
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Organization | the lounge interactive design |
| Message-ID | <[email protected]> |
Am 02.01.19 um 17:34 schrieb Alexandros Kyrlis via mod-security-users: > I'm using Mod Security with IIS 10. > When a rule is triggered, mod security creates an event log on event viewer on Windows. > This log contais the REMOTE_ADDR value, but since we are behind a proxy (Cloudflare) i would like it to log a custom header (CF_Connecting_IP) so we get the real client IP. > Is it possible to do that? you need something like that for MS IIS or use a better webserver and be it as proxy in front of the application itself https://httpd.apache.org/docs/2.4/mod/mod_remoteip.html _______________________________________________ mod-security-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/mod-security-users Commercial ModSecurity Rules and Support from Trustwave's SpiderLabs: http://www.modsecurity.org/projects/commercial/rules/ http://www.modsecurity.org/projects/commercial/support/