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.
Files changed (2) hide show
  1. package/clavarium-relay +5 -4
  2. 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.0"
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 within minutes.
114
- ClientAliveInterval 30
115
- ClientAliveCountMax 3
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
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clavarium-relay",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "description": "The maintenance program of a Clavarium relay: status, repair, updates, key rotation.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://clavarium.org",