if you have two proxy servers, very common, the X-Forwarded-For becomes a comma separated list of IP addresses

Shankar Unni wrote:

Tim Funk wrote:

2) X-Forwarded-For (IIRC) can be multi-valued (comma seperated via multiple proxies)


Plus, other load balancers seem to stick in other headers, too (e.g. "X-Real-IP"). (These two seem to be the most popular).

It'll be an interesting job to figure out the "real" IP address if your request goes through *two* proxy servers, and they each set a different header..


---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to