GregObleshchuk
Joined: 31 Jul 2007 |
Posts: 0 |
|
|
 |
Posted: Tue Jul 31, 2007 1:36 am |
|
 |
 |
 |
 |
Hello,
I have developed a software product for Microsoft Exchange server which is an virus and spam protection product. THis hooks into Microsoft SMTP services and does Greylisting, DNS Blacklist, Virus Scanning and SpamAssissin. It works really well (sorry this is not advertising for this )
I use clamscan to scan viruses as they come in. I do this by having the full version of ClamWin installed and then calling clamscan with the following parameters
C:\Program Files\ClamWin\bin\clamscan.exe --database="C:\Documents and Settings\All Users\.clamwin\db" %FILENAME%
%FILENAME% is replaced with the full path to a file which is created by my product, this file is a valid email which has been received.
I have an internal limit of running five(5) clamscans at once, anymore and the dual P4 will slow down until it does not respond.
I have just installed version 0.91.1 and found that the performance is much better and helps greatly but I am hoping that there is something else can be done. Are there ways of improving the performance of clanscan?
If I supply a filename (as I do) does it scan the memory of the computer, maybe a switch to stop this if it happens or are there anything else? I would like clanscan to just scan the file and attachments (as it is a .eml file).
any help would be great
thanks
Greg
|
|
budtse
Joined: 14 Jan 2006 |
Posts: 0 |
Location: Belgium |
|
 |
Posted: Tue Jul 31, 2007 10:12 am |
|
 |
 |
 |
 |
clamscan does not do memory scanning by default.
As to the performance, you might want to have a look at clamd on the clamav site. It is like a service that keeps the database loaded, which speeds up scanning many different files. Most of the time spent on scanning small files goes to loading the database in memory.
ClamWin 1.0 will have it's own service to keep the database in memory, but there is no release schedule for this version.
|
|
GregObleshchuk
Joined: 31 Jul 2007 |
Posts: 0 |
|
|
 |
Posted: Tue Jul 31, 2007 12:38 pm |
|
 |
 |
 |
 |
Hi,
Thanks but I thought clamav was for unix. I'm windows only
Greg
|
|
budtse
Joined: 14 Jan 2006 |
Posts: 0 |
Location: Belgium |
|
 |
Posted: Tue Jul 31, 2007 12:55 pm |
|
 |
 |
 |
 |
There's a Windows version of clamd at https://w32.clamav.net/ https://w32.clamav.net/.
I must say that i have never used it and we can probably not give you much support here.
|
|