Release reverse tunnels 1.0.1 with bounded SSH connection attempts
This commit is contained in:
parent
9a7ae311db
commit
e7996f0884
|
|
@ -0,0 +1,6 @@
|
||||||
|
# Reverse tunnels 1.0.1 — 2026-09-29
|
||||||
|
|
||||||
|
- Limit SSH connection setup to 10 seconds and one attempt; autossh/systemd retain the existing bounded retry policy.
|
||||||
|
- UAE gateway companion fix probes services concurrently within 2.5 seconds. An absent Zigbee service no longer makes healthy Cockpit and Console disappear behind the API's 3-second timeout.
|
||||||
|
- Gateway SSH configuration now expires unresponsive tunnel-user sessions using ClientAliveInterval=30 / ClientAliveCountMax=3, releasing stale forwarding ports after network loss. Existing sessions must reconnect to acquire this policy.
|
||||||
|
- Verified on BeMd_Showroom / g-box-c453df5f; Zigbee is not installed and remains unavailable.
|
||||||
|
|
@ -26,7 +26,7 @@
|
||||||
"version": "1.0.6"
|
"version": "1.0.6"
|
||||||
},
|
},
|
||||||
"stage_reverse_tunnels": {
|
"stage_reverse_tunnels": {
|
||||||
"version": "1.0.0"
|
"version": "1.0.1"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -251,6 +251,8 @@ write_wrapper() {
|
||||||
cat >"$wrapper_path" <<EOF
|
cat >"$wrapper_path" <<EOF
|
||||||
#!/usr/bin/env bash
|
#!/usr/bin/env bash
|
||||||
exec autossh -M 0 -N \\
|
exec autossh -M 0 -N \\
|
||||||
|
-o ConnectTimeout=10 \\
|
||||||
|
-o ConnectionAttempts=1 \\
|
||||||
-o ServerAliveInterval=30 \\
|
-o ServerAliveInterval=30 \\
|
||||||
-o ServerAliveCountMax=3 \\
|
-o ServerAliveCountMax=3 \\
|
||||||
-o ExitOnForwardFailure=yes \\
|
-o ExitOnForwardFailure=yes \\
|
||||||
|
|
|
||||||
|
|
@ -1,3 +1,3 @@
|
||||||
{
|
{
|
||||||
"version": "1.0.0"
|
"version": "1.0.1"
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue