Forum Discussion
amit_128525
Nimbostratus
Jan 02, 2014TCL error
Hello ,
We are getting below error in logs on our F5 loadbalancer , was trying to understand what it is related to . If anyone can help .
TCL error: iR_XFF_RewriteOrInsert - Operation not supp...
nathe
Cirrocumulus
Jan 03, 2014Amit,
According to the wiki on HTTP::header:
This command performs a header insertion if the header was not present.
So do we need the HTTP::insert line after all?
Could it just be:
when HTTP_REQUEST {
HTTP::header replace X-Forwarded-For [substr [IP::client_addr] 0 "%"]
}
But to answer your question it's not the else statement but the insert command it looks like it doesn't like. What happens it you change the line to be:
HTTP::header insert X-Forwarded-For [IP::client_addr]
Does this work and then point to the substr being the issue?
Just a thought.
N
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