[gnutls-devel] GnuTLS | Testsuite error - listening on IPv6, connecting to IPv4 (#1007)
Development of GNU's TLS library
gnutls-devel at lists.gnutls.org
Sat May 30 11:54:37 CEST 2020
Andreas Metzler created an issue: https://gitlab.com/gnutls/gnutls/-/issues/1007
## Description of problem:
My latest upload to Debian failed multiple tests:
https://buildd.debian.org/status/fetch.php?pkg=gnutls28&arch=amd64&ver=3.6.13-3&stamp=1590697920&raw=0
Afaict the errors all look like this:
~~~
FAIL: sni-hostname.sh
=====================
Checking SNI hostname in gnutls-cli
Echo Server listening on IPv6 :: port 9148...done
Could not connect to 127.0.0.1:9148: Connection refused
Failure: 1. handshake should have succeeded!
Exiting via signal 15
FAIL sni-hostname.sh (exit status: 1)
~~~
i.e. gnutls-serv somehow ends up listening only on IPv6 but the corresponding gnutls-cli command tries to connect to 127.0.0.1 (IPv4). I do not know why gnutls-serv does not listen on IPv4, too (perhaps the virtual host has no IPv4 interfaces), but afaiui the testsuite logic really is buggy in that respect.
## Version of gnutls used:
3.6.13
## Distributor of gnutls (e.g., Ubuntu, Fedora, RHEL)
Debian
--
Reply to this email directly or view it on GitLab: https://gitlab.com/gnutls/gnutls/-/issues/1007
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/20200530/bd45e236/attachment.html>
More information about the Gnutls-devel
mailing list