Project

General

Profile

Actions

Bug #52984

closed

https://*.ceph.io not redirected to https://ceph.io

Added by Dan van der Ster over 2 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
-
% Done:

0%

Source:
Tags:
Backport:
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Crash signature (v1):
Crash signature (v2):

Description

Looks like we have a wildcard DNS for *.ceph.io to a single A record, and that the web server is configured to accept any vhost?

These are all serving the same content:

https://ceph.io/
https://dan.ceph.io/
https://i❤️.ceph.io/

IMHO we should redirect *.ceph.io -> ceph.io

(motivation: potential abuse, and maybe SEO https://developers.google.com/search/docs/advanced/guidelines/duplicate-content?visit_id=637703411304016532-804299933&rd=1 )

Actions #1

Updated by Dan van der Ster over 2 years ago

  • Project changed from Ceph to website
  • Category deleted (documentation)
Actions #2

Updated by adam kraitman over 2 years ago

  • Status changed from New to In Progress

Looking in to it

Actions #3

Updated by David Galloway over 2 years ago

Hi Dan,

Here is the motivation for the wildcard cert: https://github.com/ceph/ceph.io/blob/main/ansible/roles/deploy/templates/site.j2#L76-L78

Here's where we serve up the main site is if whatever.ceph.io doesn't exist: https://github.com/ceph/ceph.io/blob/main/ansible/roles/deploy/templates/site.j2#L92-L95

I'm not sure how this could be abused as we only whitelist members of the Ceph github org and a couple folks from SoftIron to trigger website builds: https://github.com/ceph/ceph-build/blob/master/ceph-website-prs/config/definitions/ceph-website-prs.yml#L24-L30

Given that background information, how do you feel about the setup?

Actions #4

Updated by Dan van der Ster over 2 years ago

David Galloway wrote:

Hi Dan,

Here's where we serve up the main site is if whatever.ceph.io doesn't exist: https://github.com/ceph/ceph.io/blob/main/ansible/roles/deploy/templates/site.j2#L92-L95

Thanks for the background, makes sense.

Would it be possible / better to issue a temporary redirect to https://ceph.io in this case, rather than serve the main site content?

Actions #5

Updated by David Galloway about 2 years ago

  • Status changed from In Progress to Resolved
Actions

Also available in: Atom PDF