“X_FORWARDED_FOR” Header Doesn't Present In The Request

Posted by Radi on Server Fault See other posts from Server Fault or by Radi
Published on 2012-12-09T14:48:55Z Indexed on 2012/12/09 17:06 UTC
Read the original article Hit count: 433

Filed under:
|

In my web application I need to extract the real ip address for clients behind proxy, after searching I found that the possible method to do that is to read the content of "X_FORWARDED_FOR" header , I am using java servlet and the headers of the incoming request doesn't contain "X_FORWARDED_FOR" header , So why the header doesn't included in the request?

I am using java 1.7 , tomcat v7 , proxy server :TMG and configured to use "X_FORWARDED_FOR" header .

Please advice.

Thanks in advance.

© Server Fault or respective owner

Related posts about proxy

Related posts about tomcat