Forum Discussion
Christophe_Lem2
Cirrus
Jun 21, 2013Persistence on X-Forwarded-For or Source IP
Hi,
I've got a request to make a persitence across two virtual servers but on different parameters...
The two virtual servers uses the same pool.
The client connects first on vserver...
Lester_W__54354
Nimbostratus
Jun 04, 2014This is good EXCEPT if the X-Forwarded-For is a comma-separated list and the intermediate proxies vary. Consider the following:
REQUEST 1: X-Forwarded-For: 101.202.11.15, 10.2.5.7
REQUEST 2: X-Forwarded-For: 101.202.11.15, 10.2.5,18
The iRule shown above will treat request 2 as different. Any ideas on how to ensure only the 1st IP address in the list is used?
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