[gnutls-devel] ipv6 vs ipv4 vs udp

Nikos Mavrogiannopoulos nmav at gnutls.org
Mon Apr 8 17:44:58 CEST 2013


On 04/05/2013 07:53 PM, James Cloos wrote:

> The fallback from v6 to v4 works well for tcp, but not for udp.
> I get something like:
> :; gnutls-cli -u -p 5555 liberty.jhcloos.com
> Processed 159 CA certificate(s).
> Resolving 'liberty.jhcloos.com'...
> Connecting to '2001:4830:1662::53:5555'...
> *** Fatal error: The operation timed out
> *** Handshake has failed
> GnuTLS error: The operation timed out


UDP is different than TCP because there is no connection. So there is no
fallback since connection doesn't fail, it just timeout. I suppose that
even if we tried to resume using ipv4 after the timeout you notice it
would have taken too much time to be a practical solution.

Any suggestions?

regards,
Nikos



More information about the Gnutls-devel mailing list