nextcloud / nextcloud/files_antivirus
Sane configuration defaults for clamav and files_antivirus?
Nobody has claimed this yet.
- Dominant language
- JavaScript
- Stars
- 112
- Forks
- 44
- Avg merge
- 1d 6h
- Merged PRs (30d)
- 20
Description
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
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Review the proposed values in /etc/clamav/clamd.conf and the files_antivirus occ commands, then compare them with the related PR #1498. Determine whether these settings are suitable as general installation defaults and document the accepted or rejected configuration with its rationale.
Written by the indexing model from the issue text.
Assessment
- Domain
- security
- Issue type
- Feature
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100