Vincent, all:

I spent my weekend crafting a tool that to download & maintain CVD's and 
CDIFF's for use in a private mirror.
The tool named "cvdupdate" and is available on:
- PyPI: https://pypi.org/project/cvdupdate/0.1.0/
- Github: https://github.com/micahsnyder/cvdupdate  **Disclaimer: This 
repository may be transferred to a new clamav org on Github in the nearish 
future.

Requirements: python 3.6 or newer, and an internet connection with DNS enabled.

You can install it with `pip3 install -user cvdupdate`, or `python3 -m pip 
install -user cvdupdate`

The simplest use case:  install it and then run `cvd update`.
The CVDs and CDIFFs will be downloaded to `~/.cvdupdate/database`.
Run it as often as you need, in a cron job for example.
Please see the readme for more usage options/features.

In the future we may add an option to Freshclam to keep CDIFFs so you can use 
Freshclam for private mirror maintenance instead. But for now, this "cvdupdate" 
tool should work nicely.
Please ONLY use this tool to maintain private mirrors. DON'T use it for 
updating your regular clamav database.  Use Freshclam instead for that.

I really hope this helps.  Any feedback is welcome.  You should be able to 
create Issues on the github repo if you find any problems.

Best regards,
Micah

Micah Snyder
ClamAV Development
Talos
Cisco Systems, Inc.





From: clamav-users <[email protected]> On Behalf Of Vincent 
GUESNARD via clamav-users
Sent: Saturday, March 6, 2021 9:46 PM
To: '[email protected]' <[email protected]>
Cc: Vincent GUESNARD <[email protected]>
Subject: [clamav-users] How force freshclamav to preserve cdiffs OR how 
generate cdiff since you forced us to use freshclamav on private mirrors

Hello,

We perfectly understood your problems with bandwith and there is no problem 
here to < hack > freschclam to make our privates mirrors work again.

But please, help us since we do not want to replay 2018- with huge 
instabilisaties on public infrastructure of Clamav (we really want to preserve 
our private mirrors) AND we do not find anything about forcing freschclam to 
preserve cdiff.

So here is the question (Joel : that we post here since we think we are not 
alone to got this problem) :

How do we force freschclam to preserve cdiffs OR How can we generate cdiff 
(freshclam compliant) to make our private mirrors work again ?

Thanks you,

Vincent

TW CTO
_______________________________________________

clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to