Discussion:
[clamav-users] Syncing only CustomDatabaseURLs with freshclam
Sven Bartscher
2018-09-07 14:42:58 UTC
Permalink
Greetings,

I'm running ClamAV with an additional third party virus database. That
database is kept up to date by specifying the files shipped by it as
DatabaseCustomURL entries in freshclam.conf like this:

DatabaseCustomURL http://database-provider.example/third-party-db.cdb
[More entries like the one above omitted here...]

That way freshclam updates both the original ClamAV database and the
third party files we specified.

I would like to change this setup, so it only uses the third-party
database and not the original ClamAV database, but I see no way to tell
freshclam not to download the standard main.cvd and friends.

I don't think I can specify the third-party mirror as a PrivateMirror,
because it doesn't contain the files freshclam usually expects on a
ClamAV mirror (main.cvd, daily.cvd, ...). It also doesn't seem to be
possible to instruct freshclam to use no DatabaseMirror, because if I
don't specify one, freshclam will just use database.clamav.net as a default.

Is there some way to get freshclam to do what I want here or maybe some
other way (without freshclam) to update only the third-party database?

Regards
Sven
Noel Jones
2018-09-07 16:26:19 UTC
Permalink
Post by Sven Bartscher
Greetings,
I'm running ClamAV with an additional third party virus database. That
database is kept up to date by specifying the files shipped by it as
...
Post by Sven Bartscher
Is there some way to get freshclam to do what I want here or maybe some
other way (without freshclam) to update only the third-party database?
Perhaps the freshclam option "--update-db=DBNAME" is what you're
looking for. See "man freshclam" for details.



-- Noel Jones
_______________________________________________
clamav-users mailing list
clamav-***@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


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

http://www.clamav.net/contact.html#ml
Andreas Schulze
2018-09-10 06:17:31 UTC
Permalink
Post by Sven Bartscher
I would like to change this setup, so it only uses the third-party
database and not the original ClamAV database, but I see no way to tell
freshclam not to download the standard main.cvd and friends.
"freshclam --update-db=custom" update only the signature files configured as DatabaseCustomURL
--
A. Schulze
DATEV eG
_______________________________________________
clamav-users mailing list
clamav-***@lists.clamav.net
http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-users


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

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