Forum Discussion
How does the LTM deal with a XFF header with two values
- Apr 29, 2021
how do you exactly mean "deal with"? normally LTM doesn't do anything with a XFF header it receives.
are you using a local traffic policy or irule to read / use it?
in that case it is up to you to determine how you deal with it, if there are two entries in one header you decide which one to use for your goals.
if there are two or more headers you gotta read 'm all and determine which to use and possibly clean it up and only send one further.
see this knowledge article for an example how to do that: https://support.f5.com/csp/article/K15732009
how do you exactly mean "deal with"? normally LTM doesn't do anything with a XFF header it receives.
are you using a local traffic policy or irule to read / use it?
in that case it is up to you to determine how you deal with it, if there are two entries in one header you decide which one to use for your goals.
if there are two or more headers you gotta read 'm all and determine which to use and possibly clean it up and only send one further.
see this knowledge article for an example how to do that: https://support.f5.com/csp/article/K15732009
Thank you Boneyard. I cannot find the option to mark your answer as best answer anymore. Basicaly, there is an upstream device adding the XFF but the worry is some internal hacker adding his/her XFF before this upstream device yielding two XFF headers or header values upon reaching the BIG-IP.
Recent Discussions
Related Content
* 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