You’re right on the bandwith point of view, not sure about CPU consommuning 
point of view. I’ve edited it for 2000. Does it sounds good to you ?

I’ve tested the script on PHP 5.6 to PHP 8.0 (and edited dependancies as well) 
– NB : not on all uses cases, maybe this should be adjust in the futur.

Have a nice week,

Vincent

De : Joel Esler (jesler) <[email protected]>
Envoyé : lundi 8 mars 2021 00:39
À : ClamAV users ML <[email protected]>
Cc : Vincent GUESNARD <[email protected]>
Objet : Re: [clamav-users] Script PHP to refresh private miror in sinergy with 
freshclam

Also this:

“ SERIOUSLY ? MORE THAN 100 DAYS WITHOUT UPDATE ? IT WILL COST LESS MONEY ON 
BANDWITH AT CLAMAV IF YOU DOWNLOAD THE FULL NEW DATABASE";”

Is incorrect.  It costs less to download 100 cdiffs than it does to download 
the full daily.
Sent from my  iPhone


On Mar 7, 2021, at 18:07, Vincent GUESNARD via clamav-users 
<[email protected]<mailto:[email protected]>> wrote:

My last edit for today just to magnify cli return.

De : clamav-users 
<[email protected]<mailto:[email protected]>>
 De la part de Vincent GUESNARD via clamav-users
Envoyé : dimanche 7 mars 2021 23:53
À : 'ClamAV users ML' 
<[email protected]<mailto:[email protected]>>
Cc : Vincent GUESNARD 
<[email protected]<mailto:[email protected]>>
Objet : Re: [clamav-users] Script PHP to refresh private miror in sinergy with 
freshclam

Here is the user-agent edited Joel for « 
PHP-ClamAV-Private-Miror-Refresh/<version of the script>»

Does it sounds good to you ?

De : clamav-users 
<[email protected]<mailto:[email protected]>>
 De la part de Vincent GUESNARD via clamav-users
Envoyé : dimanche 7 mars 2021 23:27
À : 'ClamAV users ML' 
<[email protected]<mailto:[email protected]>>
Cc : Vincent GUESNARD 
<[email protected]<mailto:[email protected]>>
Objet : [clamav-users] Script PHP to refresh private miror in sinergy with 
freshclam

Hello,

In case you need it, here is our workarround (bandwith friendly and freshclam 
compliant).

Feel free to contact us if you need help.

Vincent

De : clamav-users 
<[email protected]<mailto:[email protected]>>
 De la part de Vincent GUESNARD via clamav-users
Envoyé : dimanche 7 mars 2021 06:46
À : '[email protected]' 
<[email protected]<mailto:[email protected]>>
Cc : Vincent GUESNARD 
<[email protected]<mailto:[email protected]>>
Objet : [clamav-users] How force freshclamav to preserve cdiffs OR how generate 
cdiff since you forced us to use freshclamav on private mirrors

Hello,

We perfectly understood your problems with bandwith and there is no problem 
here to « hack » freschclam to make our privates mirrors work again.

But please, help us since we do not want to replay 2018- with huge 
instabilisaties on public infrastructure of Clamav (we really want to preserve 
our private mirrors) AND we do not find anything about forcing freschclam to 
preserve cdiff.

So here is the question (Joel : that we post here since we think we are not 
alone to got this problem) :

How do we force freschclam to preserve cdiffs OR How can we generate cdiff 
(freshclam compliant) to make our private mirrors work again ?

Thanks you,

Vincent

TW CTO
<clamav-refresh.php>

_______________________________________________

clamav-users mailing list
[email protected]<mailto:[email protected]>
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

<<attachment: clamav-refresh.php>>

_______________________________________________

clamav-users mailing list
[email protected]
https://lists.clamav.net/mailman/listinfo/clamav-users


Help us build a comprehensive ClamAV guide:
https://github.com/vrtadmin/clamav-faq

http://www.clamav.net/contact.html#ml

Reply via email to