Comments (6)
Hello,
As mentioned in README, you can control timeouts and file size limitations via environment variables.
Edit docker-compose.yaml and add following environment variables:
- FILE_SIZE_LIMIT=52428800 to the api service where 52428800 is the maximum file size in bytes.
- MAX_SCANNING_TIME=60 to all scanners where 60 is the maximum duration scanner can scan the file.
Hope that helps.
from malwaremultiscan.
from malwaremultiscan.
I'll try tonight and let you know. Meanwhile, could you please confirm if that happens with a particular file or any file bigger than 200 MB?
As to the environment variables, you should add them in docker-compose.yaml for api and all scanners unless you are rebuilding docker-compose file from scratch.
from malwaremultiscan.
from malwaremultiscan.
Good Afternoon,
I just wanted to let you know I made the changes:
Edit docker-compose.yaml and add following environment variables:
FILE_SIZE_LIMIT=52428800 to the api service where 52428800 is the maximum file size in bytes.
MAX_SCANNING_TIME=60 to all scanners where 60 is the maximum duration scanner can scan the file.
I even changed the 52428800 to 0 so it would not verify file size but when I try to scan a file that is 200MB the bar stops half way and I even increased the MAX_SCANNING_TIME=20000 and still have issues, let me know if there is anything I can do to scan.
from malwaremultiscan.
Maybe try to do the following after adding the changes
docker-compose build --no-cache
from malwaremultiscan.
Related Issues (18)
- Create API for MalwareMultiScan
- Add job to cleanup old files from the GridFS
- More\Other Engines Support?
- Sophos Error
- Add ability to cache / reuse scan results by SHA1 HOT 2
- Store more information in regards to the scan
- Define callback URL for file / URL scan
- Add background processing to scan backends
- Table is not responsive
- Create Basic UI for MalwareMultiScan
- Write unit tests for Scanner & Backends project
- Write unit tests for API project
- Write README.md
- `docker-compose up` not working - YAML issue? HOT 1
- Add scan backends health monitoring
- DrWeb Dockerfile Update Download URL
- Add scanning duration to the response, store it in DB, return in API and show in UI
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from malwaremultiscan.