apps-android-wikipedia
apps-android-wikipedia copied to clipboard
Integrate In-App Internet censorship circumvention
What does this do?
-
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.
-
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