From bd9c1916662a846956ba1fdb597c713daaf3e828 Mon Sep 17 00:00:00 2001 From: Miguel Jacq Date: Sat, 8 Feb 2025 18:47:48 +1100 Subject: [PATCH] Fastly stopped domain fronting for Moat - see https://gitlab.torproject.org/tpo/anti-censorship/team/-/issues/135 . Updating the front and back URLs per https://gitlab.torproject.org/tpo/applications/tor-browser/-/commit/a851484370d22f34922f5f5b20af3fd0f107677e --- cli/onionshare_cli/meek.py | 4 ++-- desktop/onionshare/moat_dialog.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/cli/onionshare_cli/meek.py b/cli/onionshare_cli/meek.py index 81ef6c6e..7fcc39a0 100644 --- a/cli/onionshare_cli/meek.py +++ b/cli/onionshare_cli/meek.py @@ -51,8 +51,8 @@ class Meek(object): ) = get_tor_paths() self.meek_proxies = {} - self.meek_url = "https://moat.torproject.org.global.prod.fastly.net/" - self.meek_front = "cdn.sstatic.net" + self.meek_url = "https://1723079976.rsc.cdn77.org/" + self.meek_front = "www.phpmyadmin.net" self.meek_env = { "TOR_PT_MANAGED_TRANSPORT_VER": "1", "TOR_PT_CLIENT_TRANSPORTS": "meek", diff --git a/desktop/onionshare/moat_dialog.py b/desktop/onionshare/moat_dialog.py index 6e33a047..43354d32 100644 --- a/desktop/onionshare/moat_dialog.py +++ b/desktop/onionshare/moat_dialog.py @@ -351,8 +351,8 @@ class MoatThread(QtCore.QThread): self.captcha_error.emit(errors) return - if moat_res["data"][0]["type"] != "moat-bridges": - self.common.log("MoatThread", "run", f"type != moat-bridges") + if moat_res["data"][0]["type"] != "moat-challenge": + self.common.log("MoatThread", "run", f"type != moat-challenge") self.bridgedb_error.emit() return