Commit Graph

2912 Commits

Author SHA1 Message Date
cd-amn 11faa24b10 feat: seamless WG switch on Windows for shared client IPs 2026-06-01 16:18:55 +04:00
cd-amn cf48ca5e07 feat: per-tunnel Windows firewall for seamless WG switch 2026-06-01 16:18:55 +04:00
cd-amn a2b5aee6e2 refactor: route Windows WG killswitch through TrafficGuard 2026-06-01 16:18:55 +04:00
cd-amn 1958daaf4e feat: per-tunnel ifname for WG service, UAPI pipe, and SCM for Windows 2026-06-01 16:18:55 +04:00
cd-amn 43290bbf99 fix: revert API country selection on server switch failure 2026-06-01 16:18:53 +04:00
cd-amn 0b51ff281a fix: traffic drops for killswitch blacklisted sites during the switch 2026-06-01 16:16:20 +04:00
cd-amn fbd86181cd refactor: move routing/KS/DNS lifecycle from Daemon to TrafficGuard 2026-06-01 16:16:20 +04:00
cd-amn cfd435ebe4 refactor: internalize AMNEZIA_DESKTOP guard in appendKillSwitchConfig 2026-06-01 16:16:19 +04:00
cd-amn 3253cb5301 chore: remove unused VpnConnection::m_routeMode field 2026-06-01 16:16:19 +04:00
cd-amn 7b5440c32e fix: remove duplicate routeAddList in setupRoutes 2026-06-01 16:16:19 +04:00
cd-amn 542fc9d4ae feat: drive WG via Tunnel coordinator for seamless server switch 2026-06-01 16:16:19 +04:00
cd-amn 78381d7f22 feat: introduce Tunnel wrapping VpnProtocol with two-phase lifecycle 2026-06-01 16:16:19 +04:00
cd-amn a1079d3746 refactor: thread interface name through LocalSocketController 2026-06-01 16:16:19 +04:00
cd-amn b47f9e8c85 feat: split daemon activation into bare bring-up and setPrimary 2026-06-01 16:16:19 +04:00
cd-amn 82a18bd48b refactor: own killswitch teardown at daemon level 2026-06-01 16:16:19 +04:00
cd-amn 155d8dc2e6 refactor: cache physical gateway and use kernel-assigned netlink pid 2026-06-01 16:16:19 +04:00
cd-amn 106a702c2a feat: enable base Daemon to create and swap WireguardUtils without knowing platform type 2026-06-01 16:16:19 +04:00
cd-amn f92ecd1372 feat: use per-tunnel ifname instead of hardcoded WG_INTERFACE in platform helpers 2026-06-01 16:16:19 +04:00
cd-amn 51f49fd582 feat: decouple TUN name from XrayProtocol to support dual tunnels 2026-06-01 16:16:19 +04:00
cd-amn 8ae38ff11f feat: let callers specify WireGuard interface name per tunnel 2026-06-01 16:16:19 +04:00
cd-amn dfe2965aea feat: revoke old endpoint from KS allowlist after server switch 2026-06-01 16:16:19 +04:00
cd-amn 3a133ad6b5 feat: killswitch/routing teardown only on explicit protocol stop 2026-06-01 16:16:19 +04:00
cd-amn 02bfeddeea fix: deleteRoutePrefix incorrectly called insertRoute for specific prefixes 2026-06-01 16:16:19 +04:00
NickVs2015 80ec10f6a1 fix: NM down/up reconnection problem 2026-06-01 16:16:19 +04:00
cd-amn e02f7135e8 fix: add missing Qt includes to updateController 2026-06-01 16:16:19 +04:00
cd-amn 3a8657c42e feat: decouple routing/killswitch from protocol handling 2026-06-01 16:16:19 +04: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
MrMirDan 52de1acebf refactoring: move tests to separate repo (#2550)
* fix: AUTOMOC and AUTOUIC added

* update: native exports test

* update: export test

* update: vless serialization/deserialization test added

* update: language model and controller test

* update: sites UiController and Model test

* update: sites test

* update: app ui model and controller test

* update: allowed dns ui model and controller test

* update: env vars and removed some lines

* update: news ui model and controller test (incomplete)

* update: api services ui model and controller test (incompleted)

* update: job for tests (Linux)

* update: job for tests (Windows)

* update: proper artifact names

* update: added envs

* update: added 'get sources' and changed steps order

* update: tests jobs remake

* update: 'get sources' step and windows shell

* update: using ctest

* search for exe files

* changed path to run tests

* update: 'Build' step

* update: changed path to deploy qt dependencies

* update: dependencies only for tests executables

* update: ctest dir

* update: include ctest

* update: set dir for tests exe

* update: qt path

* update: serialization test

* update: removed api tests from cmake

* update: changed tests dir

* added ctest to client cmake

* update: installing msvc and additional checks

* removed mcvs install

* update: path to ssh.dll

* fixed issue with ssh path

* update: removed unneccessary step and line

* update: linux job step 'Run tests'

* update: linux 'Install dependencies'

* update: modified qtest include

* update: changed QVERIFY to QVERIFY2

* update: some qverify2 messages

* update: linux additional dependencies

* update: offscreen for linux tests

* update: MacOS tests job

* update: Android tests job

* update: rewrited env's, qtest include and clear clients in some tests

* update: added local vars file for tests

* proper path for some vars

* some fixes due merge

* update: windows tests deploy

* python and conan installation to tests jobs

* chore: minor fixes after merge with dev

* chore: move selfhosted admin tests to separate folder

* refactor: some rename

* chore: fixes after merge

* refactor: moved tests to separate repo

* refactor: remove tests from core controller

* chore: add more protected getters to core controller

* chore: add more protected getters

* chore: remove ctest

* chore: return xray model default values

---------

Co-authored-by: vkamn <vk@amnezia.org>
2026-05-28 12:31:27 +08:00
yp 027a12a1df fix: extended VLESS configuration (#2643)
* fixed vless

* fixed default var

* fixed save button

* remove comment

* fix: fixed header link in xray settings page

---------

Co-authored-by: vkamn <vk@amnezia.org>
2026-05-28 12:21:46 +08:00
yp 0a659a2d74 fix: various fixes for MTProxy & Telemt (#2653)
* fix color & fix enabled

* fixed remove base secret

* fix mtproxy/telemt 'base secret'

* fixed button back

* fixed loader

* fixed reload loader

* fixed dd secret

* fixed qml

* fix: fixed header link in mtproxy/telemt page

---------

Co-authored-by: vkamn <vk@amnezia.org>
2026-05-28 11:46:26 +08:00
vkamn 6f119cd083 fix: various fixes (#2662)
* fix: fixed dns processing

* fix: fixed proceesed index/id selection

* refactor: stop using the server index as state

* fix: fixed autostart and start minimized

* fix: fixed typo

* fix: add socks5 extractConfigFromContainer

* fix: remove unused currentContainerUpdated

* fix: fixed clear cached profile order
2026-05-28 10:57:08 +08:00
Yaroslav Gurov 1753aed3fc fix: use shared openssl on Android (#2657)
* feat(conan): clone openssl and patch it for Android

* fix(conan): build shared libssl for Android
2026-05-26 21:59:47 +08:00
Yaroslav Gurov c714d98bd1 chore: extend prebuilts support for MacOS NE by clang 21+ (#2633)
* chore: extend prebuilts support for MacOS NE by clang 21+

* chore: trigger prebuilts on workflow file changes
2026-05-25 22:05:56 +08:00
vkamn 4787f3915b chore: defines for update controller (#2634) 2026-05-21 20:40:04 +08:00
Yaroslav Gurov 7a383116b2 fix: force os.sdk to empty on Darwin (#2632) 2026-05-21 18:56:53 +08:00
Yaroslav Gurov d3de5f0f48 fix(conan): openvpn support in MSVC+Ninja setup (#2616) 2026-05-21 18:09:52 +08:00
vkamn 8749d683e3 chore: minor fixes (#2630) 2026-05-21 11:38:41 +08:00
vkamn 9de9d082bc chore: bump version (#2629) 2026-05-21 10:41:25 +08:00
Yaroslav Gurov a4233fef41 fix: add ssh init and finalize for statically-linked libssh (#2627) 2026-05-21 10:19:08 +08:00
Yaroslav Gurov 4890dd1d74 chore: compare changes against base branch of the PR (#2626) 2026-05-20 21:26:41 +08:00
Yaroslav Gurov 564630827e сhore: apple ci cd macos versions (#2625)
* chore(ci/cd): use macos-26 for xcode>26.4

* chore(ci/cd): bump conan version

* chore(conan): remove redundant VirtualBuildEnv
2026-05-20 21:19:56 +08:00
Yaroslav Gurov fbe15d965b chore: bump apple hev-socks5-tunnel dep (#2624)
* chore(conan): bump hev-socks5-tunnel

* chore(conan): bump xcode-versions

* chore(conan): upload prebuilts only in case of pushing to dev
2026-05-20 20:31:35 +08:00
vkamn b29515c380 chore: rename artifacts (#2622) 2026-05-20 19:07:30 +08:00
vkamn 0658a8f565 revert: regional country codes UI (#2567) (#2621) 2026-05-20 13:55:28 +08:00