This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH v3] [BZ #11438] getaddrinfo: map RFC 1918 addresses toglobal scope


On Tue, Sep 25, 2012 at 12:54 PM, Jeff Law <law@redhat.com> wrote:
> On 09/24/2012 04:43 PM, Dmitry V. Levin wrote:
>>
>> Ping?
>
> According to RFC 6724, section 3.2:
>
>    IPv4 addresses are assigned scopes as follows.  IPv4 auto-
>    configuration addresses [RFC3927], which have the prefix 169.254/16,
>    are assigned link-local scope.  IPv4 loopback addresses (Section
>    4.2.2.11 of [RFC1812]), which have the prefix 127/8, are assigned
>    link-local scope (analogously to the treatment of the IPv6 loopback
>    address (Section 4 of [RFC4007])).  Other IPv4 addresses (including
>    IPv4 private addresses [RFC1918] and Shared Address Space addresses
>    [RFC6598]) are assigned global scope.
>
> I double-checked each of those classes of addresses and with this patch we
> come into compliance with RFC 6724.
>
> I think you should install this patch.

I've looked through the bug-report and read the RFC and agree that it
looks correct.

Is it possible to add a test-case for this to prevent a regression and
further validate the changes do what we expect?

Cheers,
Carlos.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]