Control: tag -1 - moreinfo unreproducible + confirmed upstream
Control: retitle -1 rblcheck recognize only last zone in .rblcheckrc
Control: severity -1 normal
24.05.2013 12:35, Klaus Ethgen wrote:
> Hello,
>
> Am Fr den 24. Mai 2013 um 9:04 schrieb Michael Tokarev:
>> $ echo zen.spamhaus.org > ~/.rblcheckrc
>> $ rblcheck -v 127.0.0.2
>> 127.0.0.2 is listed by zen.spamhaus.org: 127.0.0.2 127.0.0.10 127.0.0.4
>
> Find my .rblcheckrc in the attachment. It holds many rbls as also some
> whitelists.
Ok. That was easy. The fix is a one-liner:
--- a/rblcheck.c
+++ b/rblcheck.c
@@ -122,7 +122,7 @@ static int addzonefile(const char *fname) {
while(*e && *e != ' ' && *e != '\t' && *e != '\n')
++e;
*e = '\0';
- addzone(p);
+ addzone(strdup(p));
}
fclose(f);
return 1;
I'll make sure this one-liner will be in the next release.
[]
>> That's lovely. The main utility of this package is dnsget,
>> which works. rblcheck is more or less an example of usage
>> of the library, a "side-effect" utility... Oh well.
>
> Hihi, that is strange as I never ever used this "main" utility. I do not
> need a utility that replicate usage of host. But what I need and use is
> the rblcheck tool.
The `host' utility isn't really scriptable, that was the main intention
behind dnsget.
Thanks,
/mjt
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]