Questions tagged [clam]

ClamAV is open source antivirus software for email, command line, web and database

ClamAV is open source antivirus software for email, command line, web and database

47 questions
18
votes
5 answers

How to be sure ClamAV database is up to date?

I am currently having an issue with ClamAV and freshclam on Centos 6.9. I have the last Clam engine 0.99.2, and a working internet connection. Even if I run the # freshclam -v command ( it only returns a security warning about unsecure permission of…
Pierre B
  • 321
  • 1
  • 2
  • 7
8
votes
3 answers

Anti-virus in docker container - does fanotify works between host and container?

I need to implement anti-virus on-access scanning solution for files inside docker containers using open-source software. Clamav On-Access works fine but have some requirements and limitations: require CAP_SYS_ADMIN capability for working inside a…
mva
  • 384
  • 1
  • 5
  • 12
8
votes
1 answer

How to perform automated virus scanning on files uploaded to AWS S3

I am attempting to ensure files which get uploaded to S3 do not contain malware or malicious scripts before moving the file into a more secure part of the infrastructure (another S3 bucket in a separated account). We move the file from the upload…
Joe
  • 678
  • 9
  • 24
7
votes
0 answers

intermittent issues with ClamAV clamd INSTREAM on socket

I've got an AWS Lambda function running NodeJS code to stream files from S3 to ClamAV running on an EC2 instance. Generally (about 75% of the time) the system works, but often (especially when multiple files are being scanned from different Lambda…
Nicholas Albion
  • 3,096
  • 7
  • 33
  • 56
6
votes
1 answer

Can't stop Clamav deamon in Linux

I am trying to stop Clamav service in Linux, but I am not able to do that. I have installed Clamav in a seperate directory. When running below command: $ systemctl stop clamav-daemon I get this error message: Warning: Stopping…
Abhishek Sharma
  • 153
  • 1
  • 2
  • 11
3
votes
1 answer

Connecting to ClamAV with curl fails, but clamdscan succeeds

I have a ClamAV installed on a RHEL 8 box. clamd is running, listening on port 3310. If I run the command 'clamdscan' on the same host, it succeeds. As per the man page of clamd, I created a text file with clamd commands in…
Amir Katz
  • 643
  • 2
  • 10
  • 23
3
votes
0 answers

How to compile ClamAV library properly statically?

I've compiled clamav-0.99.2 as follows: ~./configure -enable-static and then make & sudo make install. Compilation was succeed as it seemed to me. But when added to my project libclamav.a in Qt5.8-static, it gives errors in compilation: :-1: error:…
elgolondrino
  • 665
  • 9
  • 33
2
votes
1 answer

Azure: How do I scan an incoming blob/file before it goes into blob storage?

I am currently working on creating a sort of virus scanning function. What I am trying to do: When a file is uploaded to a specified blob storage container, an Azure Function is triggered. That function will scan the file for viruses, and if clean,…
Shea
  • 308
  • 5
  • 15
2
votes
3 answers

php file upload scanning using clamav, permissions on /tmp/

I'm trying to scan files (generally 100MB+ zips) using clamav on apache 2.4, php 5.6, using a socket to the clamav-daemon. I'm not using PHP-FPM. (p.s. the socket works, I can send a PING and get a…
frumbert
  • 2,323
  • 5
  • 30
  • 61
1
vote
0 answers

Scanning multiple files in parallel using clamav > clamd is very slow

I am in process of using clamd as a service for scanning multiple files in parallel. My workflow: ReadFile on client machine Stream data in blocks to clamav service Open clamd socket connection and write data on UnixSocket (clamd.ctl) (using…
Rajat Doshi
  • 118
  • 7
1
vote
1 answer

Trying to specify binary path for clamAV

I am trying to use clamscan on my windows 10 pro machine in NodeJS. Clamscan is installed to C:\Program Files\ClamAV I have this code.. const NodeClam = require('clamscan'); const ClamScan = new NodeClam().init({ scan_recursively:…
LukePerrin
  • 235
  • 5
  • 17
1
vote
0 answers

How to setup calm antivirus in k8s environment and interact from a django app pod?

I am using django-clamd (https://github.com/vstoykov/django-clamd) inside my django app. The scanning works fine on my local system while uploading files and virus containing files are detected. I want to achieve the same for my app pod in…
devcloud
  • 391
  • 5
  • 18
1
vote
0 answers

How to secure communication between ClamAV daemon and Client?

I have a Web Application running on Heroku. I want to scan the Uploaded Files. My clamd is running outside of Heroku on a EC2 Instance. Is the ClamAV communication between those two Systems encrypted? Do i need to take care of the Encryption…
raumklima
  • 31
  • 4
1
vote
1 answer

nClam - How to pass linux server path to ScanFileOnServer

I have set up ClamAv running in a docker container inside Ubuntu VM (VirtualBox). I have written the following C# program (running from my Windows Host) and able to scan local files in my windows machine successfully (SendAndScanFileAsync) as…
MAK
  • 1,915
  • 4
  • 20
  • 44
1
vote
0 answers

PHP and ClamAV socket programming

I'm really new to ClamAV and PHP socket programming. And need to create a socket file that the ClamAV daemon will listen on. I really don't know how to connect to ClamAV at all or where to begin any help will be great.
code.this
  • 11
  • 2
1
2 3 4