[PR #2950] fix: linux reconnect dns reliability and other linux fix #3025

Open
opened 2026-10-15 04:06:57 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/2950
Author: @NickVs2015
Created: 8/6/2026
Status: 🔄 Open

Base: dev ← Head: fix/linux-reconnect-dns-reliability


📝 Commits (10+)

  • cc71330 fix: make dbus async
  • 410538c fix: dns rewrites and flush
  • c35988d fix: NM down/up reconnection problem
  • b8e9ec8 fix: killswitch compatible
  • 34b62f8 fix: replace m_linkDefaultRoutes map with single m_gatewayIfindex
  • 46100fd fix: make Linux DNS retry setup
  • 9bf974a fix: amnvpnrt flush error
  • 9a472c6 fix: bad rule xargs, cgroup v2 mkdir, amnvpnrt rt_tables, restart flush
  • d906df6 fix: prevent double WireGuard stop and fix NM sleep/wake
  • 87d90ee fix: recover from stuck busy-indicator/disabled-controls on real OS wakeup (Windows/Linux)

📊 Changes

29 files changed (+532 additions, -86 deletions)

View changed files

📝 client/core/protocols/vpnProtocol.cpp (+5 -0)
📝 client/core/protocols/vpnProtocol.h (+14 -1)
📝 client/core/protocols/wireGuardProtocol.cpp (+31 -9)
📝 client/core/protocols/wireGuardProtocol.h (+2 -1)
📝 client/core/utils/errorCodes.h (+1 -0)
📝 client/core/utils/errorStrings.cpp (+1 -0)
📝 client/daemon/daemon.cpp (+3 -3)
📝 client/daemon/daemon.h (+1 -1)
📝 client/daemon/daemonlocalserverconnection.cpp (+1 -1)
📝 client/daemon/wireguardutils.h (+1 -1)
📝 client/mozilla/controllerimpl.h (+1 -1)
📝 client/mozilla/localsocketcontroller.cpp (+42 -4)
📝 client/mozilla/localsocketcontroller.h (+3 -1)
📝 client/platforms/linux/daemon/dnsutilslinux.cpp (+126 -20)
📝 client/platforms/linux/daemon/dnsutilslinux.h (+15 -1)
📝 client/platforms/linux/daemon/linuxfirewall.cpp (+14 -3)
📝 client/platforms/linux/daemon/wireguardutilslinux.cpp (+9 -3)
📝 client/platforms/linux/daemon/wireguardutilslinux.h (+1 -1)
📝 client/platforms/linux/linuxnetworkwatcherworker.cpp (+11 -3)
📝 client/platforms/linux/linuxnetworkwatcherworker.h (+4 -0)

...and 9 more files

📄 Description

No description provided


🔄 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/2950 **Author:** [@NickVs2015](https://github.com/NickVs2015) **Created:** 8/6/2026 **Status:** 🔄 Open **Base:** `dev` ← **Head:** `fix/linux-reconnect-dns-reliability` --- ### 📝 Commits (10+) - [`cc71330`](https://github.com/amnezia-vpn/amnezia-client/commit/cc71330c27ead9094efb71a4d4b7ea43efd71672) fix: make dbus async - [`410538c`](https://github.com/amnezia-vpn/amnezia-client/commit/410538c6b2303298c3d7e414219a273b5312b626) fix: dns rewrites and flush - [`c35988d`](https://github.com/amnezia-vpn/amnezia-client/commit/c35988d79f363bdc9675610ce6ab8534cc5ae6f1) fix: NM down/up reconnection problem - [`b8e9ec8`](https://github.com/amnezia-vpn/amnezia-client/commit/b8e9ec85707374fcc3d16be565bead07da81c24d) fix: killswitch compatible - [`34b62f8`](https://github.com/amnezia-vpn/amnezia-client/commit/34b62f8fd691d812bf3714f42ed7a7a2dbbfad3c) fix: replace m_linkDefaultRoutes map with single m_gatewayIfindex - [`46100fd`](https://github.com/amnezia-vpn/amnezia-client/commit/46100fd3115b0833fce9cda4ccd62495f952ff6b) fix: make Linux DNS retry setup - [`9bf974a`](https://github.com/amnezia-vpn/amnezia-client/commit/9bf974a2f47bfcecef7c9b652c320049ab758519) fix: amnvpnrt flush error - [`9a472c6`](https://github.com/amnezia-vpn/amnezia-client/commit/9a472c6793d4319e55e85499e990f889d8bd1e1a) fix: bad rule xargs, cgroup v2 mkdir, amnvpnrt rt_tables, restart flush - [`d906df6`](https://github.com/amnezia-vpn/amnezia-client/commit/d906df6927d252a367d4cfabe9986dc2f64de1b5) fix: prevent double WireGuard stop and fix NM sleep/wake - [`87d90ee`](https://github.com/amnezia-vpn/amnezia-client/commit/87d90ee92f94c9ad9ccc1f0c7ef4cc302810f9ee) fix: recover from stuck busy-indicator/disabled-controls on real OS wakeup (Windows/Linux) ### 📊 Changes **29 files changed** (+532 additions, -86 deletions) <details> <summary>View changed files</summary> 📝 `client/core/protocols/vpnProtocol.cpp` (+5 -0) 📝 `client/core/protocols/vpnProtocol.h` (+14 -1) 📝 `client/core/protocols/wireGuardProtocol.cpp` (+31 -9) 📝 `client/core/protocols/wireGuardProtocol.h` (+2 -1) 📝 `client/core/utils/errorCodes.h` (+1 -0) 📝 `client/core/utils/errorStrings.cpp` (+1 -0) 📝 `client/daemon/daemon.cpp` (+3 -3) 📝 `client/daemon/daemon.h` (+1 -1) 📝 `client/daemon/daemonlocalserverconnection.cpp` (+1 -1) 📝 `client/daemon/wireguardutils.h` (+1 -1) 📝 `client/mozilla/controllerimpl.h` (+1 -1) 📝 `client/mozilla/localsocketcontroller.cpp` (+42 -4) 📝 `client/mozilla/localsocketcontroller.h` (+3 -1) 📝 `client/platforms/linux/daemon/dnsutilslinux.cpp` (+126 -20) 📝 `client/platforms/linux/daemon/dnsutilslinux.h` (+15 -1) 📝 `client/platforms/linux/daemon/linuxfirewall.cpp` (+14 -3) 📝 `client/platforms/linux/daemon/wireguardutilslinux.cpp` (+9 -3) 📝 `client/platforms/linux/daemon/wireguardutilslinux.h` (+1 -1) 📝 `client/platforms/linux/linuxnetworkwatcherworker.cpp` (+11 -3) 📝 `client/platforms/linux/linuxnetworkwatcherworker.h` (+4 -0) _...and 9 more files_ </details> ### 📄 Description _No description provided_ --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
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#3025
No description provided.