Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update censorshipConfiguration for China #13681

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

UjuiUjuMandan
Copy link
Contributor

@UjuiUjuMandan UjuiUjuMandan commented Sep 11, 2024

First time contributor checklist

Contributor checklist

  • Google Pixel 7, Android 14
  • My contribution is fully baked and ready to be merged as is
  • I ensure that all the open issues my contribution fixes are mentioned in the commit message of my first commit using the Fixes #1234 syntax

Description

As for China, currently only one front domain works: github.githubassets.com. Most of Google's IPs are blocked, and another 2 domain are blocked by DPI. Therefore, the circumvention works, but is very slow, because Signal has to wait for all others to time out before connecting to github.githubassets.com.

This patch:

  1. Updated fUrls to use less UGC websites, which is more likely to be blocked, and use more innocent websites.
  2. Set domain fronting configuration for China to Fastly.
  • fastly.jsdelivr.net is used by many programers on their blog, I belive the collateral damage is high.
  • www.python.org is also programer-related.
  • www.gov.uk, lol.

My ISP is China Unicom (AS4837), I've built it and tested on my Google Pixel 7 with Android 14. The circumvention works smoothly... Besides the sign up or sign in process, it requires firebaseinstallations.googleapis.com, I set one alive IP in the hosts. For Signal, maybe hardcode or delivery alive IPs, I'm considering.

@UjuiUjuMandan
Copy link
Contributor Author

UjuiUjuMandan commented Sep 11, 2024

The pcap logs still have Google domains after a while, I guess there must something like cloud configurations, if so please change it too.

Copy link

stale bot commented Nov 19, 2024

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

1 participant