LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 11-24-2005, 09:28 AM   #1
dawidson
LQ Newbie
 
Registered: May 2005
Posts: 6

Rep: Reputation: 0
Why don't search ClamAV infected files


I running clamd
clamd
and copy files from eicar.com
and this program don't find virus
if i scan yes ok.
but demon when i copy to server files then don't find ?
Nothing in logs.
why ?
 
Old 11-24-2005, 11:29 AM   #2
okmyx
Member
 
Registered: May 2004
Location: Cornwall, UK
Distribution: Ubuntu 8.04
Posts: 464

Rep: Reputation: 31
With out more details there not alot we can help you on.

- what type of files?
- how are you copying them to the server (NFS, Samba, Ftp,....)?
- Distro?
- Which version of Clamd?
 
Old 11-24-2005, 12:03 PM   #3
tuxrules
Senior Member
 
Registered: Jun 2004
Location: Chicago
Distribution: Slackware64 -current
Posts: 1,152

Rep: Reputation: 60
Quote:
I running clamd
clamd
and copy files from eicar.com
and this program don't find virus
if i scan yes ok.
but demon when i copy to server files then don't find ?
Nothing in logs.
why ?
Your post is not clear so I don't entirely understand but I can tell you this that clamd daemon does not provide **on-demand** scanning. This means that it **will not act as Norton AV or other AV on windows** that will actively detect a infected file as it is copied to the hard drive. If you want on-demand scanning you have to use dazuko module (and you will have to install it yourself). To find out how to install dazuko module visit http://www.clamav.net/doc/0.87.1/ and checkout the clamdoc.pdf.

To scan the files

Code:
clamscan -ivr --remove /directory/to/scan
Be careful, the above command will remove any infected files **WITHOUT** asking. For more info,

Code:
man clamscan
Code:
man clamd
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
clamav: infected files provkitir Linux - Security 2 12-20-2004 01:19 AM
Search for Files vs. ls albean Linux - Newbie 2 11-14-2004 02:35 PM
Search in configuration files fiomba Linux - Software 9 10-31-2004 04:45 PM
1st ClamAV scan.. 48 files infected... What??!! sh1ft Linux - Security 2 06-29-2004 10:06 PM
clamav infected file emetib Linux - Software 1 04-11-2004 03:43 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:08 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration