* feat: integrated xray as a library and added split-tunneling
* fix: added copying amnezia_xray.dll to build dir
* fix: changed path on darwin
* chore: clean up getting default device
* chore: removed WSAGetLastError from sockopt logging
* fix: get rid of debug logs in xray handlers
* fix: minor fixes and xray debugging capabilities
* fix: macos default interface fix
* fix: roll-back ipv6 sockopt for mac
* fix: bind IPv6 on Windows
* fix: (win) better IPv6 handling and router fixes
* feat: prebuilts uploaded
* fix: removed redundant cmake definitions
* feat: moved xray to service process, reworked errors
* fix: return values in networkUtilities
* fix: macos build fixes
* fix: (windows) cmake fixes
* fix: (windows) compilation fix
* fix: (windows) changed location of amnezia_xray.dll
* feat: xray logs added to system service
* chore: bump xray&tun2socks versions for android
* chore: cleanup of XrayProtocol class
* removed killswitch
* removed redundant members and basic cleanup
* feat: support split-tunneling in iOS and macOS NE
* chore: update active interface index based on network path and available interfaces
* refactor: update network path handling and logging in PacketTunnelProvider
* chore: bump xray deps
---------
Co-authored-by: Yaroslav Yashin <yaroslav.yashin@gmail.com>
* fix: app freeze on quit
* fix: typo in VpnConnection destructor
* add trace info
* add more trace info
* set timelimit for flushDns
* Refactor IpcClient::Interface access logic
* cleanup unused variable
* cleanup trace info
* fix: remove second disconnect from VPN on app close
* this object will be deleted at app close
* Don't terminate VPN thread on Linux
* Revert "Don't terminate VPN thread on Linux"
This reverts commit 20e4ea2d4a.
* disconnect all signals from vpnconnection on exit
* add interruption request on vpnConnectionThread
* use checktimer only for iOS
* disconnect all signals from vpnconnection on exit
* disconnect signals on exit before VPN disconnect
* add disconnectSlots method
* fix: add allow traffic rules on killswitch disable
* wait for response from service before object destroy
* change disconnect from vpn order
* add delay for connection close
* change disconnect method order
* use stop method for protocol disconnecect
* change disconnect method order
* allow dns traffic after app close
* delete tun on disconnect
---------
Co-authored-by: vkamn <vk@amnezia.org>
* Allow secondary DNS usage when AmneziaDNS is disabled
* Don't setup secondary DNS for OpenVPN with AmneziaDNS
---------
Co-authored-by: vladimir.kuznetsov <nethiuswork@gmail.com>
* Add allowed DNS list for killswitch
* Windows killswitch strict mode backend part
* Killswitch strict mode for Linux and MacOS
* Windows fixes
* feature: Add Kill Switch settings page with strict mode option
* fix windows build after merge
* Refresh killswitch mode when it toggled
* Use HLM to store strictMode flag
* Some Linux updates
* feat: Enhance VerticalRadioButton with improved styling and disabled states
* Refresh killSwitch state update
* Fix build
* refactor: Modularize header components
* Change kill switch radio button styling
* Fix strict kill switch mode handling
* Refactor: Replace HeaderType with new Types for headers in QML pages
* Remove deprecated HeaderType QML component
* Refresh strict mode killswitch after global toggle change
* Implement model, controller and UI for killswitch dns exceptions
* Connect backend part and UI
* Change label text to DNS exceptions
* Remove HeaderType from PageSettingsApiDevices
* Some pretty fixes
* Fix problem with definition sequence of PageSettingsKillSwitchExceptions.pml elements
* Add exclusion method for Windows firewall
* Change ubuntu version in deploy script
* Update ubuntu version in GH actions
* Add confirmation popup for strict killswitch mode
* Add qt standard path for build script
* Add method to killswitch for expanding strickt mode exceptions list and fix allowTrafficTo() for Windows. Also Added cache in KillSwitch class for exceptions
* Add insertion of gateway address to strict killswitch exceptions
* Review fixes
* buildfix and naming
---------
Co-authored-by: aiamnezia <ai@amnezia.org>
* cherry-pick 4dfcad96506fb5b88c5bb27342b6d9413fc361c9 from mozilla upstream
* cherry-pick a95fa8c088b9edaff2de18751336942c2d145a9a from mozilla
* cherry-pick commit 4fc1ebbad86a9abcafdc761725a7afd811c8d2d3 from mozilla
* cherry-pick 4dfcad96506fb5b88c5bb27342b6d9413fc361c9 from mozilla upstream
* cherry-pick 22de4fcbd454c64ff496c3380eeaeeb6afff4d64 from mozilla upstream
* cherry-pick 649673be561b66c96367adf379da1545f8838763 from mozilla upstream
* cherry-pick 41bdad34517d0ddaef32139482e5505d92e4b533 from mozilla upstream
* cherry-pick f6e49a85538eaa230d3a8634fa7600966132ccab from mozilla upstream
* cherry-pick 86c585387efa0a09c7937dfe799a90a666404fcd from mozilla upstream
* cherry-pick a18c1fac740469ca3566751b74a16227518630c4 from mozilla upstream
* fixed missing ;
* added excludeLocalNetworks() for linux
* build fixes on windows after cherry-picks
* Add rules for excluded sites splittunell mode
* Fix app splittunell when ipv6 is not setup
* Fix Linux build
---------
Co-authored-by: Mykola Baibuz <mykola.baibuz@gmail.com>
Affected functions (all on Linux/Mac):
- `RouterLinux::flushDns` was not reloading the DNS manager.
- `Utils::processIsRunning` was always saying that the process
is not running when `fullFlag` was set to `false`.
- `Utils::killProcessByName` was not killing anything.
* added open service logs to logs page
* redesign of log saving buttons
* hide service logs buttons for mobile platforms
* refactoring: moved logger to common folder
* feature: added the ability to enable logs to the start screen
* Add prebuilt submodule
* Remove Android native library
* Add links for Android prebuilt library
* Update OpenSSL to prebuilt binaries
* Setup links for prebuilt OpenSSL
* Set correct OpenSSL header dir
* Update prebuilt submodule
* Use static OpenSSL for linux build
* Use prebuilt binary from 3rd-prebuilt for Win installer
* Use prebuilt binary from 3rd-prebuilt for Linux installer
* Use prebuilt binary from 3rd-prebuilt for MacOS installer
* Use Android prebuilt openvpn libs
* Cleanup some unneeded code
* Add new maven repo for gradle-versions-plugin
* Use jitpack version of jsocks
* Fix some unnecessary header copy
* Fix issue with package name of original WG libs
* Change submodule path to https (3rd-prebuilt)
* Fix windows installer
* MacOS deploy fixes
* NetworkChange detection for OpenVPN protocol (#256)
* NetworkChange detection for OpenVPN protocol
* Update android native libs
* Always on VPN mode for OpenVPN, Cloak+OpenVPN
* Set foregroundService type
* Android 14 require to set foregroundServiceType
* Remove unused code and cleanup submodules
* Cleanup gradle build script
* Fix start button status
* Pull OpenSSL prebuilt for MacOS, iOS
* Update links for OpenSSL MacOS, iOS prebuilt
* Update OpenSSL binaries path
* Refactor some OpenSSL includes
* Update MacOS OpenVPN binary with statically linked dependency
* Use prebilt for LibSSH
* Android resources cleanup
* Set static runtime linux
* Use shared LibSSH for Android
* Update SS Android lib name
* Fix Linux install path and file permissions
* Feature/iOS GitHub actions (#265)
* Move Android cpp code to openvpn-pt-android repo
* Remove unused OpenVPN2 Android Libs
* Cleanup Gemfile
---------
Co-authored-by: Mazay B <pokamest@gmail.com>
* used a Qt6 ported version of SortFilterProxyModel
* used an updated Qt6 compatible version of QXZing
* added a flag to windows linker to avoid WinMain problem of MSVCRTD
* renamed utils.cpp to utilities.cpp for avoiding confusion with the same file name in SortFilterProxyModel