[mod-security-users] log X-Forwarded-For Ip in modsecurity3
Brought to you by:
victorhora,
zimmerletw
|
From: Henrik R. <ro...@ds...> - 2020-11-04 11:05:20
|
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 |