Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Fri, 31 Jul 2020 19:21:47 +0300
From: Dmitry Samersoff <dms@...ersoff.net>
To: musl@...ts.openwall.com, Rich Felker <dalias@...c.org>,
 Alexander Scherbatiy <alexander.scherbatiy@...l-sw.com>
Subject: Re: getaddrinfo(3) with AI_V4MAPPED and AI_ALL flags

Hello Rich,

I'm not sure that mapping of INADDR_ANY (0.0.0.0) and return of 
::ffff:0.0.0.0' has any sense.

Should it be filtered out on musl level?

-Dmitry

On 30.07.2020 19:00, Rich Felker wrote:
> On Thu, Jul 30, 2020 at 06:20:36PM +0300, Alexander Scherbatiy wrote:
>>
>>   glibc getaddrinfo(3) function uses /etc/gai.conf file to sort
>> addrinfo results.
>>   does musl getaddrinfo(3) implementations allows to configure the
>> results order?
> 
> Presently no, and there doesn't seem to have been a lot of demand for
> it, though there was at least one other request. IIRC I asked about
> the motivation since normally the default sorting should do the right
> thing, and I believe it was for the sake of overriding for some sites
> with broken IPv6 connectivity. If you have other use cases in mind it
> would be good to mention them to help document that this is a feature
> that makes sense to consider adding.
> 
> Rich
> 

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.