commit d6a1990369853c3a628d8c9dfad9d5cdad898fce Author: n8fr8 nathan@guardianproject.info Date: Fri Apr 9 14:38:56 2021 -0400
update configurations for fronting --- orbotservice/src/main/assets/fronts | 1 + .../src/main/java/org/torproject/android/service/OrbotService.java | 5 ++++- 2 files changed, 5 insertions(+), 1 deletion(-)
diff --git a/orbotservice/src/main/assets/fronts b/orbotservice/src/main/assets/fronts index 57b500ec..6782446d 100644 --- a/orbotservice/src/main/assets/fronts +++ b/orbotservice/src/main/assets/fronts @@ -1,4 +1,5 @@ snowflake https://d2kt284300pde7.cloudfront.net/ +snowflake-stun stun:stun.l.google.com:19302 moat-cdn https://d50gd378qj74g.cloudfront.net/ moat-url https://moat.torproject.org.global.prod.fastly.net/ moat-front cdn.sstatic.net \ No newline at end of file diff --git a/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java b/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java index 126f9e9a..8f843189 100644 --- a/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java +++ b/orbotservice/src/main/java/org/torproject/android/service/OrbotService.java @@ -390,8 +390,11 @@ public class OrbotService extends VpnService implements TorServiceConstants, Orb private void startSnowflakeClient() { //this is using the current, default Tor snowflake infrastructure String front = getCdnFront(this,"snowflake"); - IPtProxy.startSnowflake("stun:stun.l.google.com:19302", front, + String stunServer = getCdnFront(this, "snowflake-stun"); + + IPtProxy.startSnowflake(stunServer, front, null, null, true, false, true, 3); + }
/*
tor-commits@lists.torproject.org