summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlo418 <2645-Flo418@gitlab.torproject.org>2022-11-23 21:23:04 +0100
committeritchyonion <itchyonion@torproject.org>2022-12-02 13:37:17 -0800
commitcbc50592d83455ecaaa78850d90b0fdee22344a5 (patch)
treefeb600dcea06f676da16f6bd52ca23ef47c1f847
parentcebe4a0af6777a157aea0ed6351471ea70826584 (diff)
downloadsnowflake-cbc50592d83455ecaaa78850d90b0fdee22344a5.tar.gz
snowflake-cbc50592d83455ecaaa78850d90b0fdee22344a5.zip
update README.md help output, fix #40232
-rw-r--r--proxy/README.md20
1 files changed, 17 insertions, 3 deletions
diff --git a/proxy/README.md b/proxy/README.md
index c845aab..e4693d6 100644
--- a/proxy/README.md
+++ b/proxy/README.md
@@ -29,20 +29,34 @@ go build
The Snowflake proxy can be run with the following options:
```
Usage of ./proxy:
+ -allow-non-tls-relay
+ allow relay without tls encryption
+ -allowed-relay-hostname-pattern string
+ a pattern to specify allowed hostname pattern for relay URL. (default "snowflake.torproject.net$")
-broker string
broker URL (default "https://snowflake-broker.torproject.net/")
-capacity uint
- maximum concurrent clients
+ maximum concurrent clients (default is to accept an unlimited number of clients)
+ -ephemeral-ports-range string
+ ICE UDP ephemeral ports range (format:"<min>:<max>")
-keep-local-addresses
keep local LAN address ICE candidates
-log string
log filename
+ -nat-retest-interval duration
+ the time interval in second before NAT type is retested, 0s disables retest. Valid time units are "s", "m", "h". (default 24h0m0s)
-relay string
- websocket relay URL (default "wss://snowflake.torproject.net/")
+ websocket relay URL (default "wss://snowflake.bamsoftware.com/")
-stun string
- stun URL (default "stun:stun.stunprotocol.org:3478")
+ STUN URL (default "stun:stun.stunprotocol.org:3478")
+ -summary-interval duration
+ the time interval to output summary, 0s disables summaries. Valid time units are "s", "m", "h". (default 1h0m0s)
-unsafe-logging
prevent logs from being scrubbed
+ -verbose
+ increase log verbosity
+ -version
+ display version info to stderr and quit
```
For more information on how to run a Snowflake proxy in deployment, see our [community documentation](https://community.torproject.org/relay/setup/snowflake/standalone/).