Hi,

curl or something is permitted!
Try this ones in your freshclam.conf

UpdateLogFile /var/log/clamav/freshclam.log
LogVerbose no
LogSyslog no
LogFacility LOG_LOCAL6
LogFileMaxSize 0
LogRotate no
LogTime yes
Foreground no
Debug no
MaxAttempts 12
ScriptedUpdates yes

DatabaseOwner clamav
AllowSupplementaryGroups no
DNSDatabaseInfo current.cvd.clamav.net
DatabaseMirror db.local.clamav.net
DatabaseMirror db.de.ipv6.clamav.net
DatabaseMirror db.dk.ipv6.clamav.net
DatabaseMirror db.pl.ipv6.clamav.net
DatabaseMirror db.cz.ipv6.clamav.net
DatabaseMirror db.at.ipv6.clamav.net
DatabaseMirror db.ch.ipv6.clamav.net
DatabaseMirror db.fr.ipv6.clamav.net
DatabaseMirror db.lu.ipv6.clamav.net
DatabaseMirror db.be.ipv6.clamav.net
DatabaseMirror db.nl.ipv6.clamav.net
DatabaseMirror db.us.ipv6.clamav.net
DatabaseMirror database.clamav.net
DatabaseDirectory /var/lib/clamav
ConnectTimeout 60
ReceiveTimeout 300
Bytecode yes
TestDatabases yes
CompressLocalDatabase no
Checks 24

You can instead of EU Servers try with more regional ones to your location.


Von / From: Clamav User Mailinglist <mailto:clamav-users@lists.clamav.net>
An / To: Marc Püschel <mailto:marc.puesc...@posteo.de>
CC / CC: J <mailto:jcpars...@gmail.com>
Gesendet / Sent: Mittwoch, Juli 17, 2024 um 08:24 (at 08:24 AM) +0200
Betreff / Subject: [clamav-users] Issue getting private local mirror to work
Hello,
I have set up cvdupdate on my server and apache to serve the files - no issues 
there, cvdupdate checks and gets the latest updates.
Issue is with downstream servers.  I can curl the files directly, but freshclam 
wont get them.
I've set the following in freshclam.conf:
DNSDatabaseInfo no
DatabaseMirror https://cvdupdate.host/db

But on running freshclam I am still getting:
# freshclam --debug
ClamAV update process started at Wed Jul 17 15:39:10 2024
WARNING: Can't query no
WARNING: Invalid DNS reply. Falling back to HTTP mode.
WARNING: FreshClam previously received error code 429 or 403 from the ClamAV 
Content Delivery Network (CDN).
This means that you have been rate limited or blocked by the CDN.
 1. Verify that you're running a supported ClamAV version.
    See https://docs.clamav.net/faq/faq-eol.html for details.
 2. Run FreshClam no more than once an hour to check for updates.
    FreshClam should check DNS first to see if an update is needed.
 3. If you have more than 10 hosts on your network attempting to download,
    it is recommended that you set up a private mirror on your network using
    cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the
    CDN and your own network.
 4. Please do not open a ticket asking for an exemption from the rate limit,
    it will not be granted.
WARNING: You are still on cool-down until after: 2024-07-17 18:32:06

Any assistance would be appreciated please.
Thanks


_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat




Von / From: Clamav User Mailinglist <mailto:clamav-users@lists.clamav.net>
An / To: Newcomer01 <mailto:newcome...@posteo.de>
CC / CC: J <mailto:jcpars...@gmail.com>
Gesendet / Sent: Mittwoch, Juli 17, 2024 um 08:24 (at 08:24 AM) +0200
Betreff / Subject: [clamav-users] Issue getting private local mirror to work
Hello,
I have set up cvdupdate on my server and apache to serve the files - no issues 
there, cvdupdate checks and gets the latest updates.
Issue is with downstream servers.  I can curl the files directly, but freshclam 
wont get them.
I've set the following in freshclam.conf:
DNSDatabaseInfo no
DatabaseMirror https://cvdupdate.host/db

But on running freshclam I am still getting:
# freshclam --debug
ClamAV update process started at Wed Jul 17 15:39:10 2024
WARNING: Can't query no
WARNING: Invalid DNS reply. Falling back to HTTP mode.
WARNING: FreshClam previously received error code 429 or 403 from the ClamAV 
Content Delivery Network (CDN).
This means that you have been rate limited or blocked by the CDN.
 1. Verify that you're running a supported ClamAV version.
    See https://docs.clamav.net/faq/faq-eol.html for details.
 2. Run FreshClam no more than once an hour to check for updates.
    FreshClam should check DNS first to see if an update is needed.
 3. If you have more than 10 hosts on your network attempting to download,
    it is recommended that you set up a private mirror on your network using
    cvdupdate (https://pypi.org/project/cvdupdate/) to save bandwidth on the
    CDN and your own network.
 4. Please do not open a ticket asking for an exemption from the rate limit,
    it will not be granted.
WARNING: You are still on cool-down until after: 2024-07-17 18:32:06

Any assistance would be appreciated please.
Thanks


_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

_______________________________________________

Manage your clamav-users mailing list subscription / unsubscribe:
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/Cisco-Talos/clamav-documentation

https://docs.clamav.net/#mailing-lists-and-chat

Reply via email to