Skip to content

unbraid 3.2.1

Choose a tag to compare

@giulioc84 giulioc84 released this 20 Nov 12:43
· 124 commits to main since this release

unbraid 3.2.1 adds IVPN protection against future quantum computers, routes that go through another route first, and help on networks that block VPNs. In all it holds 12 new features, 15 improvements and 25 fixes, and we tested most of the new IVPN and AirVPN options over real connections on a phone before this release. Ivan (@ivkiwi) found 18 of the issues fixed here in a careful review and fixed 14 of them himself, and we thank him warmly for it.

Before you update

If you saved a website route under a website you block, that route can start working with this version, because the most specific website rule now wins. Check those routes before you update. A route still doesn't apply when your local network's or your tailnet's DNS answers its name.

New features

  • IVPN. New IVPN sign-ins add a key made with Kyber, as IVPN's own apps do, which protects recorded WireGuard traffic against future quantum computers. The IVPN page shows Quantum-safe connection as On once that key is in place, and a sign-in that doesn't get it stops instead of connecting without it. Accounts signed in before this version get it with their next new key.
  • IVPN. By default, when unbraid connects with IVPN and the key is at least seven days old, it asks IVPN for a new key on the same device. New key under Advanced settings on the IVPN page changes how often, and Never turns this off, though a sign-in still without the quantum-safe key gets one when unbraid connects.
  • Routes. A WireGuard route can go Via one other route first, also one of another provider or your own server, so its server sees the first server's address instead of yours. With two tunnels, the second route waits for the first instead of going straight to its server, and a straight route and a Via route can't use the same key on the same server at once. PIA routes and WireGuard files that name their server by host name can't be the second route, and Tailscale exits and Shadowsocks servers with a plugin can't be the first; a setup or backup with a Via opens only in this version or newer.
  • Routes. Between two IVPN routes in different countries, Via also offers IVPN's own multi-hop, marked as one tunnel. It avoids a second tunnel on your phone, but your network can tell which server you leave from. IVPN blocking works on it with the block list you chose.
  • IVPN. Disguise under Advanced settings on the IVPN page wraps the connection in V2Ray so it looks like web traffic, which can help on some networks that block VPNs. It can be slower and uses its own port. With it on, a route never connects without the disguise, and Disguise and Via don't work together yet, so such a route stays off and says why.
  • Providers. Junk packets under Advanced settings on WireGuard provider pages sends five random packets before each WireGuard handshake, which can help on some networks that block VPNs. The servers ignore them, IVPN routes using Disguise don't use it, and it is off by default.
  • AirVPN. A route's Protocol now offers OpenVPN UDP and OpenVPN TCP for AirVPN, as it does for NordVPN. OpenVPN TCP is for networks that block VPNs and is much slower than the others. Both need the AirVPN sign-in with an API key.
  • AirVPN. Automatic as a route's protocol starts with WireGuard and switches to OpenVPN TCP on port 443 by itself when WireGuard stops answering on the ports unbraid tries, until the network changes or you connect again. The route then says Using OpenVPN TCP. The switch needs an API key and doesn't happen on a route that goes Via another.
  • AirVPN. New key under Advanced settings on the AirVPN page can give the AirVPN device unbraid made at sign-in with your API key a new key now and then, never one of your own devices. It is off by default. When a new key is due, unbraid asks for it as it connects, and the route can wait briefly while AirVPN sets it up.
  • Stats. On a route's page in Stats, Ask AirVPN about followed by a server's name shows AirVPN's own measurements of delay and packet loss over the last 7 days for the server that carried the most data. Nothing is sent until you tap, and the note above the button says it sends the server's name to AirVPN.
  • IVPN. Another port under Port takes a UDP port of your own within the ranges IVPN's servers answer on, 5500 to 19999 and 30000 to 65000, for networks that block the listed ports.
  • IVPN. When every IVPN device slot is taken, the sign-in offers to sign out your other devices. It asks first, and says plainly that IVPN then signs out every other device on the account, the IVPN app on your computer too.

Changes and enhancements

  • Websites. The most specific website rule now wins, Block included. Block example.com and give video.example.com a route, and video.example.com takes its route while the rest of example.com stays blocked.
  • Servers. Server lists say more about each server: AirVPN's warning reason, such as "Low packet loss", Out of service for IVPN servers that are inactive or in maintenance, and the company that hosts each IVPN server. Servers with a problem are listed last, and new automatic picks prefer the others.
  • AirVPN. With an API key, the AirVPN page shows how many AirVPN connections the account has open, also those of your other apps and devices. The warning before a change that would go over the limit counts them too, when unbraid has a count from the last 30 minutes.
  • AirVPN. The Port setting adds UDP 51820 (Alternative entry), a port AirVPN's servers take only on their alternative address. unbraid uses it there, and another port when that address isn't known.
  • Routes. A route through a Tailscale exit device that is switched off now says so, instead of checking for ever, and the top of Routes says how many routes are waiting.
  • Apps. A line under the filters says how many system apps are hidden, with Show and Hide, instead of a chip at the far end of the filter row.
  • Stats. A route used over OpenVPN, OpenVPN TCP or Automatic shows that next to its provider, so its separate histories can be told apart.
  • Restore. When you keep your current setup while restoring a backup, it is saved as the profile Old setup, or a numbered version of that name, so switching profiles by network can't save over it.
  • Import. An imported route that stops answering says its file may have expired, and the PureVPN guide says to import and connect within about 30 minutes.
  • Updates. If you turned on the update check, its request names the app and its version, such as "unbraid/3.2.1" instead of "unbraid". It sends no account or settings data.
  • Install. unbraid can be added to Obtainium, which installs it from the GitHub releases and tells you about updates: use Add to Obtainium on unbraid.app/download.

Bug fixes

  • Routes. When a local network or home rule takes a connection, unbraid now dials only the addresses that rule covers, so a website that answers with both a public and a home-network address can't send an app's connection outside the VPN. Found and fixed by Ivan.
  • Apps. Setting an app to Direct no longer takes other apps that share its Android user ID, as some system and vendor apps do, out of the VPN. Such an app now goes as the others do, and its menu says why. Found and fixed by Ivan.
  • Privacy. While an app has its own route or is on Block, a name lookup Android can't tie to any app no longer reaches a DNS server that no rule chose, such as the phone's own. Address lookups still get a stand-in answer so ordinary websites keep working, and other kinds get an empty answer; local, tailnet and website DNS rules still come first. Found by Ivan, who wrote the first fix.
  • Privacy. If unbraid can't read its saved settings when it starts the VPN, it now keeps apps offline even when it can't write anything at that moment. Found by Ivan.
  • Filter. Under Android's Block connections without VPN, an app set to Direct with its filter turned off now really skips the filter when the Direct default is filtered. Found and fixed by Ivan. Websites set to Direct also keep the filter when the only filtered Direct app is kept inside the VPN for another app with its user ID.
  • Apps. While unbraid is connected, an app with a saved choice that is installed again, also under a new Android user ID, gets its route without reconnecting. An install or removal that changes which apps share a user ID is applied too.
  • Backups. unbraid now prepares and checks a backup before you pick where to save it, and writes it only into a file that is still empty. Found and fixed by Ivan. The suggested file name now includes the time to the minute.
  • Restore. Keep my current setup keeps every server of your own, also one no route uses, with its key. Found and fixed by Ivan.
  • Restore. When you keep your current setup during another restore, apps still waiting to be installed keep their choices, Block too, until their deadlines. A server of your own saved without its keys takes them back only from a server on this phone whose saved details match; for OpenVPN those are its name and ID. Found and fixed by Ivan.
  • Restore. Restoring a backup that leaves your setup unchanged no longer makes a later refused change turn the VPN off. Found by Ivan.
  • Pause. If Android restarts unbraid during a timed pause without the phone restarting, the pause keeps its original end instead of reconnecting early. Found by Ivan.
  • Network. Moving to another Wi-Fi network retries routes that couldn't connect, also when the new network uses the same Wi-Fi interface. Found and fixed by Ivan.
  • Websites. Right after connecting, the websites of a Headscale tailnet are shown as going through the tailnet. Found and fixed by Ivan.
  • Speed test. After testing a Tailscale exit device, unbraid switches Tailscale back to the device the running VPN uses. Found by Ivan.
  • Speed test. When there's no test server in an exit's country, Test with the nearest server now looks for one near that country, such as Prague for Vienna, instead of one that could be far away. Speed test on an exit's page tests that exit, and Back returns to that page.
  • NordVPN. The location picker opens restored routes that use Nord's own names for NordLynx and the standard servers, and shows a choice it doesn't know as Other instead of crashing. After you sign in on a new phone, a restored server pinned from Fastest anywhere is looked up in its own country. Found and fixed by Ivan.
  • NordVPN. A server missing from one protocol's list no longer stops routes that use another protocol.
  • AirVPN. Two restored routes pinned to different servers in the same country keep their own servers. Found and fixed by Ivan. The connection-limit warning counts them as two connections.
  • AirVPN. A server AirVPN marks with a warning, such as "Low packet loss", is no longer treated as gone, so a route pinned to it can still use it.
  • Mullvad. Mullvad-owned servers only now also moves a running route that picks its server by itself off a rented server, or holds it when no owned server fits. Servers you pinned stay as chosen. Found and fixed by Ivan.
  • Settings. Start fresh clears your routes, sign-ins and settings and replaces the app's encryption key, and it reports success only after the new key works. If Android can't give it a working key, the recovery screen stays open instead of saying it worked.

Install

Download unbraid-3.2.1.apk below and open it on your phone. It requires Android 13 or later on a 64-bit ARM device. Install it over the GitHub version of 3.1.1 to keep your settings.

This build has no Google Play Billing or in-app tip jar. It uses Google's open-source AndroidX libraries.

Android allows one active VPN app per user or profile. Before starting unbraid, turn off any other VPN app in that profile, including its Always-on VPN setting.

Check the download

Download both unbraid-3.2.1.apk and SHA256SUMS into the same folder. From that folder, run:

shasum -a 256 -c SHA256SUMS

The result should say unbraid-3.2.1.apk: OK.

The APK uses the same signing certificate as the GitHub version of 3.1.1. Its SHA-256 fingerprint is:

42:BA:8E:3D:52:1C:DE:47:B7:C3:E6:93:94:ED:97:73:91:0D:B3:C0:CD:DC:BA:28:9C:EA:5D:B4:39:09:F5:EB