OpenVPN PolarSSL builds?
Hi,
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
Signature · 7 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock [*] For Windows, Debian, Ubuntu
Hi,
Quoted 3 lines · Samuli Seppänen
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
I think it would be a nice option. We could even start with 2.3.4 with that, at least for windows... (if PolarSSL can be cross-compiled for windows...)
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]...Hi,
Quoted 8 lines · Gert Doering
Quoted 3 lines · Samuli Seppänen
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
I think it would be a nice option. We could even start with 2.3.4 with that, at least for windows... (if PolarSSL can be cross-compiled for windows...)
PolarSSL works just fine on Windows, OpenVPN-NL already ships for Windows, using PolarSSL.
I would really like to release 'vanilla' polarssl-builds too. Make it easy for people to pick their favourite SSL library.
However, what about PolarSSL itself? For Windows we just put it in the installer. But what about the other platforms? It's less commonly available in the distro's, and because of the (at least up to now) volatile API's, the rather not unlikely that users get version clashes. So, options:
* Just supply openvpn builds, let users deal with polarssl versioning
themselves
* Provide PolarSSL packages too (do we already do that for other libs?)
* Statically compile in PolarSSL (like OpenVPN-NL does)
I think providing PolarSSL packages too is the neatest, but I'm not sure on the work involved in maintaining those. Samuli, any thoughts on this?
-Steffan
Quoted 27 lines
Hi,
Quoted 7 lines · Gert Doering
Quoted 3 lines · Samuli Seppänen
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
I think it would be a nice option. We could even start with 2.3.4 with that, at least for windows... (if PolarSSL can be cross-compiled for windows...)
PolarSSL works just fine on Windows, OpenVPN-NL already ships for Windows, using PolarSSL.
I would really like to release 'vanilla' polarssl-builds too. Make it easy for people to pick their favourite SSL library.
However, what about PolarSSL itself? For Windows we just put it in the installer. But what about the other platforms? It's less commonly available in the distro's, and because of the (at least up to now) volatile API's, the rather not unlikely that users get version clashes. So, options:
* Just supply openvpn builds, let users deal with polarssl versioning
themselves
* Provide PolarSSL packages too (do we already do that for other libs?)
* Statically compile in PolarSSL (like OpenVPN-NL does)
Quoted 3 lines
I think providing PolarSSL packages too is the neatest, but I'm not sure on the work involved in maintaining those. Samuli, any thoughts on this?
I don't think maintaining the PolarSSL packages would be as much work as maintaining the OpenVPN packages. The OpenVPN packages need to keep track of changes in the OS init systems, handle services restarts etc. The PolarSSL packages would basically just copy some files to directory and run a few commands. So I guess it would be quite easy to do. That said, if we start maintaining PolarSSL debs, we might as well do it upstream in the PolarSSL project instead of within the OpenVPN project. We could of course publish the PolarSSL packages in our own apt repos to make using them easier for our users.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 30 lines · Samuli Seppänen
Quoted 27 lines
Hi,
Quoted 7 lines · Gert Doering
Quoted 3 lines · Samuli Seppänen
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
I think it would be a nice option. We could even start with 2.3.4 with that, at least for windows... (if PolarSSL can be cross-compiled for windows...)
PolarSSL works just fine on Windows, OpenVPN-NL already ships for Windows, using PolarSSL.
I would really like to release 'vanilla' polarssl-builds too. Make it easy for people to pick their favourite SSL library.
However, what about PolarSSL itself? For Windows we just put it in the installer. But what about the other platforms? It's less commonly available in the distro's, and because of the (at least up to now) volatile API's, the rather not unlikely that users get version clashes. So, options:
* Just supply openvpn builds, let users deal with polarssl versioning
themselves
* Provide PolarSSL packages too (do we already do that for other libs?)
* Statically compile in PolarSSL (like OpenVPN-NL does)Quoted 3 lines
I think providing PolarSSL packages too is the neatest, but I'm not sure on the work involved in maintaining those. Samuli, any thoughts on this?
Quoted 9 lines
I don't think maintaining the PolarSSL packages would be as much work as maintaining the OpenVPN packages. The OpenVPN packages need to keep track of changes in the OS init systems, handle services restarts etc. The PolarSSL packages would basically just copy some files to directory and run a few commands. So I guess it would be quite easy to do. That said, if we start maintaining PolarSSL debs, we might as well do it upstream in the PolarSSL project instead of within the OpenVPN project. We could of course publish the PolarSSL packages in our own apt repos to make using them easier for our users.
There're already packages for PolarSSL in Debian (and thus, in Ubuntu). So I don't think there's need to maintain different ones.
Signature · 5 lines
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico mailto/sip: [email protected]... | en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55
Hi,
Quoted 2 lines · Alberto Gonzalez Iniesta
There're already packages for PolarSSL in Debian (and thus, in Ubuntu). So I don't think there's need to maintain different ones.
What's Debian's stance on PolarSSL 1.2.x vs. 1.3.x? This is something that had me worried for a while, as they are plain incompatible - so if we finally merge Steffan's patch for Polar 1.3.x support to git master, different OpenVPN versions will require different PolarSSL versions as well
openvpn 2.3.x -> needs PolarSSL 1.2.x, will not build or run with 1.3.x openvpn 2.4.x -> needs PolarSSL 1.3.x, will not build or run with 1.2.x
(the decision to not-support PolarSSL 1.2.x in parallel to 1.3.x saves OpenVPN a lot of #ifdefs in our code, but pushes the burden to the distribution maintainers)
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]...Quoted 12 lines · Gert Doering
Hi,
Quoted 2 lines · Alberto Gonzalez Iniesta
There're already packages for PolarSSL in Debian (and thus, in Ubuntu). So I don't think there's need to maintain different ones.
What's Debian's stance on PolarSSL 1.2.x vs. 1.3.x? This is something that had me worried for a while, as they are plain incompatible - so if we finally merge Steffan's patch for Polar 1.3.x support to git master, different OpenVPN versions will require different PolarSSL versions as well
Quoted 6 lines
openvpn 2.3.x -> needs PolarSSL 1.2.x, will not build or run with 1.3.x openvpn 2.4.x -> needs PolarSSL 1.3.x, will not build or run with 1.2.x
(the decision to not-support PolarSSL 1.2.x in parallel to 1.3.x saves OpenVPN a lot of #ifdefs in our code, but pushes the burden to the distribution maintainers)
I guess the best solution would be to go for 1.3.x support and backport polarssl to Squeeze and Wheezy. I could contact the polarssl maintainer to see how doable that is.
Signature · 5 lines
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico mailto/sip: [email protected]... | en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55
Quoted 11 lines
Hi,
Quoted 3 lines · Samuli Seppänen
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
I think it would be a nice option. We could even start with 2.3.4 with that, at least for windows... (if PolarSSL can be cross-compiled for windows...)
I think the "cross-compile on Windows" part is the trickiest part. That said, on Debian/Ubuntu we'd probably need to use some package name tricks like:
"openvpn" (a metapackage)
"openvpn_openssl", provides openvpn (=openvpn+openssl) "openvpn_polarssl", provides openvpn (=openvpn+polarssl)
Agi: do you have any suggestions on how to best handle this kind of scenario?
Also, if we don't wish maintain our own set of PolarSSL .deb packages we'd have to limit ourselves to fairly recent Debian/Ubuntu versions.
Signature · 5 lines
Samuli Seppänen Community Manager OpenVPN Technologies, Inc irc freenode net: mattock
Quoted 15 lines · Samuli Seppänen
Quoted 11 lines
Hi,
Quoted 3 lines · Samuli Seppänen
Currently all of the binary builds we provide[*] are linked to OpenSSL. Would having both OpenSSL and PolarSSL builds make sense (e.g. starting with 2.4)?
I think it would be a nice option. We could even start with 2.3.4 with that, at least for windows... (if PolarSSL can be cross-compiled for windows...)
I think the "cross-compile on Windows" part is the trickiest part. That said, on Debian/Ubuntu we'd probably need to use some package name tricks like:
Quoted 6 lines
"openvpn" (a metapackage)
"openvpn_openssl", provides openvpn (=openvpn+openssl) "openvpn_polarssl", provides openvpn (=openvpn+polarssl)Agi: do you have any suggestions on how to best handle this kind of scenario?
The same source package could produce the three packages. Build with openssl, clean, build with polarssl. It will require some hacks, but should be doable and clean enough. Will look at it next week. BTW, openvpn-openssl & openvpn-polarssl (underscores not valid in package names :-)
Quoted 2 lines
Also, if we don't wish maintain our own set of PolarSSL .deb packages we'd have to limit ourselves to fairly recent Debian/Ubuntu versions.
When can always try to backport current polar packages to older distro releases. Currently:
Squeeze: 1.2.9
Wheezy: 1.2.9
Jessie/sid: 1.3.4
Signature · 5 lines
Alberto Gonzalez Iniesta | Formación, consultoría y soporte técnico mailto/sip: [email protected]... | en GNU/Linux y software libre Encrypted mail preferred | http://inittab.com Key fingerprint = 5347 CBD8 3E30 A9EB 4D7D 4BF2 009B 3375 6B9A AA55