[prev in list] [next in list] [prev in thread] [next in thread] 

List:       clamav-users
Subject:    [clamav-users] New tool for private mirror maintainers: cvdupdate
From:       "Micah Snyder \(micasnyd\) via clamav-users" <clamav-users () lists ! clamav ! net>
Date:       2021-03-08 6:01:45
Message-ID: BYAPR11MB3174ED68BB4364E4F3151EF2C6939 () BYAPR11MB3174 ! namprd11 ! prod ! outlook ! com
[Download RAW message or body]

Hi all,

I spent my weekend crafting a tool to download & maintain CVD's and CDIFF's=
 for use in a private mirror.

The tool is named "cvdupdate" and is available on:
- PyPI: https://pypi.org/project/cvdupdate/0.1.0/
- Github: https://github.com/micahsnyder/cvdupdate  **Disclaimer: This repo=
sitory may be transferred to a new clamav org on Github in the nearish futu=
re.

**This is only for admins that maintain a private mirror.  Please continue =
to use Freshclam for normal ClamAV installs to minimize bandwidth costs for=
 the ClamAV project.
This new "cvdupdate" tool will download CVDs and CDIFFs.  Freshclam only do=
wnloads CDIFFs after the first CVD has been downloaded.

Requirements: python 3.6 or newer, and an internet connection with DNS enab=
led.

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 u=
se Freshclam for private mirror maintenance instead. But for now, this "cvd=
update" tool should work nicely.
Please ONLY use this tool to maintain private mirrors. DON'T use it for upd=
ating 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.


[Attachment #3 (text/html)]

<html xmlns:v="urn:schemas-microsoft-com:vml" \
xmlns:o="urn:schemas-microsoft-com:office:office" \
xmlns:w="urn:schemas-microsoft-com:office:word" \
xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" \
xmlns="http://www.w3.org/TR/REC-html40"> <head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Helvetica;
	panose-1:2 11 6 4 2 2 2 2 2 4;}
@font-face
	{font-family:"Cambria Math";
	panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0in;
	font-size:11.0pt;
	font-family:"Calibri",sans-serif;}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:#0563C1;
	text-decoration:underline;}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri",sans-serif;
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri",sans-serif;}
@page WordSection1
	{size:8.5in 11.0in;
	margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
	{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi all,<o:p></o:p></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I spent my weekend crafting a tool to download &amp; maintain \
CVD&#8217;s and CDIFF&#8217;s for use in a private mirror.<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">The tool is named \
&#8220;cvdupdate&#8221; and is available on:<o:p></o:p></p> <p class="MsoNormal">- \
PyPI: <a href="https://pypi.org/project/cvdupdate/0.1.0/"> \
https://pypi.org/project/cvdupdate/0.1.0/</a><o:p></o:p></p> <p class="MsoNormal">- \
Github: <a href="https://github.com/micahsnyder/cvdupdate"> \
https://github.com/micahsnyder/cvdupdate</a>&nbsp; **Disclaimer: This repository may \
be transferred to a new clamav org on Github in the nearish future.<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">**This is only for \
admins that maintain a private mirror.&nbsp; Please continue to use Freshclam for \
normal ClamAV installs to minimize bandwidth costs for the ClamAV project.&nbsp; \
<o:p></o:p></p> <p class="MsoNormal">This new &#8220;cvdupdate&#8221; tool will \
download CVDs and CDIFFs.&nbsp; Freshclam only downloads CDIFFs after the first CVD \
has been downloaded.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Requirements: python 3.6 or newer, and an internet connection \
with DNS enabled.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">You can install it with `pip3 install &#8211;user cvdupdate`, or \
`python3 -m pip install &#8211;user cvdupdate`<o:p></o:p></p> <p \
class="MsoNormal"><o:p>&nbsp;</o:p></p> <p class="MsoNormal">The simplest use case: \
&nbsp;install it and then run `cvd update`. <o:p></o:p></p>
<p class="MsoNormal">The CVDs and CDIFFs will be downloaded to \
`~/.cvdupdate/database`. <o:p></o:p></p>
<p class="MsoNormal">Run it as often as you need, in a cron job for \
example.<o:p></o:p></p> <p class="MsoNormal">Please see the readme for more usage \
options/features.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">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 \
&#8220;cvdupdate&#8221; tool should work nicely.<o:p></o:p></p> <p \
class="MsoNormal">Please ONLY use this tool to maintain private mirrors. DON&#8217;T \
use it for updating your regular clamav database.&nbsp; Use Freshclam instead for \
that.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">I really hope this helps.&nbsp; Any feedback is welcome.&nbsp; \
You should be able to create Issues on the github repo if you find any \
problems.<o:p></o:p></p> <p class="MsoNormal"><o:p>&nbsp;</o:p></p>
<p class="MsoNormal">Best regards,<o:p></o:p></p>
<p class="MsoNormal">Micah<o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span \
style="font-size:9.0pt;font-family:&quot;Helvetica&quot;,sans-serif;color:black"><br> \
Micah Snyder<br> ClamAV Development<br>
Talos<br>
Cisco Systems, Inc.<o:p></o:p></span></p>
<p class="MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>



_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
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

--===============3551410583071867932==--

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic