When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Could post the problems in this ticket please.
Hi Heiko,
Below is the description of the problem that I posted on openvpn-users@lists.sourceforge.net:
I cross-compiled openvpn-gui.exe for Microsoft Windows 64-bit OS using Ubuntu 12.10, 64-bit. The following are the tools I used:
mingw-w64-1.0-bin_x86_64-linux_20120227.tar.bz2
openssl-1.0.1c.tar.gz
openvpn-gui-2.tar.gz
mingw-w64-tools which contains the gendef tool
winhttp.dll (copied from Microsoft Windows 8, 64-bit)
I was able to cross-compile the Windows executable without problem.
I uninstalled OpenVPN 2.3 from my Microsoft Windows 8, 64-bit, English OS. Using regedit, I manually removed OpenVPN-GUI folder containing registry entries from HKEY_LOCAL_MACHINE\SOFTWARE\OpenVPN-GUI
I reinstalled OpenVPN 2.3, this time making sure that I did not select to install the bundled OpenVPN-GUI.
After successful installation, I copied my cross-compiled openvpn-gui.exe to C:\Program Files\OpenVPN\bin. I also copied the config files to C:\Program Files\OpenVPN\config
I double-clicked the said executable. A tiny icon appeared on the bottom right-hand corner of my screen.
I right-clicked on the openvpn-gui icon, moved the cursor to the gateway that I wished to access and a menu popped up. There were items like: Connect, View Log, Edit Config and Change Password. I clicked on Connect and was able to access the internet via the selected gateway.
I wanted to disconnect the gateway. I right-clicked on the tiny openvpn-gui icon located on the bottom right-hand corner of my computer screen, navigated to the connected gateway and a menu popped up with the the following items: Disconnect, Show Status, View Log, Edit Config and Change Password. I clicked on Disconnect and a window popped up containing the following error message:
CreateProcess failed, exe= 'C:\Program Files\OpenVPN\bin\openvpn.exe”
cmdline='openvpn –config”” --service 13f000001798 0 --log””
auth-retry interact --management 0.0.0.0 0 stdin
--management-query-passwords --management-hold dir=”
The above error message did not appear if I double-clicked the tiny icon, a window popped up containing the log of the gateway connection and I clicked on Disconnect. The window that popped up had 3 buttons: Disconnect, Reconnect and Hide.
I was able to reproduce the error message on a Microsoft Windows 7, 64-bit platform.
Any help to resolve the above issue would be most appreciated.
Note: If you wish to see the JPEGs of the error message, please click the following link: http://www.ziddu.com/download/21542698/opg.zip.html
Special note to Heiko: If you wish to try out a commercial VPN service with about 300 config files to reproduce the above problem, I can make a personal recommendation to the commercial VPN service provider to give you a free trial. How about that?
Last edit: Heiko Hund 2013-04-12
Ok what were the changes you made to the GUI source code before you compiled it? Do you have a diff you could attach?
I downloaded and opened the source code, searched for the file called options.h and looked for the following 2 lines:
#define MAX_CONFIGS 50 / Max number of config-files to read /
#define MAX_CONFIG_SUBDIRS 50 / Max number of subdirs to scan for configs /
I changed the number 50 to 150, closed the file and saved the changes.
Following the above action, I compiled it.
I appreciate your feedback.
Thanks.
Last edit: Heiko Hund 2013-04-12
Ok, I was able to reproduce it. Currently the GUI only supports a maximum of 100 connections. Otherwise, as in your case, the popup menu entry identifiers overlap, which leads to a (very likely non-existent) connection being started instead of the clicked one to be stopped.
Will fix and also introduce a configure flag for this as a few people seem to have to need for 100+ connections.
The issue has been fixed in commit 2de72ec0ca52d859d4921d53d71b0df8709c5e65.
Commit 77d2f5b2b244fd9cff2c177b7ffad73b18111b10 introduces the possibility to tweak the MAX_CONFIGS parameter via autoconf.
You have been a great help and I would like to thank you for it.
Some commercial VPN service providers do provide their customers with more than 150 gateways or nodes as the former call them. With the exception of StrongVPN, the VPN service providers that I choose allow for an unlimited number of gateway switching in a single month. StrongVPN, on the other hand, only allows a maximum of 5 gateway switching per month based on the subscription plans. Of course I don't access the internet through more than 1 gateway on the VPN. I can't imagine how I can manage with more than 1 gateway.
P.S.: I suppose the term you used "100+ connections" corresponds to what commercial VPN service providers would call "gateways".
From: Heiko Hund heikoh@users.sf.net
To: [openvpn-gui:issues] 30@issues.openvpn-gui.p.re.sf.net
Sent: Friday, April 12, 2013 7:28 PM
Subject: [openvpn-gui:issues] #30 OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Ok, I was able to reproduce it. Currently the GUI only supports a maximum of 100 connections. Otherwise, as in your case, the popup menu entry identifiers overlap, which leads to a (very likely non-existent) connection being started instead of the clicked one to be stopped.
Will fix and also introduce a configure flag for this as a few people seem to have to need for 100+ connections.
[issues:#30] OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Status: open
Created: Mon Feb 18, 2013 01:02 AM UTC by Bowie Frisch
Last Updated: Thu Apr 11, 2013 12:20 PM UTC
Owner: nobody
When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openvpn-gui/issues/30/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Issues:
#30Hi Heiko,
Thank you for your response to the issue that I raised.
Is there a possibility that [Commit 77d2f5b2b244fd9cff2c177b7ffad73b18111b10] be introduced into your next version/upgrade release of OpenVPN-GUI? My guess is Samuli of OpenVPN will then be able to package it for the next version release/upgrade of OpenVPN (Community Edition).
If you browse the "Off-topic, Related" section of OpenVPN forums at https://forums.openvpn.net/off-topic-related-f1.html, you will come across the occasional requests for OpenVPN-GUI to be able to handle more than 150+ connections or gateways. Such requests invariably come from people who are customers of commercial VPN service providers.
From: Heiko Hund heikoh@users.sf.net
To: [openvpn-gui:issues] 30@issues.openvpn-gui.p.re.sf.net
Sent: Saturday, April 13, 2013 2:23 AM
Subject: [openvpn-gui:issues] #30 OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
The issue has been fixed in commit 2de72ec0ca52d859d4921d53d71b0df8709c5e65.
Commit 77d2f5b2b244fd9cff2c177b7ffad73b18111b10 introduces the possibility to tweak the MAX_CONFIGS parameter via autoconf.
[issues:#30] OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Status: open
Created: Mon Feb 18, 2013 01:02 AM UTC by Bowie Frisch
Last Updated: Fri Apr 12, 2013 11:28 AM UTC
Owner: nobody
When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openvpn-gui/issues/30/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Issues:
#30Hi Heiko,
I tried to make a small donation via your website at http://sourceforge.net/p/openvpn-gui/donate and instead obtained an error message [Error message 404].
Is there an alternate link for making a donation?
From: Heiko Hund heikoh@users.sf.net
To: [openvpn-gui:issues] 30@issues.openvpn-gui.p.re.sf.net
Sent: Saturday, April 13, 2013 2:23 AM
Subject: [openvpn-gui:issues] #30 OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
[issues:#30] OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Status: closed-fixed
Created: Mon Feb 18, 2013 01:02 AM UTC by Bowie Frisch
Last Updated: Fri Apr 12, 2013 06:23 PM UTC
Owner: Heiko Hund
When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openvpn-gui/issues/30/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Issues:
#30Hi Heiko
First of all, I would like to thank you for having dealt with issues:#30.
Second, I copied and pasted the latest revisions of the following files to the unzipped version of openvpn-gui-3.tar.gz:
configure.ac
localization.c
main.c
Makefile.am
manage.c
misc.c
misc.h
openvpn.c
options.h
proxy.c
tray.c
tray.h
When I issued the command ./configure MAX_CONFIGS=350.....
my OS (Ubuntu 12.04 LTS, 64-bit) responded with: configure: command not found
What happened?
Thanks in advance for your help.
From: Heiko Hund heikoh@users.sf.net
To: [openvpn-gui:issues] 30@issues.openvpn-gui.p.re.sf.net
Sent: Saturday, April 13, 2013 2:23 AM
Subject: [openvpn-gui:issues] #30 OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
The issue has been fixed in commit 2de72ec0ca52d859d4921d53d71b0df8709c5e65.
Commit 77d2f5b2b244fd9cff2c177b7ffad73b18111b10 introduces the possibility to tweak the MAX_CONFIGS parameter via autoconf.
[issues:#30] OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Status: open
Created: Mon Feb 18, 2013 01:02 AM UTC by Bowie Frisch
Last Updated: Fri Apr 12, 2013 11:28 AM UTC
Owner: nobody
When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openvpn-gui/issues/30/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Issues:
#30Hi Heiko,
Please disregard my earlier message regarding ./configure command not found.
The mistake was made when I entered the wrong directory.
I apologize for any inconvenience caused.
From: Bowie Frisch openvpnuser@users.sf.net
To: [openvpn-gui:issues] 30@issues.openvpn-gui.p.re.sf.net
Sent: Wednesday, May 8, 2013 7:28 AM
Subject: [openvpn-gui:issues] Re: #30 OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Hi Heiko
First of all, I would like to thank you for having dealt with issues:#30.
Second, I copied and pasted the latest revisions of the following files to the unzipped version of openvpn-gui-3.tar.gz:
configure.ac
localization.c
main.c
Makefile.am
manage.c
misc.c
misc.h
openvpn.c
options.h
proxy.c
tray.c
tray.h
When I issued the command ./configure MAX_CONFIGS=350.....
my OS (Ubuntu 12.04 LTS, 64-bit) responded with: configure: command not found
What happened?
Thanks in advance for your help.
From: Heiko Hund heikoh@users.sf.net
To: [openvpn-gui:issues] 30@issues.openvpn-gui.p.re.sf.net
Sent: Saturday, April 13, 2013 2:23 AM
Subject: [openvpn-gui:issues] #30 OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
The issue has been fixed in commit 2de72ec0ca52d859d4921d53d71b0df8709c5e65.
Commit 77d2f5b2b244fd9cff2c177b7ffad73b18111b10 introduces the possibility to tweak the MAX_CONFIGS parameter via autoconf.
[issues:#30] OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Status: open
Created: Mon Feb 18, 2013 01:02 AM UTC by Bowie Frisch
Last Updated: Fri Apr 12, 2013 11:28 AM UTC
Owner: nobody
When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openvpn-gui/issues/30/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
[issues:#30] OpenVPN-GUI 2.0.0.0 has some bugs when the number of config files is increased
Status: closed-fixed
Created: Mon Feb 18, 2013 01:02 AM UTC by Bowie Frisch
Last Updated: Fri Apr 12, 2013 06:23 PM UTC
Owner: Heiko Hund
When I increase the maximum number of config files from the current 50 to 150, there are a few bugs in the resultant openvpn-gui.exe (64-bit)
For your information, I cross-compiled the 64-bit Windows executable using Ubuntu, MinGW-w64, OpenSSL and winhttp.
The bugs are described in the downloadable document: http://www.ziddu.com/download/21542698/opg.zip.html
I hope heikohund or someone can help me fix the bugs so that I can help the developer of this software to cross-compile many Windows executables based on the different number of config files for the benefit of the users here or on OpenVPN forum.
Sent from sourceforge.net because you indicated interest in https://sourceforge.net/p/openvpn-gui/issues/30/
To unsubscribe from further messages, please visit https://sourceforge.net/auth/subscriptions/
Related
Issues:
#30Hello All,
it would be great if someone could compile and distribute a version that can handle more than 50 config. The official version still has the 50 configs limit, and as a non-programmer i´m not able to compile it by myself (i tried for hours without success).
Could someone compile a version that can handle 150 configs and provide a download link?
best regards
fischeye