OpenVPN Connect Source Code

Official client software for OpenVPN Access Server and OpenVPN Cloud.
Post Reply
User avatar
lhunath
OpenVpn Newbie
Posts: 4
Joined: Thu May 02, 2013 6:00 pm
Contact:

OpenVPN Connect Source Code

Post by lhunath » Thu May 02, 2013 6:06 pm

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.

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: OpenVPN Connect Source Code

Post by janjust » Fri May 03, 2013 2:04 pm

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.

User avatar
lhunath
OpenVpn Newbie
Posts: 4
Joined: Thu May 02, 2013 6:00 pm
Contact:

Re: OpenVPN Connect Source Code

Post by lhunath » Fri May 03, 2013 2:09 pm

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?

User avatar
janjust
Forum Team
Posts: 2703
Joined: Fri Aug 20, 2010 2:57 pm
Location: Amsterdam
Contact:

Re: OpenVPN Connect Source Code

Post by janjust » Fri May 03, 2013 2:29 pm

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.

User avatar
jamesyonan
OpenVPN Inc.
Posts: 169
Joined: Thu Jan 24, 2013 12:13 am

Re: OpenVPN Connect Source Code

Post by jamesyonan » Tue May 21, 2013 6:13 pm

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

User avatar
lhunath
OpenVpn Newbie
Posts: 4
Joined: Thu May 02, 2013 6:00 pm
Contact:

Re: OpenVPN Connect Source Code

Post by lhunath » Tue May 21, 2013 7:24 pm

That's assuming they are the sole copyright holder and have accepted no contributions whatsoever.

User avatar
ecrist
Forum Team
Posts: 237
Joined: Wed Nov 26, 2008 10:33 pm
Location: Northern Minnesota, USA
Contact:

Re: OpenVPN Connect Source Code

Post by ecrist » Wed May 22, 2013 11:10 am

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.
OpenVPN Community Administrator
IRC: #openvpn, #openvpn-devel
Co-Author of Mastering OpenVPN
Author of Troubleshooting OpenVPN

emmanuele
OpenVpn Newbie
Posts: 1
Joined: Wed Sep 04, 2013 12:56 pm

Re: OpenVPN Connect Source Code

Post by emmanuele » Wed Sep 04, 2013 1:04 pm

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?

ramsch
OpenVpn Newbie
Posts: 1
Joined: Wed Jun 25, 2014 7:52 pm

Re: OpenVPN Connect Source Code

Post by ramsch » Wed Jun 25, 2014 7:55 pm

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/

User avatar
lhunath
OpenVpn Newbie
Posts: 4
Joined: Thu May 02, 2013 6:00 pm
Contact:

Re: OpenVPN Connect Source Code

Post by lhunath » Thu Jun 26, 2014 3:02 pm

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.

Post Reply