You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomcat.apache.org by bu...@apache.org on 2010/03/25 00:15:15 UTC

DO NOT REPLY [Bug 48983] New: Enhance RemoteIpValve and RemoteIpFilter logging

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: dev@tomcat.apache.org
        ReportedBy: cleclerc@pobox.com


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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48983] Enhance RemoteIpValve and RemoteIpFilter logging

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48983

--- Comment #1 from Cyrille Le Clerc <cl...@pobox.com> 2010-03-24 23:16:05 UTC ---
Created an attachment (id=25181)
 --> (https://issues.apache.org/bugzilla/attachment.cgi?id=25181)
RemoteIpValve logging enhancement

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48983] Enhance RemoteIpValve and RemoteIpFilter logging

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48983

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|Catalina                    |Catalina
           Platform|PC                          |All
            Version|trunk                       |6.0.26
            Product|Tomcat 7                    |Tomcat 6
   Target Milestone|---                         |default
         OS/Version|Mac OS X 10.4               |All

--- Comment #2 from Mark Thomas <ma...@apache.org> 2010-04-04 10:29:37 UTC ---
Thanks for the patches. They have been applied to trunk and will be included in
7.0.0 onwards.

I have proposed for valve patch for 6.0.x

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org


DO NOT REPLY [Bug 48983] Enhance RemoteIpValve and RemoteIpFilter logging

Posted by bu...@apache.org.
https://issues.apache.org/bugzilla/show_bug.cgi?id=48983

Mark Thomas <ma...@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #3 from Mark Thomas <ma...@apache.org> 2010-04-20 15:44:52 EDT ---
The patch has been applied to 6.0.x and will be included in 6.0.27 onwards.

Thanks again for all your work in this area.

-- 
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: dev-unsubscribe@tomcat.apache.org
For additional commands, e-mail: dev-help@tomcat.apache.org