China Mirrors

From Mudlet
Jump to navigation Jump to search

Overview

mudlet.org is slow to access inside mainland China due to the Great Firewall. The main issue is downloading Mudlet - speeds are just at 50kb/s, so it takes far too long to download the client. To sidestep this, https://cn.mudlet.org is available as a faster proxy, as well as:

Technical setup

https://pkuxkx.com has generously provided a mirror website in Hong Kong which is fast both for players in mainland China and those outside it. cn.mudlet.org and other DNS entries (A records) point to an IP of an nginx reverse proxy in HK, though Cloudflare still proxies the requests and issues the certificate on our behalf.

While the Cloudflare proxy doesn't seem to hinder download speed, it's not reliable enough to use on its own without the HK reverse proxy. However, this might take some bandwidth issues off the mirror server, so we kept it turned on.

Just using the Cloudflare proxy is not enough, especially since the forums and wiki get overzealous about spam protection once the Cloudflare IPs are in the spammer list.

Github mirrors

Unrelated to cn.mudlet.org, https://gitee.com/mudlet/Mudlet syncs the github repository via a push webhook so Chinese developers can get fast git clone access & the generic_mapper can download updates quickly as well. The source of truth is still github, gitee is just a mirror.