This is the mail archive of the
glibc-bugs@sourceware.org
mailing list for the glibc project.
[Bug network/14841] New: RRSIG confuses getaddrinfo: getaddrinfo*.gaih_getanswer: got type "46"
- From: "lekensteyn at gmail dot com" <sourceware-bugzilla at sourceware dot org>
- To: glibc-bugs at sources dot redhat dot com
- Date: Wed, 14 Nov 2012 18:34:21 +0000
- Subject: [Bug network/14841] New: RRSIG confuses getaddrinfo: getaddrinfo*.gaih_getanswer: got type "46"
- Auto-submitted: auto-generated
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.