diff --git a/nostr-vpn/data/egress-state/.gitkeep b/nostr-vpn/data/egress-state/.gitkeep new file mode 100644 index 000000000..e69de29bb diff --git a/nostr-vpn/docker-compose.yml b/nostr-vpn/docker-compose.yml index 638d4b215..924612cbe 100644 --- a/nostr-vpn/docker-compose.yml +++ b/nostr-vpn/docker-compose.yml @@ -7,7 +7,7 @@ services: APP_PORT: 38080 daemon: - image: ghcr.io/mmalmi/nostr-vpn-umbrel:v4.1.18@sha256:f9a80cd4dc51f33a7e48ac450698c0b9cf47f0a554275ef070a27e2e89d2fe36 + image: ghcr.io/mmalmi/nostr-vpn-umbrel:v4.1.19@sha256:0894360497fb5ac13414d4cbe09c2ae3276446b020d560d7342ae1b7b724b8ab restart: on-failure stop_grace_period: 1m network_mode: "host" @@ -27,9 +27,10 @@ services: RUST_LOG: info volumes: - ${APP_DATA_DIR}/data:/data + - ${APP_DATA_DIR}/data/egress-state:/var/lib/nvpn/egress web: - image: ghcr.io/mmalmi/nostr-vpn-umbrel:v4.1.18@sha256:f9a80cd4dc51f33a7e48ac450698c0b9cf47f0a554275ef070a27e2e89d2fe36 + image: ghcr.io/mmalmi/nostr-vpn-umbrel:v4.1.19@sha256:0894360497fb5ac13414d4cbe09c2ae3276446b020d560d7342ae1b7b724b8ab restart: on-failure stop_grace_period: 1m depends_on: diff --git a/nostr-vpn/hooks/pre-start b/nostr-vpn/hooks/pre-start new file mode 100755 index 000000000..4b75868b5 --- /dev/null +++ b/nostr-vpn/hooks/pre-start @@ -0,0 +1,4 @@ +#!/usr/bin/env bash +set -euo pipefail + +mkdir -p "${APP_DATA_ROOT:-${APP_DIR}/data}/egress-state" diff --git a/nostr-vpn/umbrel-app.yml b/nostr-vpn/umbrel-app.yml index 03e1f5ebc..327b8944d 100644 --- a/nostr-vpn/umbrel-app.yml +++ b/nostr-vpn/umbrel-app.yml @@ -1,10 +1,10 @@ -manifestVersion: 1 +manifestVersion: 1.1 id: nostr-vpn storage: dataRoot: data category: networking name: Nostr VPN -version: "v4.1.18" +version: "v4.1.19" tagline: Admin-approved mesh VPN over Nostr description: >- Nostr VPN turns your Umbrel into a private mesh VPN node for your own devices @@ -13,6 +13,12 @@ description: >- or a central control server. + Before updating or uninstalling this app, turn VPN off using the switch inside + Nostr VPN and wait until it shows "VPN off". This releases connection protection + so Umbrel can access the Internet. VPN routing and protection are paused until + you turn VPN back on. Use a local connection to Umbrel for these steps. + + To connect a device, choose Join on the device you want to add so it displays its signed QR code or link. On your Umbrel, scan or paste that request, review it, and accept it. The joining device then receives the signed network roster @@ -33,20 +39,28 @@ gallery: - 2.webp - 3.webp releaseNotes: >- - This release improves peer discovery, network joining, and connection recovery. + ⚠️ Before updating, open Nostr VPN and turn VPN off using its VPN switch. Wait + until it shows "VPN off", then install this update. After updating, open Nostr + VPN and turn VPN back on. Your VPN settings are kept, but VPN routing and + connection protection are paused while VPN is off. Use a local connection to + Umbrel, since turning VPN off disconnects access through Nostr VPN. Stopping + the app from Umbrel does not release connection protection. - - Preserve approved network membership after restarting. - - - Recover from temporary network failures without stopping the background service. - - - Reduce background CPU usage and discovery-cache disk writes. - - - Improve paid Internet provider selection and payment recovery. - - - Include TLS and networking security fixes. + This release improves connection reliability, the web interface, and security. - Full release notes can be found at https://github.com/mmalmi/nostr-vpn/releases/tag/v4.1.18 + - Recover network updates after bursts of relay traffic. + + - Preserve newer settings and edits when older web requests finish. + + - Keep firewall protection state when the app container is recreated. + + - Prevent paid Internet buyers from accessing a seller's private network or other mesh routes. + + - Include TLS, WebRTC cryptography, and networking security fixes. + + + Full release notes can be found at https://github.com/mmalmi/nostr-vpn/releases/tag/v4.1.19 submitter: mmalmi submission: https://github.com/getumbrel/umbrel-apps/pull/5678