On Fri, Jul 11, 2014 at 2:33 AM, Manuel Pégourié-Gonnard
<[email protected]> wrote:
> Hi,
> Assume I want to connect to a DTLS server on localhost, that listens only in
> IPv4. On IPv6-capable systems, localhost also resolves as ::1 and this is the
> first address gnutls-cli tries. Unfortunately, with UDP it cannot detect that
> no-one is listening on the other side, so it keeps trying to resend it
> ClientHello to ::1 until it times out and exits with a failing status.
> I can force the use of IPv4 by specifying the host as "127.0.0.1" instead of
> "localhost" but then certificate validation fails.

Most probably we need an option to separately set the hostname and the
IP to connect to. Not in my immediate plans to add, but if there is a
patch for that, I'll apply it.

regards,
Nikos

_______________________________________________
Gnutls-help mailing list
[email protected]
http://lists.gnupg.org/mailman/listinfo/gnutls-help

Reply via email to