Skip to content

Commit fa4e6ce

Browse files
committed
vopono 0.10.2
1 parent a5baaa2 commit fa4e6ce

File tree

5 files changed

+16
-8
lines changed

5 files changed

+16
-8
lines changed

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "vopono"
33
description = "Launch applications via VPN tunnels using temporary network namespaces"
4-
version = "0.10.1"
4+
version = "0.10.2"
55
authors = ["James McMurray <[email protected]>"]
66
edition = "2021"
77
license = "GPL-3.0-or-later"
@@ -26,7 +26,7 @@ signal-hook = "0.3"
2626
walkdir = "2"
2727
chrono = "0.4"
2828
bs58 = "0.4"
29-
nix = "0.24"
29+
nix = "0.25"
3030
config = "0.13"
3131
basic_tcp_proxy = "0.3"
3232
strum = "0.24"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ lynx all running through different VPN connections:
2828
| Mullvad |||
2929
| AzireVPN |||
3030
| iVPN |||
31-
| PrivateInternetAccess || |
31+
| PrivateInternetAccess || |
3232
| TigerVPN |||
3333
| ProtonVPN |||
3434
| MozillaVPN |||

USERGUIDE.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -445,6 +445,14 @@ via AzireVPN though (Wireguard works correctly).
445445

446446
### VPN Provider limitations
447447

448+
#### PrivateInternetAccess
449+
450+
Wireguard support for PrivateInternetAccess (PIA) requires the use of a
451+
user token to get the latest servers at time of use. See [issue 9](https://github.com/jamesmcm/vopono/issues/9) for details,
452+
and PIA's [official script for Wireguard access](https://github.com/pia-foss/manual-connections/blob/master/connect_to_wireguard_with_token.sh).
453+
454+
So if you encounter connection issues, first try re-running `vopono sync`.
455+
448456
#### MozillaVPN
449457

450458
There is no easy way to delete MozillaVPN devices (Wireguard keypairs),

vopono_core/Cargo.toml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "vopono_core"
33
description = "Library code for running VPN connections in network namespaces"
4-
version = "0.1.1"
4+
version = "0.1.2"
55
edition = "2021"
66
authors = ["James McMurray <[email protected]>"]
77
license = "GPL-3.0-or-later"
@@ -16,11 +16,11 @@ directories-next = "2"
1616
log = "0.4"
1717
which = "4"
1818
users = "0.11"
19-
nix = "0.24"
19+
nix = "0.25"
2020
serde = { version = "1", features = ["derive", "std"] }
2121
csv = "1"
2222
regex = "1"
23-
ron = "0.7"
23+
ron = "0.8"
2424
walkdir = "2"
2525
# Must use rand 0.7 for compatibility with x25519-dalek for now
2626
rand = "0.7"
@@ -31,7 +31,7 @@ reqwest = { default-features = false, version = "0.11", features = [
3131
"json",
3232
"rustls-tls",
3333
] } # TODO: Can we remove Tokio dependency?
34-
sysinfo = "0.24"
34+
sysinfo = "0.25"
3535
base64 = "0.13"
3636
x25519-dalek = "1"
3737
strum = "0.24"

vopono_core/src/config/providers/mullvad/wireguard.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ impl WireguardProvider for Mullvad {
4545
let relays: Vec<WireguardRelay> = client
4646
.get("https://api.mullvad.net/www/relays/wireguard/")
4747
.send()?
48-
.json()?;
48+
.json().with_context(|| "Failed to parse Mullvad relays response - try again after a few minutes or report an issue if it is persistent")?;
4949

5050
let username = self.request_mullvad_username(uiclient)?;
5151
let auth: AuthToken = client

0 commit comments

Comments
 (0)