twarne / xebia-france

Automatically exported from code.google.com/p/xebia-france
0 stars 0 forks source link

RemoteIPValve is not executed? #12

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Configure the server.xml in a jboss 5.1, which receive http request with 
X-Forwarded-Proto header to define real protocol.
2. This will work under ELB (amazon load balancer) which sends the proper 
header from an IP like 10.*.*.* . The request goes from ELB to Apache and then 
to Jboss.
3. We have added mod_rpaf to the know the real IP on apache, and this works, 
but on jboss the valve is not accepting the redirection

What is the expected output? What do you see instead?

Without mod_rpaf the valve is behaiving properly but with the new module 
(mod_rpaf) this is not working, I am afraid as apache + mod_rpaf is changing 
the remoteAddr header to a non internal ip (like 10.*, 192.168.* ...) is just 
ignoring it. There is any way to add a configuration to accept any request ? 
ignoring the proxy IP ?

What version of the product are you using? On what operating system?

I have jboss 5.1, on ubuntu, with apache 2.2.17 

Please provide any additional information below.

Original issue reported on code.google.com by rrami...@netquest.com on 15 Sep 2011 at 6:19

GoogleCodeExporter commented 9 years ago
close issue

Original comment by cyri...@cyrilleleclerc.com on 8 Dec 2012 at 2:44

GoogleCodeExporter commented 9 years ago
Hello Cyrille, 

why did you close the issue? Is it solved? Or is because this issue should be 
placed somewhere else? Or maybe is not really an issue?

cheers, r

Original comment by rober...@gmail.com on 8 Dec 2012 at 6:21

GoogleCodeExporter commented 9 years ago
Sorry for the late answer. I wrongly closed the issue. I reopen it.

Original comment by cyri...@cyrilleleclerc.com on 3 Jan 2013 at 10:56