|
|
hace 3 meses | |
|---|---|---|
| LICENSE | hace 3 meses | |
| README.md | hace 3 meses | |
| clamavdownloader.pl | hace 3 meses |
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 by Frederic Vanden Poel.
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 Frederic Vanden Poel:
The following enhancements and behavioral differences were introduced:
cdiff_history.txt.cvd and .cdiff downloadsIf-Modified-Since HTTP header when downloading full CVD files--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