Skip to content

v0.112.0

Choose a tag to compare

@github-actions github-actions released this 12 Oct 20:07
· 588 commits to main since this release

OpenVPN joins the VPN profiles, AnyConnect sessions now resume without a new login, and one proxy lets a CI runner, a script or a browser reach your customers through the VPNs. The Network profiles page is reorganised into a list with a tab per profile.

Network profiles

  • A reorganised Network profiles page. A list on the left (General, your profiles with a dot for a tunnel that is up, New profile) and the selected item on the right. A profile opens on Overview (mode, idle stop, how many connections and web bookmarks use it, when the session ends), Settings, Proxy and Details tabs, with Test, Pause, Browser and Stop above them. General holds the plugins, the defaults for every profile and the app proxy.
  • OpenVPN profiles. Import a server's .ovpn and connect through the new OpenVPN plugin, in userspace like the other kinds: no TAP / TUN driver, no admin rights, several servers at once. UDP or TCP, tls-auth and tls-crypt, AES-GCM, ChaCha20-Poly1305 and AES-CBC, key renegotiation, reconnects, username and password with a static or dynamic challenge or Access Server's one-time code question answered from a TOTP in Bitwarden or KeePass, browser (SSO) logins and phone approvals, auth-token for the rest of the session, servers with LZO / LZ4 compression (unpacked on arrival; nothing is compressed on the way out). The client certificate and key from the file become a certificate credential (expiry tracked), the tls-auth / tls-crypt key goes to the vault. Not yet: tls-crypt-v2, TAP.
  • A browser through a VPN profile, and web bookmarks in the tree. Browser on a profile opens an isolated browser (its own kept profile per VPN) in which the customer's networks, its connections' host names and intranet names go through the tunnel and the rest of the web directly. New web bookmark adds a bookmark to the tree; it inherits the folder's network profile like an SSH connection, so a bookmark under a customer's folder opens in that customer's VPN browser.
  • App proxy: your VPNs for a CI runner, a script or a tool. One SOCKS5 proxy (username and password, General -> App proxy) for every profile marked Reachable through the app proxy; each address goes through the VPN whose networks contain it, anything else is refused, and the tunnel comes up on demand with its login. Copy gateway command builds a tun2socks gateway container that sends only those networks into the proxy, so a GitLab runner in Docker reaches your customers with network_mode = "container:sshtool-gw" in its config, without any change to .gitlab-ci.yml; its other traffic stays local. A profile's networks come from what the server pushed (full-tunnel default routes left out), the connections that use it and networks added by hand. Overlapping networks go to the most specific route, then the VPN that is up, or to the profile you pick. A profile can also have a separate proxy of its own, for a runner that must stay apart.
  • OpenConnect: password change at login. When the gateway asks for a new password (expired, or offered by Cisco ASA before it expires), the form is recognised and asked as "new password" / "confirm new password" - nothing stored is filled into it, and the two must match before anything is sent. Leaving both blank skips an optional change. Once the tunnel is up, the new password replaces the old one in the vault credential it came from (the old one stays in the credential history); a typed or Bitwarden / KeePass password is only noted in the log. Before this, the change form was taken for a second login and could receive the second password or a one-time code.
  • OpenConnect: AnyConnect sessions survive the idle stop. The idle stop no longer logs out of the gateway: the session stays open there, and the next connect resumes it without a login or one-time code while the gateway still holds it (otherwise the normal login follows). The session cookie is kept in memory only. Log out of the gateway under Idle stop on the profile turns it off. Needs the OpenConnect plugin openconnect-v1.1 (the plugin offers the update).
  • OpenConnect Details show when the session ends. The session end time (with the time left) and the gateway's idle timeout, when the gateway announces them. The plugin also logs when the tunnel drops and comes back, and the engine's own warnings.
  • The Plugins card loads at once. It asked GitHub for the newest release once per plugin and probed each installed plugin in turn, which took seconds; now it is one request, remembered for 10 minutes, and the probes run side by side.
  • Test on one network profile no longer greys out the others. The button shows "Testing..." on its own profile only. The log gives how long a connect took, and the OpenConnect plugin splits it into the gateway's first answer, the login and the tunnel setup after it.
  • A hostname with a stray space or line break connects. A pasted hostname ending in a newline reached the dialer as is ("no such host"); it is trimmed on save and on every connect, so existing entries work too.
  • OpenConnect: DTLS from the start. A gateway packet arriving during the DTLS MTU probe failed it ("buffer is too small"), so the tunnel started over TLS only and switched to DTLS a minute later.
  • Synced tunnel presence: no more "HTTP 423". This machine's presence updates (a tunnel coming up, going down, the periodic check) no longer run at the same time, and a file the WebDAV server holds locked (Nextcloud) is retried instead of logged.
  • Deleting a network profile no longer breaks what used it. Connections, folders and inventory folders set to the deleted profile fall back to their inherited network, and Bitwarden / Infisical servers go direct; before, every connect failed with "network profile ... not found". References left by earlier deletes are cleared when the app starts.