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
Mar 18, 2014Hmmm....not so sure on that theory - have you found anything? Maybe some of the requests are not properly formed HTTP requests and that is why it is failing. Why don't you try;
rule trueclient_ip_rule { when HTTP_REQUEST { if {[catch {HTTP::header insert True-Client-IP "[getfield [IP::client_addr] % 1]"}]} { log local0. "Caught [HTTP::request]" } } }
Of course it will probably still barf when you try to do the logging but may tell you something.
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