mirror of
https://gitlab.torproject.org/tpo/anti-censorship/pluggable-transports/snowflake.git
synced 2025-10-14 05:11:19 -04:00
Unify broker/bridge domains to torproject.net
This commit is contained in:
parent
04ba50a531
commit
54ab79384f
3 changed files with 6 additions and 6 deletions
|
@ -9,7 +9,7 @@ Snowflake bridge and then through the Tor network.
|
||||||
.HP
|
.HP
|
||||||
\fB\-broker\fR string
|
\fB\-broker\fR string
|
||||||
.IP
|
.IP
|
||||||
broker URL (default "https://snowflake\-broker.bamsoftware.com/")
|
broker URL (default "https://snowflake\-broker.torproject.net/")
|
||||||
.HP
|
.HP
|
||||||
\fB\-capacity\fR uint
|
\fB\-capacity\fR uint
|
||||||
.IP
|
.IP
|
||||||
|
@ -25,7 +25,7 @@ log filename
|
||||||
.HP
|
.HP
|
||||||
\fB\-relay\fR string
|
\fB\-relay\fR string
|
||||||
.IP
|
.IP
|
||||||
websocket relay URL (default "wss://snowflake.bamsoftware.com/")
|
websocket relay URL (default "wss://snowflake.torproject.net/")
|
||||||
.HP
|
.HP
|
||||||
\fB\-stun\fR string
|
\fB\-stun\fR string
|
||||||
.IP
|
.IP
|
||||||
|
|
|
@ -30,7 +30,7 @@ The Snowflake proxy can be run with the following options:
|
||||||
```
|
```
|
||||||
Usage of ./proxy:
|
Usage of ./proxy:
|
||||||
-broker string
|
-broker string
|
||||||
broker URL (default "https://snowflake-broker.bamsoftware.com/")
|
broker URL (default "https://snowflake-broker.torproject.net/")
|
||||||
-capacity uint
|
-capacity uint
|
||||||
maximum concurrent clients
|
maximum concurrent clients
|
||||||
-keep-local-addresses
|
-keep-local-addresses
|
||||||
|
@ -38,7 +38,7 @@ Usage of ./proxy:
|
||||||
-log string
|
-log string
|
||||||
log filename
|
log filename
|
||||||
-relay string
|
-relay string
|
||||||
websocket relay URL (default "wss://snowflake.bamsoftware.com/")
|
websocket relay URL (default "wss://snowflake.torproject.net/")
|
||||||
-stun string
|
-stun string
|
||||||
stun URL (default "stun:stun.stunprotocol.org:3478")
|
stun URL (default "stun:stun.stunprotocol.org:3478")
|
||||||
-unsafe-logging
|
-unsafe-logging
|
||||||
|
|
|
@ -25,9 +25,9 @@ import (
|
||||||
"github.com/pion/webrtc/v3"
|
"github.com/pion/webrtc/v3"
|
||||||
)
|
)
|
||||||
|
|
||||||
const defaultBrokerURL = "https://snowflake-broker.bamsoftware.com/"
|
const defaultBrokerURL = "https://snowflake-broker.torproject.net/"
|
||||||
const defaultProbeURL = "https://snowflake-broker.torproject.net:8443/probe"
|
const defaultProbeURL = "https://snowflake-broker.torproject.net:8443/probe"
|
||||||
const defaultRelayURL = "wss://snowflake.bamsoftware.com/"
|
const defaultRelayURL = "wss://snowflake.torproject.net/"
|
||||||
const defaultSTUNURL = "stun:stun.stunprotocol.org:3478"
|
const defaultSTUNURL = "stun:stun.stunprotocol.org:3478"
|
||||||
const pollInterval = 5 * time.Second
|
const pollInterval = 5 * time.Second
|
||||||
const (
|
const (
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue