[rbldnsd] Disabling ipv6-specific tests
Michael Orlitzky
michael at orlitzky.com
Fri Aug 2 22:50:49 MSK 2013
On 08/02/2013 12:40 PM, Jeff Dairiki wrote:
>>
>> Unfortunately I use the glibc that everyone else will be using!
>
> Out of curiosity, which version of glibc is that?
Stable for the amd64 (generic x86_64) architecture right now is glibc-2.15.
> To repeat myself, I do feel that it is a "bug" (or, at least,
> "something worth fixing") when "rbldnsd -b localhost" does not work.
> Sure there is a workaround, and maybe the real bug is with glibc, but
> certainly it is confusing to users. (It would confuse me.)
>
> After further googling, it looks like maybe using getaddrinfo will not
> solve the problem.
> https://bugzilla.redhat.com/show_bug.cgi?id=496300
>
I found this as well, looking for the Gentoo maintainer's opinion on the
matter:
https://bugs.gentoo.org/show_bug.cgi?id=199025
> Michael (Orlitzky), what does this produce for you?
>
> python -c "from socket import *; print getaddrinfo('localhost', 42, AF_INET, SOCK_DGRAM)"
[(2, 2, 17, '', ('127.0.0.1', 42)), (2, 2, 17, '', ('127.0.0.1', 42))]
> Does the same problem show up if you do?
>
> # Build rbldnsd with ipv6 support
> ./configure --enable-ipv6
> make
> # Run with ipv6 disabled
> ./rbldnsd -4 -n -b localhost/5300
Yes.
More information about the rbldnsd
mailing list