[Dnsmasq-discuss] Fwd: Re: DNSSEC enabled dnsmasq dies very quickly

René van Dorst opensource at vdorst.com
Tue Jan 28 20:58:28 GMT 2014



I also noticed this bug and reported to Simon.
Fixed in
http://thekelleys.org.uk/gitweb/?p=dnsmasq.git;a=commit;h=583043f527f09b9bef200166ac7ae4a0bbb13be7

This one runs fine.

Greats,

René van Dorst

on 28-01-14 19:40, e9hack wrote:
> Am 26.01.2014 23:56, schrieb Simon Kelley:
>> DNSSEC is still rather experimental, so no apologies if it breaks at the moment. Are you
>> actually enabling dnssec validation with --dnssec?
> no
>
>> If not, then compiling with CFLAGS=-g and running under gdb to get a backtrace of exactly
>> where it's crashing would be useful, as long as you're using the very latest git code.
> Program received signal SIGSEGV, Segmentation fault.
> cache_scan_free (name=0x44a008 "ocsp.godaddy.com.akadns.net", adr=0x0, now=1390933096,
> flags=<optimized out>) at cache.c:349
> 349                       crep->uid == addr,dnssec.class &&
> (gdb) bt
> #0  cache_scan_free (name=0x44a008 "ocsp.godaddy.com.akadns.net", addr=0x0,
> now=1390933096, flags=<optimized out>)
>     at cache.c:349
> #1  0x004069b4 in cache_insert (name=0x22a008, "ocsp.godaddy.com.akadns.net" addr=0x0,
> now=1390933096, ttl=16, flags=296)
>     at cache.c:447
> #2  0x00408bc8 in extract_addresses (header=0x44a9f8, qlen=138, name=0x22a008,
> "ocsp.godaddy.com.akadns.net" addr=0x0, now=1390933096,
>     ipsets=0x0, is_sign=0, check_rebind=1, no_cache_dnssec=0, secure=0) at rfc1035.c:1128
> #3  0x00414018 in process_reply (header=0x44a9f8, now=1390933096, server=<optimized out>,
> n=138, check_rebind=1, no_cache=0,
>     cache_secure=0, check_subnet=0, query_source=0x44d7e0) at forward.c:601
> #4  0x004160f0 in reply_query (fd=<optimized out>, family=<optimized out>, now=1390933096)
> at forward.c:925
> #5  0x00418908 in check_dns_listeners (set=0x7fff6c18, now=1390933096) at dnsmasq.c:1401
> #6  0x00404098 in main (argc=<optimized out>, argv=<optimized out>) at dnsmasq.c:935
> (gdb)
>
> Version is:
> Tue Jan 28 19:17:12 2014 daemon.info dnsmasq[2989]: started, version 2.69test3-37-g17fb9ea
> cachesize 150
> Tue Jan 28 19:17:12 2014 daemon.info dnsmasq[2989]: compile time options: IPv6 GNU-getopt
> no-DBus no-i18n no-IDN DHCP DHCPv6 no-Lua TFTP no-conntrack no-ipset no-auth DNSSEC
>
> Regards,
> Hartmut
>
>
> _______________________________________________
> Dnsmasq-discuss mailing list
> Dnsmasq-discuss at lists.thekelleys.org.uk
> http://lists.thekelleys.org.uk/mailman/listinfo/dnsmasq-discuss


-- 
Greats,

René







More information about the Dnsmasq-discuss mailing list