log X-Forwarded-For Ip in modsecurity3
Henrik Rosenke <[email protected]>
| Newsgroups | gmane.comp.apache.mod-security.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, i am new to modsecurity and just started with modsecurity3 and apache on FreeBSD. i want to log the X-Forwarded-For Ip if a rule matches, but remote.addr ist only returning the IP of our revere Proxy. Apache is configured wit mod_remoteip and shows the right client ip. In modsecurity 2 there seems to be "useragent_ip" to access these adress but this isnt working in modsecurity3. What is the right approach to log the right client ip with modsecurity3? Greetings, Henrik Rosenke _______________________________________________ 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/