Skip to content

Commit

Permalink
Move defualt config to docs, update translation
Browse files Browse the repository at this point in the history
  • Loading branch information
akrigator committed Aug 17, 2023
1 parent d42332c commit dc9d3fc
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 18 deletions.
16 changes: 15 additions & 1 deletion tor/DOCS.md
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,21 @@ client_names:
- haremote2
ports:
- 8123
bridges: []
snowflake_url: https://snowflake-broker.torproject.net.global.prod.fastly.net/
snowflake_front: cdn.sstatic.net
snowflake_ice:
- stun:stun.voip.blackberry.com:3478
- stun:stun.antisip.com:3478
- stun:stun.bluesip.net:3478
- stun:stun.dus.net:3478
- stun:stun.epygi.com:3478
- stun:stun.sonetel.com:3478
- stun:stun.sonetel.net:3478
- stun:stun.uls.co.za:3478
- stun:stun.voipgate.com:3478
- stun:stun.voys.nl:3478
bridges:
- snowflake 192.0.2.4:80 8838024498816A039FCBBAB14E6F40A0843051FA
```
**Note**: _This is just an example, don't copy and past it! Create your own!_
Expand Down
21 changes: 4 additions & 17 deletions tor/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -27,21 +27,8 @@ options:
ports:
- "8123"
- "8123:80"
snowflake_url: "https://snowflake-broker.torproject.net.global.prod.fastly.net/"
snowflake_front: "cdn.sstatic.net"
snowflake_ice:
- "stun:stun.voip.blackberry.com:3478"
- "stun:stun.antisip.com:3478"
- "stun:stun.bluesip.net:3478"
- "stun:stun.dus.net:3478"
- "stun:stun.epygi.com:3478"
- "stun:stun.sonetel.com:3478"
- "stun:stun.sonetel.net:3478"
- "stun:stun.uls.co.za:3478"
- "stun:stun.voipgate.com:3478"
- "stun:stun.voys.nl:3478"
bridges:
- "snowflake 192.0.2.4:80 8838024498816A039FCBBAB14E6F40A0843051FA"
snowflake_ice: []
bridges: []
schema:
log_level: list(trace|debug|info|notice|warning|error|fatal)?
socks: bool
Expand All @@ -51,8 +38,8 @@ schema:
- match(^[A-Za-z0-9+-_]{1,16}$)
ports:
- match(^(.*:)?(?:[0-9]{1,4}|[1-5][0-9]{4}|6[0-4][0-9]{3}|65[0-4][0-9]{2}|655[0-2][0-9]|6553[0-5])?$)
snowflake_url: url
snowflake_front: str
snowflake_url: "url?"
snowflake_front: "str?"
snowflake_ice:
- str
bridges:
Expand Down
9 changes: 9 additions & 0 deletions tor/translations/en.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,15 @@ configuration:
description: >-
Configures hosts and ports to publish via a Tor Hidden Service. Check
the add-on documentation for the exact format to enter here.
snowflake_url:
name: Snowflake URL
description: URL of signaling broker
snowflake_front:
name: Snowflake front
description: Front domain
snowflake_ice:
name: Snowflake ICE
description: List of ICE servers
bridges:
name: Bridges
description: >-
Expand Down

0 comments on commit dc9d3fc

Please sign in to comment.