public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "lekensteyn at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sources.redhat.com
Subject: [Bug network/14841] New: RRSIG confuses getaddrinfo: getaddrinfo*.gaih_getanswer: got type "46"
Date: Wed, 14 Nov 2012 18:34:00 -0000	[thread overview]
Message-ID: <bug-14841-131@http.sourceware.org/bugzilla/> (raw)

http://sourceware.org/bugzilla/show_bug.cgi?id=14841

             Bug #: 14841
           Summary: RRSIG confuses getaddrinfo:
                    getaddrinfo*.gaih_getanswer: got type "46"
           Product: glibc
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: network
        AssignedTo: unassigned@sourceware.org
        ReportedBy: lekensteyn@gmail.com
    Classification: Unclassified


Created attachment 6736
  --> http://sourceware.org/bugzilla/attachment.cgi?id=6736
getaddrinfo-bug.c

Since 13 November 2012 I see the following messages in my syslog from Firefox:

    getaddrinfo*.gaih_getanswer: got type "46"

This is printed when using Google's public DNS server 8.8.4.4. "46" is RRSIG
according to Wikipedia and my Wireshark output. The error message comes from
resolv/nss_dns/dns-host.c:1147

I have attached C source code that exposes this bug.

Steps to reproduce:
1. Use a DNS server that responds with the DNSSEC field "RRSIG" (like 8.8.4.4).
2. gcc getaddrinfo-bug.c -o getaddrinfo-bug && ./getaddrinfo-bug.
3. Look in the syslog.

I have verified that this message does not occur if I use a DNS server that
does not gives a response containing a RRSIG field.

Tested with Arch Linux glibc version 2.16.0-5 and an unpatched 2.16.0 build.

-- 
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.


             reply	other threads:[~2012-11-14 18:34 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-11-14 18:34 lekensteyn at gmail dot com [this message]
2014-06-14 11:06 ` [Bug network/14841] " fweimer at redhat dot com
2014-06-14 13:11 ` fweimer at redhat dot com
2015-02-05 14:49 ` siddhesh at redhat dot com
2015-02-24  7:50 ` cvs-commit at gcc dot gnu.org
2015-02-24  8:03 ` siddhesh at redhat dot com

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=bug-14841-131@http.sourceware.org/bugzilla/ \
    --to=sourceware-bugzilla@sourceware.org \
    --cc=glibc-bugs@sources.redhat.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).