apps-android-wikipedia icon indicating copy to clipboard operation
apps-android-wikipedia copied to clipboard

Integrate In-App Internet censorship circumvention

Open Cuthead opened this issue 1 year ago • 2 comments

What does this do?

  1. Add a DNS-over-HTTPS resolver for all network requests by OkHttp; fallback to system DNS if not available. Currently I use Wikimedia DNS. This is always enabled.

  2. Add a SSLSocketFactory for removing HTTPS SNI to bypass Deep Packet Inspection; this can be enabled in settings.

IP blocking is not considered. Recent days, WMF somehow changed their GeoDNS so that requests from China would get a not yet blocked IPv4 address. And no IPv6 address is blocked currently, and for a long time. As a result, this patch enables access to Wikipedia without any VPN or proxy for China.

Why is this needed?

For users in suppressing countries like China.

Phabricator: https://phabricator.wikimedia.org/T327286

Cuthead avatar Sep 27 '24 10:09 Cuthead