[PR #256] [MERGED] NetworkChange detection for OpenVPN protocol #1711

Closed
opened 2026-10-13 20:47:12 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/256
Author: @outspace
Created: 7/4/2023
Status: ✅ Merged
Merged: 7/15/2023
Merged by: @pokamest

Base: feature/prebuilt-binaries ← Head: feature/networkchange


📝 Commits (5)

  • c4c1eb4 NetworkChange detection for OpenVPN protocol
  • 202c596 Update android native libs
  • 2877210 Always on VPN mode for OpenVPN, Cloak+OpenVPN
  • 5f85275 Update Android native OpenVPN again
  • 2f214f3 Network change calibration

📊 Changes

6 files changed (+231 additions, -5 deletions)

View changed files

📝 client/3rd-prebuilt (+1 -1)
📝 client/android/cpp/openvpn3 (+1 -1)
➕ client/android/src/org/amnezia/vpn/NetworkState.kt (+195 -0)
📝 client/android/src/org/amnezia/vpn/OpenVPNThreadv3.kt (+8 -0)
📝 client/android/src/org/amnezia/vpn/VPNService.kt (+26 -3)
📝 deploy/build_android.sh (+0 -0)

📄 Description

We need to make reconnect on the network change. Connection without reconnecting can cause a freeze of VPN connection or lost connection.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/amnezia-vpn/amnezia-client/pull/256 **Author:** [@outspace](https://github.com/outspace) **Created:** 7/4/2023 **Status:** ✅ Merged **Merged:** 7/15/2023 **Merged by:** [@pokamest](https://github.com/pokamest) **Base:** `feature/prebuilt-binaries` ← **Head:** `feature/networkchange` --- ### 📝 Commits (5) - [`c4c1eb4`](https://github.com/amnezia-vpn/amnezia-client/commit/c4c1eb40fafbe11e495751203576eb19781e1535) NetworkChange detection for OpenVPN protocol - [`202c596`](https://github.com/amnezia-vpn/amnezia-client/commit/202c596ee154cef12cf93abb12370e58960c39f3) Update android native libs - [`2877210`](https://github.com/amnezia-vpn/amnezia-client/commit/287721044f1771c95075b6fcf727b58df5aa66ff) Always on VPN mode for OpenVPN, Cloak+OpenVPN - [`5f85275`](https://github.com/amnezia-vpn/amnezia-client/commit/5f85275796f186561f74962ade205a9098d282d7) Update Android native OpenVPN again - [`2f214f3`](https://github.com/amnezia-vpn/amnezia-client/commit/2f214f34448c07c86d4507330b0fdaa5d994432e) Network change calibration ### 📊 Changes **6 files changed** (+231 additions, -5 deletions) <details> <summary>View changed files</summary> 📝 `client/3rd-prebuilt` (+1 -1) 📝 `client/android/cpp/openvpn3` (+1 -1) ➕ `client/android/src/org/amnezia/vpn/NetworkState.kt` (+195 -0) 📝 `client/android/src/org/amnezia/vpn/OpenVPNThreadv3.kt` (+8 -0) 📝 `client/android/src/org/amnezia/vpn/VPNService.kt` (+26 -3) 📝 `deploy/build_android.sh` (+0 -0) </details> ### 📄 Description We need to make reconnect on the network change. Connection without reconnecting can cause a freeze of VPN connection or lost connection. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 20:47:12 +00:00
Sign in to join this conversation.
No labels
pull-request
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
amnezia-vpn/amnezia-client#1711
No description provided.