Uploaded image for project: 'Jenkins'
  1. Jenkins
  2. JENKINS-57708

Check if X-Forwarded-For is present

    XMLWordPrintable

    Details

    • Similar Issues:

      Description

      We currently include Jenkins outgoing proxy info in the support bundle - https://github.com/jenkinsci/support-core-plugin/blob/master/src/main/java/com/cloudbees/jenkins/support/impl/UpdateCenter.java#L75

      I'm proposing we try detecting reverse proxies as well.

      A simple (but not bulletproof) solution is to look for the presence of the X-Forwarded-For header in responses to the configured Jenkins URL.

      This solution would work for non-anonymous proxy servers.

      Anonymous proxy servers would not include this header (by design).

      Misconfigured proxy servers would potentially also not include this header.

        Attachments

          Issue Links

            Activity

            There are no comments yet on this issue.

              People

              Assignee:
              owood Owen Wood
              Reporter:
              owood Owen Wood
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved: