[PR #1333] [MERGED] Killswitch strict mode #2318

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

📋 Pull Request Information

Original PR: https://github.com/amnezia-vpn/amnezia-client/pull/1333
Author: @outspace
Created: 1/1/2025
Status: ✅ Merged
Merged: 5/3/2025
Merged by: @Nethius

Base: dev ← Head: feature/killswitch-strict-mode


📝 Commits (10+)

  • f527216 Add allowed DNS list for killswitch
  • 4d91245 Windows killswitch strict mode backend part
  • d65273e Merge branch 'dev' into feature/killswitch-strict-mode
  • 08e5ff2 Killswitch strict mode for Linux and MacOS
  • 5fc8012 Windows fixes
  • 4407e28 feature: Add Kill Switch settings page with strict mode option
  • c186be1 Merge branch 'dev' into feature/killswitch-strict-mode
  • 1fa96a0 fix windows build after merge
  • 7a3520c Refresh killswitch mode when it toggled
  • 84d9547 Use HLM to store strictMode flag

📊 Changes

88 files changed (+1715 additions, -415 deletions)

View changed files

📝 client/core/controllers/coreController.cpp (+13 -0)
📝 client/core/controllers/coreController.h (+5 -0)
📝 client/core/controllers/gatewayController.cpp (+28 -0)
📝 client/daemon/daemon.cpp (+3 -0)
📝 client/daemon/interfaceconfig.cpp (+7 -0)
📝 client/daemon/interfaceconfig.h (+1 -0)
📝 client/mozilla/localsocketcontroller.cpp (+3 -0)
📝 client/platforms/linux/daemon/linuxfirewall.cpp (+0 -3)
📝 client/platforms/linux/daemon/wireguardutilslinux.cpp (+3 -1)
📝 client/platforms/macos/daemon/wireguardutilsmacos.cpp (+3 -1)
📝 client/platforms/windows/daemon/windowsfirewall.cpp (+90 -32)
📝 client/platforms/windows/daemon/windowsfirewall.h (+2 -0)
📝 client/protocols/openvpnprotocol.cpp (+5 -0)
📝 client/protocols/protocols_defs.h (+2 -0)
📝 client/resources.qrc (+6 -1)
📝 client/secure_qsettings.cpp (+2 -2)
📝 client/secure_qsettings.h (+1 -1)
📝 client/settings.cpp (+20 -0)
📝 client/settings.h (+7 -0)
➕ client/ui/controllers/allowedDnsController.cpp (+101 -0)

...and 68 more files

📄 Description

Killswitch strict mode can be enabled by option "Conf/strictKillSwitchEnabled" in application config.


🔄 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/1333 **Author:** [@outspace](https://github.com/outspace) **Created:** 1/1/2025 **Status:** ✅ Merged **Merged:** 5/3/2025 **Merged by:** [@Nethius](https://github.com/Nethius) **Base:** `dev` ← **Head:** `feature/killswitch-strict-mode` --- ### 📝 Commits (10+) - [`f527216`](https://github.com/amnezia-vpn/amnezia-client/commit/f5272168bc36c9c12e03a8dfb06458c340653db9) Add allowed DNS list for killswitch - [`4d91245`](https://github.com/amnezia-vpn/amnezia-client/commit/4d912453761ebb5248b1126ebdd59349a4715eae) Windows killswitch strict mode backend part - [`d65273e`](https://github.com/amnezia-vpn/amnezia-client/commit/d65273e43e61b1b43c275a48d9c47f8b317d4658) Merge branch 'dev' into feature/killswitch-strict-mode - [`08e5ff2`](https://github.com/amnezia-vpn/amnezia-client/commit/08e5ff2eef05e4b5009499f6ba3ffe6b85d22094) Killswitch strict mode for Linux and MacOS - [`5fc8012`](https://github.com/amnezia-vpn/amnezia-client/commit/5fc80121b488d571bff06c75a205e4e13b1c6a73) Windows fixes - [`4407e28`](https://github.com/amnezia-vpn/amnezia-client/commit/4407e2801b5ea204af2360ef5b921195951419f5) feature: Add Kill Switch settings page with strict mode option - [`c186be1`](https://github.com/amnezia-vpn/amnezia-client/commit/c186be1788749fc82634162826b87cca1f0216bc) Merge branch 'dev' into feature/killswitch-strict-mode - [`1fa96a0`](https://github.com/amnezia-vpn/amnezia-client/commit/1fa96a09a08a686022e1a4b2a34b4d48a44c5bee) fix windows build after merge - [`7a3520c`](https://github.com/amnezia-vpn/amnezia-client/commit/7a3520cb201ada95ac05eb34d7ff66839ca2394a) Refresh killswitch mode when it toggled - [`84d9547`](https://github.com/amnezia-vpn/amnezia-client/commit/84d95477cbe5ab85dd7abd5f83818d53c773db60) Use HLM to store strictMode flag ### 📊 Changes **88 files changed** (+1715 additions, -415 deletions) <details> <summary>View changed files</summary> 📝 `client/core/controllers/coreController.cpp` (+13 -0) 📝 `client/core/controllers/coreController.h` (+5 -0) 📝 `client/core/controllers/gatewayController.cpp` (+28 -0) 📝 `client/daemon/daemon.cpp` (+3 -0) 📝 `client/daemon/interfaceconfig.cpp` (+7 -0) 📝 `client/daemon/interfaceconfig.h` (+1 -0) 📝 `client/mozilla/localsocketcontroller.cpp` (+3 -0) 📝 `client/platforms/linux/daemon/linuxfirewall.cpp` (+0 -3) 📝 `client/platforms/linux/daemon/wireguardutilslinux.cpp` (+3 -1) 📝 `client/platforms/macos/daemon/wireguardutilsmacos.cpp` (+3 -1) 📝 `client/platforms/windows/daemon/windowsfirewall.cpp` (+90 -32) 📝 `client/platforms/windows/daemon/windowsfirewall.h` (+2 -0) 📝 `client/protocols/openvpnprotocol.cpp` (+5 -0) 📝 `client/protocols/protocols_defs.h` (+2 -0) 📝 `client/resources.qrc` (+6 -1) 📝 `client/secure_qsettings.cpp` (+2 -2) 📝 `client/secure_qsettings.h` (+1 -1) 📝 `client/settings.cpp` (+20 -0) 📝 `client/settings.h` (+7 -0) ➕ `client/ui/controllers/allowedDnsController.cpp` (+101 -0) _...and 68 more files_ </details> ### 📄 Description Killswitch strict mode can be enabled by option "Conf/strictKillSwitchEnabled" in application config. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-13 21:20:51 +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#2318
No description provided.