[JIRA] (JENKINS-57708) Attempt to detect reverse proxy

5 views
Skip to first unread message

owood@cloudbees.com (JIRA)

unread,
May 27, 2019, 5:48:02 PM5/27/19
to jenkinsc...@googlegroups.com
Owen Wood created an issue
 
Jenkins / New Feature JENKINS-57708
Attempt to detect reverse proxy
Issue Type: New Feature New Feature
Assignee: Owen Wood
Components: support-core-plugin
Created: 2019-05-27 21:47
Priority: Minor Minor
Reporter: Owen Wood

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.

Add Comment Add Comment
 
This message was sent by Atlassian Jira (v7.11.2#711002-sha1:fdc329d)

owood@cloudbees.com (JIRA)

unread,
May 27, 2019, 5:49:02 PM5/27/19
to jenkinsc...@googlegroups.com
Owen Wood started work on New Feature JENKINS-57708
 
Change By: Owen Wood
Status: Open In Progress

owood@cloudbees.com (JIRA)

unread,
May 27, 2019, 7:12:01 PM5/27/19
to jenkinsc...@googlegroups.com
Reply all
Reply to author
Forward
0 new messages