[rbldnsd] Rbldnsd hooks

Michael Tokarev mjt at tls.msk.ru
Sat Mar 29 18:26:52 MSK 2008


Jacob, please excuse me for the long delay.

Jacob Rideout wrote at Wed, 19 Mar 2008 13:15:34 -0400:
> Hello,
> 
> I've been working a hook to support our internal uses of rbldnsd request
 > data and have discovered what may be a bug in rbldnsd_packet.c. If there
 > aren't any objections I'd like this patch to be considered for inclusion
 > in the next version of rbldnsd.

The thing is that this interface was never complete.  I tried different
ways to plug statistics gathering, and I hate them all.  This variant,
which slipped into release, is (or, rather, was) incomplete as well -
that's why it didn't work as you noticed.  I removed it in 0.996b
(just released), but I can't say I like the new variant better, not
to say that it's not portable at best (it's about loading dynamic
libraries - so far it works only with gcc).  In any case new variant
should be easier to handle (I hope) as no recompilation of main
binary is necessary.

I can bring the old one back if you wish.  But again, I detest them
all, and with the upcoming changes (at least some of them, which will
not affect current users/usages), the statistics question becomes
much more difficult.

By the way, what are you using this feature for?  I'm asking because
without real usage cases (I know only statistics gathering so far),
no interface can be designed.

Thanks!

/mjt



More information about the rbldnsd mailing list