All posts

CortenDesk 0.9.5 adds live session disconnect

End an active remote-control session from the console, with heartbeat-based close confirmation and audit logging.

An illustration of one remote session connection being ended while other devices remain unaffected.
Session disconnect0.9.5

CortenDesk 0.9.5 adds a Disconnect action to Active Sessions. You can now ask a controlled device to end a live remote-control session from the console.

Ending a session

Revoking access and forcing logout still deal with account tokens and console sessions. A remote-control session already in progress runs peer-to-peer through hbbs/hbbr, so the console cannot cut the traffic path directly.

The new action records a disconnect request. The controlled device closes the connection on its next heartbeat. That can take up to 15 seconds on an idle device, or around 3 seconds while it is carrying a session.

While the close is pending, the row shows Disconnecting... until the device confirms it. The console does not mark the session ended before that confirmation.

Access and audit

The action requires device write access. It is limited to devices the operator can see, and the request is recorded in the console audit log.

Devices with no session to close get a byte-identical heartbeat response, so nothing changes for the rest of your fleet.

Updating

The Docker image applies one migration automatically. No configuration changes are needed.

docker pull marcpope/cortendesk:0.9.5
docker pull ghcr.io/marcpope/cortendesk:0.9.5

Read the full release notes for CortenDesk 0.9.5.