[Pdns-users] recursor startup segfault (3.3)

Odhiambo Washington odhiambo at gmail.com
Thu Apr 25 10:08:19 UTC 2013


On FreeBSD 9.1-REl (amd64)...

root at jaribu] /usr/local/etc/pdns# less /var/log/pdns-recursor.log
Apr 25 12:59:15 jaribu pdns_recursor[2063]: Refreshed . records
Apr 25 13:02:00 jaribu pdns_recursor[27689]: PowerDNS recursor 3.5 (C)
2001-2013 PowerDNS.COM BV (Apr 15 2013, 13:19:49, gcc 4.2.1 20070831
patched [FreeBSD]) starting up
Apr 25 13:02:00 jaribu pdns_recursor[27689]: PowerDNS comes with
ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to
redistribute it according to the terms of the GPL version 2.
Apr 25 13:02:00 jaribu pdns_recursor[27689]: Operating in 64 bits mode
Apr 25 13:02:00 jaribu pdns_recursor[27689]: Reading random entropy
from '/dev/urandom'
Apr 25 13:02:00 jaribu pdns_recursor[27689]: Only allowing queries
from: 192.168.0.0/16, 127.0.0.1/32Exception: Unable to convert
'2001:470:xxxx:xxxx' to a netmask

But I did not see a segfault!

On 25 April 2013 10:01, Charles Sprickman <spork at bway.net> wrote:
> Hello,
>
> Didn't want to file this as a bug since 3.5 is now out, but if anyone with 3.5 wants to try, I was able to get a segfault on startup by putting a malformed IPv6 IP in "allow-from" or "allow-from-file".
>
> When an IPv6 IP in the list was set like this, segfault:
>
> 2001:470:xxxx:xxxx/64  (note the trailing "::" before the mask is missing)
>
> Can anyone confirm if this happens in 3.5 as well?  If not, I can check whenever I see 3.5 hit the FreeBSD ports tree...
>
> Thanks,
>
> Charles
>
> Info:
> PowerDNS recursor 3.3 (C) 2001-2010 PowerDNS.COM BV (Mar 15 2012, 08:37:03, gcc 4.2.1 20070719  [FreeBSD]) starting up
> FreeBSD 8.3/amd64
>
> --
> Charles Sprickman
> NetEng/SysAdmin
> Bway.net - New York's Best Internet www.bway.net
> spork at bway.net - 212.655.9344
>
>
>
>
>
>
>
> _______________________________________________
> Pdns-users mailing list
> Pdns-users at mailman.powerdns.com
> http://mailman.powerdns.com/mailman/listinfo/pdns-users



--
Best regards,
Odhiambo WASHINGTON,
Nairobi,KE
+254733744121/+254722743223
"I can't hear you -- I'm using the scrambler."




More information about the Pdns-users mailing list