nextcloud / files_antivirus

👾 Antivirus app for Nextcloud Files
https://apps.nextcloud.com/apps/files_antivirus
GNU Affero General Public License v3.0
84 stars 35 forks source link

Sane configuration defaults for clamav and files_antivirus? #172

Open szaimen opened 3 years ago

szaimen commented 3 years ago

Hey, we currently want to implement an option to the Nextcloud VM to install files_antivirus and ClamAV and we wonder if those are sane defaults for any (if possible, or almost any) installation?

in /etc/clamav/clamd.conf:
MaxDirectoryRecursion 30
MaxFileSize 100M
PCREMaxFileSize 100M
StreamMaxLength 100M
in Nextcloud:
occ config:app:set files_antivirus av_stream_max_length --value="104857600"
occ config:app:set files_antivirus av_max_file_size --value="-1"

Could you please confirm or reject this? I couldn't find anything related in the documentation. Thanks!

BTW: here is the related PR: https://github.com/nextcloud/vm/pull/1498