Jump to content


Photo

Alternative AirVPN client with provider-independent double-hop support (GNU/Linux)

doublehop client python Linux openvpn firewall airvpn

  • Please log in to reply
178 replies to this topic

#21 183aTr78f9o

183aTr78f9o

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 24 May 2018 - 09:15 PM

New version 0.4.1 online: Most of the bugs discussed above should be fixed - hopefully!

 

@183aTr78f9o: Updates do not override previous config files any longer.

I've just updated from 0.4 to 0.4.1, no more crash whatsoever. No reboot required.

 

My Air credentials and used protocol/port were saved, servers were still listed. However, my settings were reset once more. All boxes were unchecked.

 

If that matters, I manually disconnect and quit Qomui before running

sudo pip install ./

 

It's not a big deal at all, it only takes a few seconds to check the desired boxes and click "Apply" but I thought I would let you know anyway. I wish I could provide more details so that you could investigate further but I don't really see how.

 

Feel free to tell me any manipulation, I'd be glad to help.

 

Good job!



#22 greerd

greerd

    Advanced Member

  • Members2
  • PipPipPip
  • 53 posts

Posted 25 May 2018 - 12:36 AM

EDIT: Updated to 0.4.1

The tray icon is visible after qomui-gui startup and until I click the connect button, then it disappears and disconnecting doesn't make it visible again, only killing and restarting the app makes it visible (until I click connect again). I'm running Mint on bare metal.

​'/usr/share/icons/hicolor/scalable/apps/qomui.svg'  does exist, is the tray icon suppose to change during the connect process?



#23 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 25 May 2018 - 06:27 PM

My Air credentials and used protocol/port were saved, servers were still listed. However, my settings were reset once more. All boxes were unchecked.

 

I tested uninstalling/reinstalling in three different VMs and settings were preserved each time - and tried again just now with the same result. Would be interesting to know if you'll have this issue again with the next version. This should not happen in the future.

 

The tray icon is visible after qomui-gui startup and until I click the connect button, then it disappears and disconnecting doesn't make it visible again, only killing and restarting the app makes it visible (until I click connect again). I'm running Mint on bare metal.

​'/usr/share/icons/hicolor/scalable/apps/qomui.svg'  does exist, is the tray icon suppose to change during the connect process?

 

I'm at a loss. The issue seems to be with the .png-icons. When you start Qomui the tray icon is ​'/usr/share/icons/hicolor/scalable/apps/qomui.svg', but once you successfully connected you should see a country flag of that server (same as in the server list) instead of a blank space. The flag pngs are located at /usr/share/qomui/flags. In a nutshell, svg seems to be working png (the standard format) does not. Maybe Cinnamon can't scale the latter correctly on all systems. I realized they are actually quite large at 720x720. I did that to ensure support for HiDPI displays but may have overdone it. Since I can't reproduce the issue, I have attached a much smaller png at 32x32 of the Netherlands, and 256x256 of Sweden. If you want you can replace the original ones under /usr/share/qomui/flags with those two for testing purposes - just to confirm that it is indeed a scaling issue. If you do, try connecting to a server from Sweden/Netherlands first. I have tested 5 different DEs so far, Plasma, Gnome (no support for tray icon), Cinnamon, XFCE and Unity (or more recently, Ubuntu-Gnome), and never had this issue except with a very early version where I had just downloaded some random flag icons. Do you have a HiDPI-Display or have you heavily customized the default settings for the tray in particular? Have you tried the customized panel size and auto-scaling of icons in panel settings? Would be interesting to know if that helps.

 

Netherlands.png Sweden.png



#24 183aTr78f9o

183aTr78f9o

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 25 May 2018 - 07:23 PM

My Air credentials and used protocol/port were saved, servers were still listed. However, my settings were reset once more. All boxes were unchecked.

I tested uninstalling/reinstalling in three different VMs and settings were preserved each time - and tried again just now with the same result. Would be interesting to know if you'll have this issue again with the next version. This should not happen in the future.

 

 

Interesting. I experienced the same constancy but with settings not being saved. I have Qomui installed on three different setups which are almost identical (two real machines and a VM - Arch + MATE desktop) and Qomui settings were reset on each setup after upgrading to 0.4.1. I'll tell you whether settings are preserved or not with next update, of course.

 

I've been using Qomui for a week now. Other than this little hiccup when updating to 0.4.0, I've had litterally zero issue whatsoever. No crash, no disconnection, no UI glitch. I've just migrated my main machine from MATE desktop to KDE Plasma, Qomui is still working as expected.

 

Hopefully more Linux users will come accross this nice OpenVPN GUI client, it deserves to be known in my opinion.

 

Keep up the good work!



#25 greerd

greerd

    Advanced Member

  • Members2
  • PipPipPip
  • 53 posts

Posted 25 May 2018 - 08:49 PM

Hi corrado,

​I tried both Sweden and Netherlands servers with the different sized icons in /usr/share/qomui/flags(664 permissions), tried in a new panel and new system tray without scaling, reboot, some other combinations and different panel scaling but no luck, as soon as I click connect, the tray icon is gone. My resolution is 1900 x 1200.

 

​Thanks for the effort in all this, it's a nice app, maybe Mint 19 will give me better luck!



#26 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 28 May 2018 - 03:02 PM

I've been using Qomui for a week now. Other than this little hiccup when updating to 0.4.0, I've had litterally zero issue whatsoever. No crash, no disconnection, no UI glitch. I've just migrated my main machine from MATE desktop to KDE Plasma, Qomui is still working as expected.

 

Hopefully more Linux users will come accross this nice OpenVPN GUI client, it deserves to be known in my opinion.

 

Thank you for this nice feedback, glad you like Qomui! I'm currently rewritting the config-file management to reliably avoid updates overwriting your configuration. Also, I'm working on a PKGBUILD for AUR and a .deb for easier installation and update-management. Not sure where to upload the latter, though: Is launchpad still a thing?

 

​I tried both Sweden and Netherlands servers with the different sized icons in /usr/share/qomui/flags(664 permissions), tried in a new panel and new system tray without scaling, reboot, some other combinations and different panel scaling but no luck, as soon as I click connect, the tray icon is gone. My resolution is 1900 x 1200.

 

Thank you for trying! I'm out of ideas - the next update will feature an option for a "simple tray mode" that will hopefully offer a working alternative.



#27 SirAlexander

SirAlexander

    Member

  • Members
  • PipPip
  • 19 posts

Posted 30 May 2018 - 12:32 AM

$ sudo apt-get install python3 python3-setuptools python3-pip python3-pyqt5 python3-dbus python3-dbus.mainloop.pyqt5 openvpn stunnel dnsutils net-tools dnsmasq cgroup-lite cgroup-tools geoip-bin geoip-database python3-psutil python3-requests python3-lxml python3-bs4 python3-pycountry python3-pexpect
Lecture des listes de paquets... Fait
Construction de l'arbre des dépendances       
Lecture des informations d'état... Fait
Note : sélection de « stunnel4 » au lieu de « stunnel »
E: Impossible de trouver le paquet cgroup-lite 

 

A dependency is missing in Debian !



#28 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 30 May 2018 - 05:37 AM

@SirAlexander: You are right, I was not aware that cgroup-lite is only available via Ubuntu repositories. It is a tool to automatically mount cgroups. Seems that on Debian "cgroupfs-mount" does the same thing. So you can try that one. In case you are not interested in the Bypass-Feature you don't have to install the cgroup-packages at all.

#29 CyBeRmIdGeT

CyBeRmIdGeT

    Member

  • Members
  • PipPip
  • 12 posts

Posted 30 May 2018 - 04:34 PM

Does not work for me :( installs just fine.

 

Would the log show any reason why?

 

Thanks.



#30 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 30 May 2018 - 05:12 PM

Does not work for me

 

If you could give me a little more information I'd be happy to help. What exactly isn't working? Does the gui show up at all? What distributon/DE are you using (I have only tested Ubuntu- and Arch-based distros so far)? To identify the issue it would be best if you could start the gui and the service from two respective terminals.

 

In the first one type:

sudo qomui-service

And the second one (without sudo):

qomui-gui

Then post the output here and I'm confident I can help to resolve your issue quickly - it's an early release and there are still a few things to iron out.



#31 sleepingspy999

sleepingspy999

    Newbie

  • Members
  • Pip
  • 2 posts

Posted 31 May 2018 - 02:58 AM

Superb progam, been using on Kali Linux no problems at all, I also would like a reconnect feature if connection is lost but thats the only thing.

Keep up the good work.



#32 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 01 June 2018 - 09:04 PM

Version 0.5.0 is out including a few new features, including automatic reconnects if OpenVPN crashes for some reason or the tunnel interface dies. To make updates more convenient I included an (experimental) update feature that will automatically check for new releases on github and the possibility to conveniently download and install the update via the new "About" tab. I also fixed a few bugs and made the "Disconnect"-button permanently visible. For those of you that had issues with the tray icon, I included a simple tray option.
 

Superb progam, been using on Kali Linux no problems at all,

 

Thanks a lot, happy to hear that!



#33 183aTr78f9o

183aTr78f9o

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 01 June 2018 - 09:40 PM

I've just updated to v0.5.0 while being connected to an Air server with 0.4.1, then I closed Qomui manually and restarted it.

 

My settings were correctly saved after updating this time around. Other weird things happened though. I could no longer connect to any server for some reasons. A reboot fixed the issue. I tried

sudo systemctl status qomui-service

before rebooting and got a bunch of errors related to python 3.6. I forgot to save the output, my bad.

 

Plus, I tried to check "System tray: simple mode" option but Qomui crashed right after I pressed "Apply".

 

Once I restarted Qomui, I went to "About section" and it offered me to update to 0.5.0 version. I was already using 0.5.0 (pip said that Qomui 0.5 was successfully installed and noticed all the new features by myself) but I decided to accept the update anyway. It worked without trouble, now I'm no longer offered to update.

 

I like how the "disconnect" button is now always visible. Displaying the used protocol next to the server name / city makes sense and is convenient.

 

Thank you for implementing auto-update feature in "About" section. Yet another feature Eddie has been missing since the beginning, even on MS Windows.

 

Auto reconnect is a welcome addition as well. I'd like to mention that I never had any disconnection while using Qomui yet.

 

"System tray: simple mode" option works fine on my end. A minor improvement would be to ask the user whether he wants to restart Qomui so that the change takes effect (after clicking on "Apply").

 

Another suggestion for next updates: please briefly write what's new in GitHub "release" section. Maybe you're going to do so and didn't have time yet, if that's the case then forget what I've just said. I know you keep us posted here in the thread, but it would be more coherent to have a sort of changelog directly on GitHub.

 

Qomui keeps getting better and better with each release. I

 

Thank you @corrado



#34 greerd

greerd

    Advanced Member

  • Members2
  • PipPipPip
  • 53 posts

Posted 02 June 2018 - 01:27 PM

Hi coraddo,

​I've updated to Mint 19 (beta) and Qomui v 0.5.0. The good news is that the tray icons are working without using the simple tray option. The bad news is that I can no longer open the Edit firewall rules, tried with and without the firewall activated, I click on the Edit firewall rules button but nothing opens.

​Cheers



#35 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 02 June 2018 - 09:20 PM

The good news is that the tray icons are working without using the simple tray option.

 

Glad that's finally working!

 

The bad news is that I can no longer open the Edit firewall rules, tried with and without the firewall activated, I click on the Edit firewall rules button but nothing opens.

 

Oooops, that's true on a fresh install as now the firewall config  file is no longer overwritten on updates and I forgot to implement a fallback to the default configuration for the firewall edit dialog. It's easily fixed, though. As a short-term solution just create a copy of the default configuration file - firewall_default.json - and name it firewall.json:

 

sudo cp /usr/share/qomui/firewall_default.json /usr/share/qomui/firewall.json

 



#36 snaggle

snaggle

    Advanced Member

  • Members
  • PipPipPip
  • 118 posts

Posted 03 June 2018 - 09:09 AM

Hi there,

 

Great project! and working as advertised on Manjaro Gnome with the exception of the tray icon.

It may be my system as I have no tray icon on the bottom left of the screen, I've just realized its missing!!

 

I only found Qomui as I was troubleshooting Eddie...again, glad I did... it's a keeper.

 

Thanks



#37 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 03 June 2018 - 11:18 AM

I've just updated to v0.5.0 while being connected to an Air server with 0.4.1, then I closed Qomui manually and restarted it.

 

My settings were correctly saved after updating this time around. Other weird things happened though. I could no longer connect to any server for some reasons. A reboot fixed the issue. I tried

sudo systemctl status qomui-service

before rebooting and got a bunch of errors related to python 3.6. I forgot to save the output, my bad.

 

Plus, I tried to check "System tray: simple mode" option but Qomui crashed right after I pressed "Apply".

 

Once I restarted Qomui, I went to "About section" and it offered me to update to 0.5.0 version. I was already using 0.5.0 (pip said that Qomui 0.5 was successfully installed and noticed all the new features by myself) but I decided to accept the update anyway. It worked without trouble, now I'm no longer offered to update.

 

I suspect something most have gone wrong when you first updated to version 0.5.0. Otherwise the update shouldn't have been offered to you again via "About". One thing I think I forgot to mention: If you do an update manually it's not sufficient to just restart qomui-gui. The service has to be restarted to, otherwise it will be running the old version which obviously cannot work properly. I'm glad the auto-update actually fixed the issue - this feature was way harder to implement than I initially thought and keep in mind that it is an experimental feature as of now.

 

Another suggestion for next updates: please briefly write what's new in GitHub "release" section. Maybe you're going to do so and didn't have time yet, if that's the case then forget what I've just said. I know you keep us posted here in the thread, but it would be more coherent to have a sort of changelog directly on GitHub.

 

Also, you are totally right about adding descriptions to the releases on github. So far these have been mainly  added  to try out the auto-update function, I also added and deleted them a couple of times for testing purposes. I added a changelog file to the repository itself, though, with the latest ones also shown in the readme section.

 

"System tray: simple mode" option works fine on my end. A minor improvement would be to ask the user whether he wants to restart Qomui so that the change takes effect (after clicking on "Apply").

 

This setting should take effect immediately without reboot required as soon as the tray-icon changes again - after connects/disconnects.

 

Great project! and working as advertised on Manjaro Gnome with the exception of the tray icon.

It may be my system as I have no tray icon on the bottom left of the screen, I've just realized its missing!!

 

Default configuration of Gnome unfortunately doesn't feature a system tray. There are some extensions that add this functionality but I don't know whether Qomui will work correctly with those. On Ubuntu 18.04 which runs a modified version of Gnome Qomui's tray icon works as expected.



#38 183aTr78f9o

183aTr78f9o

    Advanced Member

  • Members
  • PipPipPip
  • 56 posts

Posted 03 June 2018 - 12:02 PM

Also, you are totally right about adding descriptions to the releases on github. So far these have been mainly  added  to try out the auto-update function, I also added and deleted them a couple of times for testing purposes. I added a changelog file to the repository itself, though, with the latest ones also shown in the readme section.

 

I noticed the CHANGELOG.md file on GitHub right after posting my message, nice. It's just that I'm used to see the changelog in the "releases" section on most of GitHub repositories I keep an eye on. :)

 

 

This setting should take effect immediately without reboot required as soon as the tray-icon changes again - after connects/disconnects.

 

My bad, you're right. I didn't think about disconnecting/reconnecting without restarting qomui-gui.

 

 

I suspect something most have gone wrong when you first updated to version 0.5.0. Otherwise the update shouldn't have been offered to you again via "About". One thing I think I forgot to mention: If you do an update manually it's not sufficient to just restart qomui-gui. The service has to be restarted to, otherwise it will be running the old version which obviously cannot work properly. I'm glad the auto-update actually fixed the issue - this feature was way harder to implement than I initially thought and keep in mind that it is an experimental feature as of now.
 

 

Thank you for the clarification. I'm pretty sure that's why I couldn't connect to any server after updating. If the auto-update features turns out to be stable ennough, I'll stick with this method in the future as it's more convenient.

 

I updated as usual with git clone repo + pip install and didn't get any error. Same thing happened on my second machine (which has exactly the same setup). I've also just tried on a virtual machine without any previous Qomui version installed, same. Here's a screenshot.

 

Qomui_update.png

 

 

Since I updated to 0.5.0, I noticed that right clicking on the tray icon no longer shows the contex menu with "Show" or "Quit" but shows qomui-gui instead. Just like using the left click on the tray icon actually. Did you change that deliberately or is there something wrong on my end?

 

 

One last question/suggestion: I use "qomui-gui" command to launch it when my machine boots. "Start minimized" is checked in the settings. However, at startup, qomui-gui appears both in task manager and system tray. A simple click on the entry in the task manager makes it disappear and then only the tray-icon remains. Is there a way to only show gthe system tray?

 

I tried to use "qomui-gui -startintray -- %u" since these parameters work fine with another program I use, but it didn't work.

 

Cheers



#39 snaggle

snaggle

    Advanced Member

  • Members
  • PipPipPip
  • 118 posts

Posted 03 June 2018 - 02:04 PM

Default configuration of Gnome unfortunately doesn't feature a system tray. There are some extensions that add this functionality but I don't know whether Qomui will work correctly with those. On Ubuntu 18.04 which runs a modified version of Gnome Qomui's tray icon works as expected.

Hi and thanks for response, I'm confident they are no leaks in the case the vpn goes down due to UFW's rules,  although a visual check is good too.

I've installed the Gnome extension Ip Finder https://extensions.gnome.org/extension/1190/ip-finder/ It sits in the top bar and displays the countries flag and IP your connecting through. I am aware that IP Finder checks the IP every 30 seconds which makes it technically unfit for purpose but I like the placebo effect it gives.

Thanks again



#40 corrado

corrado

    Advanced Member

  • Members2
  • PipPipPip
  • 209 posts

Posted 03 June 2018 - 02:48 PM

I updated as usual with git clone repo + pip install and didn't get any error. Same thing happened on my second machine (which has exactly the same setup). I've also just tried on a virtual machine without any previous Qomui version installed, same. Here's a screenshot.

 

You're right, don't know why I didn't notice this during my test runs, guess I was too happy to get the update function finally working - will be fixed in the next update.

 

Since I updated to 0.5.0, I noticed that right clicking on the tray icon no longer shows the contex menu with "Show" or "Quit" but shows qomui-gui instead. Just like using the left click on the tray icon actually. Did you change that deliberately or is there something wrong on my end?

 

I'll have to look into that, works fine on my main machine (Arch/Plasma) and I haven't changed the code at all. What's your distro again?

 

One last question/suggestion: I use "qomui-gui" command to launch it when my machine boots. "Start minimized" is checked in the settings. However, at startup, qomui-gui appears both in task manager and system tray. A simple click on the entry in the task manager makes it disappear and then only the tray-icon remains. Is there a way to only show gthe system tray?

 

I struggled a lot with this - only having the tray icon was my main goal at first. Then I realized that on DEs without system tray such as Gnome this would obviously cause issues and on others (e.g. Ubuntu) it would just not work reliably. I know this is not an optimal solution, but changing it would break Qomui on some DEs. Since it's very time-consuming to test Qomui on all common DEs, I decided to stick to this for the moment. Currently, I have run tests on Arch/Plasma, Antergos/Gnome (will change to Fedora/Gnome), Mint/Cinnamon, Ubuntu/Gnome and Manjaro/XFCE (all clean up-to-date installations except Arch which is my main OS).

 

Hi and thanks for response, I'm confident they are no leaks in the case the vpn goes down due to UFW's rules,  although a visual check is good too.

I've installed the Gnome extension Ip Finder https://extensions.gnome.org/extension/1190/ip-finder/ It sits in the top bar and displays the countries flag and IP your connecting through. I am aware that IP Finder checks the IP every 30 seconds which makes it technically unfit for purpose but I like the placebo effect it gives.

 

There are extensions that bring the traditional system tray back to Gnome. I would expect Qomui will work with those, but I can't guarantee. Otherwise, the firewall reliably defends against leaks in the default configuration.







4 user(s) are reading this topic

0 members, 3 guests, 0 anonymous users


    Google (1)
Servers online. Online Sessions: 13780 - BW: 45355 Mbit/sYour IP: 54.205.211.87Guest Access.