Skip to content

Viaalink CLI v3.2.6

Choose a tag to compare

@kwuite kwuite released this 04 Nov 12:49
· 5 commits to main since this release

Security release for the web terminal, plus via relays, clearer account and relay output, and a set of fixes for via up, dbgate and mitmproxy. 3.2.4 and 3.2.5 were tagged but never published; 3.2.6 is the first public release with these changes.

Security

  • On Linux and macOS the web terminal's password is no longer on ttyd's command line, where any user of the computer could read it with ps. ttyd now listens on a UNIX socket in a directory only you can enter, and Caddy asks for the hub login (via expose auth) in front of it, locally and through the relay. Windows is unchanged.
  • /asde/terminal/asd/healthcheck no longer leads to the terminal. In 3.2.3 a project with network.caddy.basic_auth.enabled could be reached through it without a login. Every hub healthcheck now answers itself, and via net apply puts the service's login in front of every raw route that passes requests on to a sensitive service. Update if you use the web terminal.
  • After via expose auth --rotate the old password no longer works over HTTPS, and the web terminal restarts so shells opened with the old login end.
  • via ttyd start tunnel no longer prints the password.
  • The npm packages compiled into the CLI are refreshed, picking up fixes for published advisories in axios, follow-redirects, form-data, shell-quote, ws, hono and others. zod 3 remains affected by GHSA-mrhx-c7xc-m3w5 (fixed only in zod 4).

Added

  • via relays lists the Relays your viaalink.com account is connected to, and whether this device already uses each one. Matching happens locally; nothing about your device's relays is sent. --json for scripts.
  • Every release carries THIRD_PARTY_NOTICES.txt and a CycloneDX SBOM (viaalink-cli.cdx.json).

Changed

  • via whoami shows your viaalink.com account and this device's relays separately.
  • via relay info <name> lists every domain the relay offers, and also takes a domain instead of a name; via relay list shows "+N more" when a relay has several domains.
  • The bundled relay client is viaalink-relay 1.38.0.

Fixed

  • via up runs projects that only have a via.yaml, and no longer prints "Started" for a task that did not start.
  • via run and via up fill missing .env keys from the template before checking the config.
  • The tunnel URL via expose prints now keeps the relay's port.
  • via dbgate start and via mitmproxy start work without a separate Bun install (also on Windows), stop cleanly, and print an address only once it answers.
  • via urls follows the workspace a project pins, and lists services a via run step published.
  • A mistyped command on a fresh computer no longer creates a workspace.
  • The .env.bak backup is readable only by you.
  • via caddy start no longer says "Caddy installed" when it did not install one.

Re-run the installer to also update the bundled relay client and helpers; via update only swaps the CLI binary.