Compare commits

...

192 Commits

Author SHA1 Message Date
leetthewire 07c7fc66d3 created linux build 2021-07-05 20:47:46 +00:00
leetthewire f852ff6dff Fixed defined errors and refactor add_route for linux 2021-06-27 01:53:08 +00:00
leetthewire 148b1dacce fixed UI for linux
Signed-off-by: leetthewire <yaartjom@mail.ru>
2021-06-26 23:09:48 +00:00
leetthewire d17906c2a6 Service: Fixed bug with permanent addresses on interface (#20)
Windows Service: Fixed bug with permanent addresses on interface
2021-06-19 16:41:16 +03:00
pokamest b1f7baa79f Various bug fixes 2021-06-19 16:38:35 +03:00
pokamest 973cbd83d9 Update README.md 2021-06-18 23:19:44 +03:00
pokamest a599ed6e24 Update README.md 2021-06-18 23:19:07 +03:00
pokamest a1cbf8824f Readme fix 2021-06-18 19:18:50 +03:00
pokamest 52450ef2f5 Release 1.8 2021-06-17 01:04:09 +03:00
pokamest 69170940c9 Merge pull request #19 from amnezia-vpn/cloak_ss_2
ShadowSocks over cloak
2021-06-17 00:53:48 +03:00
pokamest e89caaee52 bump version 1.7.6 2021-06-17 00:51:15 +03:00
pokamest 0b3535ff13 hide wireguard settings 2021-06-16 22:40:34 +03:00
pokamest e7a22ad159 Export shadowsocks over cloak config support 2021-06-16 22:25:08 +03:00
pokamest 74a517d985 Windows server 2012 support 2021-06-16 22:24:33 +03:00
pokamest d57e56de70 Setup container more debugging 2021-06-16 22:24:13 +03:00
pokamest e2f8f77adf Revert "Added threads suspend, Edited suspendWcmSvc() func for Windows. Based on old SuspendProcess func."
This reverts commit 999087337e.
2021-06-16 20:09:49 +03:00
pokamest db543b62ba Macos build fix 2021-06-14 03:48:46 -07:00
Sike 999087337e Added threads suspend, Edited suspendWcmSvc() func for Windows. Based on old SuspendProcess func. 2021-06-14 02:34:21 +06:00
pokamest 6788f0b7eb Wireguard deploy files 2021-06-12 12:02:46 +03:00
pokamest 2f6fb0d557 Wireguard protocol + refactoring 2021-06-12 11:59:36 +03:00
pokamest 8bdfe1741a Win Routes fix 2021-06-10 17:58:28 +03:00
pokamest 739781ece3 Saving files before refreshing line endings 2021-06-06 17:27:58 +03:00
pokamest 7e74b95976 Readme updated 2021-06-06 16:25:22 +03:00
pokamest 531695bd0b Windows x32 deploy files added 2021-06-06 16:18:01 +03:00
pokamest dd959e7b26 Custom routing fixes 2021-06-05 20:55:57 +03:00
pokamest c4235a60c8 Macos fixes 2021-06-05 01:18:28 -07:00
pokamest f75456060f build fix 2021-06-03 10:42:58 -07:00
pokamest 623aae3718 Macos build fix 2021-06-03 10:34:28 -07:00
pokamest 974832f7d9 Tiny fix 2021-06-03 20:27:46 +03:00
pokamest d13df65bfb Tiny fixes 2021-06-03 20:23:44 +03:00
pokamest 80ada3f241 Travis fix 2021-06-03 00:29:51 +03:00
pokamest aad3677d45 Travis fix 2021-06-02 22:34:29 +03:00
pokamest 8892d3c5d9 Travis fix 2021-06-02 21:35:44 +03:00
pokamest da08bef2f9 Travis fix 2021-06-02 20:46:59 +03:00
pokamest d79483e967 Travis fix 2021-06-02 20:25:00 +03:00
pokamest 906391f786 Travis fix 2021-06-02 19:24:50 +03:00
pokamest 48a4aa399b Travis fix 2021-06-02 19:05:26 +03:00
pokamest a8dd319a9d Travis fix 2021-06-02 18:54:39 +03:00
pokamest 815686cba6 Travis fix 2021-06-02 18:41:08 +03:00
pokamest 7232a14926 Travis fix 2021-06-02 17:56:01 +03:00
pokamest dd526959eb easyrsa fix 2021-06-02 17:51:04 +03:00
pokamest fe6f89c551 travis fix 2021-06-02 01:32:25 +03:00
pokamest 16c754e004 Disable openvpn log append 2021-06-02 00:54:47 +03:00
pokamest 8792a8673a gitignore fix 2021-06-02 00:53:44 +03:00
pokamest 9376df8703 deploy fixes 2021-06-02 00:49:42 +03:00
pokamest 435ee58d40 Macos fix: routes delete 2021-06-01 08:45:26 -07:00
pokamest 9dbe15a0e3 custom sitet pre release 2021-06-01 18:18:09 +03:00
pokamest 34b97bdc24 Macos fixes for route functions 2021-05-27 15:01:15 -07:00
pokamest 6c74f30d79 Custom sites reimplemented 2021-05-27 22:18:36 +03:00
pokamest 97e918ae72 ui fixes 2021-05-22 16:14:26 +03:00
pokamest d0c66a693b macos deploy script fixes 2021-05-21 05:33:40 -07:00
pokamest 0ea085cc02 - Crash fix if service not connected
- import fix
- disabled share button for readonly server
2021-05-20 15:59:58 +03:00
pokamest 7fd13faa59 cloak stop() fixed 2021-05-19 00:26:36 +03:00
pokamest d4c0e519d9 ui fixes 2021-05-19 00:15:40 +03:00
pokamest 4ba964db47 win7 support fixes
wizard added
2021-05-18 15:50:52 +03:00
pokamest 45e5ec76dd Windows 7 tap support improved 2021-05-14 23:30:13 +03:00
pokamest df27003998 win build fix 2021-05-14 23:29:09 +03:00
pokamest 9002568474 Macos cached config fix 2021-05-14 04:27:30 -07:00
pokamest 5c5411261a macos dns setup fixed 2021-05-13 08:23:56 -07:00
pokamest acf878c8dd Macos route add reimplemented using system call 2021-05-13 08:20:38 -07:00
pokamest 491a09b175 macos autostart fix 2021-05-12 13:07:22 -07:00
pokamest 51f7e6811e macos ui fix 2021-05-12 02:49:36 -07:00
pokamest eee6b8b10f main.cpp default font removed 2021-05-11 12:15:33 -07:00
pokamest dc4a1c6eca macos fix 2021-05-11 09:36:43 -07:00
pokamest 02810ff844 bug fixes 2021-05-11 17:04:04 +03:00
pokamest 1bb2ef9e30 ui fixes 2021-05-10 20:51:38 +03:00
pokamest df2a6dc278 cloak for macos fixed 2021-05-10 05:25:20 -07:00
pokamest 835f767c3f import/export fixes 2021-05-10 14:19:36 +03:00
pokamest e3fb239de9 Config export 2021-05-10 02:33:31 +03:00
pokamest de67f244da Multiprotocol support 2021-05-07 23:28:37 +03:00
pokamest d424bb24cf refactoring
Protocol to DockerContainer
2021-04-26 23:19:19 +03:00
pokamest 615bba69e5 refactoring 2021-04-26 22:54:31 +03:00
pokamest 7bba7a9eab cygwin grep added 2021-04-20 02:11:14 +03:00
pokamest a5e9cea22f Release 1.6 WIP 2021-04-20 02:09:47 +03:00
pokamest f9affb083b Macos route delete fix 2021-04-19 14:34:47 +03:00
pokamest 85b6b06cc9 - no dockerhub
- trafic masking
2021-04-04 23:12:36 +03:00
pokamest 059c6404ab gitignore updated 2021-04-04 23:09:31 +03:00
pokamest 0d989a7fae meta version updated 2021-04-04 23:08:01 +03:00
pokamest 7dfc002316 cloak exe added 2021-04-04 23:06:54 +03:00
pokamest 8d8d392e84 cygwin updated to x64 2021-04-04 23:04:31 +03:00
pokamest c6e75d5f86 server script fixes 2021-03-25 23:26:59 +03:00
pokamest 99bfd56ef4 minor release 1.5.3 2021-03-19 15:03:44 +03:00
pokamest c2f6c7d939 route delete fixed (Windows) 2021-03-18 22:13:05 +03:00
pokamest d831d68e73 ShadowSocks protocol fixes:
- remote for OpenVPN is set to real ip address
- remote ip will be added as alias in docker container
- ss-local graceful shutdown
- crash fixes
2021-03-18 18:45:08 +03:00
pokamest 84e4b776ac openvpn target host is 10.8.0.1 via ss route 2021-03-17 03:47:33 +03:00
pokamest f9e1b2c6dc QR code lib added
ShadowSocks export
ui stylesheet fixes
ip:port regexp fixed
dns settings reset bug fixed
2021-03-17 03:45:38 +03:00
pokamest 54fca5bebc cygpcre-1.dll added 2021-03-16 22:15:27 +03:00
pokamest c5ce417d79 macos close button fix 2021-03-14 12:52:19 -07:00
pokamest 6765142ebc ssh key auth fix 2021-03-14 12:51:52 -07:00
pokamest ca898a6759 Ssh key auth support added
yum/apt install support
2021-03-14 21:19:11 +03:00
pokamest a2bb382652 ShadowSocks password - sha256 2021-03-13 14:16:24 +03:00
pokamest 02f966bc67 Win7 fix
Connection import fix
2021-03-13 13:56:52 +03:00
pokamest 65acdc8c09 readme added 2021-03-09 18:48:59 +03:00
pokamest 407ea77a9e ssh connection strict check disabled 2021-03-09 18:45:41 +03:00
pokamest 3e4a9f54a7 cygwin binaries added 2021-03-09 18:44:45 +03:00
pokamest 6b77bd5f13 Server install fix 2021-03-08 18:17:50 +03:00
pokamest fb6de25e5f Migrate to cygwin sh 2021-03-06 15:07:43 +03:00
pokamest ffbe5107e2 Secondary instance fix 2021-03-06 14:59:55 +03:00
pokamest 40a5b2e3f3 sites list ui fix 2021-02-25 23:11:46 +03:00
pokamest c683884868 sites list reimplement 2021-02-25 21:16:00 +03:00
pokamest 65961d8d2e vpnconnection.cpp crash fix
ss server sript fix
2021-02-25 18:05:42 +03:00
pokamest 7dc1f1e225 Utils ip address regexp 2021-02-25 18:03:24 +03:00
pokamest a47ab15aef mainwindow.ui fix 2021-02-25 01:06:02 +03:00
pokamest c74efdaa9b ui fix for macos 2021-02-24 13:41:32 -08:00
pokamest 39224c7bf7 SingleApplication 2021-02-24 13:38:23 -08:00
pokamest 96aa3d409d SingleApplication 2021-02-24 23:40:57 +03:00
pokamest c63990f720 Auto start
Auto connect
Dns settings
ui fixes
2021-02-24 21:58:32 +03:00
pokamest ad643bf76e new icon 2021-02-22 18:07:39 +03:00
pokamest c7ea4966fd minor fixes:
-build_windows.bat
-win build fix
-qdebug fix
2021-02-22 16:31:43 +03:00
pokamest 8fd81be477 ShadowSocks fixes for MacOS 2021-02-21 09:44:53 -08:00
pokamest a1cb4ac544 Custom routing done
ShadowSocks enabled by default
2021-02-18 15:00:41 +03:00
pokamest f91854594c Merge branch 'dev' into service_refact 2021-02-11 19:17:16 +03:00
pokamest f661ea1d46 Merge branch 'macos_build_fix' into dev 2021-02-10 10:44:37 -08:00
pokamest f50eea3eaf macos signing fixes 2021-02-10 06:57:26 -08:00
pokamest c15b57e690 windows travis fix 2021-02-10 00:07:12 +03:00
pokamest 5f7ef31345 win cert updated 2021-02-09 00:33:26 +03:00
pokamest 447410a27a Macos build fix (#6)
macos deploy fixes
2021-02-08 23:57:35 +03:00
pokamest 2aa9f9cca9 macos build fix 2021-02-08 12:42:48 -08:00
pokamest cba27d354d macos deploy fixes 2021-02-08 21:10:34 +03:00
pokamest b398f42ada ipc process fix 2021-02-03 20:05:50 +03:00
pokamest b6571d99de Qt ro refact 2021-02-03 15:42:36 +03:00
pokamest b2392c1943 Qt Remote objects done 2021-02-02 22:51:31 +03:00
pokamest 048a673d31 Qt remote objects IPC 2021-02-02 01:47:40 +03:00
pokamest c4df9c004b Merge branch 'dev' into service_refact 2021-01-30 15:03:01 +03:00
pokamest b9d4c53eb6 travis macos fix 2021-01-28 14:18:28 +03:00
pokamest 5fdeea0581 travis fix 2021-01-28 13:26:43 +03:00
pokamest e1cd764050 travis fix 2021-01-28 13:11:10 +03:00
pokamest 1e54379cc0 macos travis fix 2021-01-28 12:54:09 +03:00
pokamest ba3f69d206 travis fix 2021-01-27 01:44:32 +03:00
pokamest fcfd4181c7 merge fix 2021-01-27 01:32:36 +03:00
pokamest 9f6ec6d3e2 Merge branch 'master' into gitfix 2021-01-27 00:50:55 +03:00
pokamest 2e50aae603 macos deploy 2021-01-26 22:15:49 +03:00
pokamest 5a16a07b57 travis release 2021-01-26 22:00:58 +03:00
pokamest 953eca6695 Bug fixes:
- auto install tap
- share connectionState
- service crash fix
2021-01-26 15:01:15 +03:00
pokamest a50cdd5bc2 travis fix 2021-01-23 16:45:11 +03:00
pokamest 10eb65e545 travis fix 2021-01-23 16:28:06 +03:00
pokamest 5354344ba7 travis fix 2021-01-23 16:02:21 +03:00
pokamest c000a93eef travis fix 2021-01-23 15:13:46 +03:00
pokamest ef6bc5ae4a travis fix 2021-01-23 15:08:01 +03:00
pokamest 97c4564649 travis fix 2021-01-23 15:03:56 +03:00
pokamest 5bf31a8b50 travis fix 2021-01-23 01:09:27 +03:00
pokamest 18e0d7fb2c travis fix 2021-01-23 00:57:12 +03:00
pokamest ac454d9d78 Server scripts fix 2021-01-22 16:06:43 +03:00
pokamest 806677510f icon changed 2021-01-21 19:16:10 +03:00
pokamest 68e0ba9923 server scripts fix 2021-01-21 19:14:07 +03:00
pokamest 22b33a4f25 remote_obj 2021-01-20 23:07:23 +03:00
pokamest 77f830acd5 travis fix 2021-01-19 09:48:50 +03:00
pokamest eb3b090257 travis fix 2021-01-19 01:58:55 +03:00
pokamest 2e1c219093 travis fix 2021-01-19 01:54:42 +03:00
pokamest e38f69caf0 travis fix 2021-01-19 01:54:27 +03:00
pokamest 795f286923 travis fix 2021-01-19 01:45:47 +03:00
pokamest d62e5b51da travis fix 2021-01-19 01:44:17 +03:00
pokamest 96b267b1f7 travis fix 2021-01-19 01:31:59 +03:00
pokamest 568388367e travis fix 2021-01-19 01:18:23 +03:00
pokamest 5ca46edf33 travis fix 2021-01-19 01:15:05 +03:00
pokamest af41abd346 travis fix 2021-01-19 01:09:41 +03:00
pokamest 5edb61641c travis fix 2021-01-19 00:27:35 +03:00
pokamest af3b1caa87 travis fix 2021-01-18 22:30:32 +03:00
pokamest cc4a7b32b0 travis fix 2021-01-18 22:07:31 +03:00
pokamest dfd61f58d4 travis fix 2021-01-18 21:58:23 +03:00
pokamest 84a3c1f725 travis fix 2021-01-18 19:00:18 +03:00
pokamest 2419fa1a6e travis fix 2021-01-18 18:45:38 +03:00
pokamest 3b8ecd9e9d travis windows fix 2021-01-18 01:41:20 +03:00
pokamest 94ee4b76db travis fix 2021-01-18 01:18:22 +03:00
pokamest d43a1cd753 travis fix 2021-01-18 01:14:04 +03:00
pokamest 8bc6852b39 travis fix 2021-01-17 16:27:33 +03:00
pokamest 3850be08f1 travis fix 2021-01-17 16:22:05 +03:00
pokamest d72d1d56b1 travis fix 2021-01-17 16:15:52 +03:00
pokamest 2a4926843c travis fix 2021-01-17 14:14:26 +03:00
pokamest 1b357055a2 travis fix 2021-01-17 13:53:05 +03:00
pokamest 2d3d64e462 travis fix 2021-01-17 13:17:37 +03:00
pokamest aa648d4e12 travis scripts 2021-01-17 13:11:39 +03:00
pokamest bfa0ac4c34 Macos doc icon 2021-01-16 21:04:16 +03:00
pokamest c37ddd83d5 ui fix 2021-01-16 15:08:27 +03:00
pokamest 96bbc1cdbc ss fix 2021-01-15 23:37:34 +03:00
pokamest ec9ae0ef4f shadowsocks impl 2021-01-15 23:36:35 +03:00
pokamest 95cbb07cbb Merge branch 'dev' into ss/impl 2021-01-12 12:57:58 +03:00
pokamest 7b95d6a5fc ss files 2021-01-11 23:19:30 +03:00
driftingsun bea19a9461 Fix issue with easyrsa 2021-01-11 16:41:17 +03:00
pokamest ba686556d2 Merge branch 'dev' into ss/impl 2021-01-10 20:52:04 +03:00
pokamest 15dc6eaaf8 ss files 2021-01-10 20:37:57 +03:00
driftingsun 3369a387ce Fix crash on fatal error, remove moc files from Windows installation 2021-01-10 18:47:29 +03:00
michael dd46d8cf99 Fix some warnings, fix installation scripts (macOS) 2021-01-10 16:50:38 +03:00
pokamest 0b8c8835c4 new server page fix 2021-01-09 20:05:16 +03:00
pokamest 441811e277 Refactoring
Ui improvements
Bug fixes
2021-01-09 19:55:16 +03:00
pokamest 3645735053 easyrsa scripts for MacOS 2021-01-08 18:10:52 +03:00
pokamest 416d597847 MacOS deploy script fix 2021-01-08 18:08:20 +03:00
pokamest 861c71e3a8 OpenVpn runtime error codes handling 2021-01-08 16:51:58 +03:00
pokamest f45fb442de Scripts fix for macos 2021-01-08 15:43:45 +03:00
pokamest 82241701a9 deploy fix 2021-01-08 00:34:15 +03:00
pokamest bfdbe27a8d Openvpn scripts fixes
some refactoring
2021-01-07 20:53:42 +03:00
pokamest c7dafe9c00 Crash fix in management server 2021-01-07 19:10:24 +03:00
524 changed files with 26032 additions and 3888 deletions
+5 -1
View File
@@ -3,8 +3,11 @@
macOSPackage/
AmneziaVPN.dmg
AmneziaVPN.exe
AmneziaVPN_*.exe
deploy/build/*
winbuild.bat
deploy/build_32/*
deploy/build_64/*
winbuild*.bat
# Qt-es
/.qmake.cache
@@ -35,6 +38,7 @@ CMakeLists.txt.user*
.DS_Store
._.DS_Store
._*
*.dmg
# tmp files
*.*~
+102 -32
View File
@@ -10,58 +10,128 @@ jobs:
include:
- name: MacOS
os: osx
osx_image: xcode12.2
osx_image: xcode12.5
env:
- QT_VERSION=5.15.2
- QIF_VERSION=4.1
- QT_BIN_DIR=$HOME/Qt/$QT_VERSION/clang_64/bin
- QIF_BIN_DIR=$QT_BIN_DIR/../../../Tools/QtInstallerFramework/$QIF_VERSION/bin
script:
- |
if [ ! -f $HOME/Qt/5.14.2/clang_64/bin/qmake ]; then \
if [ ! -f $HOME/Qt/$QT_VERSION/clang_64/bin/qmake ]; then \
brew install p7zip && \
pip3 install aqtinstall requests py7zr && \
python3 -m aqt install --outputdir $HOME/Qt 5.14.2 mac desktop clang_64 -m qtbase && \
python3 -m aqt tool --outputdir $HOME/Qt mac tools_ifw 4.0.1 qt.tools.ifw.40;
python3 -m pip install --upgrade pip && \
pip install -U aqtinstall requests py7zr && \
pip show aqtinstall && \
python3 -m aqt install --outputdir $HOME/Qt $QT_VERSION mac desktop clang_64 -m qtbase && \
python3 -m aqt tool --outputdir $HOME/Qt mac tools_ifw $QIF_VERSION qt.tools.ifw.${QIF_VERSION/./};
fi
- bash deploy/build_macos.sh
- name: Windows
- bash deploy/build_macos.sh
deploy:
provider: releases
token: $GH_TOKEN
skip_cleanup: true
file:
- "AmneziaVPN_unsigned.dmg"
on:
tags: true
branch: master
- name: Windows_x64
os: windows
env:
- PATH=/c/Python39:/c/Python39/Scripts:$PATH
- QT_VERSION=5.14.2
- QIF_VERSION=4.1
- QT_BIN_DIR="c:\\Qt\\$QT_VERSION\\msvc2017_64\\bin"
- QIF_BIN_DIR="c:\\Qt\\Tools\\QtInstallerFramework\\${QIF_VERSION}\\bin"
- BUILD_ARCH=64
before_install:
- if [ ! -f /C/Qt/5.14.2/msvc2017/bin/qmake ]; then choco install python --version 3.9.1; fi
- if [ ! -f /C/Qt/$QT_VERSION/msvc2017_64/bin/qmake ]; then choco install python --version 3.9.1; fi
script:
- dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build"
- dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools"
- |
if [ ! -f /C/Qt/5.14.2/msvc2017/bin/qmake ]; then \
pip3 install aqtinstall requests py7zr && \
python -m aqt install --outputdir /C/Qt 5.14.2 windows desktop win32_msvc2017 -m qtbase && \
python -m aqt tool --outputdir /C/Qt windows tools_ifw 4.0.1 qt.tools.ifw.40; \
if [ ! -f /C/Qt/$QT_VERSION/msvc2017_64/bin/qmake ]; then \
python -m pip install --upgrade pip && \
pip3 install -U aqtinstall requests py7zr && \
pip3 show aqtinstall && \
python -m aqt install --outputdir /C/Qt $QT_VERSION windows desktop win64_msvc2017_64 -m qtbase && \
python -m aqt tool --outputdir /C/Qt windows tools_ifw $QIF_VERSION qt.tools.ifw.${QIF_VERSION/./}; \
fi
- echo 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools\VsDevCmd.bat"' > winbuild.bat
- echo -e "\r\n" >> winbuild.bat
- echo 'call "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build\vcvarsamd64_x86.bat"' >> winbuild.bat
- echo -e "\r\n" >> winbuild.bat
- echo -e "deploy\\\build_windows.bat" >> winbuild.bat
- cat winbuild.bat
- echo set BUILD_ARCH=$BUILD_ARCH > winbuild.bat
- echo set QT_BIN_DIR="$QT_BIN_DIR" >> winbuild.bat
- echo set QIF_BIN_DIR="$QIF_BIN_DIR" >> winbuild.bat
- echo call \""C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Auxiliary\\Build\\vcvars${BUILD_ARCH}.bat\"" >> winbuild.bat
- echo call \""C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\Common7\\Tools\\VsDevCmd.bat\" -arch=amd64" >> winbuild.bat
- echo set WIN_CERT_PW=$WIN_CERT_PW >> winbuild.bat
- echo call deploy\\build_windows.bat >> winbuild.bat
- cmd //c winbuild.bat
deploy:
provider: releases
token: $GH_TOKEN
skip_cleanup: true
file:
- "AmneziaVPN_x64.exe"
on:
tags: true
branch: master
- name: Windows_x32
os: windows
env:
- PATH=/c/Python39:/c/Python39/Scripts:$PATH
- QT_VERSION=5.14.2
- QIF_VERSION=4.1
- QT_BIN_DIR="c:\\Qt\\${QT_VERSION}\\msvc2017\\bin"
- QIF_BIN_DIR="c:\\Qt\\Tools\\QtInstallerFramework\\${QIF_VERSION}\\bin"
- BUILD_ARCH=32
before_install:
- if [ ! -f /C/Qt/$QT_VERSION/msvc2017/bin/qmake ]; then choco install python --version 3.9.1; fi
script:
- dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\VC\Auxiliary\Build"
- dir "C:\Program Files (x86)\Microsoft Visual Studio\2017\BuildTools\Common7\Tools"
- |
if [ ! -f /C/Qt/$QT_VERSION/msvc2017/bin/qmake ]; then \
python -m pip install --upgrade pip && \
pip3 install -U aqtinstall requests py7zr && \
pip3 show aqtinstall && \
python -m aqt install --outputdir /C/Qt $QT_VERSION windows desktop win32_msvc2017 -m qtbase && \
python -m aqt tool --outputdir /C/Qt windows tools_ifw $QIF_VERSION qt.tools.ifw.${QIF_VERSION/./}; \
fi
- echo call \""C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\Common7\\Tools\\VsDevCmd.bat\"" > winbuild.bat
- echo set BUILD_ARCH=$BUILD_ARCH >> winbuild.bat
- echo set QT_BIN_DIR="$QT_BIN_DIR" >> winbuild.bat
- echo set QIF_BIN_DIR="$QIF_BIN_DIR" >> winbuild.bat
- echo call \""C:\\Program Files (x86)\\Microsoft Visual Studio\\2017\\BuildTools\\VC\\Auxiliary\\Build\\vcvars${BUILD_ARCH}.bat\"" >> winbuild.bat
- echo set WIN_CERT_PW=$WIN_CERT_PW >> winbuild.bat
- echo call deploy\\build_windows.bat >> winbuild.bat
- cmd //c winbuild.bat
deploy:
provider: releases
token: $GH_TOKEN
skip_cleanup: true
file:
- "AmneziaVPN_x32.exe"
on:
tags: true
branch: master
deploy:
provider: releases
api_key: $GH_TOKEN
file:
- "AmneziaVPN.exe"
- "AmneziaVPN.dmg"
skip_cleanup: true
on:
tags: true
branch: master
before_cache:
- if [ "${TRAVIS_OS_NAME}" = "osx" ]; then brew cleanup; fi
# Cache only .git files under "/usr/local/Homebrew" so "brew update" does not take 5min every build
@@ -71,4 +141,4 @@ cache:
directories:
- $HOME/Qt
- /C/Qt
- $HOME/Library/Caches/Homebrew
- $HOME/Library/Caches/Homebrew
Regular → Executable
+1
View File
@@ -1,2 +1,3 @@
TEMPLATE = subdirs
SUBDIRS = client service platform
Regular → Executable
View File
Regular → Executable
+49 -1
View File
@@ -1,2 +1,50 @@
# Amnezia
# Amnezia VPN
## _The best client for self-hosted VPN_
[![Build Status](https://travis-ci.com/amnezia-vpn/desktop-client.svg?branch=master)](https://travis-ci.com/amnezia-vpn/desktop-client)
Amnezia is a VPN client with the key feature of deploying your own VPN server on you virtual server.
## Features
- Very easy to use - enter your ip address, ssh login and password, and Amnezia client will automatically install VPN docker containers to your server and connect to VPN.
- OpenVPN and OpenVPN over ShadowSocks protocols support.
- Custom VPN routing mode support - add any sites to client to enable VPN only for them.
- Windows and MacOS support.
- Unsecure sharing connection profile for family use.
## Tech
AmneziaVPN uses a number of open source projects to work:
- [OpenSSL](https://www.openssl.org/)
- [OpenVPN](https://openvpn.net/)
- [ShadowSocks](https://shadowsocks.org/)
- [Qt](https://www.qt.io/)
- [EasyRSA](https://github.com/OpenVPN/easy-rsa) - part of OpenVPN
- [CygWin](https://www.cygwin.com/) - only for Windiws, used for launching EasyRSA scripts
- [QtSsh](https://github.com/jaredtao/QtSsh) - forked form Qt Creator
- and more...
## Development
Want to contribute? Welcome!
### Building sources and deployment
Easiest way to build your own executables - is to fork project and configure [Travis CI](https://travis-ci.com/)
Or you can build sources manually using Qt Creator. Qt >= 14.2 supported.
Look to the `build_macos.sh` and `build_windows.bat` scripts in `deploy` folder for details.
## License
GPL v.3
## Contacts
[https://t.me/amnezia_vpn_en](https://t.me/amnezia_vpn_en) - Telegram support channel (English)
[https://t.me/amnezia_vpn](https://t.me/amnezia_vpn) - Telegram support channel (Russian)
[https://signal.group/...](https://signal.group/#CjQKIB2gUf8QH_IXnOJMGQWMDjYz9cNfmRQipGWLFiIgc4MwEhAKBONrSiWHvoUFbbD0xwdh) - Signal channel
[https://amnezia.org](https://amnezia.org) - project website
## Donate
Bitcoin: bc1qn9rhsffuxwnhcuuu4qzrwp4upkrq94xnh8r26u
XMR: 48spms39jt1L2L5vyw2RQW6CXD6odUd4jFu19GZcDyKKQV9U88wsJVjSbL4CfRys37jVMdoaWVPSvezCQPhHXUW5UKLqUp3
payeer.com: P2561305
ko-fi.com: [https://ko-fi.com/amnezia_vpn](https://ko-fi.com/amnezia_vpn)
File diff suppressed because it is too large Load Diff
+129
View File
@@ -0,0 +1,129 @@
#if !defined(AFX_QR_ENCODE_H__AC886DF7_C0AE_4C9F_AC7A_FCDA8CB1DD37__INCLUDED_)
#define AFX_QR_ENCODE_H__AC886DF7_C0AE_4C9F_AC7A_FCDA8CB1DD37__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
//
#define QR_LEVEL_L 0
#define QR_LEVEL_M 1
#define QR_LEVEL_Q 2
#define QR_LEVEL_H 3
//
#define QR_MODE_NUMERAL 0
#define QR_MODE_ALPHABET 1
#define QR_MODE_8BIT 2
#define QR_MODE_KANJI 3
//
#define QR_VRESION_S 0
#define QR_VRESION_M 1
#define QR_VRESION_L 2
#define MAX_ALLCODEWORD 3706
#define MAX_DATACODEWORD 2956
#define MAX_CODEBLOCK 153
#define MAX_MODULESIZE 177
#define QR_MARGIN 0
/////////////////////////////////////////////////////////////////////////////
typedef struct tagRS_BLOCKINFO
{
int ncRSBlock;
int ncAllCodeWord;
int ncDataCodeWord;
} RS_BLOCKINFO, *LPRS_BLOCKINFO;
/////////////////////////////////////////////////////////////////////////////
typedef struct tagQR_VERSIONINFO
{
int nVersionNo;
int ncAllCodeWord;
int ncDataCodeWord[4];
int ncAlignPoint;
int nAlignPoint[6];
RS_BLOCKINFO RS_BlockInfo1[4];
RS_BLOCKINFO RS_BlockInfo2[4];
} QR_VERSIONINFO, *LPQR_VERSIONINFO;
/////////////////////////////////////////////////////////////////////////////
class CQR_Encode
{
public:
CQR_Encode();
~CQR_Encode();
public:
int m_nLevel;
int m_nVersion;
bool m_bAutoExtent;
int m_nMaskingNo;
public:
int m_nSymbleSize;
unsigned char m_byModuleData[MAX_MODULESIZE][MAX_MODULESIZE]; // [x][y]
private:
int m_ncDataCodeWordBit;
unsigned char m_byDataCodeWord[MAX_DATACODEWORD];
int m_ncDataBlock;
unsigned char m_byBlockMode[MAX_DATACODEWORD];
int m_nBlockLength[MAX_DATACODEWORD];
int m_ncAllCodeWord;
unsigned char m_byAllCodeWord[MAX_ALLCODEWORD];
unsigned char m_byRSWork[MAX_CODEBLOCK];
public:
bool EncodeData(int nLevel, int nVersion, bool bAutoExtent, int nMaskingNo, char* lpsSource, int ncSource = 0);
private:
int GetEncodeVersion(int nVersion, char* lpsSource, int ncLength);
bool EncodeSourceData(char* lpsSource, int ncLength, int nVerGroup);
int GetBitLength(unsigned char nMode, int ncData, int nVerGroup);
int SetBitStream(int nIndex, unsigned short wData, int ncData);
bool IsNumeralData(unsigned char c);
bool IsAlphabetData(unsigned char c);
bool IsKanjiData(unsigned char c1, unsigned char c2);
unsigned char AlphabetToBinaly(unsigned char c);
unsigned short KanjiToBinaly(unsigned short wc);
void GetRSCodeWord(unsigned char * lpbyRSWork, int ncDataCodeWord, int ncRSCodeWord);
private:
void FormatModule();
void SetFunctionModule();
void SetFinderPattern(int x, int y);
void SetAlignmentPattern(int x, int y);
void SetVersionPattern();
void SetCodeWordPattern();
void SetMaskingPattern(int nPatternNo);
void SetFormatInfoPattern(int nPatternNo);
int CountPenalty();
};
/////////////////////////////////////////////////////////////////////////////
#endif // !defined(AFX_QR_ENCODE_H__AC886DF7_C0AE_4C9F_AC7A_FCDA8CB1DD37__INCLUDED_)
+5
View File
@@ -0,0 +1,5 @@
HEADERS += \
3rd/QRCodeGenerator/QRCodeGenerator.h \
SOURCES += \
3rd/QRCodeGenerator/QRCodeGenerator.cpp \
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
Regular → Executable
View File
Regular → Executable
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
+6 -4
View File
@@ -823,11 +823,13 @@ void SshConnectionPrivate::createPrivateKey()
if (m_connParams.privateKeyFile.isEmpty())
throw SshClientException(SshKeyFileError, tr("No private key file given."));
QFile keyFile(m_connParams.privateKeyFile);
if (!keyFile.open(QIODevice::ReadOnly)) {
throw SshClientException(SshKeyFileError,
tr("Private key file error: %1").arg(keyFile.errorString()));
if (keyFile.open(QIODevice::ReadOnly)) {
m_sendFacility.createAuthenticationKey(keyFile.readAll());
}
else {
m_sendFacility.createAuthenticationKey(m_connParams.privateKeyFile.toUtf8());
}
m_sendFacility.createAuthenticationKey(keyFile.readAll());
}
QSharedPointer<SshRemoteProcess> SshConnectionPrivate::createRemoteProcess(const QByteArray &command)
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
+1 -1
View File
@@ -43,7 +43,7 @@ SshKeyCreationDialog::SshKeyCreationDialog(QWidget *parent)
{
m_ui->setupUi(this);
// Not using Utils::PathChooser::browseButtonLabel to avoid dependency
#ifdef Q_OS_MAC
#ifdef Q_OS_MAC || defined(Q_OS_LINUX)
m_ui->privateKeyFileButton->setText(tr("Choose..."));
#else
m_ui->privateKeyFileButton->setText(tr("Browse..."));
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File
View File

Some files were not shown because too many files have changed in this diff Show More