Mailing List Archived Message #568

Fra: "Massimo S." <> Full Headers
Undecoded message
Emne: Re: [eCS-ISP] ClamAV
Dato: Thu, 12 Oct 2023 20:44:21 +0200
Til: eCS ISP Mailing List <>

Il 12/10/2023 18:39, Steven Levine ha scritto:
In <>, on 10/12/23
    at 10:27 AM, "Massimo S." <> said:

Hi Massimo,

they do not work from wget or curl

I'm starting to get the impression that the links we are finding are

I'm not sure it's possible to use wget or curl anymore.

The reason for the curl failure is obvious if you think to look at the
content of the downloaded web page.  How to avoid the failure is less
obvious. :-)

Where did you get these URLs from?  On my currently partially working
ClamAV setup (ClamAV 0.103.6), freshclam is attempting to download

i searched online:

which fails because OpenSSL cannot find a certificate and complains:

  * error setting certificate verify locations:  CAfile:
/etc/ssl/cacert.pem CApath: none

Did you get this failure and if so what did you do to correct it?

i don't get the same error
i get this from freshclam:


WARNING: downloadPatch: Can't download daily-26075.cdiff from WARNING: downloadFile: file not found: WARNING: downloadPatch: Can't download daily-26075.cdiff from WARNING: Incremental update failed, trying to download daily.cvd
WARNING: Stderr output from database load : realloc_problem: Not enough memory [...] X:\USR\LOCAL\CLAMAV\BIN\FRESHCLAM.EXE
ERROR: Database load killed by signal 9
ERROR: Database test FAILED.
ERROR: Unexpected error when attempting to update daily: Test failed
ERROR: Database update process failed: Test failed
ERROR: Update failed.

with wget i can use every option, but i still get:
wget --no-check-certificate

--2023-10-12 10:17:33--
Risoluzione di (, Connessione a
(||:443... connesso. AVVERTIMENTO:
impossibile verificare il certificato di, rilasciato
da "CN=Cloudflare Inc  ECC CA-3,O=Cloudflare\\, Inc.,C=US":
   Impossibile verificare localmente l'autorit  dell'emittente. Richiesta
HTTP inviata, in attesa di risposta... 403 Forbidden 2023-10-12 10:17:33
ERRORE 403: Forbidden.

Wget fails a bit differently here:

wget --no-check-certificate
--2023-10-12 09:01:55-- Resolving (,
Connecting to
(||:443... connected. HTTP request sent,
awaiting response... 403 Forbidden
2023-10-12 09:01:56 ERROR 403: Forbidden.

For some reason, I don't get the certificate failure.

I get the same forbidden error attempting to wget

of course i've the latest wget (check with yum updated wget)

Just to be sure, does wget --version report:

   GNU Wget 1.21.3 built on os2-emx.

doh :-)
no.. here it say 1.20.3
i tried again yum update, but it don't find any update

i can only download them from my pc with the browser, but i don't think
this is an option

Why not?  I've not tried this yet.

manual updates??

The ClamAV folks provide a cfgupdate tool which I've not tracked down or

i put the new signatures on the old ClamAV 0.102.0 i started clamscan and
the server freezed :-(

Clamscan 0.103.6 to the level I've tested it here works fine with the
0.102.0 signatures Paul shipped.

----------- SCAN SUMMARY -----------
Known viruses: 4566249
Engine version: 0.103.6
Scanned directories: 8
Scanned files: 158
Infected files: 0
Data scanned: 23.64 MB
Data read: 16.32 MB (ratio 1.45:1)
Time: 43.756 sec (0 m 43 s)
Start Date: 2023:10:11 12:57:28
End Date:   2023:10:11 12:58:12

I plan to try with a larger set of files.

damn me, during production hour here (10,23 AM)

Ooops. :-)

i use SPE to low down priority of clamav (on server1 the one that freezed)
maybe this could create issues?


spe r-10 clamscan --database=X:\usr\local\clamav\share\clamav -r --quiet --exclude=MSGLIST.DAT --exclude=DOMAIN.* --exclude=*.### --move=Y:\quarantine -lclamav_day.log X:\weasel\MailRoot\'

on server2 where i'm testing 0.103.6

i've tried to use clamscan with the "main" signatures and it worked

but if i add daily signatures and sanesecurity* i get this:

LibClamAV Warning: **************************************************
LibClamAV Warning: ***  The virus database is older than 7 days!  ***
LibClamAV Warning: ***   Please update it as soon as possible.    ***
LibClamAV Warning: **************************************************
realloc_problem: Not enough memory
LibClamAV Error: cli_realloc(): Can't re-allocate memory to 1417784 bytes.
LibClamAV Error: cli_ac_addpatt: Can't realloc ac_listtable
LibClamAV Error: cli_parse_add(): Problem adding signature (3).
LibClamAV Error: Problem parsing database at line 49161
LibClamAV Error: Can't load daily.ldb: Can't allocate memory
LibClamAV Error: cli_tgzload: Can't load daily.ldb
LibClamAV Error: Can't load d:\usr\local\clamav\share\clamav/daily.cld: Malformed database LibClamAV Error: cli_loaddbdir(): error loading database d:\usr\local\clamav\share\clamav/daily.cld ERROR: Malformed database LIBC PANIC!!
_um_free_maybe_lock: Tried to free block twice - block=0dbc0cd8 lock=0x1
pid=0x23df ppid=0x23de tid=0x0001 slot=0x008c pri=0x0200 mc=0x0000 ps=0x0010

11/07/21 21:44    336.436.224    124 a---  daily.cld
10/10/23 11:37             61    124 a---  freshclam.dat
11/07/21 21:46    307.403.264    124 a---  main.cld
15/08/17 12:20    117.892.267    124 a---  main.cvd
10/10/23  8:59      4.461.491    124 a---  phish.ndb
10/10/23  8:59      1.951.611    124 a---  scam.ndb



Abboner: Feed, Digest, Index.
Stopp abbonement
E-post til ListMaster