[clamav-users] Problem with Freshclam and local mirror
Greg Folkert
greg at donor.com
Wed Apr 2 15:18:32 UTC 2014
On Wed, 2014-04-02 at 15:07 +0100, Simon Hobson wrote:
> Shawn Webb <swebb at sourcefire.com> wrote:
>
> >> I suspect the fault lies in a rather small piece of code that was supposed
> >> to make the call to recv() a little more robust. If you have the ability
> >> (or desire) to compile from source, can you please try the attached patch?
> >> If the patch works, I'll integrate it into our next release.
>
> Thanks, but I'm not really in a position to test it - I don't have build tools on any of my machines, and don't really have the skills to use them anyway.
>
> In response to my bug report (https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=743305), Andreas Cadhalpun has pointed out that there is now a PrivateMirror option in freshclam.conf. I've configured this and things now seem to work, though I need to leave it for a while to be sure.
> The only reference to the new option I could find on my system was on line 962 of the changelog.
>
>
> And thanks for the other suggestions.
On the advice of Scott:
# This option allows you to easily point freshclam to private mirrors.
# If PrivateMirror is set, freshclam does not attempt to use DNS
# to determine whether its databases are out-of-date, instead it will
# use the If-Modified-Since request or directly check the headers of the
# remote database files. For each database, freshclam first attempts
# to download the CLD file. If that fails, it tries to download the
# CVD file. This option overrides DatabaseMirror, DNSDatabaseInfo
# and ScriptedUpdates. It can be used multiple times to provide
# fall-back mirrors.
# Default: disabled
#PrivateMirror mirror1.mynetwork.com
#PrivateMirror mirror2.mynetwork.com
--
greg folkert - systems administration and support
web: donor.com
email: greg at donor.com
phone: 877-751-3300 x416
direct: 616-328-6449 (direct dial and fax)
"We are not permitted to choose the frame of our destiny. But what we
put into it is ours."
-- Dag Hammarskjold
More information about the clamav-users
mailing list