Skip to contentSkip to conversation

On testing with openssl 0.9.8

Openvpn-devel Selva Nair 10 participants 15 messages Jan 20, 2018 – Jan 22, 2018

lore
Share & tools
lore

Selva Nair

author
#0 lore raw

Hi,

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Selva

#1 lore raw

it might depend on why do we want support openssl-0.9.8

vanilla openssl is different from redhat, I mean

which one do we want ?

2018-01-20 22:22 GMT+05:00 Selva Nair <[email protected]...>:

Quoted 17 lines

Hi,

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Selva

------------------------------------------------------------
------------------
Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Openvpn-devel mailing list [email protected]
https://lists.sourceforge.net/lists/listinfo/openvpn-devel

#2 lore raw
In reply to Selva Nair

Hi,

Quoted 1 line · Selva Nair

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8?

"Not that I'm aware of"...

Quoted 2 lines

Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

... but it should be fairly easy to find a suitable base OS "box", and
add our provisioning to it... which debian versions would be suitable?

My buildbots, unfortunately, all have 1.0.1+ or 1.1 even today given that master won't build otherwise (0.9.8 is still there on some of the older FreeBSDs, but hidden behind symlinks pointing to newer versions...)

gert

Signature · 3 lines
now what should I write here...

Gert Doering - Munich, Germany                             [email protected]...
#3 lore raw
In reply to Selva Nair

Hi,

Quoted 3 lines · Selva Nair

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

To test against various openssl versions, I statically compile against them, like this:

git clone https://github.com/openssl/openssl.git --branch OpenSSL_0_9_8-stable
git clone https://github.com/OpenVPN/openvpn.git --branch release/2.4

(cd openssl && ./config -v -d no-shared && make build_libs)

cd openvpn

autoreconf -vif

OPENSSL_CFLAGS="-I$(pwd)/../openssl/include" \
OPENSSL_LIBS="-L$(pwd)/../openssl -lssl -lcrypto -lpthread -ldl" \
./configure --enable-strict

make check

That of course doesn't catch platform-specific things, but it does catch almost all issues we've encountered so far.

-Steffan

PS: it could be that libpthead and libdl are only needed for newer openssl version, but I use the same scripts to build for all versions.

author
#4 lore raw

Hi,

Quoted 18 lines · Steffan Karger

Hi,

Quoted 3 lines · Selva Nair

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

To test against various openssl versions, I statically compile against them, like this:

git clone https://github.com/openssl/openssl.git --branch OpenSSL_0_9_8-stable
git clone https://github.com/OpenVPN/openvpn.git --branch release/2.4

(cd openssl && ./config -v -d no-shared && make build_libs)

cd openvpn

Quoted 7 lines

autoreconf -vif

OPENSSL_CFLAGS="-I$(pwd)/../openssl/include" \
OPENSSL_LIBS="-L$(pwd)/../openssl -lssl -lcrypto -lpthread -ldl" \
./configure --enable-strict

make check

Something is similar is what I do but just moved my test system to a new machine and was looking for an "fancier" approach. Actually once set-up this is easy, so I'll go this route.

I thought vagrant is cool though I have hard time using anything fancier than vi, so should continue to stay away :)

To respond to Gert's question, debian version I used to use was squeeze (debian 6) but I don't think its anymore available anywhere.

Selva

#5 lore raw
In reply to Selva Nair

Hi,

Il 20/01/2018 19:22, Selva Nair ha scritto:

Quoted 7 lines

Hi,

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Selva

Right now openvpn-vagrant[*] contains only fairly recent operating systems:

grep "vm.define" Vagrantfile

  config.vm.define "centos-7" do |box|
  config.vm.define "debian-9" do |box|
  config.vm.define "freebsd-11" do |box|
  config.vm.define "openbsd-6" do |box|
  config.vm.define "solaris-113" do |box|
  config.vm.define "ubuntu-1604" do |box|

config.vm.define "openvpn-build" do |box|
config.vm.define "netbsd-7" do |box|

If you want, I can easily add a new VM (say, Ubuntu 12.04), which has OpenSSL 0.9.8.

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

irc freenode net: mattock


[*] <https://github.com/OpenVPN/openvpn-vagrant>
#6 lore raw
In reply to Selva Nair
Quoted 5 lines · Selva Nair

Hi,

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Let me rather twist this question around ... Do we want to support OpenSSL 0.9.8? Are there any Linux distributions or other OSes out there in the wild which is still supported which are also based on openssl-0.9.8?

Officially we dropped RHEL 5 support and moved to RHEL 6 as the oldest Linux distribution we support OpenVPN on. RHEL 6 ships with an openssl-1.0.1e baseline.

For the other platforms ... In Windows, we define what we want to use - as we need to embed OpenSSL in our own package. I believe most of the current stable *BSDs and derivatives are on an OpenSSL 1.x base (or the LibreSSL fork) too (but I don't know that for a fact yet). I expect Tunnelblick and macOS users to use a far newer OpenSSL library too.

I would rather see us moving to officially drop 0.9.8 unless there are really strong arguments and evidence of someone maintaining openssl-0.9.8 with security backports.

Signature · 4 lines
kind regards,

David Sommerseth
OpenVPN Inc
#7 lore raw
Quoted 11 lines · Selva Nair
Quoted 5 lines

Hi,

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Let me rather twist this question around ... Do we want to support OpenSSL 0.9.8? Are there any Linux distributions or other OSes out there in the wild
which is still supported which are also based on openssl-0.9.8?

If it's possible without too many headaches, I'd appreciate if openssl-0.9.8 support would be kept in during the 2.4 series.

Regards,
Simon

#8 lore raw
Quoted 7 lines · Simon Matter
Quoted 7 lines · Selva Nair
Quoted 5 lines

Hi,

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Quoted 7 lines
Quoted 4 lines

Let me rather twist this question around ... Do we want to support OpenSSL 0.9.8? Are there any Linux distributions or other OSes out there in the wild
which is still supported which are also based on openssl-0.9.8?

If it's possible without too many headaches, I'd appreciate if openssl-0.9.8 support would be kept in during the 2.4 series.

Can you elaborate more on your use case? Keeping something just to keep something is kind of a poor argument. But of course, it goes the other way around too, we shouldn't kick it out just to kick it out either.

Currently, I'm mostly concerned that keeping the support span from 0.9.8 to 1.1.x can lead to maintenance challenges in the longer run - especially if the use cases are poor.

To me it then gets crucial that users needing openssl-0.9.8 have access to a maintained distribution of that particular OpenSSL version. Otherwise, we're deluding OpenVPN users it is safe to use openssl-0.9.8.

So if we don't have really strong arguments keeping support for this old version, we should carefully consider our options.

Signature · 4 lines
kind regards,

David Sommerseth
OpenVPN Inc
#9 lore raw

Hi,

Didn't we have this discussion before? Gert basically NAK'd removing support for a library version in a dot-release, which I think is valid reasoning (even though I really would like to drop 0.9.8).

Anyway, to fill in the facts:

Quoted 20 lines · David Sommerseth
Quoted 6 lines · Simon Matter
Quoted 6 lines · Selva Nair
Quoted 4 lines

Does openvpn-vagrant include any VM provisioning with openssl-0.9.8? Until recently I had access to a few old debian boxes but now all updated and 0.9.8 testing is getting harder.

Quoted 7 lines
Quoted 4 lines

Let me rather twist this question around ... Do we want to support OpenSSL 0.9.8? Are there any Linux distributions or other OSes out there in the wild which is still supported which are also based on openssl-0.9.8?

If it's possible without too many headaches, I'd appreciate if openssl-0.9.8 support would be kept in during the 2.4 series.

Can you elaborate more on your use case? Keeping something just to keep something is kind of a poor argument. But of course, it goes the other way around too, we shouldn't kick it out just to kick it out either.

Quoted 8 lines

Currently, I'm mostly concerned that keeping the support span from 0.9.8 to 1.1.x can lead to maintenance challenges in the longer run
- especially if the use cases are poor.

To me it then gets crucial that users needing openssl-0.9.8 have access to a maintained distribution of that particular OpenSSL version. Otherwise, we're deluding OpenVPN users it is safe to use openssl-0.9.8.

SLES11 supports 0.9.8 upto 2022:

https://www.suse.com/LinuxPackages/packageRouter.jsp?product=server&version=11&service_pack=&architecture=i386&package_name=openssl

https://www.suse.com/lifecycle/

Quoted 2 lines

So if we don't have really strong arguments keeping support for this old version, we should carefully consider our options.

We already removed support for < 1.0.1 in the master branch. Maybe just make sure we can get 2.5 out, and move forward that way :)

-Steffan

#10 lore raw

Hi,

Quoted 5 lines · Steffan Karger
Quoted 2 lines

So if we don't have really strong arguments keeping support for this old version, we should carefully consider our options.

We already removed support for < 1.0.1 in the master branch. Maybe just make sure we can get 2.5 out, and move forward that way :)

So, what's missing for 2.5? :-)

I can see "tls crypt v2", "refactor route.c and tun.c", "netlink" here - what else?

gert

Signature · 3 lines
now what should I write here...

Gert Doering - Munich, Germany                             [email protected]...
#11 lore raw
Quoted 6 lines · Gert Doering

Hi,

Quoted 3 lines · Steffan Karger
Quoted 2 lines

So if we don't have really strong arguments keeping support for this old version, we should carefully consider our options.

Quoted 7 lines
Quoted 2 lines

We already removed support for < 1.0.1 in the master branch. Maybe just make sure we can get 2.5 out, and move forward that way :)

So, what's missing for 2.5? :-)

I can see "tls crypt v2", "refactor route.c and tun.c", "netlink" here - what else?

not sure hijacking this thread is the right thing to do (other people interested in this topic may not see the discussion here).

However, we had other points: like multiport/socket support, the transport API, ....

More here:
https://community.openvpn.net/openvpn/wiki/KarlsruheHackathon2017#results

Cheers,

Signature · 1 line
Antonio Quartulli
author
#12 lore raw
In reply to Gert Doering

Hi,

Quoted 6 lines · Gert Doering

Hi,

Quoted 3 lines · Steffan Karger
Quoted 2 lines

So if we don't have really strong arguments keeping support for this old version, we should carefully consider our options.

Quoted 7 lines
Quoted 2 lines

We already removed support for < 1.0.1 in the master branch. Maybe just make sure we can get 2.5 out, and move forward that way :)

So, what's missing for 2.5? :-)

I can see "tls crypt v2", "refactor route.c and tun.c", "netlink" here - what else?

How did we get to 2.5 from openssl-0.9.8? Anyway, I'm happy to see that 0.9.8 is not widely used and slacking while testing patches will be excused..

OK, the thread yielded to the more exciting 2.5 discussion :)

Selva

#13 lore raw
In reply to Steffan Karger
Quoted 7 lines · Steffan Karger

Hi,

Didn't we have this discussion before? Gert basically NAK'd removing support for a library version in a dot-release, which I think is valid reasoning (even though I really would like to drop 0.9.8).

Anyway, to fill in the facts:

[...snip...]

Quoted 6 lines
Quoted 4 lines

To me it then gets crucial that users needing openssl-0.9.8 have access to a maintained distribution of that particular OpenSSL version. Otherwise, we're deluding OpenVPN users it is safe to use openssl-0.9.8.

SLES11 supports 0.9.8 upto 2022:

Ahh! Sorry! I once again have forgotten about the pesky SLES11. On the other hand, SLES 11 officially ends 31 March 2019 for normal users. To reach the 2022 date, you need cash out extra for a separate support agreement.

For RHEL something similar is also possible with RHEL 5. but we considered the user base willing to do so to be fairly small - also as these agreements tends to be fairly costly unless you really have to. SUSE wants to have a chat with your before revealing any prices, so I can't tell if its the same here. But whenever sales wants to get in touch with you to go further, that is seldom a sign of a reasonable and affordable price.

Regardless ... we should probably document this once and for all more properly. Both for OpenSSL and mbed TLS. We could add it to this draft [1] and make that draft more official.

[1] <https://community.openvpn.net/openvpn/wiki/SupportedVersions>

Signature · 4 lines
kind regards,

David Sommerseth
OpenVPN Inc
#14 lore raw
In reply to David Sommerseth

Hi,

Quoted 4 lines · David Sommerseth

Let me rather twist this question around ... Do we want to support OpenSSL 0.9.8? Are there any Linux distributions or other OSes out there in the wild which is still supported which are also based on openssl-0.9.8?

Quoted 8 lines

Officially we dropped RHEL 5 support and moved to RHEL 6 as the oldest Linux distribution we support OpenVPN on. RHEL 6 ships with an openssl-1.0.1e baseline.

For the other platforms ... In Windows, we define what we want to use - as we need to embed OpenSSL in our own package. I believe most of the current stable *BSDs and derivatives are on an OpenSSL 1.x base (or the LibreSSL fork) too (but I don't know that for a fact yet). I expect Tunnelblick and macOS users to use a far newer OpenSSL library too.

Dropping 0.9.8 isn't a problem for Tunnelblick, which embeds OpenSSL 1.0.2.

However, 0.9.8 (patched by Apple, as I understand it) is included in macOS up through Sierra. So people using command-line openVPN would have problems unless they've replaced OpenSSL.

(Apple's latest system, "High Sierra" symlinks openvpn to LibreSSL, which opens a different can of worms : )

Best regards,

Jon Bullard