-
-
Notifications
You must be signed in to change notification settings - Fork 118
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
URlhaus Malware Patrol LinuxMalwareDetec InterServer, never updated #398
Comments
Hi @cotelo, could you please specify what version you are running? |
Hello. ClamUnofficial 7.2.5 Thank you very much. |
Hi @cotelo, the error just displays the URL host part of the master config not the full URL. The full URL the script tries is the URL you mentioned. Could you try and wget or curl 'https://urlhaus.abuse.ch/downloads/urlhaus.ndb' to a temporary place to check if you are able to download the file without the use of the script? There is a good chance that there is a connection issue that is not coming from the script. Also could you run the update script with --force. Let me know how it all goes. Thank you |
Hi @perplexityjeff, I am also experiencing this problem on:
and on:
I've checked that the urlhaus database is accessible and can be successfully downloaded: But my log looks like: I think I've also found a possible(?) bug (variable "$work_dir_urlhaust" instead of "$work_dir_urlhaus") in the script "clamav-unofficial-sigs.sh": grep -n work_dir_urlhaust clamav-unofficial-sigs.sh But even after correcting this "possible bug" the script still fails to download the urlhaus.ndb (even after removing everything inside the caching directory): In the production environment I'm still running an older version: CentOS 7 + clamav-unofficial-sigs-7.0.1-5.el7.noarch + config_version="91". There everything seems to be OK. The Database exists and gets updated as expected: ls -l /var/lib/clamav/urlhaus.ndb grep urlhaus /var/log/clamav-unofficial-sigs/clamav-unofficial-sigs.log | tail -n10 So this seems to be a problem which only affects the newer version(s)? |
@jengels In previous versions there was support for urlhaus but because of a typo it was not used. I don't know when that was introduced, but I had the same issues as you guys. I attempted that to fix here Related Currently it is merged into 'dev' and the original developer still needs to give the 'go' and push the fix as an actual update. I hope that if you change the script that you are able to fix it at least until an official update is available. I am myself currently looking into https://github.com/rseichter/fangfrisch for our production environment instead of this script because sadly it takes a while for these bugs to get fixed. I have full respect for the original developer of this script and understand that it is not his full time priority but it does at least for us users take some time for these bugs to get fixed. |
@perplexityjeff, thanks for the feedback. The problem got fixed by applying patches #390 and #386 locally. Hopefully the patches will be included in the next release... |
@jengels No problem at all. |
--------------------- ClamUnofficial-update Begin ------------------------
jul 23 12:00:02 Preparing Databases
jul 23 12:00:03 Removing unused file: /var/lib/clamav/spam_marketing.ndb
jul 23 12:00:04 vie jul 23 12:00:04 CEST 2021 - Pausing database file updates for 294 seconds...
jul 23 12:04:59 vie jul 23 12:04:59 CEST 2021 - Pause complete, checking for new database files...
jul 23 12:04:59 Sanesecurity Database & GPG Signature File Updates
jul 23 12:04:59 Checking for Sanesecurity updates...
jul 23 12:05:01 Sanesecurity mirror site used: jessie.fonant.com 95.217.37.104
jul 23 12:05:02 Testing updated Sanesecurity database file: blurl.ndb
jul 23 12:05:02 Clamscan reports Sanesecurity blurl.ndb database integrity tested good
jul 23 12:05:03 Successfully updated Sanesecurity production database file: blurl.ndb
jul 23 12:05:03 Testing updated Sanesecurity database file: junk.ndb
jul 23 12:05:04 Clamscan reports Sanesecurity junk.ndb database integrity tested good
jul 23 12:05:04 Successfully updated Sanesecurity production database file: junk.ndb
jul 23 12:05:04 Testing updated Sanesecurity database file: jurlbl.ndb
jul 23 12:05:04 Clamscan reports Sanesecurity jurlbl.ndb database integrity tested good
jul 23 12:05:04 Successfully updated Sanesecurity production database file: jurlbl.ndb
jul 23 12:05:04 Testing updated Sanesecurity database file: rogue.hdb
jul 23 12:05:04 Clamscan reports Sanesecurity rogue.hdb database integrity tested good
jul 23 12:05:04 Successfully updated Sanesecurity production database file: rogue.hdb
jul 23 12:05:05 Testing updated Sanesecurity database file: jurlbla.ndb
jul 23 12:05:05 Clamscan reports Sanesecurity jurlbla.ndb database integrity tested good
jul 23 12:05:05 Successfully updated Sanesecurity production database file: jurlbla.ndb
jul 23 12:05:05 Testing updated Sanesecurity database file: phishtank.ndb
jul 23 12:05:05 Clamscan reports Sanesecurity phishtank.ndb database integrity tested good
jul 23 12:05:05 Successfully updated Sanesecurity production database file: phishtank.ndb
jul 23 12:05:05 Testing updated Sanesecurity database file: porcupine.hsb
jul 23 12:05:05 Clamscan reports Sanesecurity porcupine.hsb database integrity tested good
jul 23 12:05:05 Successfully updated Sanesecurity production database file: porcupine.hsb
jul 23 12:05:05 Testing updated Sanesecurity database file: porcupine.ndb
jul 23 12:05:06 Clamscan reports Sanesecurity porcupine.ndb database integrity tested good
jul 23 12:05:06 Successfully updated Sanesecurity production database file: porcupine.ndb
jul 23 12:05:06 LinuxMalwareDetect Database File Updates
jul 23 12:05:06 Checking for LinuxMalwareDetect updates...
jul 23 12:05:08 No LinuxMalwareDetect database file updates
jul 23 12:05:08 interserver Database File Updates
jul 23 12:05:08 Checking for interserver updates...
jul 23 12:05:08 Checking for updated interServer database file: whitelist.fp
jul 23 12:05:11 No updated interServer whitelist.fp database file
jul 23 12:05:11 Checking for updated interServer database file: interserver256.hdb
jul 23 12:05:17 No updated interServer interserver256.hdb database file
jul 23 12:05:17 Checking for updated interServer database file: interservertopline.db
jul 23 12:05:24 No updated interServer interservertopline.db database file
jul 23 12:05:24 No interServer database file updates
jul 23 12:05:24 Removing disabled Malware Expert Database files
jul 23 12:05:24 MalwarePatrol Database File Updates
jul 23 12:05:24 Checking for MalwarePatrol updates...
jul 23 12:05:24 Checking for updated MalwarePatrol database file: malwarepatrol.db
jul 23 12:05:31 No updated MalwarePatrol malwarepatrol.db database file
jul 23 12:05:31 No MalwarePatrol database file updates
jul 23 12:05:31 URLhaus Database File Updates
jul 23 12:05:31 Checking for urlhaus updates...
jul 23 12:05:31 Checking for updated urlhaus database file:
jul 23 12:05:38 WARNING: Failed connection to https://urlhaus.abuse.ch/downloads - SKIPPED urlhaus update
jul 23 12:05:38 No updated urlhaus database file
jul 23 12:05:38 No urlhaus database file updates
jul 23 12:05:38 Removing disabled yararulesproject Database files
jul 23 12:05:39 Update(s) detected, reloading ClamAV databases
jul 23 12:05:39 ClamAV databases reloading
jul 23 12:05:39 Issue tracker : https://github.com/extremeshok/clamav-unofficial-sigs/issues
jul 23 12:05:51 Powered By https://eXtremeSHOK.com
---------------------- ClamUnofficial-update End -------------------------
URlhaus not is: https://urlhaus.abuse.ch/downloads; Is: https://urlhaus.abuse.ch/downloads/urlhaus.ndb
The text was updated successfully, but these errors were encountered: