Release reverse tunnels 1.0.1 with bounded SSH connection attempts

This commit is contained in:
Andrei Smaliak 2026-09-29 09:45:02 +02:00
parent 9a7ae311db
commit e7996f0884
4 changed files with 10 additions and 2 deletions

View File

@ -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.

View File

@ -26,7 +26,7 @@
"version": "1.0.6"
},
"stage_reverse_tunnels": {
"version": "1.0.0"
"version": "1.0.1"
}
}
}

View File

@ -251,6 +251,8 @@ write_wrapper() {
cat >"$wrapper_path" <<EOF
#!/usr/bin/env bash
exec autossh -M 0 -N \\
-o ConnectTimeout=10 \\
-o ConnectionAttempts=1 \\
-o ServerAliveInterval=30 \\
-o ServerAliveCountMax=3 \\
-o ExitOnForwardFailure=yes \\

View File

@ -1,3 +1,3 @@
{
"version": "1.0.0"
"version": "1.0.1"
}