Coder Social home page Coder Social logo

Large file support about av-scanner-service HOT 14 CLOSED

cwdcwd avatar cwdcwd commented on August 21, 2024
Large file support

from av-scanner-service.

Comments (14)

cwdcwd avatar cwdcwd commented on August 21, 2024

it looks like Clam AV has a CLAMAV_MAX_FILE_SIZE parameter that can be set

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

I could not find details on this, besides manually passing the flag --max-filesize to increase file size for a non-docker installation. Could you let me know where the above environment variable descriptions exists - google does not show up anything

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

Still trying to figure this out - the only results I have come across are using the flag mentioned above.

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

I think the only way out is to add commands to the deploy.sh file, where we need to open terminal inside the clamav container, set the max file size and restart clamav.

from av-scanner-service.

cwdcwd avatar cwdcwd commented on August 21, 2024

yeah I think after looking at some other images (like this one though I can't seem to make it work) we may have to create our own docker file with deploy script in it to set that value.

from av-scanner-service.

cwdcwd avatar cwdcwd commented on August 21, 2024

this, for instance, sets these 3 env vars that I think we should set

ENV MAX_SCAN_SIZE 500M
ENV MAX_FILE_SIZE 500M
ENV MAX_STREAM_LENGTH 500M

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

Ok. I'll explore that

from av-scanner-service.

BadalZ avatar BadalZ commented on August 21, 2024

AV Scanner - Large file support

from av-scanner-service.

BadalZ avatar BadalZ commented on August 21, 2024

fixed this with docker image change

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

I was working on the solution for this by writing the dockerfile myself. I see the solution here is to simply use another image, but are we sure about that image - it seems to no longer point to a github repository and may not be maintained...

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

Sorry for the delay here though... I got stuck with my docker command not going beyond building app

from av-scanner-service.

BadalZ avatar BadalZ commented on August 21, 2024

@callmekatootie : Can you push the image to docker hub and share please.

from av-scanner-service.

callmekatootie avatar callmekatootie commented on August 21, 2024

Can you push the image to docker hub and share please

Note sure I understand - I thought we resolved this with the docker image change. I dropped making any further changes hence.

from av-scanner-service.

BadalZ avatar BadalZ commented on August 21, 2024

Docker image is placed here for reference.

https://github.com/topcoder-platform/av-scanner-service/tree/develop/clamav-docker

from av-scanner-service.

Related Issues (5)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.