public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
@ 2009-03-22 23:29 aurelien at aurel32 dot net
2009-03-22 23:29 ` [Bug libc/9981] " aurelien at aurel32 dot net
` (3 more replies)
0 siblings, 4 replies; 7+ messages in thread
From: aurelien at aurel32 dot net @ 2009-03-22 23:29 UTC (permalink / raw)
To: glibc-bugs
The current getaddrinfo code prefers listening on ipv4-only instead of
ipv4+ipv6 as previously. The gaitest.c file demonstrates the problem.
On a machine with both ipv4 and ipv6 connectivity, it returns:
* ipv4 (only)
* ipv6+ipv4
Listening for ipv6 connections never hurts, even if no one will ever
reach the server via ipv6.
--
Summary: getaddrinfo prefers listening on ipv4-only over
ipv4+ipv6
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: libc
AssignedTo: drepper at redhat dot com
ReportedBy: aurelien at aurel32 dot net
CC: glibc-bugs at sources dot redhat dot com
GCC build triplet: x86_64-unknown-linux-gnu
GCC host triplet: x86_64-unknown-linux-gnu
GCC target triplet: x86_64-unknown-linux-gnu
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/9981] getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
2009-03-22 23:29 [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6 aurelien at aurel32 dot net
@ 2009-03-22 23:29 ` aurelien at aurel32 dot net
2009-05-01 9:57 ` aurelien at aurel32 dot net
` (2 subsequent siblings)
3 siblings, 0 replies; 7+ messages in thread
From: aurelien at aurel32 dot net @ 2009-03-22 23:29 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From aurelien at aurel32 dot net 2009-03-22 23:29 -------
Created an attachment (id=3835)
--> (http://sourceware.org/bugzilla/attachment.cgi?id=3835&action=view)
test program
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/9981] getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
2009-03-22 23:29 [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6 aurelien at aurel32 dot net
2009-03-22 23:29 ` [Bug libc/9981] " aurelien at aurel32 dot net
@ 2009-05-01 9:57 ` aurelien at aurel32 dot net
2009-05-01 10:47 ` aurelien at aurel32 dot net
2009-11-04 13:24 ` bugzilla dot sourceware dot simon at arlott dot org
3 siblings, 0 replies; 7+ messages in thread
From: aurelien at aurel32 dot net @ 2009-05-01 9:57 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From aurelien at aurel32 dot net 2009-05-01 09:57 -------
I have just done a test build on the current CVS, and the bug is still present.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/9981] getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
2009-03-22 23:29 [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6 aurelien at aurel32 dot net
2009-03-22 23:29 ` [Bug libc/9981] " aurelien at aurel32 dot net
2009-05-01 9:57 ` aurelien at aurel32 dot net
@ 2009-05-01 10:47 ` aurelien at aurel32 dot net
2009-11-04 13:24 ` bugzilla dot sourceware dot simon at arlott dot org
3 siblings, 0 replies; 7+ messages in thread
From: aurelien at aurel32 dot net @ 2009-05-01 10:47 UTC (permalink / raw)
To: glibc-bugs
------- Additional Comments From aurelien at aurel32 dot net 2009-05-01 10:47 -------
The sort ipv4 and then ipv6 is done by rule 5, when matching the label.
It seems this rule should be ignored when dealing with wildcard addresses.
Maybe got_source_addr should not be set to true for wildcard addresses.
--
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/9981] getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
2009-03-22 23:29 [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6 aurelien at aurel32 dot net
` (2 preceding siblings ...)
2009-05-01 10:47 ` aurelien at aurel32 dot net
@ 2009-11-04 13:24 ` bugzilla dot sourceware dot simon at arlott dot org
3 siblings, 0 replies; 7+ messages in thread
From: bugzilla dot sourceware dot simon at arlott dot org @ 2009-11-04 13:24 UTC (permalink / raw)
To: glibc-bugs
--
What |Removed |Added
----------------------------------------------------------------------------
CC| |bugzilla dot sourceware dot
| |simon at arlott dot org
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/9981] getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
[not found] <bug-9981-131@http.sourceware.org/bugzilla/>
2011-03-14 13:35 ` allan at archlinux dot org
@ 2011-03-15 14:55 ` hnsr at xs4all dot nl
1 sibling, 0 replies; 7+ messages in thread
From: hnsr at xs4all dot nl @ 2011-03-15 14:55 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
Hans Nieser <hnsr at xs4all dot nl> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |hnsr at xs4all dot nl
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
* [Bug libc/9981] getaddrinfo prefers listening on ipv4-only over ipv4+ipv6
[not found] <bug-9981-131@http.sourceware.org/bugzilla/>
@ 2011-03-14 13:35 ` allan at archlinux dot org
2011-03-15 14:55 ` hnsr at xs4all dot nl
1 sibling, 0 replies; 7+ messages in thread
From: allan at archlinux dot org @ 2011-03-14 13:35 UTC (permalink / raw)
To: glibc-bugs
http://sourceware.org/bugzilla/show_bug.cgi?id=9981
Allan McRae <allan at archlinux dot org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |allan at archlinux dot org
--
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2011-03-15 14:55 UTC | newest]
Thread overview: 7+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2009-03-22 23:29 [Bug libc/9981] New: getaddrinfo prefers listening on ipv4-only over ipv4+ipv6 aurelien at aurel32 dot net
2009-03-22 23:29 ` [Bug libc/9981] " aurelien at aurel32 dot net
2009-05-01 9:57 ` aurelien at aurel32 dot net
2009-05-01 10:47 ` aurelien at aurel32 dot net
2009-11-04 13:24 ` bugzilla dot sourceware dot simon at arlott dot org
[not found] <bug-9981-131@http.sourceware.org/bugzilla/>
2011-03-14 13:35 ` allan at archlinux dot org
2011-03-15 14:55 ` hnsr at xs4all dot nl
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).