Using NC 19.0.6. Trying to use files_antivir with Clamscan.
Randomly getting unrelated error messages about infected files. I found out it depends on the file size of the uploaded file: files over 10MB are uploaded in multiple peaces (this is ok) but the uploaded pieces are passed on stdin to
clamscan - as if they were separate files (this is weird). Consequently, the subsequent pieces trigger random behavior of the virus scanner because it can only determine the file type from the content itself (piped on stdin).
Yes I know, “executable” mode is the slowest mode at all – but what is the intent behind this behaviour? And how can it be made ‘just work’?