Cisco-Talos / cvdupdate

ClamAV Private Database Mirror Updater Tool
Apache License 2.0
93 stars 35 forks source link

Additional databases #57

Closed kimdre closed 4 months ago

kimdre commented 4 months ago

Can I somehow add additional databases to serve? For example https://database.clamav.net/linux.cvd

HydraDragonAntivirus commented 4 months ago

Can you share your additional database?

kimdre commented 4 months ago

See the link. cvdupdate does not download this database for Linux viruses by default.

HydraDragonAntivirus commented 4 months ago

It says 404.

kimdre commented 4 months ago

Sorry you are right, the correct url is https://database.clamav.net/linux.cvd

micahsnyder commented 4 months ago

@kimdre Yes this functionality exists in cvdupdate. You can use cvd add

❯ cvd add --help
Usage: cvd add [OPTIONS] DB URL

  Add a db to the list of known DBs.

Options:
  -c, --config PATH  Config path. [optional]
  -V, --verbose      Verbose output. [optional]
  --help             Show this message and exit.

E.g.

❯ cvd add linux.cvd https://database.clamav.net/linux.cvd
2024-04-26 09:47:07 cvdupdate-1.1.1 INFO Added linux.cvd (https://database.clamav.net/linux.cvd) to DB list.
2024-04-26 09:47:07 cvdupdate-1.1.1 INFO linux.cvd will be downloaded next time you run `cvd update` or `cvd update linux.cvd`
kimdre commented 4 months ago

Thanks! I guess it would be useful to add this command to the Readme.