[brlink at debian.org: Bug#686242: gnutls-serv does not listen on ipv6]
Andreas Metzler
ametzler at downhill.at.eu.org
Sat Sep 1 10:21:17 CEST 2012
----- Forwarded message from "Bernhard R. Link" <brlink at debian.org> -----
Date: Thu, 30 Aug 2012 15:31:52 +0200
From: "Bernhard R. Link" <brlink at debian.org>
Subject: Bug#686242: gnutls-serv does not listen on ipv6
Package: gnutls-bin
Version: 3.0.22-2
Severity: normal
Tags: ipv6 patch
On Linux with /proc/sys/net/ipv6/bindv6only == 0 (which is now the
default), gnutls-serv cannot listen on ipv6:
$ gnutls-serv -p 5544
Set static Diffie-Hellman parameters, consider --dhparams.
HTTP Server listening on IPv4 0.0.0.0 port 5544...done
HTTP Server listening on IPv6 :: port 5544...bind() failed: Address already in use
Attached patch fixes that:
$ ./gnutls-serv -p 5555
Set static Diffie-Hellman parameters, consider --dhparams.
HTTP Server listening on IPv4 0.0.0.0 port 5555...done
HTTP Server listening on IPv6 :: port 5555...done
The patch works both against 3.0.20-3 and 3.0.22-2.
----- End forwarded message -----
http://bugs.debian.org/686242
-------------- next part --------------
A non-text attachment was scrubbed...
Name: fixipv6listen.diff
Type: text/x-diff
Size: 902 bytes
Desc: not available
URL: </pipermail/attachments/20120901/17225ced/attachment.diff>
More information about the Gnutls-devel
mailing list