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 15:19:17 -0400
From: Rich Felker <>
Subject: Re: getaddrinfo(3) with AI_V4MAPPED and AI_ALL flags

On Fri, Jul 31, 2020 at 07:21:47PM +0300, Dmitry Samersoff wrote:
> Hello Rich,
> I'm not sure that mapping of INADDR_ANY ( and return of
> ::ffff:' has any sense.
> Should it be filtered out on musl level?

This is an interesting question. What happens if you bind
::ffff: on an IPv6 socket? Is it the same as binding :: or does
it produce a v6 socket that only accepts v4 connections? If it has its
own distinct functionality then returning it when V4MAPPED is
requested seems to make some sense.


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.