mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-13 11:11:30 -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
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
|
@ -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