[rbldnsd] Dairiki's v6 version
Jeff Dairiki
dairiki at dairiki.org
Thu Mar 14 00:57:55 MSK 2013
On Wed, Mar 13, 2013 at 09:04:44PM +0100, Andreas Schulze wrote:
> Am Mi, 13.03.2013, 16:11 schrieb Jeff Dairiki:
> > Oh. That *should* be an error --- I'm not sure why that (an apparent
> > attempt at variable-length static array) worked anywhere.
> >
> > Please try again.
>
> Thanks!
>
> now it looks much nicer :-)
>
> $ osc results
> openSUSE_Factory i586 succeeded
> openSUSE_Factory x86_64 succeeded
> SLES_9 i586 succeeded
> SLES_9 x86_64 succeeded
> SLE_10_SDK i586 succeeded
> SLE_10_SDK x86_64 succeeded
> SLE_11 i586 succeeded
> SLE_11 x86_64 succeeded
Excellent! Thank you for the report.
> I only compiled. No time to run the new version. That has to wait till next week.
You might also try running the new 'make check' target:
./configure [your options]
make
make check
This will attempt to compile and run a self-test program embedded
within btrie.c as well as a python test script which exercises the
just-built rbldnsd binary.
The self-test program includes tests which cover pretty much all of
the trie insertion and lookup code (i.e. the important bits) in
btrie.c. If it passes, I have some confidence that your rbldnsd will
work correctly.
(The python test scripts will fail --- probably non-gracefully ---
unless both python (2.6 or 2.7) and the pydns library are installed.
The makefile should probably be fixed to warn rather than fail in this
case.)
Jeff
More information about the rbldnsd
mailing list