Skip to contentSkip to conversation

New OpenVPN Windows installers (I004 and I604) released

Openvpn-devel Samuli Seppänen 7 participants 18 messages Oct 20, 2014 – Oct 21, 2014 1 message not in the archive

lore
Share & tools
lore
#0 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi all,

New Windows installers with OpenSSL 1.0.1j have been released:

<http://openvpn.net/index.php/download/community-downloads.html>

Two of the issues fixed in OpenSSL may impact OpenVPN. More details here:

<http://thread.gmane.org/gmane.network.openvpn.devel/9133>

Let me know if there are any issues with these installers.

Best regards,

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRFCSEACgkQwp2X7RmNIqPYCgCg4H2uIUnpO2pQzwwdS0H3VyLl lSQAn1w8BWUgofRJr4SsXL47zPEhe1He
=5sXk
-----END PGP SIGNATURE-----

#1 lore raw

Hi Samuli,

Quoted 11 lines · Samuli Seppänen

New Windows installers with OpenSSL 1.0.1j have been released:

<http://openvpn.net/index.php/download/community-downloads.html>

Two of the issues fixed in OpenSSL may impact OpenVPN. More details here:

<http://thread.gmane.org/gmane.network.openvpn.devel/9133>

Let me know if there are any issues with these installers.

just downloaded the openvpn-install-2.3.4-i004-x86_64.exe file and installed it; installation seems successful but afterwards the GUI fails to start:

cannot create HKLM\Software\Openvpn-GUI key

Running the gui with elevated privileges fixes this issue. Shouldn't the installer have created this registry key? This is on Windows 7 Pro 64bit.

JJK

#2 lore raw

Hi,

Quoted 2 lines · Jan Just Keijser

Running the gui with elevated privileges fixes this issue. Shouldn't the installer have created this registry key?

The GUI need to run with elevated privileges anyway, because otherwise OpenVPN cannot install routes...

This will hopefully be fixed in 2.4 with the interactive service, we just need to find time for Heiko to find the code and send it to us :-) (but I've already seen it last year)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#17 lore raw
In reply to Jan Just Keijser

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 7 lines

Hi Samuli,

Quoted 4 lines · Samuli Seppänen

New Windows installers with OpenSSL 1.0.1j have been released:

<http://openvpn.net/index.php/download/community-downloads.html>

Quoted 8 lines
Quoted 7 lines

Two of the issues fixed in OpenSSL may impact OpenVPN. More details here:

<http://thread.gmane.org/gmane.network.openvpn.devel/9133>

Let me know if there are any issues with these installers.

just downloaded the openvpn-install-2.3.4-i004-x86_64.exe file and

installed it; installation seems successful but afterwards the GUI fails to start:

Quoted 4 lines

cannot create HKLM\Software\Openvpn-GUI key

Running the gui with elevated privileges fixes this issue. Shouldn't

the installer have created this registry key?

Quoted 2 lines

This is on Windows 7 Pro 64bit.

Hi Jan,

Currently the installer does not currently create or update the OpenVPN-GUI registry keys. This is primarily for historic reasons - OpenVPN-GUI has never had it's own installer, so it sets up it's own environment during first startup (as admin).

I've written a separate NSI installer script for OpenVPN-GUI[*], which will take care of updating the keys as necessary. The plan is to include the OpenVPN-GUI installer in OpenVPN 2.4 installers only to avoid introducing installers bugs in our stable releases.

In my opinion the registry key generation should be removed from OpenVPN-GUI when the installer is fully functional, tested and integrated with OpenVPN.

Samuli

[*] The NSI script should be in openvpn-gui Git repository -----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRGJeYACgkQwp2X7RmNIqM6MgCeJjolkqW8gzufaZ+Qj84GfJGr ypgAoJrcJLDQQQ49p/dVSSjWHLd0cNwD
=UTHP
-----END PGP SIGNATURE-----

#3 lore raw
In reply to Gert Doering

Hi,

Quoted 4 lines · Gert Doering

Hi,

On Tue, Oct 21, 2014 at 10:53:52AM +0200, Jan Just Keijser wrote:

Quoted 10 lines
Quoted 2 lines

Running the gui with elevated privileges fixes this issue. Shouldn't the installer have created this registry key?

The GUI need to run with elevated privileges anyway, because otherwise OpenVPN cannot install routes...

This will hopefully be fixed in 2.4 with the interactive service, we just need to find time for Heiko to find the code and send it to us :-) (but I've already seen it last year)

so I guess the installer needs to set up the OpenVPN GUI entries with the "Run as Administrator" bit set - the GUI does not fully function without it anyways
- cannot create reg keys
- cannot create log file when starting a connection
- cannot add routes to the system

All of which makes perfect sense when elevated privileges are not set - it's just that it would be handier if the installer created the OpenVPN-GUI.exe entries with the admin bit set, if at all possible.

JJK

#4 lore raw
In reply to Gert Doering
Quoted 3 lines · Gert Doering

This will hopefully be fixed in 2.4 with the interactive service, we just need to find time for Heiko to find the code and send it to us :-) (but I've already seen it last year)

Is there any documentation for the new "interactive service"? I assume it is part of the separation of privileges that was discussed a while ago. If no docs, can anyone point me to the commits, or the names of the modules / routines involved, or anything else that might help me integrate this into Tunnelblick? Thanks.

#5 lore raw

Hi Jonathan,

Quoted 8 lines · Jonathan K. Bullard
Quoted 3 lines · Gert Doering

This will hopefully be fixed in 2.4 with the interactive service, we just need to find time for Heiko to find the code and send it to us :-) (but I've already seen it last year)

Is there any documentation for the new "interactive service"? I assume it is part of the separation of privileges that was discussed a while ago.

Yes, exactly. In essence, you have a windows service running with full privileges, which is instructed by the GUI to run an openvpn.exe process (with user privs, so OpenVPN can't do damage) and OpenVPN communicates back to the service what should be ifconfig'ed and what routes should be installed. So the network config is done by the service, and undone when OpenVPN exits or crashes.

Quoted 3 lines

If no docs, can anyone point me to the commits, or the names of the modules / routines involved, or anything else that might help me integrate this into Tunnelblick? Thanks.

Unfortunately, right now, there is nothing at all yet - there is most of the code, but it's still living in Heiko's private tree. We plan to meet in person in November ("Munich Hackathon") and hopefully this will unravel the knot that's holding up this change.

How do you handle things in Tunnelblick today? Run OpenVPN "as root"?

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#6 lore raw
Quoted 6 lines · Gert Doering

Yes, exactly. In essence, you have a windows service running with full privileges, which is instructed by the GUI to run an openvpn.exe process (with user privs, so OpenVPN can't do damage) and OpenVPN communicates back to the service what should be ifconfig'ed and what routes should be installed. So the network config is done by the service, and undone when OpenVPN exits or crashes.

That's what I am hoping for -- either an extension to the management interface, or an similar but separate interface.

Quoted 4 lines

Unfortunately, right now, there is nothing at all yet - there is most of the code, but it's still living in Heiko's private tree. We plan to meet in person in November ("Munich Hackathon") and hopefully this will unravel the knot that's holding up this change.

I look forward to hearing about it.

Quoted 1 line

How do you handle things in Tunnelblick today? Run OpenVPN "as root"?

Yes, exactly. I'd love to make that not necessary.

Thanks for the info.

Jon

#7 lore raw

Currently OpneVPN-MI-GUI does work without elevated privileges using openvpn service and the management interface. I have a small user-base who have been happily using it this way for more than a year now. In my view if OpenVPN distribution could bundle the MI-GUI, it would be of great help.

Selva

Quoted 40 lines · Jonathan K. Bullard
Quoted 6 lines · Gert Doering

Yes, exactly. In essence, you have a windows service running with full privileges, which is instructed by the GUI to run an openvpn.exe process (with user privs, so OpenVPN can't do damage) and OpenVPN communicates back to the service what should be ifconfig'ed and what routes should be installed. So the network config is done by the service, and undone when OpenVPN exits or crashes.

That's what I am hoping for -- either an extension to the management interface, or an similar but separate interface.

Quoted 3 lines

Unfortunately, right now, there is nothing at all yet - there is most of the code, but it's still living in Heiko's private tree. We plan to meet in person in November ("Munich Hackathon") and hopefully this will

unravel

Quoted 1 line

the knot that's holding up this change.

I look forward to hearing about it.

Quoted 1 line

How do you handle things in Tunnelblick today? Run OpenVPN "as root"?

Yes, exactly. I'd love to make that not necessary.

Thanks for the info.

Jon

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#8 lore raw

Hi,

Quoted 4 lines · Selva Nair

Currently OpneVPN-MI-GUI does work without elevated privileges using openvpn service and the management interface. I have a small user-base who have been happily using it this way for more than a year now. In my view if OpenVPN distribution could bundle the MI-GUI, it would be of great help.

Well, that works, but runs OpenVPN as privileged user - so a bug in OpenVPN (or a config that runs scripts) could be used to attack the system...

(Plus, traditionally using the service will not work with username+password input, but if MI does that via management interface, it can be done)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#10 lore raw
In reply to a message not in the archive

Hi,

Quoted 3 lines · Gert Doering
Quoted 2 lines · Selva Nair

Currently OpneVPN-MI-GUI does work without elevated privileges using openvpn service and the management interface. I have a small user-base

who

Quoted 1 line
Quoted 1 line

have been happily using it this way for more than a year now. In my view

if

Quoted 5 lines
Quoted 1 line

OpenVPN distribution could bundle the MI-GUI, it would be of great help.

Well, that works, but runs OpenVPN as privileged user - so a bug in OpenVPN (or a config that runs scripts) could be used to attack the system...

Sure, the "log term" plan of having OpenVPN run as a normal user is great, but the
current situation of every windows user needing admin privilege to run the UI is
hard to meet in many installations.

The MI-GUI solves that problem right now as opposed to sometime in future.

(Plus, traditionally using the service will not work with username+password input, but if MI does that via management interface, it can be done)

That's exactly what MI-GUI it does -- both certificate password and username/password
are passed through the management interface. Locally, I have patched it to pass the
certificate key as well although we don't normally use that option.

Selva

#11 lore raw

Correction:

Quoted 2 lines

Locally, I have patched it to pass the
certificate key as well although we don't normally use that option.

I meant to say respond to RSA_SIGN requests so that the private key need not be in the config.

Selva

#18 lore raw
In reply to Jan Just Keijser

this is because Heiko rejected merge request:
http://sourceforge.net/p/openvpn-gui/code/merge-requests/1/

it is easily fixed by openvpn-gui manifest

<requestedExecutionLevel level="requireAdministrator" uiAccess="false"/>

I keep hearing from Heiko about some magic openvpn service for years. it is just couple of minutes to merge that request though...

2014-10-21 14:53 GMT+06:00 Jan Just Keijser <[email protected]...>:

Quoted 38 lines

Hi Samuli,

Quoted 11 lines · Samuli Seppänen

New Windows installers with OpenSSL 1.0.1j have been released:

<http://openvpn.net/index.php/download/community-downloads.html>

Two of the issues fixed in OpenSSL may impact OpenVPN. More details here:

<http://thread.gmane.org/gmane.network.openvpn.devel/9133>

Let me know if there are any issues with these installers.

just downloaded the openvpn-install-2.3.4-i004-x86_64.exe file and installed it; installation seems successful but afterwards the GUI fails to start:

cannot create HKLM\Software\Openvpn-GUI key

Running the gui with elevated privileges fixes this issue. Shouldn't the installer have created this registry key?
This is on Windows 7 Pro 64bit.

JJK

------------------------------------------------------------------------------
Comprehensive Server Monitoring with Site24x7.
Monitor 10 servers for $9/Month.
Get alerted through email, SMS, voice calls or mobile push notifications. Take corrective actions from your mobile device.
http://p.sf.net/sfu/Zoho
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#12 lore raw
In reply to Selva Nair

Hi,

Quoted 5 lines · Selva Nair

Sure, the "log term" plan of having OpenVPN run as a normal user is great, but the current situation of every windows user needing admin privilege to run the UI is hard to meet in many installations.

The MI-GUI solves that problem right now as opposed to sometime in future.

True, this should have been integrated much sooner. We expected a 2.4 release early 2014, not "maybe q2 2015" or such, but things did not work out the way as planned due to lots of personal reasons.

As we're currently somewhat short on manpower, we're not going to change the building of the 2.3 install bundles to include a different GUI and explain the difference to people - but if you already do that, build installer bundles, we're happy to provide links to your version.

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...
#13 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Quoted 4 lines

Hi,

Quoted 1 line · Selva Nair

Sure, the "log term" plan of having OpenVPN run as a normal user is

great,

Quoted 4 lines
Quoted 4 lines

but the current situation of every windows user needing admin privilege to run the UI is hard to meet in many installations.

The MI-GUI solves that problem right now as opposed to sometime in

future.

Quoted 4 lines

True, this should have been integrated much sooner. We expected a 2.4 release early 2014, not "maybe q2 2015" or such, but things did not work out the way as planned due to lots of personal reasons.

Speaking of 2.4... besides the interactive service what is missing?

- --
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iEYEARECAAYFAlRGt94ACgkQwp2X7RmNIqPDBgCgzr5gNJSitGuWyFWzwdlA9tIC AkkAnjz3/3P3RurAk6WOBdstQ60IURUA
=njpn
-----END PGP SIGNATURE-----

#14 lore raw

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi,

Quoted 6 lines · Samuli Seppänen
Quoted 4 lines

True, this should have been integrated much sooner. We expected a 2.4 release early 2014, not "maybe q2 2015" or such, but things did not work out the way as planned due to lots of personal reasons.

Speaking of 2.4... besides the interactive service what is missing?

AES-GCM, but my first try-out patch to work towards it did net get much response:
http://thread.gmane.org/gmane.network.openvpn.devel/8952

I have a tree with working code, waiting for cleanup, comments and test here:
https://github.com/syzzer/openvpn/tree/aead-cipher-modes5

I hope to at least get confirmation for this approach (or choose a different one) during the upcoming face-to-face meeting.

- -Steffan
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBAgAGBQJURruEAAoJEJgCyj0AftKI/VsH/0zMpGNBXV2eeV+UtbiMbATY ylQjAV010bwhCoN+g/8cCgzUiKJLZ1gW1xsJCoP7wdaFbj6RVRC0Ll1XchChFFOW qQFf3ecffKYEmI9f10WSwUFpeS9plVDgqSEHSANJbto2wwVPljHM02woPc94Ugow mcU+nqxgQU6slbMSYMC5C6cO8MVxPpjLoVedQLCRUWYIm5OZ0xo+mdl9z+LFsmzs 6Cx7dzOjwWBuZqn3VtMV6cFLDMf3QG/ECB+G89NpnmZZhYu9NG2oB675jA9znFMp E9Lwaz2B4aX7cs3T5eg9ve6ZGxMZvzFOSEvyXqRTF6ht2PyenGx6gKW5BNMIZNU= =Wqmb
-----END PGP SIGNATURE-----

#16 lore raw
In reply to Gert Doering

Hi,

Quoted 9 lines · Gert Doering
Quoted 2 lines

The MI-GUI solves that problem right now as opposed to sometime in

future.

True, this should have been integrated much sooner. We expected a 2.4 release early 2014, not "maybe q2 2015" or such, but things did not work out the way as planned due to lots of personal reasons.

Quoted 5 lines

As we're currently somewhat short on manpower, we're not going to change the building of the 2.3 install bundles to include a different GUI and explain the difference to people - but if you already do that, build installer bundles, we're happy to provide links to your version.

I have a small user-base and use a per user customized installer that includes a user-specific config file and certificate etc.. Currently I don't have the
resources to maintain a publicly distributable installer -- keeping in sync with
upstream changes and bug fixes would be a major commitment. But I can strip down site-specific configs and make our bundle available as is..

I do not expect you to repackage 2.3 with a new GUI, but If 2.4 will/can come out
with a front-end that can run without admin access that would be great..

Best,

Selva

#15 lore raw
In reply to Samuli Seppänen

Hi,

Quoted 1 line · Samuli Seppänen

Speaking of 2.4... besides the interactive service what is missing?

redirect-gateway ipv6

(strictly speaking, any sort of "push route-ipv6" where the pushed route overlaps with the ipv6 address of the VPN server, while using IPv6 transport)

gert

Signature · 4 lines
USENET is *not* the non-clickable part of WWW!
                                                           //www.muc.de/~gert/
Gert Doering - Munich, Germany                             [email protected]...
fax: +49-89-35655025                        [email protected]...