Repository navigation
Sodium Remote 0.2.4
Download
- Windows 11: SodiumRemote-0.2.4-win64.zip. Unzip it and run
SodiumRemote.exe. It is not code-signed yet: if SmartScreen warns, choose More info, then Run anyway. - macOS 14 or later (Apple silicon): Sodium-Remote-0.2.4.dmg. Drag the app to Applications. It is not signed or notarized yet: open it once, then choose Open Anyway in System Settings › Privacy & Security.
- Arch Linux:
PKGBUILDandsodium-remote.SRCINFObelow, next to the source tarball; runmakepkg -si.
The Windows and Mac downloads include Sodium SmartRoute, our hosted solution: sign in, and your computers reach each other from anywhere.
The Mac app is on the release for the first time, as a disk image that is not signed or notarized: macOS blocks it on first open. Open it once, then choose Open Anyway in System Settings › Privacy & Security.
Added
- A Simplified Chinese README, with a language switch at the top of both READMEs.
- AGENTS.md, with the layout, builds, checks and conventions for anyone working on the code with a coding agent, and a prompt in the README for installing Sodium Remote with one.
- llms.txt, a summary and an index of the docs, and a comparison with other remote desktops (
docs/comparison.md).
Changed
- Lower latency on a LAN and in the Windows client. The Windows client presents without waiting for a vsync slot (DWM still composes, so nothing tears), and a connection through the LAN sends each video frame at once instead of spreading it over half a frame interval. On two Windows VMs this took about 14 ms off the glass-to-glass time. Other routes are paced as before.
Security
- A self-hosted server holds little memory per connection. A request's head is capped at 16 KB and a connection serves one request, so a few addresses can no longer run the server out of memory.
- WebSocket connections count against the server's connection limits, and a peer that stops reading is closed after 10 s.
- Pairing windows on a server can't be squatted. An attempt counts from the client's first message and times out, and a full client table makes room by forgetting the longest idle unpaired client.
- The relay's egress guard refuses the server's own addresses except the relay ports.
- A peer can't freeze or exhaust the other side with video packets. Frame IDs far ahead start over, frame sizes and shard counts are checked before anything is allocated, and a host takes no video, sound or cursor from a client.
- A Windows host checks a clipboard picture's size before decoding it.
- Matching the display trusts only the driver certificate that was checked, and the elevated helper no longer follows a link when it writes its log.
- A client's button codes are mouse buttons only on Linux and SodiumOS hosts, and pointer input with a NaN or an infinity is dropped.
- The clipboard goes only to a client the computer is serving.
- Release builds start cold, the Mac signing key is imported after the build and can't be exported, and checkouts don't keep the job's token.
sign.shchecks which CI run it signs.
Fixed
- A relayed connection keeps working after a TURN permission lapses. It was asked for only once, so a minute's outage around a refresh dropped the relayed route for the rest of the session.
- A datagram flood can't starve a session, and a message from the rendezvous server is limited to 256 KiB.
- Mac: pairing goes to the computer you chose, even if the list refreshed while you typed the code, and releasing the client from an event no longer stops the app. A host's frame send time can no longer crash the decoder.
- A key or pairing list that can't be read stops the start instead of being replaced with a new identity or an empty list.
- One future-dated offer no longer locks a client out of a host until it restarts.
- LAN connections no longer ask the rendezvous server for a relay.
- The app keeps its own handling of SIGTERM and SIGINT after a session, writes no per-frame CSV, and keeps its stats in bounded memory.
- Windows client: cursors are freed when the scale changes and when the window closes, and cursor shapes from the host stop at 64 MiB.
- Names from other computers are shown as plain text in the app.
- SodiumOS host: a call to the IME add-on gives up after a second, and Welcome carries the computer's name when none is set.
- A host runs one wait for a client's resizes, not a task for each.
- A reconnect no longer rewrites a server's whole state file.
- The pills on a computer's picture in the light theme. Online, Asleep and the system's name were dark text on a dark pill; on the light theme the pill is light again.
- "On this network" under your computers. With computers paired, the list of computers nearby sits at the left under them instead of centred on its own.
- The Windows client on a PC without a GPU uses far less CPU. With the software renderer (WARP) every frame's colour conversion and clear ran on the CPU's worker threads, over 1.5 cores at 1080p. The picture is now converted with SIMD and copied straight into the window, and only the bars around it are cleared.
- Fewer lost frames on weak Wi-Fi. At the edge of a router's range a stream sent 150 Mbit/s of a 3K picture and the Mac lost 7–9% of its frames, each loss costing about ten frames; at 30–100 Mbit/s the same link lost none. The stream's rate now stops at 1.5 × the 0.2 bit per pixel per frame the picture asks for (87 Mbit/s at 2940 × 1652 at 60 fps, not 300), backs off when loss stays above 1.5% over 2 seconds (not only above 10% in half a second), and the keyframe after a lost frame comes after the round trip plus 4 frames (75 ms on Wi-Fi) instead of 250 ms. A keyframe that was itself lost is sent again: it used to be taken for a loss it had already answered, and the picture froze for seconds (up to 12 s) until the encoder next restarted. The client's retransmission threshold needs a client update and is unchanged.
Files
SodiumRemote-0.2.4-win64.zip: Windows, portable, not code-signed (SmartScreen will warn).
Itsdrivers\sudovda\folder is Sodium Remote Display, the matched display's driver: SudoVDA (MIT/CC0, MS-PL) with our patches, built unsigned in CI and signed outside CI with Sodium Remote's own certificate;packaging/windows/sudovda/signed/BUILDINFOrecords both builds' hashes.qt*-everywhere-src-*.tar.xzandffmpeg-*.tar.xz: the exact Qt and FFmpeg sources the Windows DLLs were built from (LGPL), unmodified.sodium-remote-0.2.4.tar.gz: the source, with the third-party notices of each program.PKGBUILDandsodium-remote.SRCINFO: the Arch Linux package; put them next to the tarball and runmakepkg -si.Sodium-Remote-0.2.4.dmg: macOS (Apple silicon), not signed or notarized: open it once, then choose Open Anyway in System Settings › Privacy & Security.
Check a download against SHA256SUMS, or verify where it came from: gh attestation verify FILE --repo Sodium-OS/sodium-remote.