[tor-commits] [pluggable-transports/snowflake] 01/03: Switch default proxy STUN server to stun.l.google.com

gitolite role git at cupani.torproject.org
Mon Jan 9 19:01:25 UTC 2023


This is an automated email from the git hooks/post-receive script.

cohosh pushed a commit to branch main
in repository pluggable-transports/snowflake.

commit f6fa51d7491b2925ff46607455a5a60235cbd9f5
Author: Cecylia Bocovich <cohosh at torproject.org>
AuthorDate: Sat Dec 31 09:57:36 2022 -0500

    Switch default proxy STUN server to stun.l.google.com
    
    This is the same default that the web-based proxies use. Proxies do not
    need RFC 5780 compatible STUN servers.
---
 doc/snowflake-proxy.1  | 2 +-
 proxy/README.md        | 2 +-
 proxy/lib/snowflake.go | 4 ++--
 3 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/doc/snowflake-proxy.1 b/doc/snowflake-proxy.1
index 67f71b6..8a35d36 100644
--- a/doc/snowflake-proxy.1
+++ b/doc/snowflake-proxy.1
@@ -29,7 +29,7 @@ websocket relay URL (default "wss://snowflake.torproject.net/")
 .HP
 \fB\-stun\fR string
 .IP
-stun URL (default "stun:stun.stunprotocol.org:3478")
+stun URL (default "stun:stun.l.google.com:19302")
 .HP
 \fB\-unsafe\-logging\fR
 .IP
diff --git a/proxy/README.md b/proxy/README.md
index e4693d6..f7efaec 100644
--- a/proxy/README.md
+++ b/proxy/README.md
@@ -48,7 +48,7 @@ Usage of ./proxy:
   -relay string
         websocket relay URL (default "wss://snowflake.bamsoftware.com/")
   -stun string
-        STUN URL (default "stun:stun.stunprotocol.org:3478")
+        stun URL (default "stun:stun.l.google.com:19302")
   -summary-interval duration
         the time interval to output summary, 0s disables summaries. Valid time units are "s", "m", "h".  (default 1h0m0s)
   -unsafe-logging
diff --git a/proxy/lib/snowflake.go b/proxy/lib/snowflake.go
index 352c6e7..fd9df88 100644
--- a/proxy/lib/snowflake.go
+++ b/proxy/lib/snowflake.go
@@ -7,7 +7,7 @@ will be set to the defined defaults.
 
 	proxy := snowflake_proxy.SnowflakeProxy{
 		BrokerURL: "https://snowflake-broker.example.com",
-		STUNURL: "stun:stun.stunprotocol.org:3478",
+		STUNURL: "stun:stun.l.google.com:19302",
 		// ...
 	}
 
@@ -57,7 +57,7 @@ const DefaultNATProbeURL = "https://snowflake-broker.torproject.net:8443/probe"
 
 const DefaultRelayURL = "wss://snowflake.bamsoftware.com/"
 
-const DefaultSTUNURL = "stun:stun.stunprotocol.org:3478"
+const DefaultSTUNURL = "stun:stun.l.google.com:19302"
 const DefaultProxyType = "standalone"
 const pollInterval = 5 * time.Second
 

-- 
To stop receiving notification emails like this one, please contact
the administrator of this repository.


More information about the tor-commits mailing list