]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
Document problem with NATs in getaddrinfo.
authorUlrich Drepper <drepper@redhat.com>
Sun, 4 Apr 2010 00:56:51 +0000 (17:56 -0700)
committerPetr Baudis <pasky@ucw.cz>
Wed, 12 May 2010 01:21:04 +0000 (03:21 +0200)
(cherry picked from commit ed0874085976531bda8a05540b0816e8bf711b71)

ChangeLog
posix/gai.conf

index 42c1a07a68f40c3004ae9370165ea42f2998a90b..7a6417ed7292ea4d9752b463c7debd016f0bb96a 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,15 +1,15 @@
 2010-04-03  Ulrich Drepper  <drepper@redhat.com>
 
+       [BZ #11438]
+       * posix/gai.conf: Document problems with IPv4 site-local addresses and
+       NATs.
+
        [BZ #11449]
        * crypt/crypt_util.c (__init_des_r): Add memory barrier before setting
        small_tables_initialized.
 
        * malloc/malloc.c (set_max_fast): Fix computation of the value.
 
-2010-04-03  Ulrich Drepper  <drepper@redhat.com>
-
-       * malloc/malloc.c (set_max_fast): Fix computation of the value.
-
 2010-03-25  Andreas Schwab  <schwab@redhat.com>
 
        * sysdeps/posix/getaddrinfo.c (gaih_inet): Reset no_data before
index 3dba1a905d52a44e6d379dda9122bc02b80b1041..195287e1c88f3d104e8876b21b9e3204d5eb7bb2 100644 (file)
 #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