Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-13483

Add reuse-x-forwarded support to mod-cluster filter and reverse-proxy handler

    Details

    • Type: Enhancement
    • Status: Open (View Workflow)
    • Priority: Major
    • Resolution: Unresolved
    • Affects Version/s: 19.1.0.Final
    • Fix Version/s: None
    • Component/s: Web (Undertow)
    • Labels:
      None

      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.

        Gliffy Diagrams

          Attachments

            Activity

              People

              • Assignee:
                flavia.rainone Flavia Rainone
                Reporter:
                mmiura Masafumi Miura
              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated: