On Mon, Jun 02, 2008 at 11:24:30AM +0100, Stephen Gran wrote: ... > > Freshclam makes a 'daily.cld' from .diffs, not a 'daily.cvd'. > > Ah, I see your problem now. Please do not use freshclam to keep the web > root up to date and to fetch from the web root. freshclam has, for ... > Yes, just like for a while it made directories daily.inc and main.inc, > that were also usesless to the downstream client. Granted, you could > turn those off (and IIRC you can turn off the conversion to .cld by the > same mechanism now, although I might be wrong).
I failed to find any docs on that, where 'docs' exclude src of course. > > nope, that's *main.cvd* and that's still fine. So far at least - dunno if > > freshclam will mangle it one day as well. > > Presumably, in the same way that it used to produce main.inc/ I removed everything except *.cvd *.cld from clamav dB dir, since everything else had timestamp of install time, then restarted freshclam; unfortunatly nothing happens right now, since dB is updated and txt DNS query fails (so plain HTTP more is used). > > daily.cvd is missing from clamav's dB dir on the mirror, the web server > > isn't > > the culprit here. > > The methods used to retrieve it look like they are, however. I don't get your point. The local webserver has nothing to do with this bug. freshclam docs don't say (don't imply) I need to wget *.cvd on the local mirror, or equivalently, as I figured out, set "ScriptedUpdates no". The whole point of freshclam is minimize network traffic doing smart updates very often, else wget(1)/rsync(1) + glue scripts is all that's needed. The inability of freshclam to build valid .cvd from .diff it retrieves turns out to be the bug here. Indeed setting "ScriptedUpdates no" on the local mirror solved the problem, though the mirror will fetch whole .cvd. But again, IMHO freshclam is broken here: - what's the point of 2 dB formats, .cld, .cvd for same stuff? - why can it rebuild .cvd from .cld? or conversely, why can't it get & use .cld right away from (local mirror) if avail (and .cvd not avail)? - why can't it keep incremental stuff so even local (LAN) updates can be incremental & minimize bw? I think freshclam needs some re-thinking. thanks -- paolo -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]