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

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

    XMLWordPrintable

Details

    • Enhancement
    • Resolution: Unresolved
    • Major
    • None
    • 19.1.0.Final
    • Web (Undertow)
    • 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.

      Attachments

        Activity

          People

            flaviarnn Flavia Rainone
            rhn-support-mmiura Masafumi Miura
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: