Forum Discussion
IainThomson85_1
Cumulonimbus
Feb 24, 2014True-Client-IP error generated. /var/log/ltm
Hi All,
I've recently inherited an F5 BIP System to look after.
Currently there is a rule that appears to be causing a lot of spam in the logs, and I believe its due to the rule being writt...
IheartF5_45022
Nacreous
Feb 24, 2014Either ditch the iRule and use the HTTP profile to insert an X-Forwarded-For header (so that this can be captured in server access logs), or if you really need the True-Client-IP header then try;-
rule trueclient_ip_rule {
when HTTP_REQUEST {
HTTP::header insert True-Client-IP "[getfield [IP::client_addr] % 1]"
}
}
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects