Comment 3 for bug 555210

Revision history for this message
Tore Anderson (toreanderson) wrote :

The functionality appears to work exactly as expected, thanks!

However the comment to the gai.conf file didn't get correctly added, I think. I think the Fedora people patched a newer version of the upstream file, so the additional comment about this being the default in Fedora/Ubuntu should have been added below a recently added upstream comment about the RFC1918/3484 problems. If you understand what I mean. :-)

Anyway - the relevant parts of the gai.conf file in Fedora now looks like this:

----
# scopev4 <mask> <value>
# Add another rule to the RFC 3484 scope table for IPv4 addresses.
# By default the scope IDs described in section 3.2 in RFC 3484 are
# used. Changing these defaults should hardly ever be necessary.
# The definitions in RFC 1918 are equivalent to:
#
#scopev4 ::ffff:169.254.0.0/112 2
#scopev4 ::ffff:127.0.0.0/104 2
#scopev4 ::ffff:10.0.0.0/104 5
#scopev4 ::ffff:172.16.0.0/108 5
#scopev4 ::ffff:192.168.0.0/112 5
#scopev4 ::ffff:0.0.0.0/96 14
#
# For sites which use site-local IPv4 addresses behind NAT there is
# the problem that even if IPv4 addresses are preferred they do not
# have the same scope and are therefore not sorted first. To change
# this use only these rules:
#
#scopev4 ::ffff:169.254.0.0/112 2
#scopev4 ::ffff:127.0.0.0/104 2
#scopev4 ::ffff:0.0.0.0/96 14
#
# This is what the Red Hat setting currently uses.
----

This is more accurate, except that the comment "The definitions in RFC 1918 are equivalent to:" is a thinko, it should instead read "The definitions in RFC 3484 are equivalent to:".

Tore