Hi all,

The script for safe browsing is not downloading all the definitions all the time since it will be time/resource-consuming. Definitions are stored in mysql and only the delta is downloaded from google. After the download is successfully and the mysql data is up-to-date you can generate the file for clamav.
Basically you have two scripts:
clamsbsync.py to update the mysql db from google
clamsbwrite.py to create the .gdb file for clamav

ps: don't put too much faith in safebrowsing database. I rarely have any hit even if there are almost 3 milion of signatures.
In contrast i have way more many hits with Sanesecurity.



Sent from my Samsung Galaxy smartphone.


-------- Original message --------
From: "G.W. Haywood via clamav-users" <clamav-users@lists.clamav.net>
Date: 10/17/20 12:23 (GMT+02:00)
To: "Micah Snyder (micasnyd) via clamav-users" <clamav-users@lists.clamav.net>
Cc: "G.W. Haywood" <clamav@jubileegroup.co.uk>
Subject: Re: [clamav-users] Google safebrowsing types and usage questions

Hi Micah,

On Fri, 16 Oct 2020, Micah Snyder (micasnyd) via clamav-users wrote:

> The clamav-safebrowsing tool was developed by another team and
> gifted to my team for OSS maintenance.

As if you didn't have enough to do already!

> ... The mysql database exists for precisely that reason.
> ... the one safebrowsing.cld file is obsolete.

There's something I'm missing.  None of this seems to be mentioned at

https://www.clamav.net/documents/safebrowsing

If you'd like a documentation patch I can do some reading and give it
a go, what's the best place to start?

--

73,
Ged.

_______________________________________________

clamav-users mailing list
clamav-users@lists.clamav.net
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