extremeshok / clamav-unofficial-sigs

ClamAV Unofficial Signatures Updater maintained by eXtremeSHOK.com
https://eXtremeSHOK.com
Other
518 stars 118 forks source link

WARNING: Failed connection to https://urlhaus.abuse.ch/downloads - SKIPPED urlhaus urlhaus.ndb update #426

Open randolf opened 9 months ago

randolf commented 9 months ago

My logs are indicating that the urlhaus NDB isn't updating, with the following error:

WARNING: Failed connection to https://urlhaus.abuse.ch/downloads - SKIPPED urlhaus urlhaus.ndb update

The following command is successful from my servers, which confirms connectivity and the ability to download the NDB file:

wget https://urlhaus.abuse.ch/downloads/urlhaus.ndb

How can I fix this? Thanks.

P.S.: I'm using v7.2.5 (2021-03-20).

randolf commented 9 months ago

I found a work-around for now (I'm using Debian Linux)...

cd /var/lib/clamav-unofficial-sigs
mkdir dbs-uh
cd dbs-uh
wget https://urlhaus.abuse.ch/downloads/urlhaus.ndb

After doing that, and setting permissions so that ClamAV can access the "dbs-uh" directory and the "urlhaus.ndb" file, the "clamav-unofficial-sigs" cron job ran automatically and is no longer reporting errors. Instead, it's indicating that it's updating the file correctly:

Successfully updated urlhaus production database file: urlhaus.ndb

If this problem can't be resolved, then perhaps this information should be added to the installation instructions.

perplexityjeff commented 8 months ago

Hi @randolf,

This issue has been noted by others as well and pull requests are already made to address this issue in dev.

However this current repo seems to be abandoned please see #425 for my detailed explanation.

Hope it helps.