[Dnsmasq-discuss] CNAME buffer overflow?

Simon Kelley simon at thekelleys.org.uk
Sun Sep 14 22:28:12 BST 2008


A couple more data points:

dig abcdefghijklm.dns.grc.com

(query taken from Philip's packet capture) works fine with the lastest 
dnsmasq code, and with 2.16, the release before the putative fix.


srk at spike:~$ dig abcdefghijklm.dns.grc.com

; <<>> DiG 9.3.2-P1 <<>> abcdefghijklm.dns.grc.com
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 45378
;; flags: qr rd ra; QUERY: 1, ANSWER: 2, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;abcdefghijklm.dns.grc.com.     IN      A

;; ANSWER SECTION:
abcdefghijklm.dns.grc.com. 60   IN      CNAME 
a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. 
a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. 
 
a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. 
               a.m0zhev0yf1pjl.dns.grc.com.
a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. 
 
a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a. 
 
a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.a.m0zhev0yf1pjl.dns.grc.com. 60 IN A 
4.79.142.19               3

;; Query time: 301 msec
;; SERVER: 127.0.0.1#53(127.0.0.1)
;; WHEN: Sun Sep 14 22:26:22 2008
;; MSG SIZE  rcvd: 281

srk at spike:~$ dig chaos txt version.bind

; <<>> DiG 9.3.2-P1 <<>> @central chaos txt version.bind
; (1 server found)
;; global options:  printcmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 47301
;; flags: qr aa rd ra; QUERY: 1, ANSWER: 1, AUTHORITY: 0, ADDITIONAL: 0

;; QUESTION SECTION:
;version.bind.                  CH      TXT

;; ANSWER SECTION:
version.bind.           0       CH      TXT     "dnsmasq-2.46test9"

;; Query time: 0 msec
;; SERVER: 192.168.0.4#53(192.168.0.4)
;; WHEN: Sun Sep 14 22:27:29 2008
;; MSG SIZE  rcvd: 60


Cheers,

Simon.



More information about the Dnsmasq-discuss mailing list