tomcat-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Filip Hanik - Mailing Lists <devli...@hanik.com>
Subject Re: Proxied client IP logging
Date Sat, 17 Dec 2005 00:42:00 GMT
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: dev-unsubscribe@tomcat.apache.org
> For additional commands, e-mail: dev-help@tomcat.apache.org
>


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


Mime
View raw message