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 2014/01/06 09:28:39 UTC

[Bug 55956] New: Regarding Tomcat Manager Application Status

https://issues.apache.org/bugzilla/show_bug.cgi?id=55956

            Bug ID: 55956
           Summary: Regarding Tomcat Manager Application Status
           Product: Tomcat 7
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Manager
          Assignee: dev@tomcat.apache.org
          Reporter: bhatu.mali@gmail.com

In Tomcat Manager Application, when we browse status page report for currently
running request, there is column name which shows Client IP address. If my
tomcat is running Behind Proxy or Behind NGINX or Behind Apache Mod Proxy, then
Client IP is IP address of Last Proxy.

I have tried to pass X-Forwarded-For parameter but there is no change in Client
IP address.

Same problem exist in request.getRemoteAddr() (always returns proxy IP address)
and Access Log Configuration (logs proxy IP address in access log file).

It would be nice if we can incorporate X-Forwarded-For (or like wise
HTTP_X_FORWARDED_FOR,Proxy-Client-IP etc) in above situations.

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

--- Comment #3 from Mali <bh...@gmail.com> ---
Created attachment 31221
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31221&action=edit
Tomcat Managet Status Page

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

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

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

--- Comment #7 from Mark Thomas <ma...@apache.org> ---
This has now been fixed in 8.0.x for 8.0.0 onwards and 7.0.x for 7.0.51
onwards.

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

Christopher Schultz <ch...@christopherschultz.net> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |NEEDINFO

--- Comment #1 from Christopher Schultz <ch...@christopherschultz.net> ---
I think you may be looking for:
http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Remote_IP_Filter

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

--- Comment #9 from Christopher Schultz <ch...@christopherschultz.net> ---
The Tomcat team does not back-port patches to older versions of Tomcat.
Instead, we release a new version. You are welcome to locate the apply the
patch yourself, but it will be a source-level patch and you'll have to
recompile from source yourself.

Fortunately, building Tomcat 7 from source is dead simple. If you have further
questions, please post to the Tomcat users' mailing list.

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

--- Comment #8 from pikachu <ch...@gmail.com> ---
Hello ,

We use Tomcat which comes bundled with SAP Business objects and the version of
tomcat to use is more or less packaged (I am not very sure at the momemnt if we
are allowed to patch it independently)

Anyways, is it possible to downport this correction to 7.0.32 onwards please?

Thx

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

--- Comment #6 from Mark Thomas <ma...@apache.org> ---
The information you are looking at comes from the request processors. They look
at the CoyoteRequest and that is not modified by the RemoteIp[Filter|Valve].

I'm currently pondering how to best address this.

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

--- Comment #4 from Mali <bh...@gmail.com> ---
Comment on attachment 31221
  --> https://issues.apache.org/bugzilla/attachment.cgi?id=31221
Tomcat Managet Status Page

Using "Remote IP Valve", access log writes proper IP of remote machine, but
Tomcat Manager Status page still shows Proxy Servers IP adress as shows in
screenshot. My Proxy server and Tomcat is in same machine as of now, so Tomcat
Manager Status page shows Proxy Servers IP address as 127.0.0.1.

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |REOPENED
         Resolution|INVALID                     |---

--- Comment #5 from Mark Thomas <ma...@apache.org> ---
OK, I'll take a look.

-- 
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


[Bug 55956] Regarding Tomcat Manager Application Status

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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEEDINFO                    |RESOLVED
         Resolution|---                         |INVALID

--- Comment #2 from Mark Thomas <ma...@apache.org> ---
This is a configuration issue. As Chris pointed out, you need to configure
either
http://tomcat.apache.org/tomcat-7.0-doc/config/valve.html#Remote_IP_Valve or
http://tomcat.apache.org/tomcat-7.0-doc/config/filter.html#Remote_IP_Filter

If you need help doing that, the users list is the place to ask.

-- 
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