Commit Graph

2929 Commits

Author SHA1 Message Date
cd-amn 225b693ea4 fix: keep VPN routing on macOS when switching between WG/AWG tunnels 2026-06-18 14:45:58 +04:00
cd-amn 97b2de8cd1 refactor: TrafficGuard owns adapter IP swap for WG/AWG and Xray 2026-06-18 14:45:58 +04:00
cd-amn ef1ed7064a feat: TrafficGuard owns Xray adapter IP swap on Windows 2026-06-18 14:45:58 +04:00
cd-amn 40ba31f54b fix: dedup RouterLinux route tracking and tolerate EEXIST/ESRCH 2026-06-18 14:45:58 +04:00
cd-amn 7bb609866a fix: close traffic leak during seamless tunnel switch 2026-06-18 14:45:58 +04:00
cd-amn 54d28862f3 refactor: TrafficGuard owns xray DNS and uplink routes 2026-06-18 14:45:58 +04:00
cd-amn bff3e228fc feat: route Xray through Tunnel for seamless server switch 2026-06-18 14:45:58 +04:00
cd-amn d528a241d8 feat: key xray worker per tunnel via ifname-scoped IPC 2026-06-18 14:45:58 +04:00
cd-amn 99e6c18f15 feat: run xray-core in a forked worker process 2026-06-18 14:45:58 +04:00
cd-amn 6d49a9416e fix: propagate tun2socks FailedToStart in XrayProtocol 2026-06-18 14:45:58 +04:00
cd-amn 80fa788802 refactor: prepare XrayProtocol for Tunnel two-phase lifecycle 2026-06-18 14:45:58 +04:00
cd-amn 3590b2d323 feat: seamless WG switch on Windows for shared client IPs 2026-06-18 14:45:58 +04:00
cd-amn 9a1e380ffb feat: per-tunnel Windows firewall for seamless WG switch 2026-06-18 14:45:58 +04:00
cd-amn eb42ce8fef refactor: route Windows WG killswitch through TrafficGuard 2026-06-18 14:45:58 +04:00
cd-amn 72147d3a67 feat: per-tunnel ifname for WG service, UAPI pipe, and SCM for Windows 2026-06-18 14:45:58 +04:00
cd-amn 39f9bcfd50 fix: revert API country selection on server switch failure 2026-06-18 14:45:58 +04:00
cd-amn b6188baeb8 fix: traffic drops for killswitch blacklisted sites during the switch 2026-06-18 14:45:58 +04:00
cd-amn 9b329ad5b1 refactor: move routing/KS/DNS lifecycle from Daemon to TrafficGuard 2026-06-18 14:45:58 +04:00
cd-amn ce05b4e99c refactor: internalize AMNEZIA_DESKTOP guard in appendKillSwitchConfig 2026-06-18 14:45:58 +04:00
cd-amn 75f522e9dc chore: remove unused VpnConnection::m_routeMode field 2026-06-18 14:45:58 +04:00
cd-amn d6349b5734 fix: remove duplicate routeAddList in setupRoutes 2026-06-18 14:45:58 +04:00
cd-amn fa8014093b feat: drive WG via Tunnel coordinator for seamless server switch 2026-06-18 14:45:57 +04:00
cd-amn 9d69ab89d5 feat: introduce Tunnel wrapping VpnProtocol with two-phase lifecycle 2026-06-18 14:33:36 +04:00
cd-amn f2ff8a7b3b refactor: thread interface name through LocalSocketController 2026-06-18 14:33:36 +04:00
cd-amn 864b8c6f8a feat: split daemon activation into bare bring-up and setPrimary 2026-06-18 14:33:36 +04:00
cd-amn adb8eb4937 refactor: own killswitch teardown at daemon level 2026-06-18 14:33:36 +04:00
cd-amn 6750afd330 refactor: cache physical gateway and use kernel-assigned netlink pid 2026-06-18 14:33:36 +04:00
cd-amn 7ad0692306 feat: enable base Daemon to create and swap WireguardUtils without knowing platform type 2026-06-18 14:33:36 +04:00
cd-amn 0dcd05c6c3 feat: use per-tunnel ifname instead of hardcoded WG_INTERFACE in platform helpers 2026-06-18 14:33:36 +04:00
cd-amn 83e82c16a7 feat: decouple TUN name from XrayProtocol to support dual tunnels 2026-06-18 14:33:36 +04:00
cd-amn f29b6cf027 feat: let callers specify WireGuard interface name per tunnel 2026-06-18 14:33:36 +04:00
cd-amn 4bca2df4a2 feat: revoke old endpoint from KS allowlist after server switch 2026-06-18 14:33:36 +04:00
cd-amn f67927667a feat: killswitch/routing teardown only on explicit protocol stop 2026-06-18 14:33:36 +04:00
cd-amn cc469e74ed fix: deleteRoutePrefix incorrectly called insertRoute for specific prefixes 2026-06-18 14:33:36 +04:00
NickVs2015 234c70f495 fix: NM down/up reconnection problem 2026-06-18 14:33:36 +04:00
cd-amn 850b698e83 fix: add missing Qt includes to updateController 2026-06-18 14:33:36 +04:00
cd-amn 42570c54f8 feat: decouple routing/killswitch from protocol handling 2026-06-18 14:33:35 +04:00
Yaroslav Gurov 890103a16a fix: update amneziawg (#2743)
* chore(conan): update amneziawg

* fix(conan): use cmake 4.2+ to support MSVC26

* fix(ci/cd): use the latest cmake generator available on windows
2026-06-17 19:56:53 +07:00
yp 56ab82f87f fix: Use shared OpenSSL on Android (#2736) 2026-06-16 10:57:32 +07:00
lunardunno 3984acbb44 feat: updating install_docker.sh script (#2661)
* Updating install_docker.sh script

Implementing a Docker service status check.
The Docker reinstall step has been removed due to the implementation of Docker service checking.
Implementing locale checking and assignment.
Implementation of execution of some actions through commands with sudo, to reduce delays caused by differences in the values ​​of the PATH variable for the root user and the user included in the sudo group.
Implementation of a verification step for the install containerization app to avoid installing unsupported podman-docker applications.

* adding message handling to install controller

Adding handling for "Containerization app is not supported" and "Service status not active" messages to the controller.

* Error Codes added

Error Codes added for ServerContainerizationNotSupported & DockerServiceNotActive

* Adding extended descriptions of new errors

* fix last line in errorCodes.h

* fix last line in errorStrings.cpp

* Changing the names of errors

* various changes in the script

The messages output for processing by the server controller have been changed: "Container runtime is not supported" and "Container runtime service is not running."
The redundant check and output of the "Packet manager not found" message, as well as the interruption of script execution, have been eliminated, as this situation is handled by the server controller at an earlier stage (check_server_is_busy.sh) and only there.
Added installation of the whish package if it is missing from the OS, for subsequent re-execution of the install_docker.sh and check_server_is_busy.sh scripts.
Implemented an alternative method for detecting the package manager if the whish package is initially missing from the OS.
The algorithm for setting the $pm variable (package manager) has been changed.

* processed phrases have been changed

The phrases processed by the server controller have been changed.

* Attempting to use "command -v"

Switching to using "command -v" instead of "which".

* "which" as main, "command" as backup.

* "which" as main, "command" as backup for check user

* which  LOCK_CMD with sudo

Run the "which" with sudo to check the $LOCK_CMD variable in case the user's PATH variable has incorrect values ​​if the user is not root and is only a member of the sudo group.

* suppressing sudo password prompt

* suppressing sudo password prompt

* suppressing sudo password prompt install_docker.sh

* Changing the phrase for check stdout

"sudo:" with "not found" instead of "command not found"

* Changing phrases for check stdout check_user_in_sudo.sh‎

* sudo|docker and not found, in one line

* check only sudoers
2026-06-15 22:28:38 +07:00
yp cc404378f9 fix: remove only amnezia- prefixed docker volumes (#2728) 2026-06-15 13:12:19 +07:00
yp 594635e5cf fix: script remove docker volume (#2686)
* move sudo docker volume rm -f

* fix: remove unnecessary function

---------

Co-authored-by: vkamn <vk@amnezia.org>
4.8.17.0
2026-06-04 22:58:39 +08:00
vkamn f9b106cf5b fix: various fixes (#2693)
* fix: fixed country model update

* fix: fixed context menu crush on ios

* fix: fixed passphrase dialog freeze

* fix: fixed country switch

* fix: fixed start minimized

* fix: fixed black screen after remove container

* refactor: return cloak and ss only for view

* fix: fixed default server change after improt while connected

* fix: divider visibility

* fix: fixed revoke admin user

* fix: fixed language restore after backup

* fix: link hover for tor settings page

* fix: fixed openvpn connecntion status

* fix: fixed free color status

* fix: fixed client config update

* chore: bump version
2026-06-04 22:45:53 +08:00
yp a9861d18b7 fix: wrong index on xray pages (#2669)
* test crash xray

* fixed save config xray

* reset file

* fixed text port & reset file

* fixed textFieldWithHeaderType.textField
4.8.16.0
2026-06-01 12:22:54 +08:00
lunardunno c14138f031 fix: deleting volumes when cleaning the server (#2673)
* Deleting volumes when cleaning the server

* force the remove volumes
2026-06-01 11:54:34 +08:00
yyy-amnezia 60686fde24 fix: link OpenVPNAdapter statically (#2645)
* fix(ios): link OpenVPNAdapter statically

* chore(conan): simplify openvpnadapter merge process and make everything via XCrun

---------

Co-authored-by: Yaroslav Gurov <ygurov@proton.me>
2026-05-30 13:59:35 +08:00
Yaroslav Gurov bd0747296e fix: networkextension proper framework linking (#2668) 2026-05-28 23:09:49 +08:00
Yaroslav Gurov ba61019a50 fix: enable bundled openssl for every platform except NE-based ones (#2660)
* fix: enable bundled openssl for every platform except NE-based ones

* fix(conan): trigger CI/CD on crutial cmake changes

* fix: install dylibs/dlls from conan and use proper RPATH

* fix: adjust windows runtime deps
2026-05-28 19:17:27 +08:00
vkamn 113f967006 fix: various fixes (#2664)
* fix: fixed nextAvailableServerName

* fix: fixed password request for ssh key
2026-05-28 15:14:04 +08:00
yp bcee58b08b feat: add captcha (#2508)
* test capcha

* add test AMNEZIA_GATEWAY_PLAINTEXT_MOCK

* ref

* remove first QNetworkReply::NoError

* fixed macros

* fixed http code

* add test server

* fix cmake

* add CAPTCHA refreshed

* fixed captcha

* update QML Captha

* fixed crash app & up vercion & fix qml captha

* ver 4.9.0.1

* remove m_gatewayCaptchaStickyBase & outEffectiveRequestBase

* reset code PR

* remove mock & temp var AMNEZIA_LOCAL_GATEWAY

* ref code & remove AMNEZIA_LOCAL_GATEWAY

* remove check httpStatusCode & error

* add 408 status code

* fix update captca

* remove fallback на transport

* chore: add loader after captcha solved

* chore: remove logs from api utils

* chore: minor fixes

---------

Co-authored-by: vkamn <vk@amnezia.org>
2026-05-28 13:51:26 +08:00