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 2019/07/09 14:00:46 UTC
[Bug 63556] New: Mark request as forwarded in
RemoteIpValve/RemoteIpFilter
https://bz.apache.org/bugzilla/show_bug.cgi?id=63556
Bug ID: 63556
Summary: Mark request as forwarded in
RemoteIpValve/RemoteIpFilter
Product: Tomcat 9
Version: 9.0.x
Hardware: All
OS: All
Status: NEW
Severity: enhancement
Priority: P2
Component: Catalina
Assignee: dev@tomcat.apache.org
Reporter: michaelo@apache.org
Target Milestone: -----
In some situations you'd like to know from a component whether your request has
been forwarded by a reverse proxy.
A real life usecase:
HTTPd => Tomcat; Tomcat does auth, logs in access.log => HTTPd => logs in
access.log, REMOTE_USER is empty. Logs are inconsistent.
If this flag is set AuthenticatorBase can check this and write
request#getRemoteUser() + auth method to the response headers which HTTPd can
picked up and make access.log consistent.
This is required by: 62496
A PR is in preparation.
--
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 63556] Mark request as forwarded in RemoteIpValve and
RemoteIpFilter
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63556
Michael Osipov <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Mark request as forwarded |Mark request as forwarded
|in |in RemoteIpValve and
|RemoteIpValve/RemoteIpFilte |RemoteIpFilter
|r |
--
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 63556] Mark request as forwarded in RemoteIpValve and
RemoteIpFilter
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63556
Michael Osipov <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Resolution|--- |FIXED
Status|NEW |RESOLVED
--- Comment #2 from Michael Osipov <mi...@apache.org> ---
Fixed in:
- master for 9.0.23 onwards
- 8.5.x for 8.5.44 onwards
- 7.0.x for 7.0.95 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 63556] Mark request as forwarded in
RemoteIpValve/RemoteIpFilter
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63556
Michael Osipov <mi...@apache.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Blocks| |62496
CC| |michaelo@apache.org
Referenced Bugs:
https://bz.apache.org/bugzilla/show_bug.cgi?id=62496
[Bug 62496] Add possibility write remote user/auth type to response header
--
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 63556] Mark request as forwarded in
RemoteIpValve/RemoteIpFilter
Posted by bu...@apache.org.
https://bz.apache.org/bugzilla/show_bug.cgi?id=63556
--- Comment #1 from Michael Osipov <mi...@apache.org> ---
PR delivered: https://github.com/apache/tomcat/pull/178
Will then back port.
--
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