Forum Discussion
Lester_W__54354
Jun 04, 2014Nimbostratus
This 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?