gnutls-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: OpenBSD 4.4 gnutls-serv IPv6 Only Bug


From: Simon Josefsson
Subject: Re: OpenBSD 4.4 gnutls-serv IPv6 Only Bug
Date: Mon, 11 May 2009 16:57:18 +0200
User-agent: Gnus/5.110011 (No Gnus v0.11) Emacs/23.0.93 (gnu/linux)

Joe Orton <address@hidden> writes:

> On Fri, Apr 24, 2009 at 07:47:36PM +0200, Simon Josefsson wrote:
>> I'm not sure what you mean with v6-mapped IPv4 addresses, though.  Is
>> there anything extra the code needs to do?
>
> I meant v4-mapped IPv6 addresses, not sure the inverse exists ;) You get 
> different behaviour on different platforms w.r.t. attempts to bind to 
> ::/port and 0.0.0.0/port for a given port, depending on whether
> v4-mapped IPv6 addresses are supported, and which order you attempt the 
> binds, etc.  For a test app it's probably sufficient to simply ignore 
> bind() errors and hope for the best.

Since we are changing how binding to sockets works, printing the error
may provide more debug information in case someone runs into a problem.
So I suggest we try the current code in GnuTLS 2.8.x and see if it
handles IPv4 and/or IPv6 properly on various platforms.

/Simon




reply via email to

[Prev in Thread] Current Thread [Next in Thread]