Skip to contentSkip to conversation

security/openvpn23 tarball size mismatch

Openvpn-devel Matthias Andree 2 participants 2 messages May 18, 2017 – May 19, 2017 2 messages not in the archive

lore
Share & tools
lore

A message that is not in the archive (sent off-list or not yet received): [email protected]...

A message that is not in the archive (sent off-list or not yet received): [email protected]...

#2 lore raw

Am 16.05.2017 um 14:00 schrieb Renato Botelho:

Quoted 32 lines · Renato Botelho
Quoted 31 lines

Hello Mathias,

I was trying to get openvpn23 installed from quarterly branch and got the following error:

[email protected]...:/usr/local/poudriere/ports/pfSense_v2_3/security/openvpn23

# make checksum
===>  License GPLv2 accepted by the user
===>   openvpn23-2.3.15 depends on file: /usr/local/sbin/pkg - found
=> openvpn-2.3.15.tar.xz doesn't seem to exist in
/usr/local/poudriere/ports/pfSense_v2_3/distfiles/.
=> Attempting to fetch
http://swupdate.openvpn.net/community/releases/openvpn-2.3.15.tar.xz
fetch:
http://swupdate.openvpn.net/community/releases/openvpn-2.3.15.tar.xz:
size mismatch: expected 863384, actual 829240
=> Attempting to fetch
http://build.openvpn.net/downloads/releases/openvpn-2.3.15.tar.xz
fetch:
http://build.openvpn.net/downloads/releases/openvpn-2.3.15.tar.xz: size
mismatch: expected 863384, actual 829240
=> Attempting to fetch
http://distcache.FreeBSD.org/ports-distfiles/openvpn-2.3.15.tar.xz
fetch:
http://distcache.FreeBSD.org/ports-distfiles/openvpn-2.3.15.tar.xz: Not
Found
=> Couldn't fetch it - please try to retrieve this
=> port manually into /usr/local/poudriere/ports/pfSense_v2_3/distfiles/
and try again.
*** Error code 1
Quoted 8 lines
Quoted 3 lines

Stop.
make: stopped in /usr/local/poudriere/ports/pfSense_v2_3/security/openvpn23

Just FYI, I've downloaded current tarball from OpenVPN website and checked it using GPG and it's OK. I'm not sure why they rerolled tarball tough.

Hi Renato,

there is a size difference on the tarballs between swupdate and build.

Working together with Gert Döring via IRC, and diffing the tarballs from the two download sites, we figured out that the smaller tarball on build.openvpn.net carries a pre-release tarball that did NOT fix CVE-2017-7478, only -7479, but should never have been made public.

The bigger tarball on swupdate.openvpn.net carries garbage files that do not end up in our build, but also carries the fix for BOTH CVE-2017-7478 and -7479. For details, see the commit log of r441129 at
<https://svnweb.freebsd.org/ports/branches/2017Q2/security/openvpn23/Makefile?revision=441129&view=markup>

So I've chosen to remove build.openvpn.net from the DISTSITES for now, under ports-secteam@'s blanket approval.

Upstream maintainers will need to talk about this and may need to release 2.3.16 to resolve any uncertainties.

I have uploaded the intact 2.3.15 tarball to my local public_distfiles, so we can add LOCAL/mandree/ to the DISTSITES later on should that prove necessary.

Renato, thanks for bringing this up!

Best regards,
Matthias

#3 lore raw

Hi,

(let's see if I can actually mail to the folks and lists on CC: or not :) )

Quoted 2 lines · Matthias Andree

Upstream maintainers will need to talk about this and may need to release 2.3.16 to resolve any uncertainties.

Which is what we did. Rounded up a handful of minor bugfixes, and released a single, well-defined and well-distributed 2.3.16 tarball.

Apologies again for the mess.

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]...