Hi,
My Proxmox Mail Gateway has an old version of Clamav :
Bytecode : 02/2023
Daily : 10/2023
Main : 09/2021
Download can't do anything :
When I try to download daily-27077.cdiff with my brower, I have a 404 error.
No problem to download bytecode.cvd, daily.cvd and main.cvd with my browser, not with the server where PMG is running :
What can I do ? Maybe replace /var/lib/clamav/*.cvd with downloaded files on my computer ? Can I delete all tmp files in /var/lib/clamav ?
I don't think it's a proxy problem because apt use the same one and no problem.
freshclam.conf :
Thanks.
My Proxmox Mail Gateway has an old version of Clamav :
Bytecode : 02/2023
Daily : 10/2023
Main : 09/2021
Download can't do anything :
Code:
Connecting via X.X.X.X
ClamAV update process started at Wed Aug 28 10:10:35 2024
daily database available for update (local version: 27076, remote version: 27380)
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: downloadPatch: Can't download daily-27077.cdiff from https://database.clamav.net/daily-27077.cdiff
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: downloadPatch: Can't download daily-27077.cdiff from https://database.clamav.net/daily-27077.cdiff
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: downloadPatch: Can't download daily-27077.cdiff from https://database.clamav.net/daily-27077.cdiff
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: downloadPatch: Can't download daily-27077.cdiff from https://database.clamav.net/daily-27077.cdiff
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: downloadPatch: Can't download daily-27077.cdiff from https://database.clamav.net/daily-27077.cdiff
WARNING: Incremental update failed, trying to download daily.cvd
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: Can't download daily.cvd from https://database.clamav.net/daily.cvd
Trying again in 5 secs...
When I try to download daily-27077.cdiff with my brower, I have a 404 error.
No problem to download bytecode.cvd, daily.cvd and main.cvd with my browser, not with the server where PMG is running :
Code:
* Recv failure: Connection reset by peer
* Closing connection 0
WARNING: Download failed (56) WARNING: Message: Failure when receiving data from the peer
WARNING: downloadPatch: Can't download daily-27077.cdiff from https://database.clamav.net/daily-27077.cdiff
WARNING: Incremental update failed, trying to download daily.cvd
Retrieving https://database.clamav.net/daily.cvd
Using proxy: X.X.X.X:8080
downloadFile: Download source: https://database.clamav.net/daily.cvd
downloadFile: Download destination: /var/lib/clamav//tmp.30ef53e291/clamav-9949ecb515bbcad133ba4216bbe7996d.tmp
* Trying X.X.X.X:8080...
* Connected to X.X.X.X (X.X.X.X) port 8080 (#0)
* allocate connect buffer
* Establish HTTP proxy tunnel to database.clamav.net:443
> CONNECT database.clamav.net:443 HTTP/1.1
Host: database.clamav.net:443
User-Agent: ClamAV/1.0.5 (OS: Linux, ARCH: x86_64, CPU: x86_64, UUID: 68682055-7594-4544-aab2-07ab27ed94f3)
Proxy-Connection: Keep-Alive
What can I do ? Maybe replace /var/lib/clamav/*.cvd with downloaded files on my computer ? Can I delete all tmp files in /var/lib/clamav ?
I don't think it's a proxy problem because apt use the same one and no problem.
freshclam.conf :
Code:
DatabaseOwner clamav
LogVerbose false
LogSyslog true
LogFacility LOG_LOCAL6
LogFileMaxSize 0
Foreground false
Debug false
MaxAttempts 5
Checks 24
DatabaseDirectory /var/lib/clamav/
PidFile /var/run/clamav/freshclam.pid
DatabaseMirror database.clamav.net
ConnectTimeout 30
ScriptedUpdates true
CompressLocalDatabase no
NotifyClamd /etc/clamav/clamd.conf
Bytecode true
DNSDatabaseInfo current.cvd.clamav.net
HTTPProxyServer X.X.X.X
HTTPProxyPort 8080
Thanks.