[jboss-jira] [JBoss JIRA] (WFLY-13483) Add reuse-x-forwarded support to mod-cluster filter and reverse-proxy handler
Masafumi Miura (Jira)
issues at jboss.org
Mon May 18 04:40:54 EDT 2020
[ https://issues.redhat.com/browse/WFLY-13483?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Masafumi Miura updated WFLY-13483:
----------------------------------
Description:
Undertow has setReuseXForwarded() method in the builder API of ModCluster and ProxyHandler to enable support to reuse X-Forwarded-* request headers (like X-Forwarded-For header).
However, the undertow subsystem does not expose it as the configurable parameter of <mod-cluster> and <reverse-proxy>.
----
This parameter is useful when the undertow load balance proxy is backed by another proxy server. In such a scenario, the front-end proxy adds X-Forwarded-* request headers to provide information about the original requester.
However, as the current undertow subsystem does not have a configurable parameter to reuse it, undertow mod-cluster and reverse-proxy always overwrite X-Forwarded-For request header with its own information.
was:
Undertow has setReuseXForwarded() method in the builder API of ModCluster and ProxyHandler to enable support to reuse X-Forwarded-* request headers (like X-Forwarded-For header).
However, the undertow subsystem does not expose it as the configurable parameter of <mod-cluster> and <reverse-proxy>.
This parameter is useful when the undertow load balance proxy is backed by another proxy server. In such a case, the front-end proxy adds X-Forwarded-* request headers to provide information about the original requester.
The current implementation is unable to reuse it and overwrites it with its own information.
> Add reuse-x-forwarded support to mod-cluster filter and reverse-proxy handler
> -----------------------------------------------------------------------------
>
> Key: WFLY-13483
> URL: https://issues.redhat.com/browse/WFLY-13483
> Project: WildFly
> Issue Type: Enhancement
> Components: Web (Undertow)
> Affects Versions: 19.1.0.Final
> Reporter: Masafumi Miura
> Assignee: Flavia Rainone
> Priority: Major
>
> Undertow has setReuseXForwarded() method in the builder API of ModCluster and ProxyHandler to enable support to reuse X-Forwarded-* request headers (like X-Forwarded-For header).
> However, the undertow subsystem does not expose it as the configurable parameter of <mod-cluster> and <reverse-proxy>.
> ----
> This parameter is useful when the undertow load balance proxy is backed by another proxy server. In such a scenario, the front-end proxy adds X-Forwarded-* request headers to provide information about the original requester.
> However, as the current undertow subsystem does not have a configurable parameter to reuse it, undertow mod-cluster and reverse-proxy always overwrite X-Forwarded-For request header with its own information.
--
This message was sent by Atlassian Jira
(v7.13.8#713008)
More information about the jboss-jira
mailing list