Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-23 Thread Yann Nicolas
Hello, I created an issue for this: https://issues.apache.org/bugzilla/show_bug.cgi?id=56181 Regards, Yann Nicolas 2014-02-21 3:15 GMT-06:00 Mark Thomas : > On 21/02/2014 05:32, Yann Nicolas wrote: > > > Of course I can put a filter in my web application to do search the >

Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-21 Thread Yann Nicolas
ne in different sections of the request flow inside Tomcat. It is why I think if the reverse DNS of the IP provided in x-forwarded-for is implemented, it should be configured using a different attribute than "enableLookups". Regards, Yann Nicolas 2014-02-21 10:11 GMT-06:00 Chri

Re: Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-21 Thread Yann Nicolas
new Tomcat attribute for this (like enableRemoteIpLookups) instead of using the attribute enableLookups, because perhaps you do not want to lookups of the proxies IP but just the remoteIp (x-forwarded-for). Regards, Yann Nicolas El feb 21, 2014 3:16 AM, "Mark Thomas" escribió: > On

Tomcat 7 & 8 getRemoteHost with enableLookups=true with x-forwarded-for header gets IP instead of hostname

2014-02-20 Thread Yann Nicolas
for example but I was wondering if a Tomcat native solution exists. If not, is there any particular reason for this, or is it because no body has required that feature. Thanks, Yann Nicolas