-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

To whom it may concern,

On 12/9/11 4:48 AM, spr...@gmx.eu wrote:
>> Can you send a dump of the HTTP headers received by the webapp
>> and the return value of the various request.getXXX methods? That
>> would be very helpful, here.
> 
> 
> getRemoteAddr(): 85.214.210.60 <-- proxy IP x-forwarded-for:
> 85.178.56.216 <-- client IP x-forwarded-host: foobar.eu <-- proxy 
> x-forwarded-server: foobar.eu <-- proxy
> 
> It looks like the Filter does not kick in.

I wonder if this has to do with (un)trusted proxies.

Have you enabled logging for the RemoteIpFilter class?

Also, the documentation on the class itself
(http://tomcat.apache.org/tomcat-7.0-doc/api/org/apache/catalina/filters/RemoteIpFilter.html)
seems to be better than the documentation of the Filter in the Tomcat
user guide :(

I think you're going to need to provide an "internalProxies"
configuration parameter.

- -chris
-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7mUfQACgkQ9CaO5/Lv0PBzPgCgj5dKsJY/yat3AXWGjjBbMixN
hWQAn264rtswBBvfRIH4tyLuhEe1Vjf3
=hnxR
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to