[gnutls-devel] GnuTLS | Connection problems with older servers (record packet with invalid length was received) (#811)

Development of GNU's TLS library gnutls-devel at lists.gnutls.org
Sat Aug 3 14:27:57 CEST 2019




Andreas Metzler commented on a discussion: https://gitlab.com/gnutls/gnutls/issues/811#note_199794403

You can pull the old packages from Debian's archive server to test:
```
#!/bin/sh

set -e
mkdir -p /tmp/OLDGNUTLS/debs || exit 1
mkdir -p /tmp/OLDGNUTLS/x -p /tmp/OLDGNUTLS/tmp

cd  /tmp/OLDGNUTLS/debs
wget -c \
http://archive.debian.org/debian/pool/main/g/gnutls26/gnutls-bin_3.0.22-3+really2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/g/gnutls26/guile-gnutls_3.0.22-3+really2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/g/gnutls26/libgnutls-dev_2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/g/gnutls26/libgnutls-openssl27_2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/g/gnutls26/libgnutls26-dbg_2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/g/gnutls26/libgnutls26_2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/g/gnutls26/libgnutlsxx27_2.12.20-8+deb7u5_amd64.deb \
http://archive.debian.org/debian/pool/main/r/readline6/libreadline6_6.2+dfsg-0.1_amd64.deb \
http://archive.debian.org/debian/pool/main/libg/libgcrypt11/libgcrypt11_1.5.0-5+deb7u4_amd64.deb \
http://archive.debian.org/debian/pool/main/libt/libtasn1-3/libtasn1-3_2.13-2+deb7u2_amd64.deb \
http://archive.debian.org/debian/pool/main/n/ncurses/libtinfo5_5.9-10_amd64.deb

for i in /tmp/OLDGNUTLS/debs/*.deb ; do
	rm -f /tmp/OLDGNUTLS/tmp/*
	cd /tmp/OLDGNUTLS/tmp
	ar -x $i
	tar -C /tmp/OLDGNUTLS/x -xf data.tar.*
done
echo run ...
echo env LD_LIBRARY_PATH=/tmp/OLDGNUTLS/x/usr/lib:/tmp/OLDGNUTLS/x/usr/lib/x86_64-linux-gnu:/tmp/OLDGNUTLS/x/lib:/tmp/OLDGNUTLS/x/lib/x86_64-linux-gnu /tmp/OLDGNUTLS/x/usr/bin/gnutls-serv
```

-- 
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/issues/811#note_199794403
You're receiving this email because of your account on gitlab.com.


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.gnupg.org/pipermail/gnutls-devel/attachments/20190803/48dc8aec/attachment.html>


More information about the Gnutls-devel mailing list