Page 1 of 1

OpenVPN Connect Source Code

Posted: Thu May 02, 2013 6:06 pm
by lhunath
Dear OpenVPN,

I would like to obtain a copy of the OpenVPN Connect iOS application's source code. I cannot find any references on the website anywhere on how to obtain the source. It is my understanding that you are bound under the GPL and possibly other licenses to make the source available along with your object code.

Re: OpenVPN Connect Source Code

Posted: Fri May 03, 2013 2:04 pm
by janjust
the open-source of the OpenVPN Connect sourcecode can be found on the internet (code.google.com) ; there is also a closed-source portion that is NOT freely available. This is the interesting part, of course, for which OpenVPN Inc had to sign an NDA.

Re: OpenVPN Connect Source Code

Posted: Fri May 03, 2013 2:09 pm
by lhunath
Thanks, janjust. For completion and future reference, would you mind posting the URL in this thread?

In reference to the closed-source part, the NDA you reference, with whom is that and why does it prevent them from disclosing the source? Additionally, isn't OpenVPN bound by the GPLv2?

Re: OpenVPN Connect Source Code

Posted: Fri May 03, 2013 2:29 pm
by janjust
the thing is, I cannot recall the URL. I will ask on the #openvpn-devel forum.

And no, OpenVPN is not bound to the GPL - the community edition of the software is, but this is a completely new implementation in C++ that is NOT bound to the GPL per se.

Re: OpenVPN Connect Source Code

Posted: Tue May 21, 2013 6:13 pm
by jamesyonan
The OpenVPN Connect clients for iOS and Android are based on the OpenVPN 3.0 code which is publicly licensed under the AGPL and available here:

http://staging.openvpn.net/openvpn3/

Note that OpenVPN Tech. cannot release the code that implements the integration between OpenVPN and the iOS VPN Framework because it's under NDA.

Regarding the issue of GPL requirement to disclose source code, this is only a requirement if you are using other people's GPL code. If you are the copyright holder of a body of work, you are free to license or relicense it in any way as you see fit.

James

Re: OpenVPN Connect Source Code

Posted: Tue May 21, 2013 7:24 pm
by lhunath
That's assuming they are the sole copyright holder and have accepted no contributions whatsoever.

Re: OpenVPN Connect Source Code

Posted: Wed May 22, 2013 11:10 am
by ecrist
lhunath wrote:That's assuming they are the sole copyright holder and have accepted no contributions whatsoever.
Which is the case here. The client code used for iOS and Android was a complete rewrite, with no outside contributions.

Re: OpenVPN Connect Source Code

Posted: Wed Sep 04, 2013 1:04 pm
by emmanuele
jamesyonan wrote:The OpenVPN Connect clients for iOS and Android are based on the OpenVPN 3.0 code which is publicly licensed under the AGPL and available here:

http://staging.openvpn.net/openvpn3/

Note that OpenVPN Tech. cannot release the code that implements the integration between OpenVPN and the iOS VPN Framework because it's under NDA.

Regarding the issue of GPL requirement to disclose source code, this is only a requirement if you are using other people's GPL code. If you are the copyright holder of a body of work, you are free to license or relicense it in any way as you see fit.

James
So, basically, the NDA is protecting the use of private APIs? Then Apple accepts apps that use private APIs as long as one signs an NDA?
How did you guys get to do that? :-)


PS: If not all code is published, how can anybody be sure that keys and other things are not being leaked by the code that is not open source?

Re: OpenVPN Connect Source Code

Posted: Wed Jun 25, 2014 7:55 pm
by ramsch
In my opinion this is an outrageous move. However, if you liberated your IOS device, you can use tunemu for OpenVPN: http://code.gerade.org/tunemu/

Re: OpenVPN Connect Source Code

Posted: Thu Jun 26, 2014 3:02 pm
by lhunath
emmanuele wrote:If not all code is published, how can anybody be sure that keys and other things are not being leaked by the code that is not open source?
Good point. If trust is the primary motivation for OpenVPN to publish its source code, hiding part of the source completely defeats that objective.