GithubHelp home page GithubHelp logo

amnezia-vpn / amnezia-client Goto Github PK

View Code? Open in Web Editor NEW
1.8K 39.0 185.0 378.62 MB

Amnezia VPN Client (Desktop+Mobile)

Home Page: https://amnezia.org

License: GNU General Public License v3.0

QMake 0.03% QML 18.68% C++ 55.99% C 1.80% Shell 2.49% Objective-C++ 2.88% Batchfile 0.16% JavaScript 0.63% Dockerfile 0.48% CMake 2.42% Objective-C 0.21% Java 6.24% Kotlin 6.27% Go 0.19% Swift 1.53%
vpn vpn-client vpn-server openvpn wireguard shadowsocks ikev2 cloak gfw

amnezia-client's People

Contributors

agalehaga avatar albexk avatar alexklws avatar alexudev avatar amanarora1987 avatar andr13 avatar bakhtiyork avatar cyberta avatar driftingsun avatar eugenyorbitsoftcom avatar fameowner99 avatar garegin866 avatar hamzarbi avatar i-ky avatar isamnezia avatar karolsteve avatar kolobchanin avatar ksznak avatar lunardunno avatar mattschwiebert avatar nethius avatar nr-osinit avatar omortie avatar outspace avatar pokamest avatar ronoaer avatar sa6ta6ni6c avatar shahzainali avatar shehabahmed-gui avatar tiaga avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

amnezia-client's Issues

Add a close and open buttons in the tray (linux)

изображение
Please add the ability to close and open the application from the tray icon, as it is done in Telegram.
When you close the Amnezia window, then you have to look for it again in the application menu, because you can't launch it from the icon on top. And you can completely close the application only through the "Exit" button in the menu or System Monitor.
изображение

Hide from the (macOS) Dock

Hello and thank you for the wonderful app!
Is there any chance to get an option to hide app from the Dock on MacOS to save precious screen real-estate, as the app is already on the menu bar?

MacOS Monterey constant crashes

Greetings, the new amezia client - 2.1.0 constantly crashes on MacOS Monterey 12.5.1, because of permission issues. Here is a shortened report on this issue.


Translated Report (Full Report Below)

Process: AmneziaVPN [29846]
Path: /Applications/AmneziaVPN.app/Contents/MacOS/AmneziaVPN
Identifier: com.amnezia.AmneziaVPN
Version: ???
Code Type: X86-64 (Native)
Parent Process: launchd [1]
User ID: 501

Date/Time: 2022-09-08 14:31:15.7047 +0300
OS Version: macOS 12.5.1 (21G83)
Report Version: 12
Bridge OS Version: 6.6 (19P6066)
Anonymous UUID: FE43889F-BF09-75E4-513C-48FD9EA56136

Sleep/Wake UUID: EEA4BE36-88B9-4908-84BA-0CAA06E534BA

Time Awake Since Boot: 230000 seconds
Time Since Wake: 16 seconds

System Integrity Protection: enabled

Crashed Thread: 20 Dispatch queue: com.apple.root.default-qos

Exception Type: EXC_CRASH (SIGABRT)
Exception Codes: 0x0000000000000000, 0x0000000000000000
Exception Note: EXC_CORPSE_NOTIFY

Termination Reason: Namespace TCC, Code 0
This app has crashed because it attempted to access privacy-sensitive data without a usage description. The app's Info.plist must contain an com.apple.security.device.camera key with a string value explaining to the user how the app uses this data.

Option to exclude P2P traffic

I think it's a good idea to allow the user to exclude P2P traffic from the VPN. Recognizing P2P traffic is difficult, so another suggestion is to exclude traffic by application.

Error while installing new protocol

Error occurred while configuring server. Failed to start remote process on server. Any help here?
Logs:
2022-03-28 17:54:17 info Started as system service 2022-03-28 18:12:51 debug LocalServer new connection 2022-03-28 18:12:59 debug OpenVPN path C:/Program Files/AmneziaVPN\openvpn\openvpn.exe 2022-03-28 18:12:59 debug TapInstall path C:/Program Files/AmneziaVPN\tap\windows_10\tapinstall.exe 2022-03-28 18:12:59 debug TapDriverDir path C:/Program Files/AmneziaVPN\tap\windows_10 2022-03-28 18:12:59 debug TapController: openvpn.exe found, version: "OpenVPN 2.5.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 21 2021\nlibrary versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.10\nWindows version 10.0 (Windows 10 or greater) 64bit\nOriginally developed by James Yonan\nCopyright (C) 2002-2018 OpenVPN Inc <[email protected]>\nCompile time defines: enable_async_push=no enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=no enable_plugin_down_root=no enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=yes enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_werror=no enable_win32_dll=yes enable_x509_alt_username=no with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_special_build= with_sysroot=no\n" 2022-03-28 18:12:59 debug TapController: Check failed, usable TAP adapter NOT found 2022-03-28 18:12:59 debug TapController: Installing TAP driver... 2022-03-28 18:13:01 debug TapController: setupDriver args "install C:/Program Files/AmneziaVPN\\tap\\windows_10\\OemVista.inf tap0901" 2022-03-28 18:13:01 debug TapController: setupDriver output "Device node created. Install is complete when drivers are installed...\r\nUpdating drivers for tap0901 from C:\\Program Files\\AmneziaVPN\\tap\\windows_10\\OemVista.inf.\r\n" 2022-03-28 18:13:01 debug Enabled TAP Instance id: "ROOT\\NET\\0000" 2022-03-28 18:13:02 debug TapController: No driver information 2022-03-28 18:13:02 debug TAP device "ROOT\\NET\\0000" suceccfully removed 2022-03-28 18:13:02 debug TapController: Failed to install TAP driver 2022-03-28 18:13:04 debug IpcServer new connection 2022-03-28 18:13:04 debug IpcServerProcess started, "C:/Program Files/AmneziaVPN/openvpn/openvpn.exe" ("--config", "C:/Users/Matthew Wang/AppData/Local/Temp/AmneziaVPN.dfxroB", "--management", "127.0.0.1", "57775", "--management-client") 2022-03-28 18:27:14 debug LocalServer new connection 2022-03-28 18:27:21 debug OpenVPN path C:/Program Files/AmneziaVPN\openvpn\openvpn.exe 2022-03-28 18:27:21 debug TapInstall path C:/Program Files/AmneziaVPN\tap\windows_10\tapinstall.exe 2022-03-28 18:27:21 debug TapDriverDir path C:/Program Files/AmneziaVPN\tap\windows_10 2022-03-28 18:27:21 debug TapController: openvpn.exe found, version: "OpenVPN 2.5.2 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [LZ4] [PKCS11] [AEAD] built on Apr 21 2021\nlibrary versions: OpenSSL 1.1.1k 25 Mar 2021, LZO 2.10\nWindows version 10.0 (Windows 10 or greater) 64bit\nOriginally developed by James Yonan\nCopyright (C) 2002-2018 OpenVPN Inc <[email protected]>\nCompile time defines: enable_async_push=no enable_comp_stub=no enable_crypto_ofb_cfb=yes enable_debug=yes enable_def_auth=yes enable_dlopen=unknown enable_dlopen_self=unknown enable_dlopen_self_static=unknown enable_fast_install=needless enable_fragment=yes enable_iproute2=no enable_libtool_lock=yes enable_lz4=yes enable_lzo=yes enable_management=yes enable_multihome=yes enable_pam_dlopen=no enable_pedantic=no enable_pf=yes enable_pkcs11=yes enable_plugin_auth_pam=no enable_plugin_down_root=no enable_plugins=yes enable_port_share=yes enable_selinux=no enable_shared=yes enable_shared_with_static_runtimes=yes enable_small=no enable_static=yes enable_strict=no enable_strict_options=no enable_systemd=no enable_werror=no enable_win32_dll=yes enable_x509_alt_username=no with_aix_soname=aix with_crypto_library=openssl with_gnu_ld=yes with_mem_check=no with_special_build= with_sysroot=no\n" 2022-03-28 18:27:22 debug TapController: Check failed, usable TAP adapter NOT found 2022-03-28 18:27:22 debug TapController: Installing TAP driver... 2022-03-28 18:27:23 debug TapController: setupDriver args "install C:/Program Files/AmneziaVPN\\tap\\windows_10\\OemVista.inf tap0901" 2022-03-28 18:27:23 debug TapController: setupDriver output "Device node created. Install is complete when drivers are installed...\r\nUpdating drivers for tap0901 from C:\\Program Files\\AmneziaVPN\\tap\\windows_10\\OemVista.inf.\r\n" 2022-03-28 18:27:23 debug Enabled TAP Instance id: "ROOT\\NET\\0000" 2022-03-28 18:27:24 debug TapController: No driver information 2022-03-28 18:27:24 debug TAP device "ROOT\\NET\\0000" suceccfully removed 2022-03-28 18:27:24 debug TapController: Failed to install TAP driver 2022-03-28 18:27:25 debug IpcServer new connection 2022-03-28 18:27:25 debug IpcServerProcess started, "C:/Program Files/AmneziaVPN/openvpn/openvpn.exe" ("--config", "C:/Users/Matthew Wang/AppData/Local/Temp/AmneziaVPN.DxpVQt", "--management", "127.0.0.1", "57775", "--management-client")

Клиент не работает на MacOS

MacOS Ventura 13.1

После установки, клиент запускается и подключается успешно.

После перезапуска, запускается с надписью "Ошибка".
При нажатии на кнопку подключения, ничего не происходит.

Помогает переустановка, но это, опять же до следующего перезапуска.

В логах следующее:

2022-10-31 20:25:18 debug "СonnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnAllSites
2022-10-31 20:25:18 debug IpcClient::init failed
2022-10-31 20:25:18 warning Error occured when init IPC client
2022-10-31 20:25:18 debug VpnLogic::onConnectionStateChanged "Ошибка"
2022-10-31 20:27:17 debug "СonnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnAllSites
2022-10-31 20:27:17 debug IpcClient::init failed
2022-10-31 20:27:17 warning Error occured when init IPC client
2022-10-31 20:27:17 debug VpnLogic::onConnectionStateChanged "Ошибка"
2022-10-31 20:27:18 debug "СonnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnAllSites
2022-10-31 20:27:18 debug IpcClient::init failed
2022-10-31 20:27:18 warning Error occured when init IPC client
2022-10-31 20:27:18 debug VpnLogic::onConnectionStateChanged "Ошибка"
2022-10-31 20:27:18 debug "СonnectToVpn, Server index is 0, container is amnezia-shadowsocks, route mode is" Settings::VpnAllSites

image

wstunnel

Есть возможность пихнуть wstunnel чтоб работал wireguard через tls ?

Mac ox tray icon is always white

On 2.0.8 icon doesn't change the color from gray to white and back anymore when you connect or disconnect, it's confusing, looks like VPN is active even when it's not...

thanks for the app ;)

Спасибо

(Linux) нет иконки приложения

На fedora 36 после установки обновления 2.0.10 появился ярлык в меню, но у него нет значка. Попробовал через редактор меню руками поставить значок из ...client/share/icons, но ярлык так и остался пустым. Может значок как-то не подходит?
изображение

ssserver not launching under ARM64

Привет, могу общаться по-русски.

Hi, I'm trying to run server under docker on Oracle Cloud,

uname -a
Linux pasha-vm 5.4.17-2102.205.7.3.el7uek.aarch64 #2 SMP Fri Sep 17 16:33:58 PDT 2021 aarch64 aarch64 aarch64 GNU/Linux

choose option with shadowsocks, but the client seems stuck on reconnection:

Having dancing back and forth I log into server container and don't see shadowsocks server running.
after trying to run it myself I got this:

bash-5.1# ssserver -c /opt/amnezia/shadowsocks/ss-config.json &
[1] 300
bash-5.1# bash: /usr/bin/ssserver: cannot execute binary file: Exec format error

is it an CPU architecture issue?

[feature request] add exclude site list

Add the list of sites that use direct connection when all other sites use vpn.
It need for YouTube in case the connection with vpn-server is not very fast.

Unquoted Service Path

Issue description

A successful attempt would require the local user to be able to insert their code in the system root path undetected by the OS or other security applications where it could potentially be executed during application startup or reboot. If successful, the local user's code would execute with the elevated privileges of the application.

POC

C:\>sc qc AmneziaVPN-service
[SC] QueryServiceConfig: успех

Имя_службы: AmneziaVPN-service
        Тип                  : 10  WIN32_OWN_PROCESS
        Тип_запуска          : 2   AUTO_START
        Управление_ошибками  : 1   NORMAL
        Имя_двоичного_файла  : C:\\Program Files\AmneziaVPN\AmneziaVPN-service.exe
        Группа_запуска       :
        Тег                  : 0
        Выводимое_имя        : AmneziaVPN-service
        Зависимости          : BFE
                             : nsi
        Начальное_имя_службы : LocalSystem

More info

https://cwe.mitre.org/data/definitions/428.html

Remote process on server crashed

Hi, i try to install on clean ubuntu server 18.04, after first login on this server i receive this error
image
maybe somewhere i can find log about what process crashed?
p.s, i connecting to this server over Zerotier, i think, i need direct (white IP), because after enabling VPN, Amnezia vpn lost connection to my server over Zerotier

Wireguard container error

I see in wireguard client logs

Handshake for peer 1 (*:51820) did not complete after 5 seconds

Then I try to attach docker container with wireguard and restart wireguard manually but I cannot

bash-5.1# wg-quick up /opt/amnezia/wireguard/wg0.conf
Warning: `/opt/amnezia/wireguard/wg0.conf' is world accessible
[#] ip link add wg0 type wireguard
RTNETLINK answers: Not supported
Unable to access interface: Protocol not supported
[#] ip link delete dev wg0
Cannot find device "wg0"

Amnezia v 2.0.8

Feature request: logs when installing new protocols and ability to cancel on failed operation

Hello,
I'm working with AmneziaVPN for a couple of weeks and there are some features that I think that would be good to be implemented in UI:

  1. when installing new protocols it'd be very good if user can stream logs online to see how everything is going on, there are chances that the operation fail or timeout but the user wouldn't notice specially if the connection to server drops
  2. a button to cancel the operation instead of closing the whole application would also benefits the user experience

after all I saw that there is a log sink text file in the AppData folder but it would be good to have it in a rich text edit as a side-feature like all other vpn applications

Не добавлять ярлык на рабочий стол

Я предпочитаю держать рабочий стол пустым, но во время установки на него всегда добавляется ярлык на приложение. Можно добавить опцию, чтобы не добавлять ярлык?

OS: Win 10
Amnezia: 2.0.8

Trying to add invalid route, gw

2022-03-19 14:59:11 info Started as system service
2022-03-19 14:59:20 debug LocalServer new connection
2022-03-19 14:59:20 debug IpcServer new connection
2022-03-19 14:59:20 debug IpcServerProcess started,  "C:/Program Files/AmneziaVPN/wireguard/wireguard-service.exe" ("--remove", "C:/Users/Admin/AppData/Local/Temp/AmneziaVPN.WireGuard0.conf")
2022-03-19 14:59:20 debug IpcServer new connection
2022-03-19 14:59:20 debug IpcServerProcess started,  "C:/Program Files/AmneziaVPN/wireguard/wireguard-service.exe" ("--add", "C:/Users/Admin/AppData/Local/Temp/AmneziaVPN.WireGuard0.conf")
2022-03-19 14:59:20 debug Router::routeDeleteList finished, success:  0 / 1
2022-03-19 14:59:20 critical Trying to add invalid route, gw:  
2022-03-19 14:59:21 critical Trying to add invalid route, gw: 
Edition	Windows 10 Home
Version	21H1
Installed on	‎1/‎11/‎2022
OS build	19043.1466
Experience	Windows Feature Experience Pack 120.2212.3920.0
C:\Users\Admin>ipconfig /all

Windows IP Configuration

   Host Name . . . . . . . . . . . . : Test
   Primary Dns Suffix  . . . . . . . :
   Node Type . . . . . . . . . . . . : Hybrid
   IP Routing Enabled. . . . . . . . : Yes
   WINS Proxy Enabled. . . . . . . . : No
   DNS Suffix Search List. . . . . . : localdomain

Ethernet adapter Ethernet0:

   Connection-specific DNS Suffix  . : localdomain
   DHCP Enabled. . . . . . . . . . . : Yes
   Autoconfiguration Enabled . . . . : Yes
   IPv4 Address. . . . . . . . . . . : 192.168.58.130(Preferred)
   Subnet Mask . . . . . . . . . . . : 255.255.255.0
   Lease Obtained. . . . . . . . . . : Saturday, March 19, 2022 3:04:15 PM
   Lease Expires . . . . . . . . . . : Saturday, March 19, 2022 3:34:15 PM
   Default Gateway . . . . . . . . . : 192.168.58.2
   DHCP Server . . . . . . . . . . . : 192.168.58.254
   DNS Servers . . . . . . . . . . . : 192.168.58.2
   Primary WINS Server . . . . . . . : 192.168.58.2
   NetBIOS over Tcpip. . . . . . . . : Enabled

Not work in macos

If you specify a list of allowed sites, then only they work. The rest of the network does not work at all until the wi-fi is restarted.
And sometimes the network just stops working. Then just disconnect and reconnect wi-fi. Mac OS 11.3

EasyRSA executable missing

This error occurs every time you connect. After 4-5 attempts, the client successfully connects to the server

изображение_2021-03-14_142811

[Feature request] Update IPs for hosts

Some sites change it's IPs without changing host name, which means VPN stops working for them and you have to manually re-add already existing host name.
It would be nice if Amnezia could recheck hosts ip's in the background and silently update them

OpenVPN config missing error

All protocol start with OpenVPN can't connect.

Warning: Ignoring XDG_SESSION_TYPE=wayland on Gnome. Use QT_QPA_PLATFORM=wayland to run on Wayland anyway.
VpnLogic::onConnectionStateChanged "Disconnected"
libpng warning: iCCP: known incorrect sRGB profile
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ warning libpng warning: iCCP: known incorrect sRGB profile
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ warning qrc:/ui/qml/Pages/Protocols/PageProtoTorWebSite.qml:30: ReferenceError: pb_save is not defined
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ debug Warning: Pages components are not ready
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStartDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStopDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ warning qrc:/ui/qml/Pages/PageQrDecoderIos.qml:28: ReferenceError: nil is not defined
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ warning QSystemTrayIcon::setVisible: No Icon set
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ debug VpnConfigurator::getDnsForConfig "1.1.1.1" "8.8.8.8"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ info Started AmneziaVPN version 2.1.2.0
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۲۳ info Ubuntu 22.04.1 LTS (x86_64)
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۳۲ debug VpnConfigurator::getDnsForConfig "1.1.1.1" "8.8.8.8"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۳۷ debug ServerContainersLogic::onPushButtonProtoSettingsClicked "amnezia-openvpn-cloak" "openvpn"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۷:۳۷ debug OpenVpnLogic::updateProtocolPage
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۱ debug "СonnectToVpn, Server index is 0, container is amnezia-openvpn-cloak, route mode is" Settings::VpnAllSites
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۱ debug IpcClient::init succeed
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۱ debug VpnLogic::onConnectionStateChanged "Connecting..."
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۲ debug Server connected by ssh
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug Sftp finished with status ""
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug Run script
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug EXEC sudo docker exec -i amnezia-openvpn-cloak mkdir -p  "$(dirname /opt/amnezia/openvpn/clients/KBwuEl167gY7hSJGZsj3kTbYyaewfn8W.req)"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug stderr sudo: 
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug stderr a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug ServerController::runScript finished

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug Run script
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۵ debug EXEC sudo docker cp /tmp/ubs3O766NH9iG54Y.tmp amnezia-openvpn-cloak://opt/amnezia/openvpn/clients/KBwuEl167gY7hSJGZsj3kTbYyaewfn8W.req
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug stderr sudo
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug stderr : a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug ServerController::runScript finished

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug Run script
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug EXEC sudo shred /tmp/ubs3O766NH9iG54Y.tmp
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug stderr sudo
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug stderr : a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug ServerController::runScript finished

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug Run script
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۶ debug EXEC sudo rm /tmp/ubs3O766NH9iG54Y.tmp
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۷ debug stderr sudo: 
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۷ debug stderr a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۷ debug ServerController::runScript finished

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۷ debug Run script
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۷ debug EXEC sudo docker exec -i amnezia-openvpn-cloak bash -c "cd /opt/amnezia/openvpn && easyrsa import-req /opt/amnezia/openvpn/clients/KBwuEl167gY7hSJGZsj3kTbYyaewfn8W.req KBwuEl167gY7hSJGZsj3kTbYyaewfn8W"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۸ debug stderr sudo: 
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۸ debug stderr a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۸ debug EXEC sudo docker exec -i amnezia-openvpn-cloak bash -c "export EASYRSA_BATCH=1; cd /opt/amnezia/openvpn && easyrsa sign-req client KBwuEl167gY7hSJGZsj3kTbYyaewfn8W"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۹ debug stderr sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۹ debug ServerController::runScript finished

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۹ debug Copy file from container
 sudo docker exec -i amnezia-openvpn-cloak sh -c "xxd -p '/opt/amnezia/openvpn/pki/ca.crt'"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۹ debug ServerController::getTextFileFromContainer proc started
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۰۹ debug Copy file from container
 sudo docker exec -i amnezia-openvpn-cloak sh -c "xxd -p '/opt/amnezia/openvpn/pki/issued/KBwuEl167gY7hSJGZsj3kTbYyaewfn8W.crt'"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۰ debug ServerController::getTextFileFromContainer proc started
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۰ debug Copy file from container
 sudo docker exec -i amnezia-openvpn-cloak sh -c "xxd -p '/opt/amnezia/openvpn/ta.key'"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug ServerController::getTextFileFromContainer proc started
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnConfigurator::getDnsForConfig "1.1.1.1" "8.8.8.8"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug OpenVpnOverCloakProtocol::start() /usr/bin/ck-client -c /tmp/AmneziaVPN.zxUfAo -s  -p 443 -l 1194 -u
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnProtocol::setConnectionState "Connecting..."
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug Connection state: 'Connecting...'
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug OpenVpnProtocol::stop()
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnLogic::onConnectionStateChanged "Connecting..."
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnProtocol::setConnectionState "Disconnecting..."
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug Connection state: 'Disconnecting...'
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnProtocol::setConnectionState "Error"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug Connection state: 'Error'
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ critical VpnProtocol error, code ErrorCode::21(OpenVPN config missing) OpenVPN config missing
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnLogic::onConnectionStateChanged "Disconnecting..."
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnLogic::onConnectionStateChanged "Error"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug ck-client: time="2022-10-20T11:28:11+03:30" level=info msg="Starting standalone mode"

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug ck-client: time="2022-10-20T11:28:11+03:30" level=fatal msg="ServerName cannot be empty"

۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug OpenVpnOverCloakProtocol finished, exitCode, exiStatus 1 QProcess::NormalExit
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnProtocol::setConnectionState "Disconnected"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug Connection state: 'Disconnected'
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug VpnLogic::onConnectionStateChanged "Disconnected"
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ warning QObject::connect: Cannot queue arguments of type 'amnezia::ErrorCode'
(Make sure 'amnezia::ErrorCode' is registered using qRegisterMetaType().)
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug OpenVpnProtocol::stop()
۲۰۲۲-۱۰-۲۰ ۱۱:۲۸:۱۱ debug OpenVpnOverCloakProtocol::stop()

Infinite "Connecting..."

I've bought vps from robovps.biz and seems like Amnezia set it up without any problem. But when I'm trying to connect to my vpn it just say "Connecting..." and nothing happens, except of the fact that at this point I lose connection to internet.

Windows 7. Uninstaller not working for 2.1.0

I am trying to uninstall Amnezia VPN 2.1.0 (and to install an earlier version) but it does not work. I tried to run it as admin.
The log contains the following lines:

[188] Operations sanity check succeeded.
[188] Language: ru-RU
[890] OS: Windows 7 SP 1 (6.1), architecture: x86_64
[890] Check if app already installed: true
[1132] os.information : AmneziaVPN : The application is already installed. We need to remove the old installation first. Do you wish to proceed? Cancel|FirstButton
[2350] Starting uninstallation C:/Program Files/AmneziaVPN/maintenancetool.exe
[2450] Uninstaller finished with code: 1
[2450] Uninstallation aborted by user

Proxy IPv6 traffic

After connection to the VPN my IPv6 address has not changed. Please cover IPv6 too.

Run on windows server through WSL2

I've set up wsl2 with ssh and successfully installed the VPN.

The issue is - it does not connect. What ports should I forward to make it work (is it even possible)?

I've done this for ssh:
netsh interface portproxy add v4tov4 listenaddress=0.0.0.0 listenport=22 connectaddress=MY_SERVER_ADDR connectport=22

Internal Error

When installing, I chose two options - OpenVPN + Shadowsocks and regular OpenVPN. Normal OpenVpn works, combined mode apparently does not. I would continue to use regular OpenVPN, but even if I select the checkbox with regular OpenVPN, I still have an Internal Error.
Debian 10 pure server.
Tell me, on what server configurations does it work exactly?
If you need to throw off any logs, write about it
изображение
изображение

Linux client can't connect - Cloak (ck-client) executable missing

Protocol openvpn over cloak doesn't work

QStandardPaths: XDG_RUNTIME_DIR not set, defaulting to '/tmp/runtime-root'
VpnLogic::onConnectionStateChanged "Disconnected"
libpng warning: iCCP: known incorrect sRGB profile
libpng warning: iCCP: known incorrect sRGB profile
qrc:/ui/qml/Pages/Protocols/PageProtoTorWebSite.qml:30: ReferenceError: pb_save is not defined
qml: Warning: Pages components are not ready
qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStartDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
qrc:/ui/qml/Pages/PageQrDecoderIos.qml:27:5: QML Connections: Detected function "onStopDecode" in Connections element. This is probably intended to be a signal handler but no signal of the target matches the name.
qrc:/ui/qml/Pages/PageQrDecoderIos.qml:28: ReferenceError: nil is not defined
QSystemTrayIcon::setVisible: No Icon set
Started AmneziaVPN version 2.1.2.0
Ubuntu 22.04.1 LTS (x86_64)
VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
qrc:/ui/qml/main.qml:125: TypeError: Cannot read property 'page' of null
"СonnectToVpn, Server index is 0, container is amnezia-openvpn-cloak, route mode is" Settings::VpnAllSites
IpcClient::init succeed
VpnLogic::onConnectionStateChanged "Connecting..."
Server connected by ssh
Sftp finished with status ""
Run script
EXEC sudo docker exec -i amnezia-openvpn-cloak mkdir -p  "$(dirname /opt/amnezia/openvpn/clients/SkdPhgZ3tTGCu9DdxHlIMuKrHg3G1tT0.req)"
stderr sudo
stderr : a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper
stderr 

ServerController::runScript finished

Run script
EXEC sudo docker cp /tmp/zyHYkCHJvbbLNfJd.tmp amnezia-openvpn-cloak://opt/amnezia/openvpn/clients/SkdPhgZ3tTGCu9DdxHlIMuKrHg3G1tT0.req
stderr sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

ServerController::runScript finished

Run script
EXEC sudo shred /tmp/zyHYkCHJvbbLNfJd.tmp
stderr sudo: 
stderr a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

ServerController::runScript finished

Run script
EXEC sudo rm /tmp/zyHYkCHJvbbLNfJd.tmp
stderr sudo
stderr : a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

ServerController::runScript finished

Run script
EXEC sudo docker exec -i amnezia-openvpn-cloak bash -c "cd /opt/amnezia/openvpn && easyrsa import-req /opt/amnezia/openvpn/clients/SkdPhgZ3tTGCu9DdxHlIMuKrHg3G1tT0.req SkdPhgZ3tTGCu9DdxHlIMuKrHg3G1tT0"
stderr sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

EXEC sudo docker exec -i amnezia-openvpn-cloak bash -c "export EASYRSA_BATCH=1; cd /opt/amnezia/openvpn && easyrsa sign-req client SkdPhgZ3tTGCu9DdxHlIMuKrHg3G1tT0"
stderr sudo: a terminal is required to read the password; either use the -S option to read from standard input or configure an askpass helper

ServerController::runScript finished

Copy file from container
 sudo docker exec -i amnezia-openvpn-cloak sh -c "xxd -p '/opt/amnezia/openvpn/pki/ca.crt'"
ServerController::getTextFileFromContainer proc started
Copy file from container
 sudo docker exec -i amnezia-openvpn-cloak sh -c "xxd -p '/opt/amnezia/openvpn/pki/issued/SkdPhgZ3tTGCu9DdxHlIMuKrHg3G1tT0.crt'"
ServerController::getTextFileFromContainer proc started
Copy file from container
 sudo docker exec -i amnezia-openvpn-cloak sh -c "xxd -p '/opt/amnezia/openvpn/ta.key'"
ServerController::getTextFileFromContainer proc started
VpnConfigurator::getDnsForConfig "1.1.1.1" "1.0.0.1"
VpnProtocol::setConnectionState "Error"
Connection state: 'Error'
VpnProtocol error, code ErrorCode::26(Cloak (ck-client) executable missing) Cloak (ck-client) executable missing
VpnLogic::onConnectionStateChanged "Error"

Not possible to enter SSH key in Windows client

Steps:

  • Settings -> Server -> + -> Connect using SSH key
  • Paste SSH key

Expected result: key is pasted correctly

Actual result: line breaks are deleted, key is pasted as single line. Changing \n to \r\n doesn't change anything.

Later this results in "SSH key error" for any installation attempts.

Dark theme

Could you please add a dark theme to the app? Because using your app at night or in dark rooms is very unpleasant because of the bright white background.

MacOS: public key auth

Hello!

I was tried setup my server with ssh-keys:
keys

After select Setup Wizard and other steps I got error:

error

As I can understand, Issue with key format, you dont use new line.

I know about #8

And question, what ssh-keys I can use? Possible to use id_ed25519 format?

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.