Page MenuHomePhabricator

Investigate if login.m.wikimedia.org needs to stay around
Closed, ResolvedPublic

Description

similar to www.m.wikipedia.org we would like to know if login.m.wikimedia.org can be removed

it appears that mobile clients use the regular login.wm.org without the "m"

the question also comes from T111967 to know if we need it in our lists of special HSTS hostnames

Event Timeline

Dzahn created this task.Jan 12 2016, 10:36 PM
Dzahn raised the priority of this task from to Medium.
Dzahn updated the task description. (Show Details)
Dzahn set Security to None.
Dzahn added subscribers: fgiunchedi, Dzahn, gerritbot and 3 others.
Dzahn added a subscriber: MaxSem.
Krenair added a subscriber: Krenair.
Dzahn claimed this task.Jan 12 2016, 10:51 PM

@oxygen:/srv/log/webrequest# jq .uri_host /srv/log/webrequest/sampled-1000.json | wc -l
7035053 total

@oxygen:/srv/log/webrequest# jq .uri_host /srv/log/webrequest/sampled-1000.json | grep "logi" | wc -l
125879 with "logi"

@oxygen:/srv/log/webrequest# jq .uri_host /srv/log/webrequest/sampled-1000.json | grep "login.m" | wc -l
0 with "login.m"

Dzahn added a comment.Feb 22 2016, 8:40 PM

apparently already deleted

Host login.m.wikipedia.org not found: 3(NXDOMAIN)

Dzahn renamed this task from Investigate if login.m.wikipedia.org needs to stay around to Investigate if login.m.wikimedia.org needs to stay around.Feb 22 2016, 8:45 PM
Dzahn updated the task description. (Show Details)

renaming ticket, seems this should have been about wikimedia.org all this time and never wikipedia.org, unlike the linked "www.m" ticket which actually wikipedia.org

Change 276385 had a related patch set uploaded (by Dzahn):
remove login.m.wikimedia.org

https://gerrit.wikimedia.org/r/276385

The only danger would be if MobileFrontend suddenly started hooking earlier in the login process, and redirected mobile users from login.wm.org to the mobile site during login (this would slow the login process, but CentralAuth would still be able to log the user in, if that happened). Right now, I think we do the detection redirect in Varnish and loginwiki is specifically excluded (iirc), and Ex:MobileFrontend only handles the page output. So should be safe to do now, as confirmed by the lack of hits to that domain in our logs.

Dzahn added a comment.Mar 28 2016, 6:22 PM

also see comment from bblack on: T111967#1622278

and i checked [oxygen:/srv/log/webrequest] $ jq .uri_host /srv/log/webrequest/sampled-1000.json one last time.. nothing.

merged. removed from DNS

radon:~] $ host login.m.wikimedia.org
Host login.m.wikimedia.org not found: 3(NXDOMAIN)