|
|
3 tháng trước cách đây | |
|---|---|---|
| LICENSE | 3 tháng trước cách đây | |
| README.md | 3 tháng trước cách đây | |
| clamavdownloader.pl | 3 tháng trước cách đây |
This is not an official ClamAV tool. Use at your own risk.
clamdownloader.pl is an enhanced version of the original ClamAV database downloader
script.
The script maintains a local mirror of ClamAV databases (main.cvd, daily.cvd,
bytecode.cvd) with support for incremental updates, mirror fallback, and persistent
handling of missing CDIFF files.
It is designed for local or internal mirrors
current.cvd.clamav.net).cdiff files.cvd download if incremental update is not possibleIf-Modified-Since support to reduce bandwidth usagedaily database updateThis script is based on the original clamdownloader.pl from:
The following enhancements and behavioral differences were introduced:
New behavior:
cdiff_history.txtNew behavior:
.cvd and .cdiff downloadsNew behavior:
New behavior:
If-Modified-Since HTTP header when downloading full CVD filesNew behavior:
New behavior:
--skip-daily option allows skipping daily.cvd updatesThis script:
sigtool (from ClamAV)Getopt::LongNet::DNSLWP::UserAgentHTTP::RequestFile::CopyFile::Compareclamav/
├── main.cvd
├── daily.cvd
├── bytecode.cvd
├── main-XXXX.cdiff
├── daily-XXXX.cdiff
├── temp/
│ └── *.cvd
├── dns.txt
└── cdiff_history.txt
perl clamdownloader.pl
perl clamdownloader.pl --skip-daily
This script does not apply CDIFFs — ClamAV handles that internally
The script only manages downloads and file replacement
Invalid or zero-sized downloads are discarded automatically