aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2010-04-03 17:56:51 -0700
committerUlrich Drepper <drepper@redhat.com>2010-04-03 17:56:51 -0700
commited0874085976531bda8a05540b0816e8bf711b71 (patch)
treec162d55d44c0281016a7e59312e25e151f622972
parent647450cfb089a60f1dc3de7d68874cd21f475ec7 (diff)
downloadglibc-ed0874085976531bda8a05540b0816e8bf711b71.tar
glibc-ed0874085976531bda8a05540b0816e8bf711b71.tar.gz
glibc-ed0874085976531bda8a05540b0816e8bf711b71.tar.bz2
glibc-ed0874085976531bda8a05540b0816e8bf711b71.zip
Document problem with NATs in getaddrinfo.
-rw-r--r--ChangeLog4
-rw-r--r--posix/gai.conf9
2 files changed, 13 insertions, 0 deletions
diff --git a/ChangeLog b/ChangeLog
index 27678bf649..dd6b608114 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,9 @@
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.
diff --git a/posix/gai.conf b/posix/gai.conf
index 3dba1a905d..195287e1c8 100644
--- a/posix/gai.conf
+++ b/posix/gai.conf
@@ -66,3 +66,12 @@
#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