Project

General

Profile

Feature #44935

mgr/dashboard: customize CherryPy Server Header

Added by Ernesto Puerta 10 months ago. Updated 9 months ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
dashboard/backend
Target version:
% Done:

0%

Source:
Tags:
Backport:
Reviewed:
Affected Versions:
Pull request ID:

Description

By default, HTTP requests to CherryPy return a 'Server' header like 'CherryPy/18.4.0' (where '18.4.0' is the version of the CherryPy).

It could be interesting to modify that string for 3 different purposes:
  • Hiding CherryPy name and version
  • Detecting Ceph-Dashboards exposed to the Internet (if some specific string is used instead). Some services, like shodan index webservers exposed to the Internet.
  • Help debug Dashboard/Ceph issues by returning Ceph full version.

History

#1 Updated by anurag bandhu 9 months ago

  • Assignee set to anurag bandhu

#2 Updated by Ernesto Puerta 9 months ago

  • Description updated (diff)

#3 Updated by Ernesto Puerta 9 months ago

  • Description updated (diff)

#4 Updated by anurag bandhu 9 months ago

  • Pull request ID set to 34656

#5 Updated by Lenz Grimmer 9 months ago

  • Target version set to v16.0.0

#6 Updated by Lenz Grimmer 9 months ago

  • Status changed from New to Resolved

Also available in: Atom PDF