https://issues.apache.org/bugzilla/show_bug.cgi?id=48983
Summary: Enhance RemoteIpValve and RemoteIpFilter logging
Product: Tomcat 7
Version: trunk
Platform: PC
OS/Version: Mac OS X 10.4
Status: NEW
Severity: normal
Priority: P2
Component: Catalina
AssignedTo: [email protected]
ReportedBy: [email protected]
Created an attachment (id=25180)
--> (https://issues.apache.org/bugzilla/attachment.cgi?id=25180)
RemoteIpFilter logging enhancement
RemoteIpValve and RemoteIpFilter logging can be enhanced to ease understanding
why a remote address is not seen as one of the internal proxies ip list.
This is particularly useful to troubleshoot unexpected usage of IP-V6 when
IP-V4 is expected.
Patch is provided in two separated files to ease merge of the RemoteIpValve
patch to Tomcat 6.0.x branch.
Added log messages :
RemoteIpFilter.java : "Skip RemoteIpFilter for request " +
request.getRequestURI() + " with originalRemoteAddr '" +
request.getRemoteAddr() + "'"
RemoteIpValve.java : "Skip RemoteIpValve for request " +
request.getRequestURI() + " with originalRemoteAddr '" +
request.getRemoteAddr() + "'"
--
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]