[clamav-users] safebrowsing and "expected" error
Alex
mysqlstudent at gmail.com
Thu Nov 26 00:59:28 UTC 2020
Hi,
I'm attempting to use the clamsbsync and clamsbywrite Google
safebrowsing utils and having some issues.
I'm running the following on the database server directly:
python3 ./clamsbsync.py -v --config etc/safebrowsing.conf sync
This sometimes results in the following output:
UpdateClient: WARNING: prefix set does not fully match retrieved list:
expected 17 =/= retrieved 11
Is this a bug?
On the clients, I'm running the following:
python3 ./clamsbwrite.py --config /etc/clamd.d/safebrowsing.conf
My safebrowsing.conf looks like this:
<safebrowsing>
# Google's apikey for the safebrowsing datafeed
apikey = AIzaSyBwv...
## MySQL database parameters
db_host = havoc.mycompany.com
db_user = sbclient
db_pw = pass
db_name = sbclient
## outputdir is where the update python makes its safebrowsing.gdb
outputdir = /var/lib/clamav/
</safebrowsing>
The client still outputs the safebrowsing.gdb file in same directory
in which the script was run, not the outputdir specified in the
safebrowsing.conf file.
Of course I can just change to the output dir first, but is this normal?
More information about the clamav-users
mailing list