Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Files scanned and modified by ICAP server are not being uploaded to NC #271

Open
scottedstorn opened this issue Apr 19, 2023 · 0 comments
Open

Comments

@scottedstorn
Copy link

Steps to reproduce

  1. Configure files_antivirus with clamav/ICAP option reqmod or respmod
  2. Upload a file

Expected behaviour

According to rfc3507, ICAP client should take the data stream from the icap server output.

In case the ICAP server is doing modification to the original file like "content disarm reconstruction" or conversion to different type of file like docx to pdf, file_antivirus addon has to write back the modified file.
Please refferer to: https://datatracker.ietf.org/doc/html/rfc3507

There are multiple threat extraction solution like Opswat or checkpoint sandblast that can run as icap server and can scan and sanitize or disarm files.

Actual behaviour

File that is uploaded to Nextcloud after beein scanned and modified by icap server is not the "disarmed file"

Server configuration

Not Relevant

files_antivirus version 5.0.0

@scottedstorn scottedstorn changed the title Files scanned and modified by ICAP server Files scanned and modified by ICAP server are not being uploaded to NC Apr 19, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant