Files
clamav/common
Micah Snyder 2cc47c83ac Make image fuzzy hashing optional
Image fuzzy hashing is enabled by default. The following options have
been added to allow users to disable it, if desired.

New clamscan options:

  --scan-image[=yes(*)/no]

  --scan-image-fuzzy-hash[=yes(*)/no]

New clamd config options:

  ScanImage yes(*)/no

  ScanImageFuzzyHash yes(*)/no

New libclamav scan options:

  options.parse &= ~CL_SCAN_PARSE_IMAGE;

  options.parse &= ~CL_SCAN_PARSE_IMAGE_FUZZY_HASH;

This commit also changes scan behavior to disable image fuzzy hashing
for specific types when the DCONF (.cfg) signatures disable those types.
That is, if DCONF disables the PNG parser, it should not only disable
the CVE/format checker for PNG files, but also disable image fuzzy
hashing for PNG files.

Also adds a DCONF option to disable image fuzzy hashing:
  OTHER_CONF_IMAGE_FUZZY_HASH

DCONF allows scanning features to be disabled using a configuration
"signature".
2024-03-14 16:57:48 -04:00
..
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-03-14 16:57:48 -04:00
2024-03-14 16:57:48 -04:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00
2024-01-22 11:27:17 -05:00