Skip to content

AIVPN 1.3.3

Latest

Choose a tag to compare

@infosave2007 infosave2007 released this 03 Dec 12:01
c1b6f3a

Route cleanup after crashes, IPv6 protection on macOS and a Windows routing API bypass. 1.3.3 makes desktop clients remove the routes they add on the physical network even when the client process is killed, installs macOS routes through the routing socket, blocks IPv6 on macOS when the server assigns no IPv6 address, and creates the Windows server bypass through the routing API.

Note

1.3.3 changes desktop clients and the web panel. The wire format, connection keys and server configuration are the same as in 1.3.2, and 1.3.x clients and servers work with each other. The server, Android and iOS code is unchanged apart from the version number.

Fixed

  • Routes after a client crash - routes that a desktop client adds on the physical network no longer outlive it. The server bypass route, excluded split-tunnel networks and the full-tunnel routes are removed even when the client process is killed. On Linux (including OpenWrt and containers where the client runs as root) and on macOS a separate process owns these routes and removes them when the client exits. On Windows the bypass routes expire after 60 seconds unless the running client renews them.
  • macOS routes - the client installs routes through the routing socket and removes only the routes it created, so an existing route to the same network is left in place. A route journal lets the next start remove routes left by a crash. When the physical route to the server changes, for example after joining another Wi-Fi network, the client reconnects instead of keeping a bypass through the previous gateway.
  • IPv6 on macOS - when the server assigns no IPv6 address, the full tunnel blocks IPv6 with reject routes for ::/1 and 8000::/1, as Linux does with blackhole routes. Version 1.3.2 routed these prefixes to the tunnel interface, which macOS refuses while the interface has no IPv6 address. The route command still reported success, so on networks with IPv6 that traffic bypassed the VPN.
  • Linux routes - the client removes its IPv6 block routes when it stops, restores the server bypass and excluded networks after the LAN address changes, and no longer treats a route through another gateway as its own.
  • Windows server bypass - the route to the VPN server is created through the Windows routing API for IPv4 and IPv6 servers, instead of the route command and a PowerShell gateway lookup.
  • Web panel events - when the AIVPN service answers the event stream with an error, the panel reports the service as unavailable and frees the user's stream slot instead of forwarding the error body.

Verifying downloads

Every asset ships with a detached Ed25519 signature (.sig). Server binaries also ship with a SHA256SUMS file:

sha256sum -c aivpn-server-linux-x86_64.SHA256SUMS

Full changelog: CHANGELOG.md · v1.3.2...v1.3.3