Repository navigation
Releases
Viaalink ttyd v1.7.7-viaalink.3
Viaalink ttyd v1.7.7-viaalink.3
Verified static ttyd binaries built from viaalink/ttyd (viaalink branch, MIT license — based on upstream tsl0922/ttyd 1.7.7 by Shuanglei Tao).
ttyd --version:ttyd version 1.7.7-viaalink.3- Static dependencies:
zlib 1.3.2,json-c 0.18,libuv 1.52.1,openssl 3.6.1,libwebsockets 4.5.7 - Targets included:
ttyd.x86_64(Linux static musl),ttyd.aarch64(Linux static musl),ttyd.win32.exe(Windows x64 static PE32+),SHA256SUMS.txt,SBOM.cdx.json(CycloneDX 1.5 with upstream pedigree), and MITLICENSE. - macOS: Build-from-source script and guide included (
docs/macos-build.md, upstream#1553); prebuilt macOS binaries are not yet shipped in this release.
Behaviour Changes (Read Before Upgrading from Stock 1.7.7)
- WebSocket message cap (1 MiB,
#1593): Single WebSocket messages exceeding 1 MiB are now rejected with close status1009(MESSAGE_TOO_LARGE) to prevent unauthenticated OOM DoS. - URL query option blocklist (
#1605): Links can no longer forceenableZmodem,enableTrzsz,enableSixel,disableLeaveAlert,disableReconnect,closeOnDisconnect, ortitleFixedvia URL query params (server-side-toptions continue to work). - Strict TLS upgrade enforcement (
#1550): When--sslis enabled, plaintext HTTP → WebSocket upgrades on the SSL port are rejected. - Exact WebSocket path match (
#1585/#1612): Only the exact configured<base-path>/wsendpoint is accepted (prefix/suffix paths such as/ws/or/ware rejected). - Pre-auth silence (
#1599+#1580): With-c user:pass, unauthenticated WebSocket connections receive zero initial metadata until authenticated; Safari/WebKit token-based auth works without anAuthorizationheader while malformed/wrong headers are rejected at handshake.
New in v1.7.7-viaalink.3 (Since v1.7.7-viaalink.2)
#1615(@AlekZo,viaalink/ttyd#70) — Skip unused libwebsockets system state (LWS_SERVER_OPTION_NO_LWS_SYSTEM_STATES), stopping periodic captive-portal probe log spam.#1589(@daeho-ro,viaalink/ttyd#71) — Runuv_run()directly forlibwebsockets 5.1+compatibility (stays 100% compatible with4.5.7).#1560(@ViktorBarzin,viaalink/ttyd#72) — Forward validated client pixel dimensions (ws_xpixel/ws_ypixel) on terminal resize with strictjson_type_int+[0, UINT16_MAX]bounds checking.#1529+#1558(@sdirkwinkel,@xiaocheng2014,viaalink/ttyd#73) — Recover cleanly from transientUV_EIOafterlogin(1)vhangup()with bounded exponential backoff.#1525+#1488(@jvobsd,@Umair-khurshid,viaalink/ttyd#74) — Distro install & Fedora build-from-source documentation (fixedpacman -S& dependencies).#1553(@ofcRS,viaalink/ttyd#75) — Hardened native macOS build script, guide (docs/macos-build.md), and manual workflow.#1520(@aaradhyaberisfdc,viaalink/ttyd#76) — Suppress browser context menu during mouse tracking (with Shift bypass, preservingvim/htop/mcmouse support).- 66 / 66 Upstream PR Audit Ledger (
viaalink/ttyd#77,docs/UPSTREAM_PR_LEDGER.md) — Complete triad audit (Antigravity + Claude Code + Mistral Vibe) with verbatim review logs. - Release & build engineering:
ttyd --versionnow prints the full1.7.7-viaalink.3version string (verified in CI onx86_64,aarch64via QEMU, andwin32via Wine).scripts/cross-build.sh: OpenSSLno-shared no-tests no-apps no-docs+build_libs/install_devcuts coldwin32build time from ~22 min to ~1–3 min, plus CI stage caching.- Published CycloneDX 1.5 SBOM (
SBOM.cdx.json) with upstream1.7.7pedigree and patched PR list. - Automated
RED → GREENdifferential proof comparing stockv1.7.7-viaalink.1againstv1.7.7-viaalink.3(docs/RED_GREEN_PROOF.md).
Previously Included in Wave 1 & Wave 2 (v1.7.7-viaalink.2)
- Wave 1 (19 security & stability PRs):
#1599+#1580(WS auth/pre-auth leak + Safari token auth),#1607(Windows--url-argbuffer overflow),#1600(--uidprimary GID derivation),#1611(stop logging credentials at startup),#1605(URL param security blocklist),#1593(1 MiB WS cap + 0-len fragment crash, supersedes#1544/#1574),#1550(reject plaintext upgrade under SSL),#1545(parse_window_sizeNULL guard),#1585(exact WS path +pss->argsfree, supersedes#1612),#1610(-F/--deny-framing),#1609+#1592(IPv6 bracketed hosts + HTTP/2:authorityorigin check),#1613(HEADempty body),#1598(PTY read backpressure),#1573(EAGAINstall fix),#1576(muslargvNULL-term segfault),#1584(mTLSpreverify_ok),#1602(HTTP header pool 128). - Wave 2 (10 frontend, mobile & clipboard PRs):
#1597(iOS safe-area & 16px helper textarea),#1531(visualViewportmobile keyboard sync),#1595/#1561/#1530(float URL parsing + post-preferences/renderer refit),#1606(cancellable ZMODEM modal + 256/512 MiB caps),#1518/#1549/#1565(modern OSC 52 UTF-8 clipboard incl. tmux),#1536(exponential-backoff + tab-wake auto-reconnect),webpack 5.113.0(0 moderate+ audit advisories).
Verification
Verify downloaded binaries against SHA256SUMS.txt:
sha256sum -c SHA256SUMS.txt- Automated battle-test suite (
tests/battle_test.py, 18 tests) passed onx86_64andaarch64(QEMU), plus Wine version + HTTP/security smoke test onwin32. - Full baseline-vs-candidate
RED → GREENdifferential proof recorded indocs/RED_GREEN_PROOF.md.
Viaalink ttyd v1.7.7-viaalink.2
Viaalink verified static ttyd build v1.7.7-viaalink.2 (commit f8e1566, MIT license — upstream tsl0922/ttyd by Shuanglei Tao).
Included Upstream Security & Stability PRs (Wave 1)
#1599(@dem0ns) — WebSocket auth state hardening, pre-auth leak prevention, dynamic auth header sizing#1580(@wang-chuanhui) — Allow token-based WebSocket auth when Basic header is absent (Safari/WebKit#1437/#1578), hardened on top of#1599#1607(@dem0ns) — Dynamic Windows--url-argcommand-line sizing (prevents remote buffer overflow)#1600(@dem0ns) — Derive primary GID when--uidis specified without--gid(fails closed)#1611(@josegonzalez) — Stop logging Base64 credential at startup#1605(@dem0ns) — Block URL query params from enabling file transfer / suppressing security UI (rebuiltsrc/html.h)#1593(@chrysent; supersedes#1544/#1574) — Cap WebSocket message size (1 MiB, close 1009) & ignore zero-length fragments#1550(@someonegg) — Reject plaintext HTTP upgrades when SSL is enabled#1545(@Cherrling) — Guard NULL dereference inparse_window_sizeon invalid JSON#1585(@someonegg; supersedes#1612) — Exact WebSocket path match + freepss->argsURL argument arrays#1610(@josegonzalez) — Opt-in-F, --deny-framingclickjacking protection headers#1609(@josegonzalez) ظ(@chrysent) — Bracketed IPv6 hosts & HTTP/2:authorityfallback in origin check#1613(@jlu-lujing) — Omit HTTP response body forHEADrequests#1598(@dem0ns) — Prevent PTY read resume while chunk is pending#1573(@moodboom) — Restart PTY read after zero-byteEAGAINinstead of stalling forever#1576(@arnaldo-delisio) — NULL-terminateargv_copyincalc_command_start(fixes musl segfault)#1584(@someonegg) — Usepreverify_okfor OpenSSL mTLS client cert verification#1602(@dem0ns) — Raise HTTP header pool to 128 and shorten idle timeout to 5s
Included Upstream Frontend, Mobile & Clipboard PRs (Wave 2)
#1597(@dem0ns) — iOSviewport-fit=cover, safe-area insets (box-sizing: border-box), and 16px helper textarea (prevents iOS focus zoom)#1531(@someonegg) —window.visualViewportmobile soft-keyboard resize/scroll sync, theme background sync, and touch scrolling#1595(@neilbrookins),#1561(@jolly-exe) ׺(@someonegg) — Float URL query parsing (parseFloat), post-preferences refit, and post-rendereronRenderrefit#1606(@dem0ns) — Cancellable ZMODEM upload modal (Esc/backdrop/×) and explicit download confirmation with 256/512 MiB size caps#1518(@aaradhyaberisfdc),#1549(@themoonisacheese, clipboard commit only) ؝(@mdj2812) — Modernnavigator.clipboard+ UTF-8-safe fallback supporting all OSC 52 selection types (includingtmuxp)#1536(@hndrewaall) — Exponential backoff (1s–30s) +visibilitychangetab-wake auto-reconnect (hardened to skip close codes1000/1008/1009and keep wake listener alive across closes)- Frontend bundler/devDependency CVE remediation (
webpack 5.113.0, 0 moderate+ advisories inyarn npm audit, cleanly regeneratedsrc/html.h)
Verification
-
All 17 automated security, Wave 2 frontend, Viaalink CLI compatibility, 2x50 concurrent session stress, and 50k-line flood backpressure tests passed (
tests/battle_test.py). -
Verify downloads with
sha256sum -c SHA256SUMS.txt. -
Cross-target verified:
x86_64native musl (17/17),aarch64QEMU user-mode (17/17),win32Wine smoke test, standalone Playwright visual suite across Chromium/WebKit/iPhone/Pixel (30/30), ASan+UBSan (17/17), libFuzzer (0 crashes),cppcheck(0 errors), CodeQL (C + JS/TS).
Viaalink ttyd v1.7.7-viaalink.1
Verified static ttyd baseline build from upstream tsl0922/ttyd@2922cb8 (24 unreleased commits ahead of 1.7.7: OpenSSL 3.6.1, zlib 1.3.2, libuv 1.52.1, libwebsockets 4.5.7, xterm 5.5.0, shell-injection fix #1498, mobile viewport #1564). MIT licensed. Verify with sha256sum -c SHA256SUMS.txt.