From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 8460 invoked by alias); 20 Nov 2012 23:33:38 -0000 Received: (qmail 7643 invoked by uid 48); 20 Nov 2012 23:32:59 -0000 From: "psimerda at redhat dot com" To: glibc-bugs@sources.redhat.com Subject: [Bug network/12398] AI_ADDRCONFIG breaks getaddrinfo() calls for loopback names and addresses Date: Tue, 20 Nov 2012 23:33:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: glibc X-Bugzilla-Component: network X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: psimerda at redhat dot com X-Bugzilla-Status: NEW X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: drepper.fsp at gmail dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Post: List-Help: , Sender: glibc-bugs-owner@sourceware.org X-SW-Source: 2012-11/txt/msg00182.txt.bz2 http://sourceware.org/bugzilla/show_bug.cgi?id=3D12398 --- Comment #5 from Pavel =C5=A0imerda 2012-11= -20 23:32:57 UTC --- Changed the comment. Currently, I'm using the following patch to fix my node-local IPv4/IPv6 networking (link-local networking is currently not broken in Fedora since they removed the patch to also disregard link-local addresses). I'm proposing this patch as a temporary solution until this s fixed properly with the following notes: * It breaks POSIX1-2008 (which requires checking for any IPv4/IPv6 address) * It breaks informational RFC 3493 (which requires the same but disregards = the loopback interface) * It ignores the older informational RFC 2553 (which requires the same as R= FC 3494 but only for DNS lookups) The POSIX1-2008, RFC 3493 and obsolete RFC 2553 are all effectively useless but the obsolete one is closest to the truth. Whether a global IPv4 address, a global IPv4 route, or a global IPv4 default gateway is the right sign of global connectivity, is up to discussion. I also changed the description of the bug to reflect the actual problem, not one possible (maybe wrong, but at least POSIX-compliant) solution of th= at problem. --=20 Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=3Demail ------- You are receiving this mail because: ------- You are on the CC list for the bug.