nextcloud / nextcloud/files_antivirus

Sane configuration defaults for clamav and files_antivirus?

Open
#172 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

question
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

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. 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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.