artefactual-labs / am

Development environment for Archivematica
https://archivematica.org
GNU Affero General Public License v3.0
10 stars 20 forks source link

Enhancement: Set ClamAV defaults to maximum values #39

Closed ross-spencer closed 6 years ago

ross-spencer commented 6 years ago

Following testing, (@jhsimpson and myself), we have opted to set Clam defaults to their maximum known values. 2000M as discussed in this ticket here:

https://github.com/artefactual/archivematica-docs/issues/64

 +CLAMAV_MAX_FILE_SIZE: "42M"
 +CLAMAV_MAX_SCAN_SIZE: "42M"
 +CLAMAV_MAX_STREAM_LENGTH: "100M"

Will now equal:

 +CLAMAV_MAX_FILE_SIZE: "2000M"
 +CLAMAV_MAX_SCAN_SIZE: "2000M"
 +CLAMAV_MAX_STREAM_LENGTH: "2000M"

The Ansible roles will also be updated: https://github.com/artefactual-labs/ansible-clamav

The setting does not slow down detection on smaller files and ensures that the largest set of viruses can be detected inside the Archivematica system.

ross-spencer commented 6 years ago

Resolved via PR: https://github.com/artefactual-labs/am/pull/40