How does the LTM deal with a XFF header with two values
Hi;
How does the LTM deal with an X-Forwarded-For header that has two values. Does it use the last value inserted? If not, how can I make it use the last value inserted?
What about two occurances of an X-Forwarded-For header. Does it use the second occurance "the one below the first one"? or does it use the first one?
If it uses the first occurance, how can I make it use the second occurance.
Kindly
Wasfi
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