mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 20:11:19 -04:00
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.
This commit is contained in:
parent
936a1f8138
commit
f6fa51d749
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue