Re: Tomcat and IP transparency

2013-08-01 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA256 Ilya, On 7/31/13 3:11 PM, Ilya Kazakevich wrote: > They may use RemoteIpValve to fetch "real" ip from > "x-forwarded-for" and set it to "remote_addr" where getRemoteAddr > will get it. +1 Assuming you can "modify" the webapp by inserting a Valve,

Re: Tomcat and IP transparency

2013-07-31 Thread Leon Rosenberg
Hello Joan, I fear I have to disappoint you. If I understand you correctly you want to manipulate the packets on the IP level, setting the source ip address to the ip address of the originator of the packet, similar to what a loadbalancer would do. It is possible technically, but it's a very diffe

RE: Tomcat and IP transparency

2013-07-31 Thread Ilya Kazakevich
age- >From: Joan Balagueró Ventus Proxy >[mailto:joan.balagu...@ventusproxy.com] >Sent: Wednesday, July 31, 2013 11:05 PM >To: users@tomcat.apache.org >Subject: Tomcat and IP transparency > >Hello, > > > >I already asked this question to the Apache HttpClient

Tomcat and IP transparency

2013-07-31 Thread Joan Balagueró Ventus Proxy
Hello, I already asked this question to the Apache HttpClient Forum. They don't know if this is possible with java/Tomcat. I have developed a proxy servlet with an xml cache, running in a Tomcat 6.0.37 on Linux Centos6.4. When the incoming xml request (sent from an external client) is n