DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35941>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35941

           Summary: Wrong remote IP reported when using AJP and APR
           Product: Tomcat 5
           Version: 5.5.10
          Platform: PC
        OS/Version: Linux
            Status: NEW
          Severity: critical
          Priority: P2
         Component: Connector:AJP
        AssignedTo: tomcat-dev@jakarta.apache.org
        ReportedBy: [EMAIL PROTECTED]


When using AJP and APR, in the access-logs the address of the machine running
the httpd gets recorded as remote IP address and not the address of the machine
where the request originates (where the client browser runs on). 
ServletRequest#getRemoteAddress() shows the same behaviour.
What I consider more serious is that the RemoteAddrValve is rendered useless.

I've verified this on a stock Tomcat 5.5.10 binary distribution connected to an
Apache httpd 2.0.54 using JK-1.2.14.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to