docs: improve the wording, add targeted examples
This commit is contained in:
61 files changed
+3422
-5861
No files matched your search
+50
-140
@@ -1,5 +1,7 @@
|
||||
# services.proxy-suite.whitelistBypass
|
||||
|
||||
Tunnels through video-call servers, past mobile internet whitelists.
|
||||
|
||||
Part of the [proxy-suite options reference](./index.md).
|
||||
|
||||
## Options
|
||||
@@ -22,51 +24,29 @@ Part of the [proxy-suite options reference](./index.md).
|
||||
<a id="services-proxy-suite-whitelistbypass-enable"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.enable
|
||||
|
||||
Whether to enable tunnels through the media servers of video calls, which mobile internet whitelists let
|
||||
through ([whitelist-bypass](https://github\.com/kulikov0/whitelist-bypass))\. A creator on a
|
||||
free host serves exactly one joiner on a censored one\.
|
||||
Tunnel through video-call servers, which mobile internet whitelists let through
|
||||
([whitelist-bypass](https://github\.com/kulikov0/whitelist-bypass))\. A creator on a free
|
||||
host serves one joiner on a censored one\.
|
||||
|
||||
*Type:*
|
||||
boolean
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
false
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
true
|
||||
```
|
||||
**Type:** boolean\
|
||||
**Default:** `false`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-package"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.package
|
||||
|
||||
whitelist-bypass package with the headless creators and joiners\.
|
||||
whitelist-bypass package\.
|
||||
|
||||
*Type:*
|
||||
package
|
||||
|
||||
*Default:*
|
||||
proxy-suite’s ` whitelist-bypass ` (` pkgs/whitelist-bypass.nix `)
|
||||
**Type:** package\
|
||||
**Default:** proxy-suite’s ` whitelist-bypass ` (` pkgs/whitelist-bypass.nix `)
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators
|
||||
|
||||
Creators, one per joiner device\. The link each uses is in its log\.
|
||||
Creators, one per joiner device\. Each logs the call link its joiner needs (also ` proxy-ctl wl link `)\.
|
||||
|
||||
*Type:*
|
||||
attribute set of (submodule)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
{ }
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** attribute set of (submodule)\
|
||||
**Default:** `{ }`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -81,112 +61,61 @@ attribute set of (submodule)
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-cookiesfile"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.cookiesFile
|
||||
|
||||
Runtime path to the platform’s cookies, as the upstream desktop Creator exports them\.
|
||||
Copied into the state directory on first start only: DION and Bitrix rotate their
|
||||
refresh token into that copy, and a stale one would kill the session\.
|
||||
` proxy-ctl wl auth <name> ` replaces that copy at runtime, with a new export or, for
|
||||
DION and Bitrix, an email and password\. Null leaves the creator off until then\.
|
||||
File with the platform’s cookies, as exported by the upstream desktop Creator\. Read on
|
||||
first start only, since the login refreshes itself afterwards\. ` proxy-ctl wl auth <name> ` replaces it at runtime (or asks for email and password on DION and Bitrix)\.
|
||||
` null `: the creator waits for that\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/whitelist-bypass-cookies-wbstream.json"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/whitelist-bypass-cookies-wbstream.json"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-linkfile"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.linkFile
|
||||
|
||||
Runtime path to the call to rejoin\. Null rejoins the last call written to
|
||||
` <stateDir>/whitelist-bypass/<name>.link `, and creates one on first start: the link
|
||||
stays the same across restarts, so the joiner needs it only once\. ` proxy-ctl wl new <name> ` drops it for a new call, when the platform has closed the old one\.
|
||||
File with a call link to rejoin\. ` null `: create a call once and keep reusing it, so
|
||||
the joiner needs the link only once\. ` proxy-ctl wl new <name> ` starts a new call if the
|
||||
platform closed the old one\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/whitelist-bypass-link"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/whitelist-bypass-link"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-platform"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.platform
|
||||
|
||||
Call platform\. Every one needs an account: “vk” only serves the upstream Android app,
|
||||
the rest a joiner of this module too\.
|
||||
Call platform\. Each needs an account\. “vk” only serves the upstream Android joiner app\.
|
||||
|
||||
*Type:*
|
||||
one of “wbstream”, “telemost”, “dion”, “bitrix”, “vk”
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"wbstream"
|
||||
```
|
||||
**Type:** one of “wbstream”, “telemost”, “dion”, “bitrix”, “vk”\
|
||||
**Example:** `"wbstream"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-resources"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.resources
|
||||
|
||||
Buffer sizes and Go memory limit: 64, 128 or 256 MB\.
|
||||
Memory budget: 64, 128 or 256 MB\.
|
||||
|
||||
*Type:*
|
||||
one of “moderate”, “default”, “unlimited”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"moderate"
|
||||
```
|
||||
**Type:** one of “moderate”, “default”, “unlimited”\
|
||||
**Default:** `"moderate"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-creators-name-upstream"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.creators\.\<name>\.upstream
|
||||
|
||||
Where the joiner’s traffic leaves\.
|
||||
Where the traffic from this creator’s joiner exits\.
|
||||
|
||||
- “direct”: from this host, past TUN and TProxy (it runs as proxy-suite-daemon)\.
|
||||
- “proxy”: through the local proxy listener (proxy\.listener, with its auth), and so
|
||||
its outbounds and routing\.
|
||||
- “direct”: straight from this host, bypassing TUN and TProxy\.
|
||||
- “proxy”: through the local proxy and its routing\.
|
||||
|
||||
*Type:*
|
||||
one of “direct”, “proxy”
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
"direct"
|
||||
```
|
||||
**Type:** one of “direct”, “proxy”\
|
||||
**Default:** `"direct"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-joiners"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.joiners
|
||||
|
||||
Joiners, each an outbound tagged with its name: a loopback SOCKS5 listener that tunnels
|
||||
through the call\. Needs proxy\.enable\.
|
||||
Joiners, each an outbound tagged with its name that tunnels through the call\. Needs
|
||||
` proxy.enable `\.
|
||||
|
||||
*Type:*
|
||||
attribute set of (submodule)
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
{ }
|
||||
```
|
||||
|
||||
*Example:*
|
||||
**Type:** attribute set of (submodule)\
|
||||
**Default:** `{ }`\
|
||||
**Example:**
|
||||
|
||||
```nix
|
||||
{
|
||||
@@ -200,36 +129,17 @@ attribute set of (submodule)
|
||||
<a id="services-proxy-suite-whitelistbypass-joiners-name-linkfile"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.joiners\.\<name>\.linkFile
|
||||
|
||||
Runtime path to the call link the creator printed (or wrote to its state directory):
|
||||
a WB Stream room id, a Telemost link, a DION event slug or a Bitrix conference link\.
|
||||
` proxy-ctl wl join <name> <link> ` sets one at runtime, which wins over this\. Null
|
||||
leaves the joiner off until then\.
|
||||
File with the call link from the creator’s log\. ` proxy-ctl wl join <name> <link> ` sets
|
||||
one at runtime and takes priority\. ` null `: the joiner waits for that\.
|
||||
|
||||
*Type:*
|
||||
null or string
|
||||
|
||||
*Default:*
|
||||
|
||||
```nix
|
||||
null
|
||||
```
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"/run/secrets/whitelist-bypass-link"
|
||||
```
|
||||
**Type:** null or string\
|
||||
**Default:** `null`\
|
||||
**Example:** `"/run/secrets/whitelist-bypass-link"`
|
||||
|
||||
<a id="services-proxy-suite-whitelistbypass-joiners-name-platform"></a>
|
||||
## services\.proxy-suite\.whitelistBypass\.joiners\.\<name>\.platform
|
||||
|
||||
Call platform the creator on the other end uses\. VK has no Linux joiner\.
|
||||
Call platform the creator uses\. VK has no joiner here\.
|
||||
|
||||
*Type:*
|
||||
one of “wbstream”, “telemost”, “dion”, “bitrix”
|
||||
|
||||
*Example:*
|
||||
|
||||
```nix
|
||||
"wbstream"
|
||||
```
|
||||
**Type:** one of “wbstream”, “telemost”, “dion”, “bitrix”\
|
||||
**Example:** `"wbstream"`
|
||||
Reference in new issue
Block a user