Re: [Clamav-users] Clamassasin & clam - very slow
[EMAIL PROTECTED] wrote: > Hello, > > i am using clamav & clamassassin - clamscan is very slow and clamscan uses > many ressources. > > What can i do? > > Try replacing clamscan with clamdscan For 0.90.x series, this should save you a lot of time required (about twenty seconds on my system) for each file scanned. Regards, Fajar ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
[Clamav-users] Checking Definition Files Prior to Installing Them
When 'freshclam' downloads an updated definition file, it checks it prior to installing it. I am writing a small shell script that I want to use that will do essentially the same thing without using 'freshclam'. What is the syntax to use to check a file to insure it is not broken before installing it? I have tried a few combinations, but nothing seems to be producing the results I am looking for. Thanks! -- Gerard ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Clamassasin & clam - very slow
- Original Message - From: "Fajar A. Nugraha" <[EMAIL PROTECTED]> To: "ClamAV users ML" Sent: Friday, June 15, 2007 12:08 PM Subject: Re: [Clamav-users] Clamassasin & clam - very slow > [EMAIL PROTECTED] wrote: >> Hello, >> >> i am using clamav & clamassassin - clamscan is very slow and clamscan >> uses >> many ressources. >> >> What can i do? >> >> > Try replacing clamscan with clamdscan does clamdscan uses the same configuration as clamscan, so i can easy the clamassassin-config? ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Clamassasin & clam - very slow
[EMAIL PROTECTED] wrote: >>> i am using clamav & clamassassin - clamscan is very slow and clamscan >>> uses >>> many ressources. >>> >>> What can i do? >>> >>> >>> >> Try replacing clamscan with clamdscan >> > > does clamdscan uses the same configuration as clamscan, so i can easy the > clamassassin-config? > > No. Clamscan options arer passed on command line. Clamdscan, on the other hand, simply uses clamd, whose configuration is on /usr/local/etc/clamd.conf (or wherever your packager puts it). The default values should enable mail and archive scanning, which means it should be usable as-is for your purpose. You probably want to check "User" setting though. There are some command line options for clamdscan, but (for example) --no-mail is not one of them. Regards, Fajar ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
[Clamav-users] Clamassasin & clam - very slow
Hello, i am using clamav & clamassassin - clamscan is very slow and clamscan uses many ressources. What can i do? Tnx ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Clamassasin & clam - very slow
[EMAIL PROTECTED] wrote: Hello, i am using clamav & clamassassin - clamscan is very slow and clamscan uses many ressources. 1) Drop clamassassin 2) Use clamdscan not clamscan What can i do? Tnx -Nigel ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] help,some faq about install ClamAV
Fajar A. Nugraha, thank you,i have extracted file,it add somefile under /usr/local.i think i have installed clamav successful.when i start to configure it,i feels puzzle and didn't find how to config ClamAV on solaris in wiki. I reference http://www.brandonhutchinson.com/Installing_ClamAV_with_Sendmail_on_Solaris.html but i implement /etc/init.d/clamd start(shell write by myself )or /usr/local/sbin/clamd alway have Error ld.so.1:clamd:fatal:libgmp.so.3:open failed:No such file or directory killed i implement /usr/local/bin/clamdscan,clamconf...also happend the same thing. which file didn't exist? === 2007-06-15 10:49:40 === >Cheng Guangyao wrote: >> clamav-0.91rc1.sol10-x86.tar.gz(http://clamav.or.id/stable/clamav-0.91rc1.sol10-x86.tar.gz) >> >> is it the right one? >> >If by "right" you mean it is a prebuilt clamav binary that runs on >solaris 10 (and newer, which probably includes opensolaris) x86, yes. >If by "right" you're expecting a solaris pkg that can be installed with >pkgadd, then no. > > >It's a simple tar.gz that (when extracted) will install clamav under >/usr/local. >Feel free to use it and report any bugs via private mail. > >Regards, > >Fajar >___ >Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net >http://lurker.clamav.net/list/clamav-users.html > = = = = = = = = = = = = = = = = = = = = Cheng Guangyao 2007-06-15 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] help,some faq about install ClamAV
Cheng Guangyao wrote: > ld.so.1:clamd:fatal:libgmp.so.3:open failed:No such file or directory killed > i implement /usr/local/bin/clamdscan,clamconf...also happend the same > thing. > which file didn't exist? > > perhaps libgmp.so.3? :) Try "pkg-get -i libgmp" See http://www.blastwave.org/howto.html on how to install pkg-get If you already have libgmp.so.3 somewhere, but ld can't seem to find it, try one of the following : - create a link from that file to /usr/local/lib for example, ln -s /opt/csw/lib/libgmp.so.3 /usr/local/lib/ - use crle to modify your system's library search path - use LD_LIBRARY_PATH system variable (not recommended) My binary should automatically uses libraries on /opt/csw/lib when available As for configuration, copying clamd.conf.sol10 to clamd.conf and freshclam.conf.sol10 to freshclam.conf on /usr/local/etc SHOULD be enough for most cases. If you want to tweak more settings, see clamd.conf.example and freshclam.conf.example Regards, Fajar ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Clamassasin & clam - very slow
On Fri, 2007-06-15 at 11:04 +0100, Nigel Horne wrote: > [EMAIL PROTECTED] wrote: > > i am using clamav & clamassassin - clamscan is very slow and clamscan uses > > many ressources. > > 1) Drop clamassassin With all due respect, that "advice" doesn't solve anything. clamassassin serves a purpose that ClamAV doesn't do. > 2) Use clamdscan not clamscan This one, however, is correct. :) Use clamd -- if not installed / built yet, do so. Rebuild clamassassin. Have a look at its README, particularly the --enable-clamdscan option. guenther -- char *t="[EMAIL PROTECTED]"; main(){ char h,m=h=*t++,*x=t+2*h,c,i,l=*x,s=0; for (i=0;i>=1)||!t[s+h]){ putchar(t[s]);h=m;s=0; }}} ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Clamassasin & clam - very slow
Cheng Guangyao wrote: > Fajar A. Nugraha,您好! > > in clamav-0.91rc1.sol10-x86.tar.gz,these have > clamd.conf.so10,clamd.conf.example > which one i should use? > > See http://clamav.or.id/install/linux-unix.txt Short answer : copy *.conf.sol10 to *.conf Regards, Fajar ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Clamassasin & clam - very slow
Fajar A. Nugraha,您好! in clamav-0.91rc1.sol10-x86.tar.gz,these have clamd.conf.so10,clamd.conf.example which one i should use? === 2007-06-15 18:26:31 您在来信中写道:=== >[EMAIL PROTECTED] wrote: i am using clamav & clamassassin - clamscan is very slow and clamscan uses many ressources. What can i do? >>> Try replacing clamscan with clamdscan >>> >> >> does clamdscan uses the same configuration as clamscan, so i can easy the >> clamassassin-config? >> >> >No. >Clamscan options arer passed on command line. >Clamdscan, on the other hand, simply uses clamd, whose configuration is >on /usr/local/etc/clamd.conf (or wherever your packager puts it). The >default values should enable mail and archive scanning, which means it >should be usable as-is for your purpose. You probably want to check >"User" setting though. > >There are some command line options for clamdscan, but (for example) >--no-mail is not one of them. > >Regards, > >Fajar >___ >Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net >http://lurker.clamav.net/list/clamav-users.html > = = = = = = = = = = = = = = = = = = = = 致 礼! Cheng Guangyao 2007-06-15 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] Checking Definition Files Prior to Installing Them
Gerard Seibert wrote: > What is the syntax to use to check a file to insure it is not broken > before installing it? I have tried a few combinations, but nothing > seems to be producing the results I am looking for. > > Try clamscan -d /path/to/your/db/dir /some/clean/text/file.txt It should return zero exit code when your signature file is not broken. /path/to/your/db/dir should be a directory which contains the signature files you want to check /some/clean/text/file.txt is just a plain text file with no virus. An empty file should work as well. Regards, Fajar ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
Re: [Clamav-users] help,some faq about install ClamAV
Fajar A. Nugraha, thank you,i download libgmp.so.3 from http://clamav.or.id/libs ,and now ClamAV is running~ === 2007-06-15 18:42:47=== >Cheng Guangyao wrote: >> ld.so.1:clamd:fatal:libgmp.so.3:open failed:No such file or directory killed >> i implement /usr/local/bin/clamdscan,clamconf...also happend the same >> thing. >> which file didn't exist? >> >> >perhaps libgmp.so.3? :) >Try "pkg-get -i libgmp" >See http://www.blastwave.org/howto.html on how to install pkg-get > >If you already have libgmp.so.3 somewhere, but ld can't seem to find it, >try one of the following : >- create a link from that file to /usr/local/lib >for example, ln -s /opt/csw/lib/libgmp.so.3 /usr/local/lib/ >- use crle to modify your system's library search path >- use LD_LIBRARY_PATH system variable (not recommended) > >My binary should automatically uses libraries on /opt/csw/lib when available >As for configuration, copying clamd.conf.sol10 to clamd.conf and >freshclam.conf.sol10 to freshclam.conf on /usr/local/etc SHOULD be >enough for most cases. If you want to tweak more settings, see >clamd.conf.example and freshclam.conf.example >Regards, > >Fajar >___ >Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net >http://lurker.clamav.net/list/clamav-users.html > = = = = = = = = = = = = = = = = = = = = Cheng Guangyao 2007-06-15 ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html
[Clamav-users] clamav-milter takes almost 2 min to start
Its taking almost 2 minutes for clamav-milter to start: # time /etc/init.d/clamd start * Starting clamd ... Running as user clamav (UID 101, GID 407) [ ok ] * Starting freshclam ... [ ok ] * Starting clamav-milter ... [ ok ] ClamAV 0.90.3/3426/Fri Jun 15 22:02:54 2007 ClamAV: Protecting against 230200 viruses real1m59.114s user0m57.968s sys 0m0.604s My specs: AMD64, Gentoo Linux, Clamav 0.90.3 I have similar results on a Debian box. Any explanations? ___ Help us build a comprehensive ClamAV guide: visit http://wiki.clamav.net http://lurker.clamav.net/list/clamav-users.html