Skip to contentSkip to conversation

Creating a Windows team for OpenVPN?

Openvpn-devel Samuli Seppänen 12 participants 49 messages Oct 16, 2015 – Oct 26, 2015 3 messages not in the archive

lore
Share & tools
lore
#0 lore raw

Hi,

In Delft we talked about issues with Windows version of OpenVPN quite a lot. Of the top of my hat I can recall the following isuses:

- The tap-windows/tap-windows6 drivers have fairly bad performance
- In Windows 10 there are DNS leaks
- The service wrapper (openvpnserv.exe) is effectively broken for Windows 8 and later
- The service wrapper has very limited functionality
- The OpenVPN-GUI we bundle has several major issues, most related to having to run it as an admin
- Suspend/hibernate seems to break OpenVPN tunnels quite often
- Building for Windows is and has always been a pain

In a nutshell, Windows development a timesink and nobody wants to do it and/or does not have the required skills. Moreover, nobody wants to be tagged as the "Windows guy", because that would mean being the go-to person for all Windows problems.

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy". I would naturally be part of the team, because I already build the official OpenVPN installers and tap-windows drivers, plus I've worked with openvpn-gui quite a lot and am working on a replacement for openvpnserv.exe.

The Windows team could have a separate board on OpenVPN forums and maybe even a separate IRC channel. This is fairly typical arrangement in Linux distributions, which have topic- and language-specific groups. We could then point people with Windows issues/patches/development questions etc. to the Windows team.

Thoughts?

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#1 lore raw

Hi,

Quoted 7 lines · Samuli Seppänen

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy". I would naturally be part of the team, because I already build the official OpenVPN installers and tap-windows drivers, plus I've worked with openvpn-gui quite a lot and am working on a replacement for openvpnserv.exe.

Quoted 5 lines

The Windows team could have a separate board on OpenVPN forums and maybe even a separate IRC channel. This is fairly typical arrangement in Linux distributions, which have topic- and language-specific groups. We could then point people with Windows issues/patches/development questions etc. to the Windows team.

I'm not entirely sure where to recruit all this people you want to put on the windows team :-) - but *if* you find them, I do not think we need
a separate trac or IRC channel. It's "openvpn devel" after all, as
we're discussing FreeBSD and Linux stuff in the main group as well...

Should we manage to recruit 20 extra developers, and the volume in IRC becomes unbearable, I reserve the right to change my opinion, though :-)

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]...
#2 lore raw
Quoted 16 lines · Gert Doering

Hi,

Quoted 7 lines · Samuli Seppänen

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy". I would naturally be part of the team, because I already build the official OpenVPN installers and tap-windows drivers, plus I've worked with openvpn-gui quite a lot and am working on a replacement for openvpnserv.exe.

Quoted 5 lines

The Windows team could have a separate board on OpenVPN forums and maybe even a separate IRC channel. This is fairly typical arrangement in Linux distributions, which have topic- and language-specific groups. We could then point people with Windows issues/patches/development questions etc. to the Windows team.

Quoted 7 lines

I'm not entirely sure where to recruit all this people you want to put on the windows team :-) - but *if* you find them, I do not think we need
a separate trac or IRC channel. It's "openvpn devel" after all, as
we're discussing FreeBSD and Linux stuff in the main group as well...

Should we manage to recruit 20 extra developers, and the volume in IRC becomes unbearable, I reserve the right to change my opinion, though :-)

+1 ... I share the same thoughts as Gert. I'd love to see more developers interested in Windows code paths showing up. But it seems such people don't grow on trees these days either.

Heiko has done a marvellous job getting OpenVPN-GUI to where it is today, and have come quite far on the path forward too. However, I believe everyone will benefit if he gets some real help from interested people.

And while we're at it ... can someone manage to shutdown the openvpn.se site? It still ships OpenVPN 2.0.9 as the latest stable release for Windows without pointing people to a better place to look. At least get a big fat "Nothing to see here, please move along"-warning.

Signature · 3 lines
kind regards,

David Sommerseth
#4 lore raw
In reply to Samuli Seppänen

Hi Samuli

Quoted 5 lines · On Friday 16 October 2015 19:00:13 Samuli Seppänen wrote:

- The service wrapper (openvpnserv.exe) is effectively broken for Windows 8 and later
- The service wrapper has very limited functionality
- The OpenVPN-GUI we bundle has several major issues, most related to having to run it as an admin

The interactive service that I posted a year ago solves all these problems.

Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this might be an too ambitious goal. Obviously not many care besides the regulars who make a one time exception every now and then and get their hands dirty on Windows code if they feel it matters.

Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Quoted 5 lines

The Windows team could have a separate board on OpenVPN forums and maybe even a separate IRC channel. This is fairly typical arrangement in Linux distributions, which have topic- and language-specific groups. We could then point people with Windows issues/patches/development questions etc. to the Windows team.

I think that's rather counter productive. Dev work on different systems has too much common ground to completely separate the ppl by OS.

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#3 lore raw
In reply to David Sommerseth
Quoted 4 lines · On Saturday 17 October 2015 0:09:39 David Sommerseth wrote:

And while we're at it ... can someone manage to shutdown the openvpn.se site? It still ships OpenVPN 2.0.9 as the latest stable release for Windows without pointing people to a better place to look. At least get a big fat "Nothing to see here, please move along"-warning.

Tried it a while ago, but the guy has been too busy. I came as far as getting a shell on openvpn.se, but lacked the required filesystem access to modify the site. There the contact went cold. =/

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#5 lore raw
In reply to Heiko Hund

Hi,

I'm responding to Gert and David here as well...

Il sab ott 17 09:59:15 2015 GMT+0300, Heiko Hund scrive:

Quoted 9 lines

Hi Samuli

Quoted 5 lines · On Friday 16 October 2015 19:00:13 Samuli Seppänen wrote:

- The service wrapper (openvpnserv.exe) is effectively broken for Windows 8 and later
- The service wrapper has very limited functionality
- The OpenVPN-GUI we bundle has several major issues, most related to having to run it as an admin

Quoted 8 lines

The interactive service that I posted a year ago solves all these problems.

Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this might be an too ambitious goal. Obviously not

many care besides the regulars who make a

Ambitious maybe. Are you saying that we should be content with the current situation and drop all ambitious plans :)?

Anyways, not many seemed to care about about easy-rsa before it became a separate project in GitHub. Now we have easy-rsa 3 by pekster and ecrist. Similarly for openvpn-build we have/had Alon, pekster, me and syzzer. I'm sure more examples could be found from other projects.

I'm also not speaking primarily of Windows patches, but also all the other stuff such as debugging, user support, ticket review, packaging, etc.

I believe joining a Windows team (or whatever subteam for that matter) lowers the barrier of entry significantly compared to joining the ”core” team, which is full of hardcore developers (who probably seem intimidating to many people that could still tackle many of the above tasks).

So my rationale here boils down to providing a separate playground for potential (new) contributors. Some part of the openvpn project they could call their "own" and take primary responsibility off. And commucation channels where they could organize work which the "core" team is not (provably) not very interested in. Once they get that far they should have few issues joining the "core" team also.

Quoted 7 lines

one time exception every now and then and get their hands dirty on Windows code if they feel it matters.

Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

Quoted 10 lines
Quoted 6 lines

The Windows team could have a separate board on OpenVPN forums and maybe even a separate IRC channel. This is fairly typical arrangement in Linux distributions, which have topic- and language-specific groups. We could then point people with Windows issues/patches/development questions etc. to the Windows team.

I think that's rather counter productive. Dev work on different systems has too much common ground to completely separate the ppl by OS.

For dev work yes. I'm not speaking of dev work, but additional communication channels for certain types of discussion. If we get more Windows developers into the Windows team, I'm sure they will be fine with our existing development processes.

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could just scrap the idea retroactively.

Samuli

Quoted 11 lines

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#6 lore raw
Quoted 8 lines · On Monday 19 October 2015 10:20:23 [email protected]... wrote:
Quoted 7 lines
Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this might be an too ambitious goal. Obviously not many care besides the regulars who make a

Quoted 7 lines

Anyways, not many seemed to care about about easy-rsa before it became a separate project in GitHub. Now we have easy-rsa 3 by pekster and ecrist. Similarly for openvpn-build we have/had Alon, pekster, me and syzzer. I'm sure more examples could be found from other projects.

I'm also not speaking primarily of Windows patches, but also all the other stuff such as debugging, user support, ticket review, packaging, etc.

Ok, I think here is the main misunderstanding. My understanding was that you want a Windows development team. That I think would be counter productive. For the other topics I do not have a opinion.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Quoted 3 lines

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could just scrap the idea retroactively.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#7 lore raw

Hi,

Just a couple thoughts here, from a (absolutely!) non-expert ... :-(.

I have been trying to develop my own "GUI" - not because the current one doesn't work (not at all!), but because I want a bit of an extended feature set ... to be able to change Tray Icon color with traffic (Tx/Rx), and plot ping timing to a remote machine over the link, and as well traffic and bit rate plots in the UL and DL.

That all said, I can definitely see that the network adapter (TAP) and openvpn.exe really are up and down (a lot!) on Windows ... :-(. I am trying to use NSSM to at least keep openvpn.exe up (i.e. restart it), but the network connection is a challenge also - often having to be reset (disabled and enabled). So to the question below ... yes, Windows does need some work.

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

Thanks!

... Russell

-----Original Message-----
From: Heiko Hund [mailto:[email protected]...]
Sent: Monday, October 19, 2015 9:16 AM
To: [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 8 lines · On Monday 19 October 2015 10:20:23 [email protected]... wrote:
Quoted 7 lines
Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this might be an too ambitious goal. Obviously not many care besides the regulars who make a

Quoted 7 lines

Anyways, not many seemed to care about about easy-rsa before it became a separate project in GitHub. Now we have easy-rsa 3 by pekster and ecrist. Similarly for openvpn-build we have/had Alon, pekster, me and syzzer. I'm sure more examples could be found from other projects.

I'm also not speaking primarily of Windows patches, but also all the other stuff such as debugging, user support, ticket review, packaging, etc.

Ok, I think here is the main misunderstanding. My understanding was that you want a Windows development team. That I think would be counter productive. For the other topics I do not have a opinion.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Quoted 3 lines

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could just scrap the idea retroactively.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#8 lore raw
Quoted 2 lines · Russell

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

That isn't too far away from where I started and got involved into the OpenVPN core dev-team. I was far from an OpenVPN expert. I had very little OpenVPN development experience but had worked on a patch for OpenVPN to solve an issue for I had with a plug-in I was working on for OpenVPN.

But I took the risk of stepping up, saying "I can help" ... and some months later I had gained enough trust in the community to be one of the first gatekeepers of the newly established git repository for OpenVPN.

My point is that nobody really expects anyone to be a fully experienced OpenVPN developer to get involved. Not at all. We are a community, which help each other. If you have some basic skills (for my part, I know C fairly well but by no means an expert) and interest to help ... I mean, what else can we ask for if you are willing to help out? :)

Don't be afraid, take that chance and share your thoughts and ideas. Hang out on the #openvpn-devel IRC channel if you can, share your opinions on the mailing list ... review and test patches you think are valuable for OpenVPN, submit your own patches of which you believe improve OpenVPN ... that's how this open source game works. And this is exactly how Gert, Heiko, Steffan, Arne, and many many more also got involved.

And here's a promo video saying pretty much the same in a cooler way:
<https://www.youtube.com/watch?v=ySyPIoyXJ-k>

Signature · 3 lines
kind regards,

David Sommerseth
#13 lore raw
In reply to Morris, Russell

Regarding Windows OpenVPN GUI: I have an internal fork of this OpenVPN GUI (https://github.com/jochenwierum/openvpn-manager) from jochenwierum, with many bug fixes and improvements, and it works fairly well on Windows. Maybe I should tidy my patches and open source it on github?

Best,
Fish

-----Original Message-----
From: Morris, Russell [mailto:[email protected]...]
Sent: Monday, October 19, 2015 7:59 AM
To: Heiko Hund <[email protected]...>; [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Just a couple thoughts here, from a (absolutely!) non-expert ... :-(.

I have been trying to develop my own "GUI" - not because the current one doesn't work (not at all!), but because I want a bit of an extended feature set ... to be able to change Tray Icon color with traffic (Tx/Rx), and plot ping timing to a remote machine over the link, and as well traffic and bit rate plots in the UL and DL.

That all said, I can definitely see that the network adapter (TAP) and openvpn.exe really are up and down (a lot!) on Windows ... :-(. I am trying to use NSSM to at least keep openvpn.exe up (i.e. restart it), but the network connection is a challenge also - often having to be reset (disabled and enabled). So to the question below ... yes, Windows does need some work.

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

Thanks!

... Russell

-----Original Message-----
From: Heiko Hund [mailto:[email protected]...]
Sent: Monday, October 19, 2015 9:16 AM
To: [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 8 lines · On Monday 19 October 2015 10:20:23 [email protected]... wrote:
Quoted 7 lines
Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this might be an too ambitious goal. Obviously not many care besides the regulars who make a

Quoted 7 lines

Anyways, not many seemed to care about about easy-rsa before it became a separate project in GitHub. Now we have easy-rsa 3 by pekster and ecrist. Similarly for openvpn-build we have/had Alon, pekster, me and syzzer. I'm sure more examples could be found from other projects.

I'm also not speaking primarily of Windows patches, but also all the other stuff such as debugging, user support, ticket review, packaging, etc.

Ok, I think here is the main misunderstanding. My understanding was that you want a Windows development team. That I think would be counter productive. For the other topics I do not have a opinion.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Quoted 3 lines

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could just scrap the idea retroactively.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#14 lore raw
Quoted 5 lines · Fish Wang

Regarding Windows OpenVPN GUI: I have an internal fork of this OpenVPN GUI
(https://github.com/jochenwierum/openvpn-manager) from jochenwierum, with many bug fixes and improvements, and it works fairly well on Windows. Maybe I should tidy my patches and open source it on github?

That would be great, but eventually we need something more than bug fixes and some improvements. The biggest problem with the present GUI is the need to run it as administrator. A windows service exists but its not stable enough and the GUI (I mean the official one) cannot control it in any meaningful way. The so-called "new GUI" that is bundled with the windows build is supposedly using the management interface but it can do that only when the openvpn executable is started by the GUI itself.. That defeats most of the advantages offered by the management interface.

I feel a framework such as the "interactive service" -- which is now and again mentioned in the mailing lists but no idea what it is --- with new GUI or a partial rewrite of the current one to effectively use the management interface plus a stable service is needed. Alternatively the current GUI could be adapted to use the "interactive service" if its ready for prime time.

I can offer some coding/testing/debugging time but I've no real expertise in windows programming or GUI in general. I'm an old style CLI guy who wouldn't miss much if init is a symlink to vi or emacs:)

Selva

Quoted 126 lines

Best,
Fish

-----Original Message-----
From: Morris, Russell [mailto:[email protected]...]
Sent: Monday, October 19, 2015 7:59 AM
To: Heiko Hund <[email protected]...>; [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Just a couple thoughts here, from a (absolutely!) non-expert ... :-(.

I have been trying to develop my own "GUI" - not because the current one doesn't work (not at all!), but because I want a bit of an extended feature set ... to be able to change Tray Icon color with traffic (Tx/Rx), and plot ping timing to a remote machine over the link, and as well traffic and bit rate plots in the UL and DL.

That all said, I can definitely see that the network adapter (TAP) and openvpn.exe really are up and down (a lot!) on Windows ... :-(. I am trying to use NSSM to at least keep openvpn.exe up (i.e. restart it), but the network connection is a challenge also - often having to be reset (disabled and enabled). So to the question below ... yes, Windows does need some work.

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

Thanks!

... Russell

-----Original Message-----
From: Heiko Hund [mailto:[email protected]...]
Sent: Monday, October 19, 2015 9:16 AM
To: [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 5 lines · On Monday 19 October 2015 10:20:23 [email protected]... wrote:
Quoted 5 lines
Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this

might be

Quoted 1 line
Quoted 1 line

an too ambitious goal. Obviously not many care besides the regulars

who

Quoted 8 lines
Quoted 1 line

make a

Anyways, not many seemed to care about about easy-rsa before it became a separate project in GitHub. Now we have easy-rsa 3 by pekster and ecrist. Similarly for openvpn-build we have/had Alon, pekster, me and syzzer. I'm sure more examples could be found from other projects.

I'm also not speaking primarily of Windows patches, but also all the

other

Quoted 1 line

stuff such as debugging, user support, ticket review, packaging, etc.

Ok, I think here is the main misunderstanding. My understanding was that you
want a Windows development team. That I think would be counter productive. For
the other topics I do not have a opinion.

Quoted 6 lines
Quoted 4 lines
Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Are you saying that the interactive service also doubles as a Windows

system

Quoted 2 lines

service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Quoted 2 lines

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could

just

Quoted 1 line

scrap the idea retroactively.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658 Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#9 lore raw
In reply to David Sommerseth

Hi,

I like the thoughts - and very much agree with them. I'd say "count me in" - once of course we figure out what it exactly is ... ;-). That said, I see some thoughts on this as well in follow on email. Let's try to get a handle on the "it" first, then perhaps handle how.

Thanks again,
... Russell

-----Original Message-----
From: David Sommerseth [mailto:[email protected]...]
Sent: Monday, October 19, 2015 3:01 PM
To: Morris, Russell <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 2 lines · Russell

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

That isn't too far away from where I started and got involved into the OpenVPN core dev-team. I was far from an OpenVPN expert. I had very little OpenVPN development experience but had worked on a patch for OpenVPN to solve an issue for I had with a plug-in I was working on for OpenVPN.

But I took the risk of stepping up, saying "I can help" ... and some months later I had gained enough trust in the community to be one of the first gatekeepers of the newly established git repository for OpenVPN.

My point is that nobody really expects anyone to be a fully experienced OpenVPN developer to get involved. Not at all. We are a community, which help each other. If you have some basic skills (for my part, I know C fairly well but by no means an expert) and interest to help ... I mean, what else can we ask for if you are willing to help out? :)

Don't be afraid, take that chance and share your thoughts and ideas. Hang out on the #openvpn-devel IRC channel if you can, share your opinions on the mailing list ... review and test patches you think are valuable for OpenVPN, submit your own patches of which you believe improve OpenVPN ... that's how this open source game works. And this is exactly how Gert, Heiko, Steffan, Arne, and many many more also got involved.

And here's a promo video saying pretty much the same in a cooler way:
<https://www.youtube.com/watch?v=ySyPIoyXJ-k>

--
kind regards,

David Sommerseth

#19 lore raw
In reply to Heiko Hund

Hi,

Quoted 6 lines
Quoted 3 lines

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

What about persistent connections, especially on Windows servers?

I've already done a proof of concept "openvpnserv.exe" replacement using NSSM:

<https://community.openvpn.net/openvpn/wiki/IntegratingOpenvpnWithNssm>

I also started writing a small C# program that can manage OpenVPN connections in NSSM in a user-friendly fashion, because the standard NSSM GUI is way too complex and generic for our well-specified use-case.

Quoted 5 lines
Quoted 3 lines

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could just scrap the idea retroactively.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Yes, that was the idea, because I know you guys don't have any proof. It seemed to have worked fine :).

That said, I don't have any proof either, but I think we all can agree that the situation with Windows in OpenVPN is not optimal, and that we should try to do something about it.

Best regards,

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#17 lore raw
In reply to Morris, Russell

Hi all,

This response is not really a response - please bear with me.

Regarding Windows GUIs... The situation with them is similar to the situation we had with OpenVPN back in 2009. Back then, the main repository (SVN) was managed by James, but he did not have time to review or merge community patches. This had created several "islands" of activity, for example IPv6 patchsets from Gert and Juanjo and Eurephia from David. The OpenVPN forums were also "external", i.e. not managed by the main OpenVPN project. There was also little to no coordination between these islands. We merged these islands and slowly took over project's responsibilities from James. By 2.3-alpha/beta-something the takeover was complete. The OpenVPN project had become our playground, something which we as a community owned and shared responsibility of.

However, the Windows part has always remained "external" to the main project. There is a fairly large number of people working on various aspects of Windows - here's a crude list of the top of my hat:

- Me (openvpn-build, "the buildslave", openvpnserv.exe replacement)
- Heiko (OpenVPN-GUI, cygwin builds?, interactive service)
- Steffan (openvpn-build)
- Lev (msvc builds)
- ValdikSS (msvc builds?, Win10 DNS fix)
- James (msvc builds, OpenVPN Connect, fixes here and there)
- People interested in joining the Windows team (a few already)
- All the "other" GUI authors and their contributors

We've had #openvpn-devel and this development mailing list for ages, and we're still struggling to get people to work on Windows. There are basically two explanations for this:

a) The current model is not working
b) There simply are no people who want to work on Windows

The meat of my proposal is to create a (semi)separate playground for all those who want to help OpenVPN for Windows to be as pleasant an experience as possible. If a "Windows team" eventually emerges, fine. If it does not, we can scrap the idea and go on as if nothing had happened.

The actual steps towards enabling the "Windows team" to emerge would be:

1) #openvpn-windows IRC channel

A Windows-specific IRC channel would attract people who run OpenVPN on Windows. This exact thing happened when we created the #openvpn-as chat: two of the current OpenVPN Tech employees were actually recruited from this channel. So the model itself is highly likely to work. It probably makes sense to keep #openvpn the official support channel, but forward the more tricky Windows questions to #openvpn-windows.

2) Windows-specific forum board

A quick look at the forums shows that about 1/5 of topics are related to Windows, just based on the topic name. Obviously people will post non-Windows questions to a Windows board, but moving threads from one board to another happens all the time anyways. Moreover, now people post their Windows client TAP-Windows questions to "Server administration" board, so the current situation is unlikely to get any worse.

3) Adding OpenVPN-GUI to OpenVPN's GitHub page

This was proposed by someone else earlier. If nothing else, it would allow sharing responsibility of OpenVPN-GUI development among more people, like what happened with easy-rsa, openvpn-build, etc. earlier. I actually created my own GitHub fork a while back to make my work easier, as well as to be able to merge trivial patches (e.g. language fixes) more easily. The versioning in my OpenVPN-GUI tree had diverged from the "official" one a long time before that.

---

All of the three above are proposals, which probably help us get more people working on the Windows part of OpenVPN _in the long run_. I obviously have to present the proposals with the people who actually get affected by them, i.e. people on #openvpn and the forums.

The way I see it, none of the above can actually harm the project, so trying this out should be safe. If you disagree or have constructive suggestions, please speak now or forever hold your peace :).

Thanks,

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
Quoted 79 lines

Hi,

Just a couple thoughts here, from a (absolutely!) non-expert ... :-(.

I have been trying to develop my own "GUI" - not because the current one doesn't work (not at all!), but because I want a bit of an extended feature set ... to be able to change Tray Icon color with traffic (Tx/Rx), and plot ping timing to a remote machine over the link, and as well traffic and bit rate plots in the UL and DL.

That all said, I can definitely see that the network adapter (TAP) and openvpn.exe really are up and down (a lot!) on Windows ... :-(. I am trying to use NSSM to at least keep openvpn.exe up (i.e. restart it), but the network connection is a challenge also - often having to be reset (disabled and enabled). So to the question below ... yes, Windows does need some work.

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

Thanks!

... Russell

-----Original Message-----
From: Heiko Hund [mailto:[email protected]...]
Sent: Monday, October 19, 2015 9:16 AM
To: [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 8 lines · On Monday 19 October 2015 10:20:23 [email protected]... wrote:
Quoted 7 lines
Quoted 3 lines

I'm thinking it might make sense to create a dedicated Windows team that could share the burden of Windows issues amongst themselves, without any one person gettings tagged the "Windows guy".

Judging from the review the Windows patches received I think this might be an too ambitious goal. Obviously not many care besides the regulars who make a

Quoted 7 lines

Anyways, not many seemed to care about about easy-rsa before it became a separate project in GitHub. Now we have easy-rsa 3 by pekster and ecrist. Similarly for openvpn-build we have/had Alon, pekster, me and syzzer. I'm sure more examples could be found from other projects.

I'm also not speaking primarily of Windows patches, but also all the other stuff such as debugging, user support, ticket review, packaging, etc.

Ok, I think here is the main misunderstanding. My understanding was that you want a Windows development team. That I think would be counter productive. For the other topics I do not have a opinion.

Quoted 8 lines
Quoted 4 lines
Quoted 1 line

am working on a replacement for openvpnserv.exe.

Please consider reviewing and improving the interactive service patch instead of duplicating work.

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Quoted 3 lines

Now, can anyone provide proof that having a Windows team would actually _hurt_ the project? If not, what does it matter if it fails? We could just scrap the idea retroactively.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#12 lore raw
In reply to David Sommerseth
Quoted 20 lines · Russell
Quoted 2 lines

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

That isn't too far away from where I started and got involved into the OpenVPN core dev-team. I was far from an OpenVPN expert. I had very little OpenVPN development experience but had worked on a patch for OpenVPN to solve an issue for I had with a plug-in I was working on for OpenVPN.

But I took the risk of stepping up, saying "I can help" ... and some months later I had gained enough trust in the community to be one of the first gatekeepers of the newly established git repository for OpenVPN.

My point is that nobody really expects anyone to be a fully experienced OpenVPN developer to get involved. Not at all. We are a community, which help each other. If you have some basic skills (for my part, I know C fairly well but by no means an expert) and interest to help ... I mean, what else can we ask for if you are willing to help out? :)

Quoted 6 lines

Don't be afraid, take that chance and share your thoughts and ideas. Hang out on the #openvpn-devel IRC channel if you can, share your opinions on the mailing list ... review and test patches you think are valuable for OpenVPN, submit your own patches of which you believe improve OpenVPN ... that's how this open source game works. And this is exactly how Gert, Heiko, Steffan, Arne, and many many more also got involved.

+1. Also, if you're definitely not a developer, there are plenty of spaces where you can help. For example, I work on packaging (Windows, Debian/Ubuntu), build systems (tap-windows6, openvpn-build), continuous integration (buildslaves) and documentation, among other things. You don't actually need to send patches to the OpenVPN _core_ to be able to contribute.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#20 lore raw
In reply to Samuli Seppänen
Quoted 8 lines · On Tuesday 20 October 2015 10:15:22 Samuli Seppänen wrote:
Quoted 6 lines
Quoted 3 lines

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

What about persistent connections, especially on Windows servers?

The interactive service patch doesn't remove the currently available service. So, you still can fire up any connections the way it was before. I personally do not care about the original service though, it may very well be that it lacks decent functionality.

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#15 lore raw
In reply to Selva Nair
Quoted 6 lines · On Monday 19 October 2015 16:57:02 Selva Nair wrote:

I feel a framework such as the "interactive service" -- which is now and again mentioned in the mailing lists but no idea what it is --- with new GUI or a partial rewrite of the current one to effectively use the management interface plus a stable service is needed. Alternatively the current GUI could be adapted to use the "interactive service" if its ready for prime time.

The fun part is that the GUI already is capable of working with the interactive service and our customers use it for a couple of years without complaints. So, this is actually stable enough. The code just needs some eyeballs from Windows people so the maintainers are sufficiently convinced to merge it. Chances are also higher that things happen if more than one person understands the code and could fix things in case I get hit by a bus.

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#18 lore raw
In reply to Samuli Seppänen
Quoted 9 lines · On Tuesday 20 October 2015 11:51:16 Samuli Seppänen wrote:

3) Adding OpenVPN-GUI to OpenVPN's GitHub page

This was proposed by someone else earlier. If nothing else, it would allow sharing responsibility of OpenVPN-GUI development among more people, like what happened with easy-rsa, openvpn-build, etc. earlier. I actually created my own GitHub fork a while back to make my work easier, as well as to be able to merge trivial patches (e.g. language fixes) more easily. The versioning in my OpenVPN-GUI tree had diverged from the "official" one a long time before that.

That was me. Let's do that then.

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#21 lore raw
In reply to Heiko Hund
Quoted 9 lines · On Tuesday 20 October 2015 10:15:22 Samuli Seppänen wrote:
Quoted 7 lines
Quoted 6 lines
Quoted 3 lines

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Quoted 6 lines
Quoted 1 line

What about persistent connections, especially on Windows servers?

The interactive service patch doesn't remove the currently available service. So, you still can fire up any connections the way it was before. I personally do not care about the original service though, it may very well be that it lacks decent functionality.

The original openvpnserv.exe is truly crappy. It will not quit if all connections have died. It will not restart a connection should it crash. A single non-functional OpenVPN connection prevents it from launching the others (afaik). It will not work on Windows 10 in any reasonable fashion and works badly on anything post-Windows 7. It also does not handle resuming from suspend/hibernate properly.

My NSSM-based replacement thingie aims to address all these shortcomings. I believe the interactive service and NSSM are complementary.

Signature · 5 lines
Samuli Seppänen
Community Manager
OpenVPN Technologies, Inc

irc freenode net: mattock
#16 lore raw
In reply to Fish Wang

By the way, there is an open-source SecurePoint VPN client (https://sourceforge.net/projects/securepoint/) which handles current versions of Windows very well. And here is my list of available open-source OpenVPN GUIs: https://gist.github.com/ValdikSS/9d7b13b5ef510c6b6d45#file-openvpn-guis-md

Quoted 73 lines · Fish Wang

Regarding Windows OpenVPN GUI: I have an internal fork of this OpenVPN GUI (https://github.com/jochenwierum/openvpn-manager) from jochenwierum, with many bug fixes and improvements, and it works fairly well on Windows. Maybe I should tidy my patches and open source it on github?

Best,
Fish

-----Original Message-----
From: Morris, Russell [mailto:[email protected]...]
Sent: Monday, October 19, 2015 7:59 AM
To: Heiko Hund <[email protected]...>; [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Just a couple thoughts here, from a (absolutely!) non-expert ... :-(.

I have been trying to develop my own "GUI" - not because the current one doesn't work (not at all!), but because I want a bit of an extended feature set ... to be able to change Tray Icon color with traffic (Tx/Rx), and plot ping timing to a remote machine over the link, and as well traffic and bit rate plots in the UL and DL.

That all said, I can definitely see that the network adapter (TAP) and openvpn.exe really are up and down (a lot!) on Windows ... :-(. I am trying to use NSSM to at least keep openvpn.exe up (i.e. restart it), but the network connection is a challenge also - often having to be reset (disabled and enabled). So to the question below ... yes, Windows does need some work.

I'd be happy to help out - but as above, I'm not an expert. So definitely willing, but usefulness may be questionable unfortunately ... ;-).

Thanks!

... Russell

-----Original Message-----
From: Heiko Hund [mailto:[email protected]...]
Sent: Monday, October 19, 2015 9:16 AM
To: [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

On Monday 19 October 2015 10:20:23 [email protected]... wrote:
Ok, I think here is the main misunderstanding. My understanding was that you want a Windows development team. That I think would be counter productive. For the other topics I do not have a opinion.

No, and I do not think that the service should take care of that. That's rather things that can be handled by the GUI.

Hehe nice turn demanding proof, that'll shut up ppl. =)

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel
------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

------------------------------------------------------------------------------
_______________________________________________
Openvpn-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#10 lore raw
In reply to Morris, Russell

ho hum

Quoted 11 lines

-----Original Message-----
From: David Sommerseth [mailto:[email protected]...]
Sent: Monday, October 19, 2015 3:01 PM
To: Morris, Russell <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

My point is that nobody really expects anyone to be a fully experienced OpenVPN developer to get involved. Not at all. We are a community, which help each other.

Don't be afraid, take that chance and share your thoughts and ideas. Hang out on the #openvpn-devel IRC channel if you can, share your opinions on the mailing list ...

I Disagree

If past experience is anything to go by ..
Don't expect help !

I have always considered myself a cynic ..
The OpenVPN "community" cemented my opinion quite firmly.

(with a few exceptions)

regards

#22 lore raw
In reply to Samuli Seppänen
Quoted 27 lines · Samuli Seppänen
Quoted 7 lines · On Tuesday 20 October 2015 10:15:22 Samuli Seppänen wrote:
Quoted 5 lines
Quoted 5 lines
Quoted 3 lines

Are you saying that the interactive service also doubles as a Windows system service? If so, can it be configured to autostart selected openvpn connections on boot and restart them if they crash/stop?

No, and I do not think that the service should take care of that.

That's

Quoted 5 lines
Quoted 3 lines
Quoted 1 line

rather things that can be handled by the GUI.

What about persistent connections, especially on Windows servers?

The interactive service patch doesn't remove the currently available

service.

Quoted 1 line

So, you still can fire up any connections the way it was before. I

personally

Quoted 1 line

do not care about the original service though, it may very well be that

it

Quoted 1 line

lacks decent functionality.

The original openvpnserv.exe is truly crappy. It will not quit if all connections have died. It will not restart a connection should it crash. A single non-functional OpenVPN connection prevents it from launching the others (afaik). It will not work on Windows 10 in any reasonable fashion and works badly on anything post-Windows 7. It also does not handle resuming from suspend/hibernate properly.

Quoted 3 lines

My NSSM-based replacement thingie aims to address all these shortcomings. I believe the interactive service and NSSM are complementary.

I totally agree. Both are necessary.

The interactive service (based on a quick scan through the code) looks to be very useful on a desktop with a single user, allowing the GUI and openvpn to run with user privileges. I hope the "windows team" would soon start working on making the GUI to work with this new service :)

But a sever admin would not want it in the system as it can allow any user with some VPN server account to change the routes etc using the service..(please correct me if I'm mistaken).

That means for "non-interactive" servers and non-desktop clients, one would still need an improved version of the old service or NSSM.

Selva

#11 lore raw
In reply to [email protected]...

Hi Debbie,

Quoted 21 lines · On Tue, Oct 20, 2015 at 5:06 PM, <[email protected]...> wrote:

ho hum

Quoted 11 lines

-----Original Message-----
From: David Sommerseth [mailto:[email protected]...]
Sent: Monday, October 19, 2015 3:01 PM
To: Morris, Russell <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]...
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

My point is that nobody really expects anyone to be a fully experienced OpenVPN developer to get involved. Not at all. We are a community,

which

Quoted 3 lines

help each other.

Don't be afraid, take that chance and share your thoughts and ideas.

Hang

Quoted 2 lines

out on the #openvpn-devel IRC channel if you can, share your opinions on the mailing list ...

Quoted 8 lines

I Disagree

If past experience is anything to go by ..
Don't expect help !

I have always considered myself a cynic ..nt give The OpenVPN "community" cemented my opinion quite firmly.

Don't give up hope..

I'm only a lurker here, so just speaking from observation, not on behalf of
anyone: most developers here appear to be extremely busy people devoting their little precious free time to openvpn. It took sometime for me to realize that. Just be patient and you will get replies. If not, rephrase and post again..

In fact, in my experience, this is one of the few lists where you seldom get a rude response or a slap on the wrist for mistakenly posting to the wrong list, or for asking a trivial question. You may know how caustic is the atmosphere of many developer and user lists. People here are very polite but can be very slow to respond, that just how it is..

Also I think we need more experienced users in the users list to take care of questions that don't need the developers' attention.

Did I say don't give up?

Cheers,

Selva

#23 lore raw
In reply to Selva Nair
Quoted 4 lines · On Tuesday 20 October 2015 22:12:06 Selva Nair wrote:

The interactive service (based on a quick scan through the code) looks to be very useful on a desktop with a single user, allowing the GUI and openvpn to run with user privileges. I hope the "windows team" would soon start working on making the GUI to work with this new service :)

See, that's the current problem with the OpenVPN Windows things. Too many people relying on other - non existing - people to do the work. That's why we did not really get anywhere with the interactive service.

Quoted 3 lines

But a sever admin would not want it in the system as it can allow any user with some VPN server account to change the routes etc using the service..(please correct me if I'm mistaken).

If you do not make the configuration directory writable to anyone, then you're fine. IIRC the GUI has an command line option that would need to be changed in order to disable loading of arbitrary configs. Besides that the concept is waterproof.

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#26 lore raw
In reply to Samuli Seppänen
Quoted 2 lines · On Tuesday 20 October 2015 14:01:33 Samuli Seppänen wrote:

My NSSM-based replacement thingie aims to address all these shortcomings. I believe the interactive service and NSSM are complementary.

Or we extend the GUI to make it start tunnels automatically on startup, then the additional service is no longer needed, is it?

Heiko

Sophos Technology GmbH, Amalienbadstraẞe 41/Bau 52, D-76227 Karlsruhe, Deutschland
Tel +49 (0)721 25516 0 Fax +49 (0)721 25516 200 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Karlsruhe, Amtsgericht Mannheim HRB 712658
Geschäftsführer: Nicholas Bray, Pino von Kienlin, Wolfgang Hilpert, Jennifer Onslow.
Sophos GmbH, Gustav-Stresemann-Ring 1, 65189 Wiesbaden, Deutschland
Tel +49 (0) 611 5858-0 Fax +49 (0) 611 5858-1042 E-Mail [email protected]... www.sophos.de
Sitz der Gesellschaft: Wiesbaden, Amtsgericht Wiesbaden HRB 25915 Geschäftsführer: Nicholas Bray, Wolfgang Hilpert, Pino von Kienlin, Jennifer Onslow

#27 lore raw

Hi,

Quoted 6 lines · Heiko Hund
Quoted 2 lines · On Tuesday 20 October 2015 14:01:33 Samuli Seppänen wrote:

My NSSM-based replacement thingie aims to address all these shortcomings. I believe the interactive service and NSSM are complementary.

Or we extend the GUI to make it start tunnels automatically on startup, then the additional service is no longer needed, is it?

I've heard people ask for "we need the VPN to be up before user login so windows domain login works!" - so the GUI won't be around yet.

Now, not being a windows person and not running this domain stuff I'm not sure if there are other ways to achieve that - but this is what has been told to me...

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]...
#28 lore raw

Sorry, catching up, but to the comments previously ... I do see openvpn.exe crash quite regularly. I run it on a laptop, sleeping / resuming and moving from wired to wireless (and) back quite a bit. These tend to break openvpn.exe, and in some cases can hang the TAP adapter also ... :-(.

Thanks,
... Russell

-----Original Message-----
From: Gert Doering [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 2:50 AM
To: Heiko Hund <[email protected]...>
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 6 lines · Heiko Hund
Quoted 2 lines · On Tuesday 20 October 2015 14:01:33 Samuli Seppänen wrote:

My NSSM-based replacement thingie aims to address all these shortcomings. I believe the interactive service and NSSM are complementary.

Or we extend the GUI to make it start tunnels automatically on startup, then the additional service is no longer needed, is it?

I've heard people ask for "we need the VPN to be up before user login so windows domain login works!" - so the GUI won't be around yet.

Now, not being a windows person and not running this domain stuff I'm not sure if there are other ways to achieve that - but this is what has been told to me...

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]...
#29 lore raw

Hi,

Quoted 1 line · Russell

Sorry, catching up, but to the comments previously ... I do see openvpn.exe crash quite regularly. I run it on a laptop, sleeping / resuming and moving from wired to wireless (and) back quite a bit. These tend to break openvpn.exe, and in some cases can hang the TAP adapter also ... :-(.

Try without local bind (--nobind in the client config)...

That should even give you seamless roaming without losing your tunnel if the server is new enough to support peer-id (git master, no older than about half a yaear).

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]...
#30 lore raw

Hi,

Actually, I already have nobind in my config file (and am running v2.3.8). I tend to see 2 errors,
- CONNECTION, but with ERROR (TAP adapter hung, have to close openvpn.exe, disable / enable TAP, restart openvpn.exe)
- TAP adapter exited

Thanks,
... Russell

-----Original Message-----
From: Gert Doering [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 12:37 PM
To: Morris, Russell <[email protected]...>
Cc: Gert Doering <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 1 line · Russell

Sorry, catching up, but to the comments previously ... I do see openvpn.exe crash quite regularly. I run it on a laptop, sleeping / resuming and moving from wired to wireless (and) back quite a bit. These tend to break openvpn.exe, and in some cases can hang the TAP adapter also ... :-(.

Try without local bind (--nobind in the client config)...

That should even give you seamless roaming without losing your tunnel if the server is new enough to support peer-id (git master, no older than about half a yaear).

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]...
#31 lore raw

Hi,

Quoted 3 lines · Russell

Actually, I already have nobind in my config file (and am running v2.3.8). I tend to see 2 errors,
- CONNECTION, but with ERROR (TAP adapter hung, have to close openvpn.exe, disable / enable TAP, restart openvpn.exe)
- TAP adapter exited

Is this the old or new tap adapter? (Windows installers I60x or I00x?)

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]...
#32 lore raw

Hi,

90% sure it's I60x ... but I installed it a little bit ago, and didn't keep the installer. Is there an easy way to check (to be 100% sure, so I don't accidentally lie to you)?

Thanks!

... Russell

-----Original Message-----
From: Gert Doering [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 1:25 PM
To: Morris, Russell <[email protected]...>
Cc: Gert Doering <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 3 lines · Russell

Actually, I already have nobind in my config file (and am running v2.3.8). I tend to see 2 errors,
- CONNECTION, but with ERROR (TAP adapter hung, have to close openvpn.exe, disable / enable TAP, restart openvpn.exe)
- TAP adapter exited

Is this the old or new tap adapter? (Windows installers I60x or I00x?)

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]...
#25 lore raw
In reply to a message not in the archive

Hi,

Quoted 7 lines · Heiko Hund
Quoted 1 line · On Tuesday 20 October 2015 22:12:06 Selva Nair wrote:

But a sever admin would not want it in the system as it can allow any

user

Quoted 2 lines

with some VPN server account to change the routes etc using the service..(please correct me if I'm mistaken).

Quoted 6 lines

If you do not make the configuration directory writable to anyone, then you're
fine. IIRC the GUI has an command line option that would need to be changed in
order to disable loading of arbitrary configs. Besides that the concept is waterproof.

If configs can be locked down by admin, I don't see how a GUI cmd line option can unprotect it. But, anyway, such details don't matter for this discussion at this stage.

Quoted 1 line

Besides that the concept is waterproof.

If its posible to do privilege separation without unpleasant side effects, that is great news and I'll take back my remarks against the interactive service. Then one service could be made to work for both "automatic" and interactive uses.

Selva

#48 lore raw
In reply to a message not in the archive
Quoted 8 lines · Heiko Hund
Quoted 2 lines · On Tuesday 20 October 2015 14:01:33 Samuli Seppänen wrote:

My NSSM-based replacement thingie aims to address all these shortcomings. I believe the interactive service and NSSM are

complementary.

Or we extend the GUI to make it start tunnels automatically on startup, then
the additional service is no longer needed, is it?

I suppose you mean not the GUI, but the interactive-service to handle both so-called "automatic" and interactive startups.

Selva

#33 lore raw
In reply to Morris, Russell

Hi,

Quoted 4 lines · Russell

Hi,

90% sure it's I60x ... but I installed it a little bit ago, and didn't keep the installer. Is there an easy way to check (to be 100% sure, so I don't accidentally lie to you)?

try looking in the list of installed programs
Control Panel -> Programs and Features

Otherwise, look at the driver file for the tun adapter (tap0901.sys); I've got the 060x version installed and it has version 9.0.0.21 ; I am not entirely sure but I think the 010x version has a different (lower) version number.

HTH,

JJK

Quoted 18 lines

-----Original Message-----
From: Gert Doering [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 1:25 PM
To: Morris, Russell <[email protected]...>
Cc: Gert Doering <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 3 lines · Russell

Actually, I already have nobind in my config file (and am running v2.3.8). I tend to see 2 errors,
- CONNECTION, but with ERROR (TAP adapter hung, have to close openvpn.exe, disable / enable TAP, restart openvpn.exe)
- TAP adapter exited

Is this the old or new tap adapter? (Windows installers I60x or I00x?)

gert

#34 lore raw

Hi,

Just checked - yep, 9.0.0.21. It seems to be from 2014 though?

And to the other email I just sent (that seemed to bounce?),

Yes, this is a Windows 7 machine. I think the issue is standby / network change related. In particular, standby / resume seems to cause a lot of grief. I also run on a desktop, not near as many (or really any) issues. But standby / resume -> crash!

FYI, just had this exact issue, 1 minute ago. Got an OpenVPN connection, but no IP address (DHCP). Killed openvpn, disable / enable TAP, start openvpn and reconnect -> life is good again. Pretty reliable to make this happen … .

Perhaps some more detailed logs to debug?

Thanks,
... Russell

-----Original Message-----
From: Jan Just Keijser [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 2:37 PM
To: Morris, Russell <[email protected]...>; Gert Doering <[email protected]...>
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 4 lines · Russell

Hi,

90% sure it's I60x ... but I installed it a little bit ago, and didn't keep the installer. Is there an easy way to check (to be 100% sure, so I don't accidentally lie to you)?

try looking in the list of installed programs

    Control Panel -> Programs and Features

Otherwise, look at the driver file for the tun adapter (tap0901.sys); I've got the 060x version installed and it has version 9.0.0.21 ; I am not entirely sure but I think the 010x version has a different (lower) version number.

HTH,

JJK

Quoted 18 lines

-----Original Message-----
From: Gert Doering [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 1:25 PM
To: Morris, Russell <[email protected]...>
Cc: Gert Doering <[email protected]...>; Heiko Hund <[email protected]...>; [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 3 lines · Russell

Actually, I already have nobind in my config file (and am running v2.3.8). I tend to see 2 errors,
- CONNECTION, but with ERROR (TAP adapter hung, have to close openvpn.exe, disable / enable TAP, restart openvpn.exe)
- TAP adapter exited

Is this the old or new tap adapter? (Windows installers I60x or I00x?)

gert

#35 lore raw

Hi,

Quoted 6 lines · Russell

Hi,

Just checked - yep, 9.0.0.21. It seems to be from 2014 though?

And to the other email I just sent (that seemed to bounce?),

Probably my mistake, in one of the posts I changed the address from devel to users unintentionally..

Quoted 6 lines

Yes, this is a Windows 7 machine. I think the issue is standby / network change related. In particular, standby / resume seems to cause a lot of grief. I also run on a desktop, not near as many (or really any) issues. But standby / resume -> crash!

Quoted 6 lines

FYI, just had this exact issue, 1 minute ago. Got an OpenVPN connection, but no IP address (DHCP). Killed openvpn, disable / enable TAP, start openvpn and reconnect -> life is good again. Pretty reliable to make this happen … .

Our home laptop goes from sleep to resume all the time without major issues. But we are not connecting to any public servers -- private servers that run on a fixed IP and port, no DHCP, so may be that is one difference?

We have one Windows 7 laptop in a really really remote location that is set to stay connected all the time.. The local network at that site crashes at least twice a day and still the VPN comes back every time the network is back. Its set not to sleep, so more like a desktop, but it does occasionally move from one site to another. Considering the remoteness of the location and the flakiness of the remote network I have been more than impressed by the way openvpn has served us for last 3 years.

But roaming is something I haven't tested much at all. When users travel they do get connectivity from hotels etc., so that kind of "network change" works well too.

Quoted 2 lines

Perhaps some more detailed logs to debug?

Sure, would help.

Regards,

Selva

#36 lore raw

Hi,

Let me try to collect some logs – the issue is that I’m using NSSM … so it restarts openvpn on a crash, and wipes out the log (resets). FYI, here is what I see from the management interface (as this is what my app is using) – first line is from the management interface (second one from my app), [ 344] Mangement FATAL Message Received: >FATAL:TUN/TAP I/O operation aborted, exiting
[ 345] ERROR: OpenVPN Exiting, Event Raised to allow Reconnection to Management Interface!

So it is exiting, just need more details if possible.

And to clarify below … DHCP is for the IP address from my server, inside the subnet (so I’m on the same subnet as my network). Make sense? The external interface is fixed (IP and port).

Thanks,
… Russell

From: Selva Nair [mailto:[email protected]...]
Sent: Thursday, October 22, 2015 3:52 PM
To: Morris, Russell <[email protected]...>
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

On Thu, Oct 22, 2015 at 3:58 PM, Morris, Russell <[email protected]...<mailto:[email protected]...>> wrote:
Hi,

Just checked - yep, 9.0.0.21. It seems to be from 2014 though?

And to the other email I just sent (that seemed to bounce?),

Probably my mistake, in one of the posts I changed the address from devel to users unintentionally..

Yes, this is a Windows 7 machine. I think the issue is standby / network change related. In particular, standby / resume seems to cause a lot of grief. I also run on a desktop, not near as many (or really any) issues. But standby / resume -> crash!

FYI, just had this exact issue, 1 minute ago. Got an OpenVPN connection, but no IP address (DHCP). Killed openvpn, disable / enable TAP, start openvpn and reconnect -> life is good again. Pretty reliable to make this happen … •.
[X]

Our home laptop goes from sleep to resume all the time without major issues. But we are not connecting to any public servers -- private servers that run on a fixed IP and port, no DHCP, so may be that is one difference?

We have one Windows 7 laptop in a really really remote location that is set to stay connected all the time.. The local network at that site crashes at least twice a day and still the VPN comes back every time the network is back. Its set not to sleep, so more like a desktop, but it does occasionally move from one site to another. Considering the remoteness of the location and the flakiness of the remote network I have been more than impressed by the way openvpn has served us for last 3 years.

But roaming is something I haven't tested much at all. When users travel they do get connectivity from hotels etc., so that kind of "network change" works well too.

Perhaps some more detailed logs to debug?

Sure, would help.

Regards,

Selva

#37 lore raw

Hi,

This may be getting way too off-topic for this thread...

Please consider starting a new thread on this TAP I/O error.

Quoted 7 lines · Russell

Hi,

Let me try to collect some logs – the issue is that I’m using NSSM … so it restarts openvpn on a crash, and wipes out the log (resets).

Use log-append

Quoted 7 lines

FYI, here is what I see from the management interface (as this is what my app is using) – first line is from the management interface (second one from my app),

[ 344] Mangement FATAL Message Received: >FATAL:TUN/TAP I/O operation aborted, exiting

[ 345] ERROR: OpenVPN Exiting, Event Raised to allow Reconnection to

Quoted 4 lines

Management Interface!

Quoted 8 lines

So it is exiting, just need more details if possible.

And to clarify below … DHCP is for the IP address from my server, inside the subnet (so I’m on the same subnet as my network). Make sense? The external interface is fixed (IP and port).

You mean using the bridge mode? We never use bridging, so no idea how well that works..

If you start a new thread please post the config and more error log. Including the users-list may be a good idea too as there may be other Windows users who have seen such behaviour.

Regards,

Selva

#38 lore raw

Hi,

Yep, will do. It is related to this topic – as I think we need to understand if the current “infrastructure” is stable, no? I’m still thinking we want to use something like NSSM to keep OpenVPN alive, and then control connections over the management interface. But it seems that the underlying structure (OpenVPN + TAP) may not be stable / reliable … ☹.

Thanks!

… Russell

From: Selva Nair [mailto:[email protected]...]
Sent: Friday, October 23, 2015 12:45 PM
To: Morris, Russell <[email protected]...>
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

This may be getting way too off-topic for this thread...

Please consider starting a new thread on this TAP I/O error.

On Fri, Oct 23, 2015 at 8:46 AM, Morris, Russell <[email protected]...<mailto:[email protected]...>> wrote:
Hi,

Let me try to collect some logs – the issue is that I’m using NSSM … so it restarts openvpn on a crash, and wipes out the log (resets).

Use log-append

FYI, here is what I see from the management interface (as this is what my app is using) – first line is from the management interface (second one from my app), [ 344] Mangement FATAL Message Received: >FATAL:TUN/TAP I/O operation aborted, exiting
[ 345] ERROR: OpenVPN Exiting, Event Raised to allow Reconnection to Management Interface!

So it is exiting, just need more details if possible.

And to clarify below … DHCP is for the IP address from my server, inside the subnet (so I’m on the same subnet as my network). Make sense? The external interface is fixed (IP and port).

You mean using the bridge mode? We never use bridging, so no idea how well that works..

If you start a new thread please post the config and more error log. Including the users-list may be a good idea too as there may be other Windows users who have seen such behaviour.

Regards,

Selva

#39 lore raw
In reply to Selva Nair

Hi,

Just a bit more on this. I initiated an OpenVPN connection – it connects, says all is happy, except the output from the management interface is,

Ø STATE:1445605521,CONNECTED,ERROR,,10.138.15.10

And the TAP IP is garbage (169.x.x.x). So I reset the TAP adapter (disable),

Ø FATAL:TUN/TAP I/O operation aborted, exiting

OpenVPN exits when TAP is disabled (should it?). In any case, after the enable, then I restarted OpenVPN. Then reconnect to the server, and I get,

Ø STATE:1445605710,CONNECTED,SUCCESS,,10.138.15.10

And my IP address is as expected (192.168.x.x).

So there are some stability related issues we may need to correct. In particular, if TAP is disabled, should OpenVPN exit? Perhaps it should. But also, after a connection the TAP adapter shouldn’t be “hung”, right?

Thanks,
… Russell

From: Morris, Russell
Sent: Friday, October 23, 2015 12:50 PM
To: 'Selva Nair' <[email protected]...>
Cc: [email protected]
Subject: RE: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Yep, will do. It is related to this topic – as I think we need to understand if the current “infrastructure” is stable, no? I’m still thinking we want to use something like NSSM to keep OpenVPN alive, and then control connections over the management interface. But it seems that the underlying structure (OpenVPN + TAP) may not be stable / reliable … ☹.

Thanks!

… Russell

From: Selva Nair [mailto:[email protected]...]
Sent: Friday, October 23, 2015 12:45 PM
To: Morris, Russell <[email protected]...<mailto:[email protected]...>>
Cc: [email protected]<mailto:[email protected]>
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

This may be getting way too off-topic for this thread...

Please consider starting a new thread on this TAP I/O error.

On Fri, Oct 23, 2015 at 8:46 AM, Morris, Russell <[email protected]...<mailto:[email protected]...>> wrote:
Hi,

Let me try to collect some logs – the issue is that I’m using NSSM … so it restarts openvpn on a crash, and wipes out the log (resets).

Use log-append

FYI, here is what I see from the management interface (as this is what my app is using) – first line is from the management interface (second one from my app), [ 344] Mangement FATAL Message Received: >FATAL:TUN/TAP I/O operation aborted, exiting
[ 345] ERROR: OpenVPN Exiting, Event Raised to allow Reconnection to Management Interface!

So it is exiting, just need more details if possible.

And to clarify below … DHCP is for the IP address from my server, inside the subnet (so I’m on the same subnet as my network). Make sense? The external interface is fixed (IP and port).

You mean using the bridge mode? We never use bridging, so no idea how well that works..

If you start a new thread please post the config and more error log. Including the users-list may be a good idea too as there may be other Windows users who have seen such behaviour.

Regards,

Selva

#40 lore raw

----- Original Message ----- From: "Morris, Russell" <[email protected]...>
To: "Selva Nair" <[email protected]...>
Cc: <[email protected]>
Sent: Friday, October 23, 2015 9:22 PM
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 7 lines

Hi,

Just a bit more on this. I initiated an OpenVPN connection – it connects, says all is happy, except the output from the management interface is,

Ø STATE:1445605521,CONNECTED,ERROR,,10.138.15.10

And the TAP IP is garbage (169.x.x.x). So I reset the TAP adapter (disable),

Have you enabled the Windows DHCP Client Service ? (Required by OpenVPN)

Regards

#41 lore raw

Yep - it works fine after a reset of the TAP adapter and OpenVPN ... just not before (i.e. fix is only on the client end).

Thanks,
... Russell

-----Original Message-----
From: [email protected]... [mailto:[email protected]...]
Sent: Friday, October 23, 2015 4:15 PM
To: Morris, Russell <[email protected]...>; Selva Nair <[email protected]...>
Cc: [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

----- Original Message -----
From: "Morris, Russell" <[email protected]...>
To: "Selva Nair" <[email protected]...>
Cc: <[email protected]>
Sent: Friday, October 23, 2015 9:22 PM
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 9 lines

Hi,

Just a bit more on this. I initiated an OpenVPN connection – it connects, says all is happy, except the output from the management interface is,

Ø STATE:1445605521,CONNECTED,ERROR,,10.138.15.10

And the TAP IP is garbage (169.x.x.x). So I reset the TAP adapter (disable),

Have you enabled the Windows DHCP Client Service ? (Required by OpenVPN)

Regards

#45 lore raw
In reply to Gert Doering
Quoted 6 lines · Gert Doering

I've heard people ask for "we need the VPN to be up before user login so windows domain login works!" - so the GUI won't be around yet.

Now, not being a windows person and not running this domain stuff I'm not sure if there are other ways to achieve that - but this is what has been told to me...

I can confirm that is precisely the way we use openvpn. We use it as an "always on vpn" and so it needs to be running via a service at boot time. nssm works well for us in that regard

Signature · 6 lines
Cheers

Jason Haar
Corporate Information Security Manager, Trimble Navigation Ltd.
Phone: +1 408 481 8171
PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1
#43 lore raw
In reply to a message not in the archive

Hi,

A few thoughts, below.

Thanks!

... Russell

-----Original Message-----
From: gert [mailto:[email protected]...]
Sent: Saturday, October 24, 2015 2:20 AM
To: Morris, Russell <[email protected]...>
Cc: Selva Nair <[email protected]...>; [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 5 lines · Russell

Just a bit more on this. I initiated an OpenVPN connection – it connects, says all is happy, except the output from the management interface is,

Ø STATE:1445605521,CONNECTED,ERROR,,10.138.15.10

I'd love to see the openvpn log on this. This message in itself is not enough to figure out what it did not like. [R. Morris] Yep, trying to capture this. Logs were being reset, will capture this and provide more details.

Quoted 2 lines

And the TAP IP is garbage (169.x.x.x). So I reset the TAP adapter (disable),

Well, 169.254.x.x is "I want to do DHCP, but nobody is talking to me" - so this is to be expected if OpenVPN is unhappy. [R. Morris] Agreed! Just letting you know the steps I see.

Quoted 3 lines

Ø FATAL:TUN/TAP I/O operation aborted, exiting

OpenVPN exits when TAP is disabled (should it?).

Well. Don't do this :-) - removing an active interface behind the back of a program talking to it is not a normal situation, and as such, OpenVPN does the only thing it can: terminate. There is no way to go on if basic assumptions ("I can talk to my tap adapter") are no longer valid. [R. Morris] Also agreed, but I'm not doing this on purpose ... :-). Seems to happen on standby / resume. Again, will try to duplicate with detailed logs.

Quoted 1 line

So there are some stability related issues we may need to correct.

There is a connection issue which needs to be solved, right. But I would not call it a "stability issue"... [R. Morris] NP, perhaps poor wording on my part.

Quoted 1 line

In particular, if TAP is disabled, should OpenVPN exit?

Yes, because recovering from that would basically mean "undo everything that has happened in the code so far and start from scratch" (since we have no idea why the TAP adapter suddenly is no longer working). So "exit, and let the caller restart us" is the sensible way to achieve that. [R. Morris] Makes sense.

Quoted 3 lines

Perhaps it
should. But also, after a connection the TAP adapter shouldn’t be “hung”, right?

Log :-) - since OpenVPN knows that there is an ERROR, all the details should be in the openvpn log.

(Restarting openvpn itself without fiddling with the tap adapter will most likely have the same effect - "make it try again and then it works")
[R. Morris] Yep, will try to capture more detailed logs. Thanks!

gert

#46 lore raw
In reply to Jason Haar

Hi,

Quoted 11 lines · Jason Haar
Quoted 6 lines · Gert Doering

I've heard people ask for "we need the VPN to be up before user login so windows domain login works!" - so the GUI won't be around yet.

Now, not being a windows person and not running this domain stuff I'm not sure if there are other ways to achieve that - but this is what has been told to me...

I can confirm that is precisely the way we use openvpn. We use it as an "always on vpn" and so it needs to be running via a service at boot time. nssm works well for us in that regard

Sure, this is easily achieved if no user passwords are involved.

As Gert pointed out, some people need more than this. For example, they want the ability to log on to a domain through the VPN while the latter requires user credentials to start in the first place. Some commercial VPN offerings have this feature (what Cisco used to call (and may be still calls) Start before logon. In recent versions of windows this could be probably achieved by integrating with Single Sign On or PLAP, may be..

We have a setup where users logon to a domain and openvpn needs the same domain user/password to authenticate through LDAP. But of course we don't have any Start before logon...-- just the service and MI-GUI. It still works ok because of cached credentials in windows. So the machine logs the user in using cached credentials, although the domain controller is not reachable yet. Then the GUI, set to autostart on logon, prompts for the vpn password which is finally passed through to the waiting openvpn through the MI. The repeated password entry is a minor pain, and possibly SSO could be used spare the user of that. Not sure how much coding is needed to integrate with SSO.

However our use of domain is pretty dumb: just for smb shares and mapped drives which can wait until the vpn authenticates. User profiles are all local, not transferred from a central server. Although we are religious about not letting the domain controller take over us, that's not how domains are used in real windows world. So some people may really (really?) need the so called "Start Before Logon", implementing which may be much more work.

Selva

#44 lore raw
In reply to a message not in the archive

Hi,

To your questions below - a more detailed log, below. I connected to server, then just put Windows in Standby, and then resumed. NSSM restarted openvpn.exe automatically (as you can see).

Sun Oct 25 13:56:50 2015 MANAGEMENT: >STATE:1445799410,GET_CONFIG,,,
Sun Oct 25 13:56:51 2015 SENT CONTROL [xxxxx]: 'PUSH_REQUEST' (status=1)
Sun Oct 25 13:56:51 2015 PUSH: Received control message: 'PUSH_REPLY,ping 10,ping-restart 120'
Sun Oct 25 13:56:51 2015 OPTIONS IMPORT: timers and/or timeouts modified
Sun Oct 25 13:56:51 2015 open_tun, tt->ipv6=0
Sun Oct 25 13:56:51 2015 TAP-WIN32 device [TAP Adapter] opened: \\.\Global\{EAE2B369-297C-4181-BA6B-BAEB80DEFC80}.tap Sun Oct 25 13:56:51 2015 TAP-Windows Driver Version 9.21
Sun Oct 25 13:56:51 2015 Successful ARP Flush on interface [16] {EAE2B369-297C-4181-BA6B-BAEB80DEFC80} Sun Oct 25 13:56:56 2015 TEST ROUTES: 1/1 succeeded len=1 ret=1 a=1 u/d=up
Sun Oct 25 13:56:56 2015 MANAGEMENT: >STATE:1445799416,ADD_ROUTES,,,
Sun Oct 25 13:56:56 2015 C:\WINDOWS\system32\route.exe ADD 192.168.1.0 MASK 255.255.255.0 192.168.2.1 Sun Oct 25 13:56:56 2015 ROUTE: CreateIpForwardEntry succeeded with dwForwardMetric1=64 and dwForwardType=4 Sun Oct 25 13:56:56 2015 Route addition via IPAPI succeeded [adaptive]
Sun Oct 25 13:56:56 2015 Initialization Sequence Completed
Sun Oct 25 13:56:56 2015 MANAGEMENT: >STATE:1445799416,CONNECTED,SUCCESS,,x.x.x.x
Sun Oct 25 13:57:54 2015 MANAGEMENT: Client disconnected
Sun Oct 25 13:57:54 2015 TUN/TAP I/O operation aborted, exiting
Sun Oct 25 13:57:54 2015 Exiting due to fatal error
Sun Oct 25 13:57:54 2015 C:\WINDOWS\system32\route.exe DELETE 192.168.1.0 MASK 255.255.255.0 192.168.2.1 Sun Oct 25 13:57:54 2015 ROUTE: route deletion failed using DeleteIpForwardEntry: Element not found. Sun Oct 25 13:57:54 2015 Route deletion via IPAPI failed [adaptive]
Sun Oct 25 13:57:54 2015 Route deletion fallback to route.exe
Sun Oct 25 13:57:54 2015 env_block: add PATH=C:\Windows\System32;C:\WINDOWS;C:\WINDOWS\System32\Wbem Sun Oct 25 13:57:54 2015 Closing TUN/TAP interface
Sun Oct 25 13:57:54 2015 OpenVPN 2.3.7 x86_64-w64-mingw32 [SSL (OpenSSL)] [LZO] [PKCS11] [IPv6] built on Jul 9 2015 Sun Oct 25 13:57:54 2015 library versions: OpenSSL 1.0.1p 9 Jul 2015, LZO 2.08
Sun Oct 25 13:57:54 2015 MANAGEMENT: TCP Socket listening on [AF_INET]127.0.0.1:8000
Sun Oct 25 13:57:54 2015 Need hold release from management interface, waiting...

Thanks,
... Russell

-----Original Message-----
From: gert [mailto:[email protected]...]
Sent: Saturday, October 24, 2015 2:20 AM
To: Morris, Russell <[email protected]...>
Cc: Selva Nair <[email protected]...>; [email protected]
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Hi,

Quoted 5 lines · Russell

Just a bit more on this. I initiated an OpenVPN connection – it connects, says all is happy, except the output from the management interface is,

Ø STATE:1445605521,CONNECTED,ERROR,,10.138.15.10

I'd love to see the openvpn log on this. This message in itself is not enough to figure out what it did not like.

Quoted 2 lines

And the TAP IP is garbage (169.x.x.x). So I reset the TAP adapter (disable),

Well, 169.254.x.x is "I want to do DHCP, but nobody is talking to me" - so
this is to be expected if OpenVPN is unhappy.

Quoted 3 lines

Ø FATAL:TUN/TAP I/O operation aborted, exiting

OpenVPN exits when TAP is disabled (should it?).

Well. Don't do this :-) - removing an active interface behind the back of a program talking to it is not a normal situation, and as such, OpenVPN does the only thing it can: terminate. There is no way to go on if basic assumptions ("I can talk to my tap adapter") are no longer valid.

Quoted 1 line

So there are some stability related issues we may need to correct.

There is a connection issue which needs to be solved, right. But I would not call it a "stability issue"...

Quoted 1 line

In particular, if TAP is disabled, should OpenVPN exit?

Yes, because recovering from that would basically mean "undo everything that has happened in the code so far and start from scratch" (since we have no idea why the TAP adapter suddenly is no longer working). So "exit, and let the caller restart us" is the sensible way to achieve that.

Quoted 3 lines

Perhaps it
should. But also, after a connection the TAP adapter shouldn’t be “hung”, right?

Log :-) - since OpenVPN knows that there is an ERROR, all the details should be in the openvpn log.

(Restarting openvpn itself without fiddling with the tap adapter will most likely have the same effect - "make it try again and then it works")

gert

#49 lore raw
In reply to Samuli Seppänen
Quoted 5 lines · Samuli Seppänen

Hi,

In Delft we talked about issues with Windows version of OpenVPN quite a lot. Of the top of my hat I can recall the following isuses:

Quoted 8 lines

- The tap-windows/tap-windows6 drivers have fairly bad performance
- In Windows 10 there are DNS leaks
- The service wrapper (openvpnserv.exe) is effectively broken for Windows 8 and later
- The service wrapper has very limited functionality
- The OpenVPN-GUI we bundle has several major issues, most related to having to run it as an admin

Please add this to the list of missing features:

- Windows OpenVPN-GUI needs to be able to read config files from under user's profile directory, not only from the system-wide c:\program files\openvpn\config\ directory.

Thanks,

-- Pasi

#50 lore raw

Hi
----- Original Message ----- From: "Pasi Kärkkäinen" <[email protected]...>
To: "Samuli Seppänen" <[email protected]...>
Cc: <[email protected]>
Sent: Monday, October 26, 2015 11:12 AM
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 3 lines

- Windows OpenVPN-GUI needs to be able to read config files from under user's profile directory, not only from the system-wide c:\program files\openvpn\config\ directory.

Please see:

openvpn-gui.exe --help [option --config-dir]

Regards

#51 lore raw
Quoted 7 lines · On Mon, Oct 26, 2015 at 01:42:13PM -0000, [email protected]... wrote:

Hi
----- Original Message ----- From: "Pasi Kärkkäinen" <[email protected]...>
To: "Samuli Seppänen" <[email protected]...>
Cc: <[email protected]>
Sent: Monday, October 26, 2015 11:12 AM
Subject: Re: [Openvpn-devel] Creating a Windows team for OpenVPN?

Quoted 8 lines
Quoted 3 lines

- Windows OpenVPN-GUI needs to be able to read config files from under user's profile directory, not only from the system-wide c:\program files\openvpn\config\ directory.

Please see:

openvpn-gui.exe --help [option --config-dir]

Yeah.. but openvpn-gui.exe should prefer configdir from user's profile/homedir automatically, if it exists.

-- Pasi