Note: Changes should be grouped by release and use these icons:
- Added: β
- Changed: π
- Deprecated: π
- Removed: β
- Fixed: π
- Security: π‘
-
β Support for downloading CVD and CDIFF digital signatures.
ClamAV 1.5.0 introduced a feature to verify the authenticity of CVD signature archives and CDIFF signature archive patch files with an external digital signature in support of using ClamAV within FIPS-enabled environments.
CVD Update will now download the
.signfiles to accompany each.cvdand.cdifffile. -
π‘ Migrate from unmaintained "coloredlogs" dependency to "colorlog". Work courtesy of Joel Esler.
-
π Improve the
cvdupdatepackage version check to support alternative package distributions and to enable signature updates even if the version check fails. Work courtesy of Joel Esler.
-
π Fixed CVD-Update version check in PyPI package repository on startup. Work courtesy of Steve Mays.
-
π Info-level and Debug-level messages will now go to stdout instead of stderr. Work courtesy of GitHub user backbord.
-
β Added a Docker Compose file to make it easier to host a private mirror. The Docker Compose environment runs two containers:
- CVD-Update.
- An Apache webserver to host the private mirror.
Improvement courtesy of Mark Petersen.
-
π Fixed the CVD-Update Python package so it installs the
setuptoolsdependency. This fixes a runtime error on some systems. Fix courtesy of Craig Andrews. -
π Added missing documentation for
cvd addcommand to the Readme. Fix courtesy of Kim Oliver Drechsel. -
β Added retries in case the DNS TXT query fails. Fix courtesy of backbord.
-
π Fixed an issue where the
.cdifffiles were only downloaded when updating a.cvdand not when downloading the.cvdfor the first time. -
π Fixed an issue where
cvd updatecrashes if the DNS query fails, rather than printing a helpful error message and exiting. -
π Fixed support for CVD Update on Windows πͺ. In prior versions, the DNS query was failing if a DNS server was not specified manually. Now it will try OpenDNS servers if no DNS server is specified.
-
β Added Python dependencies to the Readme to help users that are unable to install using
pip.
-
β CVD-Update can now get the DNS nameserver IP from an environment variable.
Specify the IP address of the nameserver in the environment variable
CVDUPDATE_NAMESERVERto ensure said nameserver is used when querying the TXT record containing the current database definition version available.Using this environment variable will take precedence over any option specified in the config file.
Feature courtesy of Philippe Ballandras.
-
β CVD-Update can now accept multiple DNS nameservers from the
nameserverconfig option, or from theCVDUPDATE_NAMESERVERenvironment variable.To set multiple DNS nameservers, specify the
nameserverconfig option or theCVDUPDATE_NAMESERVERenvironment variable as a comma separated list.E.g.:
CVDUPDATE_NAMESERVER=1.1.1.1,8.8.8.8 cvd update
Feature courtesy of Michael Callahan.
-
π In prior versions, CVD-Update would assume that a CVD file exists because it is listed in the
config.json"dbs" record. So if you delete that file by accident and try to update, it would not notice and would instead claim that it is up-to-date. In this release, CVD-Update will detect that a deleted file is missing from the database directory and will re-download it.Fix courtesy of Brent Clark.
-
- π CVD-Update will no longer remove extra files from the database directory
when you run
cvd clean dbs. It will only remove those file managed by the CVD-Update tool.
This means that you can now store third-party extra signature databases in the CVD-Update database directory and CVD-Update will not delete them if you run the clean command.
Improvement courtesy of Brent Clark.
- π CVD-Update will no longer remove extra files from the database directory
when you run
-
π CVD-Update now stores the database state information separately from the configuration information. If you're upgrading from CVD-Update version 1.0.2, your
config.jsonfile will be migrated automatatically when you runcvd updateto split it intoconfig.json+state.json.This change allows you to administrate the CVD-Update config files with a config management tool.
Improvement courtesy of Bill Sanders.
Special thanks to:
- Bill Sanders
- Brent Clark
- Michael Callahan
- Philippe Ballandras
- π Fixed a Python 3.6 compatibility issue in the package version check.
- π Fixed a bug where the CVD-Update PyPI package version check prints an
error message on some systems where
pipdoesn't return the available package versions.
-
β Added a check to make sure that version check for the daily, main, and bytecode databases are done using DNS when downloading from
database.clamav.net.CVD-Update, like FreshClam, is capable of checking with an HTTP Range request which only downloads the CVD header to check the version. This doesn't use much data, but the CDN does not appear to differentiate between whole and partial downloads for tracking download activity.
The requirement to use DNS for the version check is to reduce CDN costs and should reduce the chance that the user is rate-limited or blocked by the CDN for downloading these files too frequently.
-
β Added a PyPI package version check when running
cvd updateto encourage users to update when there is a new version. -
π CVD-Update now requires dnspython version 2.1.0 or newer. This fixes compatibility issues with older dnspython versions. Special thanks to Byron Collins for this fix.
-
π Added explicit timeout for the DNS resolver. This fixes a DNS query issue on some systems. Special thanks to Colin Tilley for this fix.
-
π Fixed a bug when pruning older CDIFFs where the CDIFF files were already removed by the user.
-
β
cvd updatewill now retry up to 3x if the downloaded content length is less than the content-length in the response header. This is to resolve issues with flakey connections. -
β
cvd updatenow has a--debug-mode(-D) option to print out the HTTP headers to debug issues with the update process. -
β The update process will now save the DNS TXT record containing version metadata as
dns.txtin the database directory so it may be served by the private mirror.Some common check scripts (on clients) use
dns.txtto check if ClamAV is up to date instead of using DNS or the HTTP CVD-header check. -
π CVDUpdate will now have a unique User-Agent:
CVDUPDATE/<version> (<UUID>)The UUID is randomly generated, and will help with anonymous usage metrics.
-
π Fixed a couple issues with the
cvd update <specific database>option.
-
β Two ways to set a custom DNS nameserver. DNS queries are required to check the latest available database versions.
-
Set the nameserver in the config. Eg:
cvd config set --nameserver 208.67.222.222 cvd update -
Set the environment variable
CVDUPDATE_NAMESERVER. Eg:CVDUPDATE_NAMESERVER="208.67.222.222" cvd update
Special thanks to Michael Callahan for this feature.
-
-
π Error handling so
dns updatefails if a DNS query fails.
First release!