[rrd-developers] rrdcached possible bug

Adrian-Ioan Vasile yoyo at opennet.ro
Fri Apr 23 15:01:20 CEST 2010

Hi all,

1. I found an apparent bug in the journaling system of rrdcached. When specifying a relative path (-j option) it would segfault when trying to read past journals (journal_init function).

So, for this reason, I added an extra check to journal_init before reading the directory, and, when parsing the command line options, to expand the relative path to an absolute path.

Here's the patch.

2. Why implement any security into rrdcached for the reason that only authorized hosts may connect to it via tcp/udp and this can be done with local tools such as iptables. 

Thanks for this great product,
Adrian-Ioan Vasile
yoyo at opennet.ro

-------------- next part --------------
A non-text attachment was scrubbed...
Name: journal-bug.diff
Type: application/octet-stream
Size: 812 bytes
Desc: not available
Url : http://lists.oetiker.ch/pipermail/rrd-developers/attachments/20100423/419a1bd8/attachment.obj 
-------------- next part --------------

More information about the rrd-developers mailing list