diff options
author | Cecylia Bocovich <cohosh@torproject.org> | 2022-12-31 09:57:36 -0500 |
---|---|---|
committer | Cecylia Bocovich <cohosh@torproject.org> | 2022-12-31 12:23:27 -0500 |
commit | f6fa51d7491b2925ff46607455a5a60235cbd9f5 (patch) | |
tree | 1c9d4646949a912dcd2e4934370919b57b7b7793 /proxy | |
parent | 936a1f81382c95950c4659afec1b3fe875c681d9 (diff) | |
download | snowflake-f6fa51d7491b2925ff46607455a5a60235cbd9f5.tar.gz snowflake-f6fa51d7491b2925ff46607455a5a60235cbd9f5.zip |
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.
Diffstat (limited to 'proxy')
-rw-r--r-- | proxy/README.md | 2 | ||||
-rw-r--r-- | proxy/lib/snowflake.go | 4 |
2 files changed, 3 insertions, 3 deletions
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 |