From 07c7fc66d3ad1ca3758cc03e8fe5976a3602b2a2 Mon Sep 17 00:00:00 2001 From: leetthewire Date: Mon, 5 Jul 2021 20:46:41 +0000 Subject: [PATCH] created linux build --- AmneziaVPN.pro | 0 LICENSE | 0 README.md | 0 .../3rd/QRCodeGenerator/QRCodeGenerator.cpp | 0 client/3rd/QRCodeGenerator/QRCodeGenerator.h | 0 .../3rd/QRCodeGenerator/QRCodeGenerator.pri | 0 client/3rd/QtSsh/.gitignore | 0 client/3rd/QtSsh/.qmake.conf | 0 client/3rd/QtSsh/QtSsh.pro | 0 client/3rd/QtSsh/README.md | 0 client/3rd/QtSsh/examples/examples.pro | 0 client/3rd/QtSsh/examples/gitlab/Qml.qrc | 0 client/3rd/QtSsh/examples/gitlab/Qml/Main.qml | 0 client/3rd/QtSsh/examples/gitlab/Src/Main.cpp | 0 client/3rd/QtSsh/examples/gitlab/Src/Ssh.cpp | 0 client/3rd/QtSsh/examples/gitlab/Src/Ssh.hpp | 0 client/3rd/QtSsh/examples/gitlab/gitlab.pro | 0 client/3rd/QtSsh/src/botan/botan.cpp | 0 client/3rd/QtSsh/src/botan/botan.h | 0 client/3rd/QtSsh/src/botan/botan.pri | 0 client/3rd/QtSsh/src/botan/configure.py | 0 client/3rd/QtSsh/src/botan/doc/license.txt | 0 client/3rd/QtSsh/src/botan/readme.txt | 0 client/3rd/QtSsh/src/src.pro | 0 client/3rd/QtSsh/src/ssh/sftpchannel.cpp | 0 client/3rd/QtSsh/src/ssh/sftpchannel.h | 0 client/3rd/QtSsh/src/ssh/sftpchannel_p.h | 0 client/3rd/QtSsh/src/ssh/sftpdefs.cpp | 0 client/3rd/QtSsh/src/ssh/sftpdefs.h | 0 .../3rd/QtSsh/src/ssh/sftpfilesystemmodel.cpp | 0 .../3rd/QtSsh/src/ssh/sftpfilesystemmodel.h | 0 .../3rd/QtSsh/src/ssh/sftpincomingpacket.cpp | 0 .../3rd/QtSsh/src/ssh/sftpincomingpacket_p.h | 0 client/3rd/QtSsh/src/ssh/sftpoperation.cpp | 0 client/3rd/QtSsh/src/ssh/sftpoperation_p.h | 0 .../3rd/QtSsh/src/ssh/sftpoutgoingpacket.cpp | 0 .../3rd/QtSsh/src/ssh/sftpoutgoingpacket_p.h | 0 client/3rd/QtSsh/src/ssh/sftppacket.cpp | 0 client/3rd/QtSsh/src/ssh/sftppacket_p.h | 0 client/3rd/QtSsh/src/ssh/ssh.pri | 0 client/3rd/QtSsh/src/ssh/ssh.pro | 0 client/3rd/QtSsh/src/ssh/ssh_dependencies.pri | 0 client/3rd/QtSsh/src/ssh/ssh_global.h | 0 .../3rd/QtSsh/src/ssh/sshbotanconversions_p.h | 0 client/3rd/QtSsh/src/ssh/sshcapabilities.cpp | 0 client/3rd/QtSsh/src/ssh/sshcapabilities_p.h | 0 client/3rd/QtSsh/src/ssh/sshchannel.cpp | 0 client/3rd/QtSsh/src/ssh/sshchannel_p.h | 0 .../3rd/QtSsh/src/ssh/sshchannelmanager.cpp | 0 .../3rd/QtSsh/src/ssh/sshchannelmanager_p.h | 0 client/3rd/QtSsh/src/ssh/sshconnection.cpp | 0 client/3rd/QtSsh/src/ssh/sshconnection.h | 0 client/3rd/QtSsh/src/ssh/sshconnection_p.h | 0 .../QtSsh/src/ssh/sshconnectionmanager.cpp | 0 .../3rd/QtSsh/src/ssh/sshconnectionmanager.h | 0 .../3rd/QtSsh/src/ssh/sshcryptofacility.cpp | 0 .../3rd/QtSsh/src/ssh/sshcryptofacility_p.h | 0 .../QtSsh/src/ssh/sshdirecttcpiptunnel.cpp | 0 .../3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.h | 0 .../QtSsh/src/ssh/sshdirecttcpiptunnel_p.h | 0 client/3rd/QtSsh/src/ssh/ssherrors.h | 0 client/3rd/QtSsh/src/ssh/sshexception_p.h | 0 .../QtSsh/src/ssh/sshforwardedtcpiptunnel.cpp | 0 .../QtSsh/src/ssh/sshforwardedtcpiptunnel.h | 0 .../QtSsh/src/ssh/sshforwardedtcpiptunnel_p.h | 0 .../3rd/QtSsh/src/ssh/sshhostkeydatabase.cpp | 0 client/3rd/QtSsh/src/ssh/sshhostkeydatabase.h | 0 .../3rd/QtSsh/src/ssh/sshincomingpacket.cpp | 0 .../3rd/QtSsh/src/ssh/sshincomingpacket_p.h | 0 client/3rd/QtSsh/src/ssh/sshinit.cpp | 0 client/3rd/QtSsh/src/ssh/sshinit_p.h | 0 .../QtSsh/src/ssh/sshkeycreationdialog.cpp | 0 .../3rd/QtSsh/src/ssh/sshkeycreationdialog.h | 0 .../3rd/QtSsh/src/ssh/sshkeycreationdialog.ui | 0 client/3rd/QtSsh/src/ssh/sshkeyexchange.cpp | 0 client/3rd/QtSsh/src/ssh/sshkeyexchange_p.h | 0 client/3rd/QtSsh/src/ssh/sshkeygenerator.cpp | 0 client/3rd/QtSsh/src/ssh/sshkeygenerator.h | 0 .../QtSsh/src/ssh/sshkeypasswordretriever.cpp | 0 .../QtSsh/src/ssh/sshkeypasswordretriever_p.h | 0 client/3rd/QtSsh/src/ssh/sshlogging.cpp | 0 client/3rd/QtSsh/src/ssh/sshlogging_p.h | 0 .../3rd/QtSsh/src/ssh/sshoutgoingpacket.cpp | 0 .../3rd/QtSsh/src/ssh/sshoutgoingpacket_p.h | 0 client/3rd/QtSsh/src/ssh/sshpacket.cpp | 0 client/3rd/QtSsh/src/ssh/sshpacket_p.h | 0 client/3rd/QtSsh/src/ssh/sshpacketparser.cpp | 0 client/3rd/QtSsh/src/ssh/sshpacketparser_p.h | 0 client/3rd/QtSsh/src/ssh/sshpseudoterminal.h | 0 client/3rd/QtSsh/src/ssh/sshremoteprocess.cpp | 0 client/3rd/QtSsh/src/ssh/sshremoteprocess.h | 0 client/3rd/QtSsh/src/ssh/sshremoteprocess_p.h | 0 .../QtSsh/src/ssh/sshremoteprocessrunner.cpp | 0 .../QtSsh/src/ssh/sshremoteprocessrunner.h | 0 client/3rd/QtSsh/src/ssh/sshsendfacility.cpp | 0 client/3rd/QtSsh/src/ssh/sshsendfacility_p.h | 0 .../QtSsh/src/ssh/sshtcpipforwardserver.cpp | 0 .../3rd/QtSsh/src/ssh/sshtcpipforwardserver.h | 0 .../QtSsh/src/ssh/sshtcpipforwardserver_p.h | 0 client/3rd/QtSsh/src/ssh/sshtcpiptunnel.cpp | 0 client/3rd/QtSsh/src/ssh/sshtcpiptunnel_p.h | 0 client/3rd/QtSsh/sync.profile | 0 client/3rd/QtSsh/tests/auto/auto.pro | 0 client/3rd/QtSsh/tests/auto/cmake/cmake.pro | 0 client/3rd/QtSsh/tests/tests.pro | 0 .../SingleApplication/singleapplication.cpp | 0 .../3rd/SingleApplication/singleapplication.h | 0 .../SingleApplication/singleapplication.pri | 0 .../SingleApplication/singleapplication_p.cpp | 0 .../SingleApplication/singleapplication_p.h | 0 client/client.pro | 0 client/configurators/cloak_configurator.cpp | 0 client/configurators/cloak_configurator.h | 0 client/configurators/openvpn_configurator.cpp | 7 +- client/configurators/openvpn_configurator.h | 0 .../shadowsocks_configurator.cpp | 0 .../configurators/shadowsocks_configurator.h | 0 client/configurators/ssh_configurator.cpp | 0 client/configurators/ssh_configurator.h | 0 client/configurators/vpn_configurator.cpp | 0 client/configurators/vpn_configurator.h | 0 .../configurators/wireguard_configurator.cpp | 0 client/configurators/wireguard_configurator.h | 0 client/core/defs.h | 0 client/core/errorstrings.cpp | 0 client/core/errorstrings.h | 0 client/core/ipcclient.cpp | 0 client/core/ipcclient.h | 0 client/core/scripts_registry.cpp | 0 client/core/scripts_registry.h | 0 client/core/server_defs.cpp | 0 client/core/server_defs.h | 0 client/core/servercontroller.cpp | 0 client/core/servercontroller.h | 0 client/debug.cpp | 0 client/debug.h | 0 client/defines.h | 0 client/fonts/Lato-Black.ttf | Bin client/fonts/Lato-BlackItalic.ttf | Bin client/fonts/Lato-Bold.ttf | Bin client/fonts/Lato-BoldItalic.ttf | Bin client/fonts/Lato-Hairline.ttf | Bin client/fonts/Lato-HairlineItalic.ttf | Bin client/fonts/Lato-Heavy.ttf | Bin client/fonts/Lato-HeavyItalic.ttf | Bin client/fonts/Lato-Italic.ttf | Bin client/fonts/Lato-Light.ttf | Bin client/fonts/Lato-LightItalic.ttf | Bin client/fonts/Lato-Medium.ttf | Bin client/fonts/Lato-MediumItalic.ttf | Bin client/fonts/Lato-Regular.ttf | Bin client/fonts/Lato-Semibold.ttf | Bin client/fonts/Lato-SemiboldItalic.ttf | Bin client/fonts/Lato-Thin.ttf | Bin client/fonts/Lato-ThinItalic.ttf | Bin client/images/AmneziaVPN.png | Bin client/images/app.icns | Bin client/images/app.ico | Bin client/images/arrow_left.png | Bin client/images/background_connected.png | Bin client/images/check.png | Bin client/images/close.png | Bin client/images/connect_button_connected.png | Bin client/images/connect_button_disconnected.png | Bin client/images/controls/check_off.png | Bin client/images/controls/check_on.png | Bin client/images/controls/radio_off.png | Bin client/images/controls/radio_on.png | Bin client/images/download.png | Bin client/images/favorites_disabled.png | Bin client/images/favorites_enabled.png | Bin client/images/favorites_hover.png | Bin client/images/folder.png | Bin client/images/icon.png | Bin client/images/icon_src.png | Bin client/images/line.png | Bin client/images/min.png | Bin client/images/plus.png | Bin client/images/reload.png | Bin client/images/server_settings.png | Bin client/images/settings.png | Bin client/images/settings_grey.png | Bin client/images/share.png | Bin client/images/tray/active.png | Bin client/images/tray/default.png | Bin client/images/tray/error.png | Bin client/images/uncheck.png | Bin client/images/upload.png | Bin client/main.cpp | 0 client/managementserver.cpp | 0 client/managementserver.h | 0 client/platform_win/vpnclient.rc | 0 client/protocols/openvpnovercloakprotocol.cpp | 0 client/protocols/openvpnovercloakprotocol.h | 0 client/protocols/openvpnprotocol.cpp | 2 + client/protocols/openvpnprotocol.h | 0 client/protocols/protocols_defs.cpp | 0 client/protocols/protocols_defs.h | 0 client/protocols/shadowsocksvpnprotocol.cpp | 2 + client/protocols/shadowsocksvpnprotocol.h | 0 client/protocols/vpnprotocol.cpp | 0 client/protocols/vpnprotocol.h | 0 client/protocols/wireguardprotocol.cpp | 2 + client/protocols/wireguardprotocol.h | 0 client/resources.qrc | 0 client/server_scripts/build_container.sh | 0 client/server_scripts/check_connection.sh | 0 client/server_scripts/install_docker.sh | 0 client/server_scripts/openvpn/Dockerfile | 0 .../openvpn/configure_container.sh | 0 .../server_scripts/openvpn/run_container.sh | 0 client/server_scripts/openvpn/start.sh | 0 client/server_scripts/openvpn/template.ovpn | 0 .../server_scripts/openvpn_cloak/Dockerfile | 0 .../openvpn_cloak/configure_container.sh | 0 .../openvpn_cloak/run_container.sh | 0 client/server_scripts/openvpn_cloak/start.sh | 0 .../openvpn_cloak/template.ovpn | 0 .../openvpn_shadowsocks/Dockerfile | 0 .../configure_container.sh | 0 .../openvpn_shadowsocks/run_container.sh | 0 .../openvpn_shadowsocks/start.sh | 0 .../openvpn_shadowsocks/template.ovpn | 0 client/server_scripts/prepare_host.sh | 0 .../server_scripts/remove_all_containers.sh | 0 client/server_scripts/remove_container.sh | 0 client/server_scripts/setup_host_firewall.sh | 0 client/server_scripts/wireguard/Dockerfile | 0 .../wireguard/configure_container.sh | 0 .../server_scripts/wireguard/run_container.sh | 0 client/server_scripts/wireguard/start.sh | 0 client/server_scripts/wireguard/template.conf | 0 client/settings.cpp | 0 client/settings.h | 0 client/translations/amneziavpn_ru.qm | Bin client/translations/amneziavpn_ru.ts | 0 client/ui/Controls/SlidingStackedWidget.cpp | 0 client/ui/Controls/SlidingStackedWidget.h | 0 client/ui/framelesswindow.cpp | 0 client/ui/framelesswindow.h | 0 client/ui/macos_util.h | 0 client/ui/macos_util.mm | 0 client/ui/mainwindow.cpp | 0 client/ui/mainwindow.h | 0 client/ui/mainwindow.ui | 0 client/ui/qautostart.cpp | 0 client/ui/qautostart.h | 0 client/ui/server_widget.cpp | 0 client/ui/server_widget.h | 0 client/ui/server_widget.ui | 0 client/ui/sites_model.cpp | 0 client/ui/sites_model.h | 0 client/utils.cpp | 8 ++ client/utils.h | 1 + client/vpnconnection.cpp | 0 client/vpnconnection.h | 0 deploy/data/linux/update-resolv-conf.sh | 71 ++++++++++++++++++ service/buildlib/buildlib.pro | 0 service/common.pri | 0 service/server/helper_route_mac.c | 0 service/server/helper_route_mac.h | 0 service/server/localserver.cpp | 0 service/server/localserver.h | 0 service/server/log.cpp | 0 service/server/log.h | 0 service/server/main.cpp | 0 service/server/router.cpp | 0 service/server/router.h | 0 service/server/router_mac.cpp | 0 service/server/router_mac.h | 0 service/server/router_win.cpp | 0 service/server/router_win.h | 0 service/server/server.pro | 0 service/server/systemservice.cpp | 0 service/server/systemservice.h | 0 service/server/tapcontroller_win.cpp | 0 service/server/tapcontroller_win.h | 0 service/service.pro | 0 service/src/QtService | 0 service/src/QtServiceBase | 0 service/src/QtServiceController | 0 service/src/qtservice.cpp | 0 service/src/qtservice.h | 0 service/src/qtservice.pri | 0 service/src/qtservice_p.h | 0 service/src/qtservice_unix.cpp | 0 service/src/qtservice_win.cpp | 0 service/src/qtunixserversocket.cpp | 0 service/src/qtunixserversocket.h | 0 service/src/qtunixsocket.cpp | 0 service/src/qtunixsocket.h | 0 291 files changed, 91 insertions(+), 2 deletions(-) mode change 100644 => 100755 AmneziaVPN.pro mode change 100644 => 100755 LICENSE mode change 100644 => 100755 README.md mode change 100644 => 100755 client/3rd/QRCodeGenerator/QRCodeGenerator.cpp mode change 100644 => 100755 client/3rd/QRCodeGenerator/QRCodeGenerator.h mode change 100644 => 100755 client/3rd/QRCodeGenerator/QRCodeGenerator.pri mode change 100644 => 100755 client/3rd/QtSsh/.gitignore mode change 100644 => 100755 client/3rd/QtSsh/.qmake.conf mode change 100644 => 100755 client/3rd/QtSsh/QtSsh.pro mode change 100644 => 100755 client/3rd/QtSsh/README.md mode change 100644 => 100755 client/3rd/QtSsh/examples/examples.pro mode change 100644 => 100755 client/3rd/QtSsh/examples/gitlab/Qml.qrc mode change 100644 => 100755 client/3rd/QtSsh/examples/gitlab/Qml/Main.qml mode change 100644 => 100755 client/3rd/QtSsh/examples/gitlab/Src/Main.cpp mode change 100644 => 100755 client/3rd/QtSsh/examples/gitlab/Src/Ssh.cpp mode change 100644 => 100755 client/3rd/QtSsh/examples/gitlab/Src/Ssh.hpp mode change 100644 => 100755 client/3rd/QtSsh/examples/gitlab/gitlab.pro mode change 100644 => 100755 client/3rd/QtSsh/src/botan/botan.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/botan/botan.h mode change 100644 => 100755 client/3rd/QtSsh/src/botan/botan.pri mode change 100644 => 100755 client/3rd/QtSsh/src/botan/configure.py mode change 100644 => 100755 client/3rd/QtSsh/src/botan/doc/license.txt mode change 100644 => 100755 client/3rd/QtSsh/src/botan/readme.txt mode change 100644 => 100755 client/3rd/QtSsh/src/src.pro mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpchannel.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpchannel.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpchannel_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpdefs.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpdefs.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpfilesystemmodel.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpfilesystemmodel.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpincomingpacket.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpincomingpacket_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpoperation.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpoperation_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpoutgoingpacket.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftpoutgoingpacket_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftppacket.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sftppacket_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/ssh.pri mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/ssh.pro mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/ssh_dependencies.pri mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/ssh_global.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshbotanconversions_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshcapabilities.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshcapabilities_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshchannel.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshchannel_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshchannelmanager.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshchannelmanager_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshconnection.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshconnection.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshconnection_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshconnectionmanager.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshconnectionmanager.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshcryptofacility.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshcryptofacility_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/ssherrors.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshexception_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshhostkeydatabase.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshhostkeydatabase.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshincomingpacket.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshincomingpacket_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshinit.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshinit_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeycreationdialog.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeycreationdialog.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeycreationdialog.ui mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeyexchange.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeyexchange_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeygenerator.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeygenerator.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeypasswordretriever.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshkeypasswordretriever_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshlogging.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshlogging_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshoutgoingpacket.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshoutgoingpacket_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshpacket.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshpacket_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshpacketparser.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshpacketparser_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshpseudoterminal.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshremoteprocess.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshremoteprocess.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshremoteprocess_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshremoteprocessrunner.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshremoteprocessrunner.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshsendfacility.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshsendfacility_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshtcpipforwardserver.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshtcpipforwardserver.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshtcpipforwardserver_p.h mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshtcpiptunnel.cpp mode change 100644 => 100755 client/3rd/QtSsh/src/ssh/sshtcpiptunnel_p.h mode change 100644 => 100755 client/3rd/QtSsh/sync.profile mode change 100644 => 100755 client/3rd/QtSsh/tests/auto/auto.pro mode change 100644 => 100755 client/3rd/QtSsh/tests/auto/cmake/cmake.pro mode change 100644 => 100755 client/3rd/QtSsh/tests/tests.pro mode change 100644 => 100755 client/3rd/SingleApplication/singleapplication.cpp mode change 100644 => 100755 client/3rd/SingleApplication/singleapplication.h mode change 100644 => 100755 client/3rd/SingleApplication/singleapplication.pri mode change 100644 => 100755 client/3rd/SingleApplication/singleapplication_p.cpp mode change 100644 => 100755 client/3rd/SingleApplication/singleapplication_p.h mode change 100644 => 100755 client/client.pro mode change 100644 => 100755 client/configurators/cloak_configurator.cpp mode change 100644 => 100755 client/configurators/cloak_configurator.h mode change 100644 => 100755 client/configurators/openvpn_configurator.cpp mode change 100644 => 100755 client/configurators/openvpn_configurator.h mode change 100644 => 100755 client/configurators/shadowsocks_configurator.cpp mode change 100644 => 100755 client/configurators/shadowsocks_configurator.h mode change 100644 => 100755 client/configurators/ssh_configurator.cpp mode change 100644 => 100755 client/configurators/ssh_configurator.h mode change 100644 => 100755 client/configurators/vpn_configurator.cpp mode change 100644 => 100755 client/configurators/vpn_configurator.h mode change 100644 => 100755 client/configurators/wireguard_configurator.cpp mode change 100644 => 100755 client/configurators/wireguard_configurator.h mode change 100644 => 100755 client/core/defs.h mode change 100644 => 100755 client/core/errorstrings.cpp mode change 100644 => 100755 client/core/errorstrings.h mode change 100644 => 100755 client/core/ipcclient.cpp mode change 100644 => 100755 client/core/ipcclient.h mode change 100644 => 100755 client/core/scripts_registry.cpp mode change 100644 => 100755 client/core/scripts_registry.h mode change 100644 => 100755 client/core/server_defs.cpp mode change 100644 => 100755 client/core/server_defs.h mode change 100644 => 100755 client/core/servercontroller.cpp mode change 100644 => 100755 client/core/servercontroller.h mode change 100644 => 100755 client/debug.cpp mode change 100644 => 100755 client/debug.h mode change 100644 => 100755 client/defines.h mode change 100644 => 100755 client/fonts/Lato-Black.ttf mode change 100644 => 100755 client/fonts/Lato-BlackItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Bold.ttf mode change 100644 => 100755 client/fonts/Lato-BoldItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Hairline.ttf mode change 100644 => 100755 client/fonts/Lato-HairlineItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Heavy.ttf mode change 100644 => 100755 client/fonts/Lato-HeavyItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Italic.ttf mode change 100644 => 100755 client/fonts/Lato-Light.ttf mode change 100644 => 100755 client/fonts/Lato-LightItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Medium.ttf mode change 100644 => 100755 client/fonts/Lato-MediumItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Regular.ttf mode change 100644 => 100755 client/fonts/Lato-Semibold.ttf mode change 100644 => 100755 client/fonts/Lato-SemiboldItalic.ttf mode change 100644 => 100755 client/fonts/Lato-Thin.ttf mode change 100644 => 100755 client/fonts/Lato-ThinItalic.ttf mode change 100644 => 100755 client/images/AmneziaVPN.png mode change 100644 => 100755 client/images/app.icns mode change 100644 => 100755 client/images/app.ico mode change 100644 => 100755 client/images/arrow_left.png mode change 100644 => 100755 client/images/background_connected.png mode change 100644 => 100755 client/images/check.png mode change 100644 => 100755 client/images/close.png mode change 100644 => 100755 client/images/connect_button_connected.png mode change 100644 => 100755 client/images/connect_button_disconnected.png mode change 100644 => 100755 client/images/controls/check_off.png mode change 100644 => 100755 client/images/controls/check_on.png mode change 100644 => 100755 client/images/controls/radio_off.png mode change 100644 => 100755 client/images/controls/radio_on.png mode change 100644 => 100755 client/images/download.png mode change 100644 => 100755 client/images/favorites_disabled.png mode change 100644 => 100755 client/images/favorites_enabled.png mode change 100644 => 100755 client/images/favorites_hover.png mode change 100644 => 100755 client/images/folder.png mode change 100644 => 100755 client/images/icon.png mode change 100644 => 100755 client/images/icon_src.png mode change 100644 => 100755 client/images/line.png mode change 100644 => 100755 client/images/min.png mode change 100644 => 100755 client/images/plus.png mode change 100644 => 100755 client/images/reload.png mode change 100644 => 100755 client/images/server_settings.png mode change 100644 => 100755 client/images/settings.png mode change 100644 => 100755 client/images/settings_grey.png mode change 100644 => 100755 client/images/share.png mode change 100644 => 100755 client/images/tray/active.png mode change 100644 => 100755 client/images/tray/default.png mode change 100644 => 100755 client/images/tray/error.png mode change 100644 => 100755 client/images/uncheck.png mode change 100644 => 100755 client/images/upload.png mode change 100644 => 100755 client/main.cpp mode change 100644 => 100755 client/managementserver.cpp mode change 100644 => 100755 client/managementserver.h mode change 100644 => 100755 client/platform_win/vpnclient.rc mode change 100644 => 100755 client/protocols/openvpnovercloakprotocol.cpp mode change 100644 => 100755 client/protocols/openvpnovercloakprotocol.h mode change 100644 => 100755 client/protocols/openvpnprotocol.cpp mode change 100644 => 100755 client/protocols/openvpnprotocol.h mode change 100644 => 100755 client/protocols/protocols_defs.cpp mode change 100644 => 100755 client/protocols/protocols_defs.h mode change 100644 => 100755 client/protocols/shadowsocksvpnprotocol.cpp mode change 100644 => 100755 client/protocols/shadowsocksvpnprotocol.h mode change 100644 => 100755 client/protocols/vpnprotocol.cpp mode change 100644 => 100755 client/protocols/vpnprotocol.h mode change 100644 => 100755 client/protocols/wireguardprotocol.cpp mode change 100644 => 100755 client/protocols/wireguardprotocol.h mode change 100644 => 100755 client/resources.qrc mode change 100644 => 100755 client/server_scripts/build_container.sh mode change 100644 => 100755 client/server_scripts/check_connection.sh mode change 100644 => 100755 client/server_scripts/install_docker.sh mode change 100644 => 100755 client/server_scripts/openvpn/Dockerfile mode change 100644 => 100755 client/server_scripts/openvpn/configure_container.sh mode change 100644 => 100755 client/server_scripts/openvpn/run_container.sh mode change 100644 => 100755 client/server_scripts/openvpn/start.sh mode change 100644 => 100755 client/server_scripts/openvpn/template.ovpn mode change 100644 => 100755 client/server_scripts/openvpn_cloak/Dockerfile mode change 100644 => 100755 client/server_scripts/openvpn_cloak/configure_container.sh mode change 100644 => 100755 client/server_scripts/openvpn_cloak/run_container.sh mode change 100644 => 100755 client/server_scripts/openvpn_cloak/start.sh mode change 100644 => 100755 client/server_scripts/openvpn_cloak/template.ovpn mode change 100644 => 100755 client/server_scripts/openvpn_shadowsocks/Dockerfile mode change 100644 => 100755 client/server_scripts/openvpn_shadowsocks/configure_container.sh mode change 100644 => 100755 client/server_scripts/openvpn_shadowsocks/run_container.sh mode change 100644 => 100755 client/server_scripts/openvpn_shadowsocks/start.sh mode change 100644 => 100755 client/server_scripts/openvpn_shadowsocks/template.ovpn mode change 100644 => 100755 client/server_scripts/prepare_host.sh mode change 100644 => 100755 client/server_scripts/remove_all_containers.sh mode change 100644 => 100755 client/server_scripts/remove_container.sh mode change 100644 => 100755 client/server_scripts/setup_host_firewall.sh mode change 100644 => 100755 client/server_scripts/wireguard/Dockerfile mode change 100644 => 100755 client/server_scripts/wireguard/configure_container.sh mode change 100644 => 100755 client/server_scripts/wireguard/run_container.sh mode change 100644 => 100755 client/server_scripts/wireguard/start.sh mode change 100644 => 100755 client/server_scripts/wireguard/template.conf mode change 100644 => 100755 client/settings.cpp mode change 100644 => 100755 client/settings.h mode change 100644 => 100755 client/translations/amneziavpn_ru.qm mode change 100644 => 100755 client/translations/amneziavpn_ru.ts mode change 100644 => 100755 client/ui/Controls/SlidingStackedWidget.cpp mode change 100644 => 100755 client/ui/Controls/SlidingStackedWidget.h mode change 100644 => 100755 client/ui/framelesswindow.cpp mode change 100644 => 100755 client/ui/framelesswindow.h mode change 100644 => 100755 client/ui/macos_util.h mode change 100644 => 100755 client/ui/macos_util.mm mode change 100644 => 100755 client/ui/mainwindow.cpp mode change 100644 => 100755 client/ui/mainwindow.h mode change 100644 => 100755 client/ui/mainwindow.ui mode change 100644 => 100755 client/ui/qautostart.cpp mode change 100644 => 100755 client/ui/qautostart.h mode change 100644 => 100755 client/ui/server_widget.cpp mode change 100644 => 100755 client/ui/server_widget.h mode change 100644 => 100755 client/ui/server_widget.ui mode change 100644 => 100755 client/ui/sites_model.cpp mode change 100644 => 100755 client/ui/sites_model.h mode change 100644 => 100755 client/utils.cpp mode change 100644 => 100755 client/utils.h mode change 100644 => 100755 client/vpnconnection.cpp mode change 100644 => 100755 client/vpnconnection.h create mode 100755 deploy/data/linux/update-resolv-conf.sh mode change 100644 => 100755 service/buildlib/buildlib.pro mode change 100644 => 100755 service/common.pri mode change 100644 => 100755 service/server/helper_route_mac.c mode change 100644 => 100755 service/server/helper_route_mac.h mode change 100644 => 100755 service/server/localserver.cpp mode change 100644 => 100755 service/server/localserver.h mode change 100644 => 100755 service/server/log.cpp mode change 100644 => 100755 service/server/log.h mode change 100644 => 100755 service/server/main.cpp mode change 100644 => 100755 service/server/router.cpp mode change 100644 => 100755 service/server/router.h mode change 100644 => 100755 service/server/router_mac.cpp mode change 100644 => 100755 service/server/router_mac.h mode change 100644 => 100755 service/server/router_win.cpp mode change 100644 => 100755 service/server/router_win.h mode change 100644 => 100755 service/server/server.pro mode change 100644 => 100755 service/server/systemservice.cpp mode change 100644 => 100755 service/server/systemservice.h mode change 100644 => 100755 service/server/tapcontroller_win.cpp mode change 100644 => 100755 service/server/tapcontroller_win.h mode change 100644 => 100755 service/service.pro mode change 100644 => 100755 service/src/QtService mode change 100644 => 100755 service/src/QtServiceBase mode change 100644 => 100755 service/src/QtServiceController mode change 100644 => 100755 service/src/qtservice.cpp mode change 100644 => 100755 service/src/qtservice.h mode change 100644 => 100755 service/src/qtservice.pri mode change 100644 => 100755 service/src/qtservice_p.h mode change 100644 => 100755 service/src/qtservice_unix.cpp mode change 100644 => 100755 service/src/qtservice_win.cpp mode change 100644 => 100755 service/src/qtunixserversocket.cpp mode change 100644 => 100755 service/src/qtunixserversocket.h mode change 100644 => 100755 service/src/qtunixsocket.cpp mode change 100644 => 100755 service/src/qtunixsocket.h diff --git a/AmneziaVPN.pro b/AmneziaVPN.pro old mode 100644 new mode 100755 diff --git a/LICENSE b/LICENSE old mode 100644 new mode 100755 diff --git a/README.md b/README.md old mode 100644 new mode 100755 diff --git a/client/3rd/QRCodeGenerator/QRCodeGenerator.cpp b/client/3rd/QRCodeGenerator/QRCodeGenerator.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QRCodeGenerator/QRCodeGenerator.h b/client/3rd/QRCodeGenerator/QRCodeGenerator.h old mode 100644 new mode 100755 diff --git a/client/3rd/QRCodeGenerator/QRCodeGenerator.pri b/client/3rd/QRCodeGenerator/QRCodeGenerator.pri old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/.gitignore b/client/3rd/QtSsh/.gitignore old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/.qmake.conf b/client/3rd/QtSsh/.qmake.conf old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/QtSsh.pro b/client/3rd/QtSsh/QtSsh.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/README.md b/client/3rd/QtSsh/README.md old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/examples.pro b/client/3rd/QtSsh/examples/examples.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/gitlab/Qml.qrc b/client/3rd/QtSsh/examples/gitlab/Qml.qrc old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/gitlab/Qml/Main.qml b/client/3rd/QtSsh/examples/gitlab/Qml/Main.qml old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/gitlab/Src/Main.cpp b/client/3rd/QtSsh/examples/gitlab/Src/Main.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/gitlab/Src/Ssh.cpp b/client/3rd/QtSsh/examples/gitlab/Src/Ssh.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/gitlab/Src/Ssh.hpp b/client/3rd/QtSsh/examples/gitlab/Src/Ssh.hpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/examples/gitlab/gitlab.pro b/client/3rd/QtSsh/examples/gitlab/gitlab.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/botan/botan.cpp b/client/3rd/QtSsh/src/botan/botan.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/botan/botan.h b/client/3rd/QtSsh/src/botan/botan.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/botan/botan.pri b/client/3rd/QtSsh/src/botan/botan.pri old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/botan/configure.py b/client/3rd/QtSsh/src/botan/configure.py old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/botan/doc/license.txt b/client/3rd/QtSsh/src/botan/doc/license.txt old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/botan/readme.txt b/client/3rd/QtSsh/src/botan/readme.txt old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/src.pro b/client/3rd/QtSsh/src/src.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpchannel.cpp b/client/3rd/QtSsh/src/ssh/sftpchannel.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpchannel.h b/client/3rd/QtSsh/src/ssh/sftpchannel.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpchannel_p.h b/client/3rd/QtSsh/src/ssh/sftpchannel_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpdefs.cpp b/client/3rd/QtSsh/src/ssh/sftpdefs.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpdefs.h b/client/3rd/QtSsh/src/ssh/sftpdefs.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpfilesystemmodel.cpp b/client/3rd/QtSsh/src/ssh/sftpfilesystemmodel.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpfilesystemmodel.h b/client/3rd/QtSsh/src/ssh/sftpfilesystemmodel.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpincomingpacket.cpp b/client/3rd/QtSsh/src/ssh/sftpincomingpacket.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpincomingpacket_p.h b/client/3rd/QtSsh/src/ssh/sftpincomingpacket_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpoperation.cpp b/client/3rd/QtSsh/src/ssh/sftpoperation.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpoperation_p.h b/client/3rd/QtSsh/src/ssh/sftpoperation_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpoutgoingpacket.cpp b/client/3rd/QtSsh/src/ssh/sftpoutgoingpacket.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftpoutgoingpacket_p.h b/client/3rd/QtSsh/src/ssh/sftpoutgoingpacket_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftppacket.cpp b/client/3rd/QtSsh/src/ssh/sftppacket.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sftppacket_p.h b/client/3rd/QtSsh/src/ssh/sftppacket_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/ssh.pri b/client/3rd/QtSsh/src/ssh/ssh.pri old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/ssh.pro b/client/3rd/QtSsh/src/ssh/ssh.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/ssh_dependencies.pri b/client/3rd/QtSsh/src/ssh/ssh_dependencies.pri old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/ssh_global.h b/client/3rd/QtSsh/src/ssh/ssh_global.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshbotanconversions_p.h b/client/3rd/QtSsh/src/ssh/sshbotanconversions_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshcapabilities.cpp b/client/3rd/QtSsh/src/ssh/sshcapabilities.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshcapabilities_p.h b/client/3rd/QtSsh/src/ssh/sshcapabilities_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshchannel.cpp b/client/3rd/QtSsh/src/ssh/sshchannel.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshchannel_p.h b/client/3rd/QtSsh/src/ssh/sshchannel_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshchannelmanager.cpp b/client/3rd/QtSsh/src/ssh/sshchannelmanager.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshchannelmanager_p.h b/client/3rd/QtSsh/src/ssh/sshchannelmanager_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshconnection.cpp b/client/3rd/QtSsh/src/ssh/sshconnection.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshconnection.h b/client/3rd/QtSsh/src/ssh/sshconnection.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshconnection_p.h b/client/3rd/QtSsh/src/ssh/sshconnection_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshconnectionmanager.cpp b/client/3rd/QtSsh/src/ssh/sshconnectionmanager.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshconnectionmanager.h b/client/3rd/QtSsh/src/ssh/sshconnectionmanager.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshcryptofacility.cpp b/client/3rd/QtSsh/src/ssh/sshcryptofacility.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshcryptofacility_p.h b/client/3rd/QtSsh/src/ssh/sshcryptofacility_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.cpp b/client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.h b/client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel_p.h b/client/3rd/QtSsh/src/ssh/sshdirecttcpiptunnel_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/ssherrors.h b/client/3rd/QtSsh/src/ssh/ssherrors.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshexception_p.h b/client/3rd/QtSsh/src/ssh/sshexception_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel.cpp b/client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel.h b/client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel_p.h b/client/3rd/QtSsh/src/ssh/sshforwardedtcpiptunnel_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshhostkeydatabase.cpp b/client/3rd/QtSsh/src/ssh/sshhostkeydatabase.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshhostkeydatabase.h b/client/3rd/QtSsh/src/ssh/sshhostkeydatabase.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshincomingpacket.cpp b/client/3rd/QtSsh/src/ssh/sshincomingpacket.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshincomingpacket_p.h b/client/3rd/QtSsh/src/ssh/sshincomingpacket_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshinit.cpp b/client/3rd/QtSsh/src/ssh/sshinit.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshinit_p.h b/client/3rd/QtSsh/src/ssh/sshinit_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeycreationdialog.cpp b/client/3rd/QtSsh/src/ssh/sshkeycreationdialog.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeycreationdialog.h b/client/3rd/QtSsh/src/ssh/sshkeycreationdialog.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeycreationdialog.ui b/client/3rd/QtSsh/src/ssh/sshkeycreationdialog.ui old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeyexchange.cpp b/client/3rd/QtSsh/src/ssh/sshkeyexchange.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeyexchange_p.h b/client/3rd/QtSsh/src/ssh/sshkeyexchange_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeygenerator.cpp b/client/3rd/QtSsh/src/ssh/sshkeygenerator.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeygenerator.h b/client/3rd/QtSsh/src/ssh/sshkeygenerator.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeypasswordretriever.cpp b/client/3rd/QtSsh/src/ssh/sshkeypasswordretriever.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshkeypasswordretriever_p.h b/client/3rd/QtSsh/src/ssh/sshkeypasswordretriever_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshlogging.cpp b/client/3rd/QtSsh/src/ssh/sshlogging.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshlogging_p.h b/client/3rd/QtSsh/src/ssh/sshlogging_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshoutgoingpacket.cpp b/client/3rd/QtSsh/src/ssh/sshoutgoingpacket.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshoutgoingpacket_p.h b/client/3rd/QtSsh/src/ssh/sshoutgoingpacket_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshpacket.cpp b/client/3rd/QtSsh/src/ssh/sshpacket.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshpacket_p.h b/client/3rd/QtSsh/src/ssh/sshpacket_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshpacketparser.cpp b/client/3rd/QtSsh/src/ssh/sshpacketparser.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshpacketparser_p.h b/client/3rd/QtSsh/src/ssh/sshpacketparser_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshpseudoterminal.h b/client/3rd/QtSsh/src/ssh/sshpseudoterminal.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshremoteprocess.cpp b/client/3rd/QtSsh/src/ssh/sshremoteprocess.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshremoteprocess.h b/client/3rd/QtSsh/src/ssh/sshremoteprocess.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshremoteprocess_p.h b/client/3rd/QtSsh/src/ssh/sshremoteprocess_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshremoteprocessrunner.cpp b/client/3rd/QtSsh/src/ssh/sshremoteprocessrunner.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshremoteprocessrunner.h b/client/3rd/QtSsh/src/ssh/sshremoteprocessrunner.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshsendfacility.cpp b/client/3rd/QtSsh/src/ssh/sshsendfacility.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshsendfacility_p.h b/client/3rd/QtSsh/src/ssh/sshsendfacility_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshtcpipforwardserver.cpp b/client/3rd/QtSsh/src/ssh/sshtcpipforwardserver.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshtcpipforwardserver.h b/client/3rd/QtSsh/src/ssh/sshtcpipforwardserver.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshtcpipforwardserver_p.h b/client/3rd/QtSsh/src/ssh/sshtcpipforwardserver_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshtcpiptunnel.cpp b/client/3rd/QtSsh/src/ssh/sshtcpiptunnel.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/src/ssh/sshtcpiptunnel_p.h b/client/3rd/QtSsh/src/ssh/sshtcpiptunnel_p.h old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/sync.profile b/client/3rd/QtSsh/sync.profile old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/tests/auto/auto.pro b/client/3rd/QtSsh/tests/auto/auto.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/tests/auto/cmake/cmake.pro b/client/3rd/QtSsh/tests/auto/cmake/cmake.pro old mode 100644 new mode 100755 diff --git a/client/3rd/QtSsh/tests/tests.pro b/client/3rd/QtSsh/tests/tests.pro old mode 100644 new mode 100755 diff --git a/client/3rd/SingleApplication/singleapplication.cpp b/client/3rd/SingleApplication/singleapplication.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/SingleApplication/singleapplication.h b/client/3rd/SingleApplication/singleapplication.h old mode 100644 new mode 100755 diff --git a/client/3rd/SingleApplication/singleapplication.pri b/client/3rd/SingleApplication/singleapplication.pri old mode 100644 new mode 100755 diff --git a/client/3rd/SingleApplication/singleapplication_p.cpp b/client/3rd/SingleApplication/singleapplication_p.cpp old mode 100644 new mode 100755 diff --git a/client/3rd/SingleApplication/singleapplication_p.h b/client/3rd/SingleApplication/singleapplication_p.h old mode 100644 new mode 100755 diff --git a/client/client.pro b/client/client.pro old mode 100644 new mode 100755 diff --git a/client/configurators/cloak_configurator.cpp b/client/configurators/cloak_configurator.cpp old mode 100644 new mode 100755 diff --git a/client/configurators/cloak_configurator.h b/client/configurators/cloak_configurator.h old mode 100644 new mode 100755 diff --git a/client/configurators/openvpn_configurator.cpp b/client/configurators/openvpn_configurator.cpp old mode 100644 new mode 100755 index 09175931..9b9ecddb --- a/client/configurators/openvpn_configurator.cpp +++ b/client/configurators/openvpn_configurator.cpp @@ -19,6 +19,7 @@ QString OpenVpnConfigurator::getEasyRsaShPath() qDebug().noquote() << "EasyRsa sh path" << easyRsaShPath; return easyRsaShPath; + #else return QDir::toNativeSeparators(QApplication::applicationDirPath()) + "/easyrsa"; #endif @@ -29,12 +30,14 @@ QProcessEnvironment OpenVpnConfigurator::prepareEnv() QProcessEnvironment env = QProcessEnvironment::systemEnvironment(); QString pathEnvVar = env.value("PATH"); -#ifdef Q_OS_WIN +#if defined Q_OS_WIN pathEnvVar.clear(); pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\cygwin;"); pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "\\openvpn;"); -#else +#elif defined Q_OS_MAC pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "/Contents/MacOS"); +#elif defined Q_OS_LINUX + pathEnvVar.prepend(QDir::toNativeSeparators(QApplication::applicationDirPath()) + "/openvpn"); #endif env.insert("PATH", pathEnvVar); diff --git a/client/configurators/openvpn_configurator.h b/client/configurators/openvpn_configurator.h old mode 100644 new mode 100755 diff --git a/client/configurators/shadowsocks_configurator.cpp b/client/configurators/shadowsocks_configurator.cpp old mode 100644 new mode 100755 diff --git a/client/configurators/shadowsocks_configurator.h b/client/configurators/shadowsocks_configurator.h old mode 100644 new mode 100755 diff --git a/client/configurators/ssh_configurator.cpp b/client/configurators/ssh_configurator.cpp old mode 100644 new mode 100755 diff --git a/client/configurators/ssh_configurator.h b/client/configurators/ssh_configurator.h old mode 100644 new mode 100755 diff --git a/client/configurators/vpn_configurator.cpp b/client/configurators/vpn_configurator.cpp old mode 100644 new mode 100755 diff --git a/client/configurators/vpn_configurator.h b/client/configurators/vpn_configurator.h old mode 100644 new mode 100755 diff --git a/client/configurators/wireguard_configurator.cpp b/client/configurators/wireguard_configurator.cpp old mode 100644 new mode 100755 diff --git a/client/configurators/wireguard_configurator.h b/client/configurators/wireguard_configurator.h old mode 100644 new mode 100755 diff --git a/client/core/defs.h b/client/core/defs.h old mode 100644 new mode 100755 diff --git a/client/core/errorstrings.cpp b/client/core/errorstrings.cpp old mode 100644 new mode 100755 diff --git a/client/core/errorstrings.h b/client/core/errorstrings.h old mode 100644 new mode 100755 diff --git a/client/core/ipcclient.cpp b/client/core/ipcclient.cpp old mode 100644 new mode 100755 diff --git a/client/core/ipcclient.h b/client/core/ipcclient.h old mode 100644 new mode 100755 diff --git a/client/core/scripts_registry.cpp b/client/core/scripts_registry.cpp old mode 100644 new mode 100755 diff --git a/client/core/scripts_registry.h b/client/core/scripts_registry.h old mode 100644 new mode 100755 diff --git a/client/core/server_defs.cpp b/client/core/server_defs.cpp old mode 100644 new mode 100755 diff --git a/client/core/server_defs.h b/client/core/server_defs.h old mode 100644 new mode 100755 diff --git a/client/core/servercontroller.cpp b/client/core/servercontroller.cpp old mode 100644 new mode 100755 diff --git a/client/core/servercontroller.h b/client/core/servercontroller.h old mode 100644 new mode 100755 diff --git a/client/debug.cpp b/client/debug.cpp old mode 100644 new mode 100755 diff --git a/client/debug.h b/client/debug.h old mode 100644 new mode 100755 diff --git a/client/defines.h b/client/defines.h old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Black.ttf b/client/fonts/Lato-Black.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-BlackItalic.ttf b/client/fonts/Lato-BlackItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Bold.ttf b/client/fonts/Lato-Bold.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-BoldItalic.ttf b/client/fonts/Lato-BoldItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Hairline.ttf b/client/fonts/Lato-Hairline.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-HairlineItalic.ttf b/client/fonts/Lato-HairlineItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Heavy.ttf b/client/fonts/Lato-Heavy.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-HeavyItalic.ttf b/client/fonts/Lato-HeavyItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Italic.ttf b/client/fonts/Lato-Italic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Light.ttf b/client/fonts/Lato-Light.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-LightItalic.ttf b/client/fonts/Lato-LightItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Medium.ttf b/client/fonts/Lato-Medium.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-MediumItalic.ttf b/client/fonts/Lato-MediumItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Regular.ttf b/client/fonts/Lato-Regular.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Semibold.ttf b/client/fonts/Lato-Semibold.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-SemiboldItalic.ttf b/client/fonts/Lato-SemiboldItalic.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-Thin.ttf b/client/fonts/Lato-Thin.ttf old mode 100644 new mode 100755 diff --git a/client/fonts/Lato-ThinItalic.ttf b/client/fonts/Lato-ThinItalic.ttf old mode 100644 new mode 100755 diff --git a/client/images/AmneziaVPN.png b/client/images/AmneziaVPN.png old mode 100644 new mode 100755 diff --git a/client/images/app.icns b/client/images/app.icns old mode 100644 new mode 100755 diff --git a/client/images/app.ico b/client/images/app.ico old mode 100644 new mode 100755 diff --git a/client/images/arrow_left.png b/client/images/arrow_left.png old mode 100644 new mode 100755 diff --git a/client/images/background_connected.png b/client/images/background_connected.png old mode 100644 new mode 100755 diff --git a/client/images/check.png b/client/images/check.png old mode 100644 new mode 100755 diff --git a/client/images/close.png b/client/images/close.png old mode 100644 new mode 100755 diff --git a/client/images/connect_button_connected.png b/client/images/connect_button_connected.png old mode 100644 new mode 100755 diff --git a/client/images/connect_button_disconnected.png b/client/images/connect_button_disconnected.png old mode 100644 new mode 100755 diff --git a/client/images/controls/check_off.png b/client/images/controls/check_off.png old mode 100644 new mode 100755 diff --git a/client/images/controls/check_on.png b/client/images/controls/check_on.png old mode 100644 new mode 100755 diff --git a/client/images/controls/radio_off.png b/client/images/controls/radio_off.png old mode 100644 new mode 100755 diff --git a/client/images/controls/radio_on.png b/client/images/controls/radio_on.png old mode 100644 new mode 100755 diff --git a/client/images/download.png b/client/images/download.png old mode 100644 new mode 100755 diff --git a/client/images/favorites_disabled.png b/client/images/favorites_disabled.png old mode 100644 new mode 100755 diff --git a/client/images/favorites_enabled.png b/client/images/favorites_enabled.png old mode 100644 new mode 100755 diff --git a/client/images/favorites_hover.png b/client/images/favorites_hover.png old mode 100644 new mode 100755 diff --git a/client/images/folder.png b/client/images/folder.png old mode 100644 new mode 100755 diff --git a/client/images/icon.png b/client/images/icon.png old mode 100644 new mode 100755 diff --git a/client/images/icon_src.png b/client/images/icon_src.png old mode 100644 new mode 100755 diff --git a/client/images/line.png b/client/images/line.png old mode 100644 new mode 100755 diff --git a/client/images/min.png b/client/images/min.png old mode 100644 new mode 100755 diff --git a/client/images/plus.png b/client/images/plus.png old mode 100644 new mode 100755 diff --git a/client/images/reload.png b/client/images/reload.png old mode 100644 new mode 100755 diff --git a/client/images/server_settings.png b/client/images/server_settings.png old mode 100644 new mode 100755 diff --git a/client/images/settings.png b/client/images/settings.png old mode 100644 new mode 100755 diff --git a/client/images/settings_grey.png b/client/images/settings_grey.png old mode 100644 new mode 100755 diff --git a/client/images/share.png b/client/images/share.png old mode 100644 new mode 100755 diff --git a/client/images/tray/active.png b/client/images/tray/active.png old mode 100644 new mode 100755 diff --git a/client/images/tray/default.png b/client/images/tray/default.png old mode 100644 new mode 100755 diff --git a/client/images/tray/error.png b/client/images/tray/error.png old mode 100644 new mode 100755 diff --git a/client/images/uncheck.png b/client/images/uncheck.png old mode 100644 new mode 100755 diff --git a/client/images/upload.png b/client/images/upload.png old mode 100644 new mode 100755 diff --git a/client/main.cpp b/client/main.cpp old mode 100644 new mode 100755 diff --git a/client/managementserver.cpp b/client/managementserver.cpp old mode 100644 new mode 100755 diff --git a/client/managementserver.h b/client/managementserver.h old mode 100644 new mode 100755 diff --git a/client/platform_win/vpnclient.rc b/client/platform_win/vpnclient.rc old mode 100644 new mode 100755 diff --git a/client/protocols/openvpnovercloakprotocol.cpp b/client/protocols/openvpnovercloakprotocol.cpp old mode 100644 new mode 100755 diff --git a/client/protocols/openvpnovercloakprotocol.h b/client/protocols/openvpnovercloakprotocol.h old mode 100644 new mode 100755 diff --git a/client/protocols/openvpnprotocol.cpp b/client/protocols/openvpnprotocol.cpp old mode 100644 new mode 100755 index 5371c566..a756d86d --- a/client/protocols/openvpnprotocol.cpp +++ b/client/protocols/openvpnprotocol.cpp @@ -142,6 +142,8 @@ QString OpenVpnProtocol::openVpnExecPath() const { #ifdef Q_OS_WIN return Utils::executable("openvpn/openvpn", true); +#elif defined Q_OS_LINUX + return Utils::usrExecutable("openvpn"); #else return Utils::executable("/openvpn", true); #endif diff --git a/client/protocols/openvpnprotocol.h b/client/protocols/openvpnprotocol.h old mode 100644 new mode 100755 diff --git a/client/protocols/protocols_defs.cpp b/client/protocols/protocols_defs.cpp old mode 100644 new mode 100755 diff --git a/client/protocols/protocols_defs.h b/client/protocols/protocols_defs.h old mode 100644 new mode 100755 diff --git a/client/protocols/shadowsocksvpnprotocol.cpp b/client/protocols/shadowsocksvpnprotocol.cpp old mode 100644 new mode 100755 index 97a9c258..3d2c2be1 --- a/client/protocols/shadowsocksvpnprotocol.cpp +++ b/client/protocols/shadowsocksvpnprotocol.cpp @@ -95,6 +95,8 @@ QString ShadowSocksVpnProtocol::shadowSocksExecPath() { #ifdef Q_OS_WIN return Utils::executable(QString("ss/ss-local"), true); +#elif defined Q_OS_LINUX + return Utils::usrExecutable(QString("ss-local")); #else return Utils::executable(QString("/ss-local"), true); #endif diff --git a/client/protocols/shadowsocksvpnprotocol.h b/client/protocols/shadowsocksvpnprotocol.h old mode 100644 new mode 100755 diff --git a/client/protocols/vpnprotocol.cpp b/client/protocols/vpnprotocol.cpp old mode 100644 new mode 100755 diff --git a/client/protocols/vpnprotocol.h b/client/protocols/vpnprotocol.h old mode 100644 new mode 100755 diff --git a/client/protocols/wireguardprotocol.cpp b/client/protocols/wireguardprotocol.cpp old mode 100644 new mode 100755 index 4c5b6f0f..b3c2cd04 --- a/client/protocols/wireguardprotocol.cpp +++ b/client/protocols/wireguardprotocol.cpp @@ -122,6 +122,8 @@ QString WireguardProtocol::wireguardExecPath() const { #ifdef Q_OS_WIN return Utils::executable("wireguard/wireguard", true); +#elif defined Q_OS_LINUX + return Utils::usrExecutable("wg"); #else return Utils::executable("/wireguard", true); #endif diff --git a/client/protocols/wireguardprotocol.h b/client/protocols/wireguardprotocol.h old mode 100644 new mode 100755 diff --git a/client/resources.qrc b/client/resources.qrc old mode 100644 new mode 100755 diff --git a/client/server_scripts/build_container.sh b/client/server_scripts/build_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/check_connection.sh b/client/server_scripts/check_connection.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/install_docker.sh b/client/server_scripts/install_docker.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn/Dockerfile b/client/server_scripts/openvpn/Dockerfile old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn/configure_container.sh b/client/server_scripts/openvpn/configure_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn/run_container.sh b/client/server_scripts/openvpn/run_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn/start.sh b/client/server_scripts/openvpn/start.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn/template.ovpn b/client/server_scripts/openvpn/template.ovpn old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_cloak/Dockerfile b/client/server_scripts/openvpn_cloak/Dockerfile old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_cloak/configure_container.sh b/client/server_scripts/openvpn_cloak/configure_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_cloak/run_container.sh b/client/server_scripts/openvpn_cloak/run_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_cloak/start.sh b/client/server_scripts/openvpn_cloak/start.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_cloak/template.ovpn b/client/server_scripts/openvpn_cloak/template.ovpn old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_shadowsocks/Dockerfile b/client/server_scripts/openvpn_shadowsocks/Dockerfile old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_shadowsocks/configure_container.sh b/client/server_scripts/openvpn_shadowsocks/configure_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_shadowsocks/run_container.sh b/client/server_scripts/openvpn_shadowsocks/run_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_shadowsocks/start.sh b/client/server_scripts/openvpn_shadowsocks/start.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/openvpn_shadowsocks/template.ovpn b/client/server_scripts/openvpn_shadowsocks/template.ovpn old mode 100644 new mode 100755 diff --git a/client/server_scripts/prepare_host.sh b/client/server_scripts/prepare_host.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/remove_all_containers.sh b/client/server_scripts/remove_all_containers.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/remove_container.sh b/client/server_scripts/remove_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/setup_host_firewall.sh b/client/server_scripts/setup_host_firewall.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/wireguard/Dockerfile b/client/server_scripts/wireguard/Dockerfile old mode 100644 new mode 100755 diff --git a/client/server_scripts/wireguard/configure_container.sh b/client/server_scripts/wireguard/configure_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/wireguard/run_container.sh b/client/server_scripts/wireguard/run_container.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/wireguard/start.sh b/client/server_scripts/wireguard/start.sh old mode 100644 new mode 100755 diff --git a/client/server_scripts/wireguard/template.conf b/client/server_scripts/wireguard/template.conf old mode 100644 new mode 100755 diff --git a/client/settings.cpp b/client/settings.cpp old mode 100644 new mode 100755 diff --git a/client/settings.h b/client/settings.h old mode 100644 new mode 100755 diff --git a/client/translations/amneziavpn_ru.qm b/client/translations/amneziavpn_ru.qm old mode 100644 new mode 100755 diff --git a/client/translations/amneziavpn_ru.ts b/client/translations/amneziavpn_ru.ts old mode 100644 new mode 100755 diff --git a/client/ui/Controls/SlidingStackedWidget.cpp b/client/ui/Controls/SlidingStackedWidget.cpp old mode 100644 new mode 100755 diff --git a/client/ui/Controls/SlidingStackedWidget.h b/client/ui/Controls/SlidingStackedWidget.h old mode 100644 new mode 100755 diff --git a/client/ui/framelesswindow.cpp b/client/ui/framelesswindow.cpp old mode 100644 new mode 100755 diff --git a/client/ui/framelesswindow.h b/client/ui/framelesswindow.h old mode 100644 new mode 100755 diff --git a/client/ui/macos_util.h b/client/ui/macos_util.h old mode 100644 new mode 100755 diff --git a/client/ui/macos_util.mm b/client/ui/macos_util.mm old mode 100644 new mode 100755 diff --git a/client/ui/mainwindow.cpp b/client/ui/mainwindow.cpp old mode 100644 new mode 100755 diff --git a/client/ui/mainwindow.h b/client/ui/mainwindow.h old mode 100644 new mode 100755 diff --git a/client/ui/mainwindow.ui b/client/ui/mainwindow.ui old mode 100644 new mode 100755 diff --git a/client/ui/qautostart.cpp b/client/ui/qautostart.cpp old mode 100644 new mode 100755 diff --git a/client/ui/qautostart.h b/client/ui/qautostart.h old mode 100644 new mode 100755 diff --git a/client/ui/server_widget.cpp b/client/ui/server_widget.cpp old mode 100644 new mode 100755 diff --git a/client/ui/server_widget.h b/client/ui/server_widget.h old mode 100644 new mode 100755 diff --git a/client/ui/server_widget.ui b/client/ui/server_widget.ui old mode 100644 new mode 100755 diff --git a/client/ui/sites_model.cpp b/client/ui/sites_model.cpp old mode 100644 new mode 100755 diff --git a/client/ui/sites_model.h b/client/ui/sites_model.h old mode 100644 new mode 100755 diff --git a/client/utils.cpp b/client/utils.cpp old mode 100644 new mode 100755 index 42056e94..ed08610e --- a/client/utils.cpp +++ b/client/utils.cpp @@ -68,6 +68,14 @@ QString Utils::executable(const QString& baseName, bool absPath) return QCoreApplication::applicationDirPath() + "/" + fileName; } +QString Utils::usrExecutable(const QString& baseName) +{ + if (QFileInfo::exists("/usr/sbin/" + baseName)) + return ("/usr/sbin/" + baseName); + else + return ("/usr/bin/" + baseName); +} + bool Utils::processIsRunning(const QString& fileName) { #ifdef Q_OS_WIN diff --git a/client/utils.h b/client/utils.h old mode 100644 new mode 100755 index 3a0ef2ce..709a159e --- a/client/utils.h +++ b/client/utils.h @@ -14,6 +14,7 @@ public: static QString getRandomString(int len); static QString executable(const QString& baseName, bool absPath); + static QString usrExecutable(const QString& baseName); static QString systemLogPath(); static bool createEmptyFile(const QString& path); static bool initializePath(const QString& path); diff --git a/client/vpnconnection.cpp b/client/vpnconnection.cpp old mode 100644 new mode 100755 diff --git a/client/vpnconnection.h b/client/vpnconnection.h old mode 100644 new mode 100755 diff --git a/deploy/data/linux/update-resolv-conf.sh b/deploy/data/linux/update-resolv-conf.sh new file mode 100755 index 00000000..16622a1d --- /dev/null +++ b/deploy/data/linux/update-resolv-conf.sh @@ -0,0 +1,71 @@ +#!/usr/bin/env bash +# +# Parses DHCP options from openvpn to update resolv.conf +# To use set as 'up' and 'down' script in your openvpn *.conf: +# up /etc/openvpn/update-resolv-conf +# down /etc/openvpn/update-resolv-conf +# +# Used snippets of resolvconf script by Thomas Hood +# and Chris Hanson +# Licensed under the GNU GPL. See /usr/share/common-licenses/GPL. +# 07/2013 colin@daedrum.net Fixed intet name +# 05/2006 chlauber@bnc.ch +# +# Example envs set from openvpn: +# foreign_option_1='dhcp-option DNS 193.43.27.132' +# foreign_option_2='dhcp-option DNS 193.43.27.133' +# foreign_option_3='dhcp-option DOMAIN be.bnc.ch' +# foreign_option_4='dhcp-option DOMAIN-SEARCH bnc.local' + +## The 'type' builtins will look for file in $PATH variable, so we set the +## PATH below. You might need to directly set the path to 'resolvconf' +## manually if it still doesn't work, i.e. +## RESOLVCONF=/usr/sbin/resolvconf +export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin +RESOLVCONF=$(type -p resolvconf) + +case $script_type in + +up) + for optionname in ${!foreign_option_*} ; do + option="${!optionname}" + echo $option + part1=$(echo "$option" | cut -d " " -f 1) + if [ "$part1" == "dhcp-option" ] ; then + part2=$(echo "$option" | cut -d " " -f 2) + part3=$(echo "$option" | cut -d " " -f 3) + if [ "$part2" == "DNS" ] ; then + IF_DNS_NAMESERVERS="$IF_DNS_NAMESERVERS $part3" + fi + if [[ "$part2" == "DOMAIN" || "$part2" == "DOMAIN-SEARCH" ]] ; then + IF_DNS_SEARCH="$IF_DNS_SEARCH $part3" + fi + fi + done + R="" + if [ "$IF_DNS_SEARCH" ]; then + R="search " + for DS in $IF_DNS_SEARCH ; do + R="${R} $DS" + done + R="${R} +" + fi + + for NS in $IF_DNS_NAMESERVERS ; do + R="${R}nameserver $NS +" + done + #echo -n "$R" | $RESOLVCONF -x -p -a "${dev}" + echo -n "$R" | $RESOLVCONF -x -a "${dev}.inet" + ;; +down) + $RESOLVCONF -d "${dev}.inet" + ;; +esac + +# Workaround / jm@epiclabs.io +# force exit with no errors. Due to an apparent conflict with the Network Manager +# $RESOLVCONF sometimes exits with error code 6 even though it has performed the +# action correctly and OpenVPN shuts down. +exit 0 diff --git a/service/buildlib/buildlib.pro b/service/buildlib/buildlib.pro old mode 100644 new mode 100755 diff --git a/service/common.pri b/service/common.pri old mode 100644 new mode 100755 diff --git a/service/server/helper_route_mac.c b/service/server/helper_route_mac.c old mode 100644 new mode 100755 diff --git a/service/server/helper_route_mac.h b/service/server/helper_route_mac.h old mode 100644 new mode 100755 diff --git a/service/server/localserver.cpp b/service/server/localserver.cpp old mode 100644 new mode 100755 diff --git a/service/server/localserver.h b/service/server/localserver.h old mode 100644 new mode 100755 diff --git a/service/server/log.cpp b/service/server/log.cpp old mode 100644 new mode 100755 diff --git a/service/server/log.h b/service/server/log.h old mode 100644 new mode 100755 diff --git a/service/server/main.cpp b/service/server/main.cpp old mode 100644 new mode 100755 diff --git a/service/server/router.cpp b/service/server/router.cpp old mode 100644 new mode 100755 diff --git a/service/server/router.h b/service/server/router.h old mode 100644 new mode 100755 diff --git a/service/server/router_mac.cpp b/service/server/router_mac.cpp old mode 100644 new mode 100755 diff --git a/service/server/router_mac.h b/service/server/router_mac.h old mode 100644 new mode 100755 diff --git a/service/server/router_win.cpp b/service/server/router_win.cpp old mode 100644 new mode 100755 diff --git a/service/server/router_win.h b/service/server/router_win.h old mode 100644 new mode 100755 diff --git a/service/server/server.pro b/service/server/server.pro old mode 100644 new mode 100755 diff --git a/service/server/systemservice.cpp b/service/server/systemservice.cpp old mode 100644 new mode 100755 diff --git a/service/server/systemservice.h b/service/server/systemservice.h old mode 100644 new mode 100755 diff --git a/service/server/tapcontroller_win.cpp b/service/server/tapcontroller_win.cpp old mode 100644 new mode 100755 diff --git a/service/server/tapcontroller_win.h b/service/server/tapcontroller_win.h old mode 100644 new mode 100755 diff --git a/service/service.pro b/service/service.pro old mode 100644 new mode 100755 diff --git a/service/src/QtService b/service/src/QtService old mode 100644 new mode 100755 diff --git a/service/src/QtServiceBase b/service/src/QtServiceBase old mode 100644 new mode 100755 diff --git a/service/src/QtServiceController b/service/src/QtServiceController old mode 100644 new mode 100755 diff --git a/service/src/qtservice.cpp b/service/src/qtservice.cpp old mode 100644 new mode 100755 diff --git a/service/src/qtservice.h b/service/src/qtservice.h old mode 100644 new mode 100755 diff --git a/service/src/qtservice.pri b/service/src/qtservice.pri old mode 100644 new mode 100755 diff --git a/service/src/qtservice_p.h b/service/src/qtservice_p.h old mode 100644 new mode 100755 diff --git a/service/src/qtservice_unix.cpp b/service/src/qtservice_unix.cpp old mode 100644 new mode 100755 diff --git a/service/src/qtservice_win.cpp b/service/src/qtservice_win.cpp old mode 100644 new mode 100755 diff --git a/service/src/qtunixserversocket.cpp b/service/src/qtunixserversocket.cpp old mode 100644 new mode 100755 diff --git a/service/src/qtunixserversocket.h b/service/src/qtunixserversocket.h old mode 100644 new mode 100755 diff --git a/service/src/qtunixsocket.cpp b/service/src/qtunixsocket.cpp old mode 100644 new mode 100755 diff --git a/service/src/qtunixsocket.h b/service/src/qtunixsocket.h old mode 100644 new mode 100755