Skip to content

Strait 0.4.1

Choose a tag to compare

@daniad6 daniad6 released this 13 Nov 00:42
· 5 commits to main since this release

What is new

  • WebSocket without a reachable port. When the host has no reachable TCP port, both sides now open the TCP connection to each other through their routers, the same way the UDP tunnel is hole-punched. No port forward is needed.
  • Automatic port mapping for TCP. The host asks the router (UPnP, NAT-PMP, PCP) to open the port of the WebSocket and Xray transports.
  • macOS: the app asks for the administrator password when you open it. Running it from Terminal with sudo is no longer needed.
  • Windows: no console window opens next to the app. Command-line output still prints when you run it from a terminal.
  • The Shadowsocks, obfuscated UDP and WebSocket transports are built in by default.

Install

System File How
Ubuntu / Debian, Intel/AMD strait_0.4.1_amd64.deb sudo apt install ./strait_0.4.1_amd64.deb, then open Strait from the menu
Ubuntu / Debian, ARM strait_0.4.1_arm64.deb same, with this file
macOS, Apple silicon and Intel strait-0.4.1-macos-universal.dmg drag to Applications, right-click and choose Open the first time, then enter your password
Windows 10/11 64-bit strait-0.4.1-windows-x64.zip unzip, keep Strait.exe and wintun.dll together, double-click and accept the administrator prompt
Other Linux strait-0.4.1-linux-x64.tar.gz, strait-0.4.1-linux-arm64.tar.gz sudo ./nat-tunnel gui

Tested (on these exact files)

  • WebSocket without a reachable port (AWS, two Linux peers behind NATs in different regions): 6 of 6 connections, about 1.1 to 1.7 s, 0% loss. Also with all UDP blocked on the client, where it is picked automatically.
  • Ubuntu packages (AWS, x86-64 and arm64): both install, report 0.4.1 and open the window on a virtual screen.
  • Windows (AWS Server 2022): client to a Linux host at 277 Mbit/s; Linux client through a Windows host, leaving from the Windows address; command-line output in a console and when redirected; no console host is started for the window.
  • macOS: signature verifies, both architectures run, the window starts.
  • Unit and integration tests: 545 pass.

Not tested / known limits

  • The window on a real Windows desktop (the test server has no graphics; there the app writes the reason to strait-gui-error.txt).
  • The macOS password prompt was confirmed on a development build of the same code, not on this disk image.
  • The TCP hole punch is IPv4 only, needs routers that keep one port per connection source (it fails on symmetric NAT, like UDP hole punching), and the host still needs working UDP for rendezvous.
  • Linux still needs sudo for the full tunnel.
  • The apps are not notarized or code-signed, so macOS and Windows show a warning on first open.