Let's improve IPv6 support

Chris Hegarty chris.hegarty at oracle.com
Mon Mar 20 16:20:18 UTC 2017


On 20/03/17 16:11, Martin Buchholz wrote:
>
>
> On Mon, Mar 20, 2017 at 7:14 AM, Chris Hegarty <chris.hegarty at oracle.com
> <mailto:chris.hegarty at oracle.com>> wrote:
>
>
>         I should point out that the current batch of changes are focused on
>         support for systems where 127.0.0.1 doesn't exist, which is
>         relatively
>         straightforward and unexciting.
>
>
>     Sorry, what does this mean. IPv6-only environment with ::1, or no
>     loopback mechanism at all?
>
>
> A system where 127.0.0.1 does not exist (in fact IPv4 is completely
> absent), and "localhost" resolves to ::1.

Ok.

> A simple but pervasive change to global replace testing code via:
> s/"127.0.0.1"/ InetAddress.getLoopbackAddress().getHostAddress()/g

Right. This should be fine, but will likely show up mis-configurations
on some of our systems. I'd be happy to help shake out any issues, once
there is a patch available.

-Chris.


More information about the net-dev mailing list