clavarium-relay 0.1.0 → 0.1.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/clavarium-relay +5 -4
- package/package.json +1 -1
package/clavarium-relay
CHANGED
|
@@ -24,7 +24,7 @@
|
|
|
24
24
|
# ---------------------------------------------------------------------------
|
|
25
25
|
set -euo pipefail
|
|
26
26
|
|
|
27
|
-
VERSION_OF_THIS="0.1.
|
|
27
|
+
VERSION_OF_THIS="0.1.1"
|
|
28
28
|
# Tests run it on a folder that stands for "/": nothing outside it is touched.
|
|
29
29
|
ROOT="${CLAVARIUM_RELAY_ROOT:-}"
|
|
30
30
|
REGISTRY="https://registry.npmjs.org"
|
|
@@ -110,9 +110,10 @@ Match User $TUNNEL
|
|
|
110
110
|
AllowAgentForwarding no
|
|
111
111
|
PermitTunnel no
|
|
112
112
|
ForceCommand /bin/false
|
|
113
|
-
# A tunnel that died without saying so gives its ports back
|
|
114
|
-
|
|
115
|
-
|
|
113
|
+
# A tunnel that died without saying so (a cut of the network at home) gives its ports back
|
|
114
|
+
# within 20 to 30 seconds: until then the tunnel that comes back cannot take them.
|
|
115
|
+
ClientAliveInterval 10
|
|
116
|
+
ClientAliveCountMax 2
|
|
116
117
|
Match User $KEEPER
|
|
117
118
|
AuthorizedKeysFile $KEYS/%u
|
|
118
119
|
PasswordAuthentication no
|