Re: [PATCH] zlib detection for autofoo

nilesh salunke <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.devel
Message-ID <[email protected]>
Hi....

I am not getting problem exactly. So elaborate the problem.

Before that i am having below problems for getting start working on ClamAV project.

1:
I have downloaded ClamAV project from below location: 
"git clone git://clamwin.git.sourceforge.net/gitroot/clamwin/clamav-win32.git"

I have build it in Visual Studio 2008. But while running executable it give below errors:

ERROR: Can't open/parse the config file C:\Users\Nilesh.admin-PC\clamav-win32\contrib\msvc\Debug\Win32\clamd.conf

ERROR: Can't open/parse the config file C:\Users\Nilesh.admin-PC\clamav-win32\co
ntrib\msvc\Debug\Win32\freshclam.conf

Loading Clamav DB...
LibClamAV Error: cl_load(): Can't get status of daily.cvd
Error loading daily.cvd...

2.
Usage C:\Users\Nilesh.admin-PC\clamav-win32\contrib\msvc\Debug\Win32\unscrambler.exe scrambled.dmp
What is exactly that "scrambled.dmp" files and their use..?

3.
The file "clamscan.exe" generated after build in Visual Studio. I used that file for scanning some viruses samples.
Result summary  was:
----------- SCAN SUMMARY -----------
Known viruses: 2341759
Engine version: devel@clamwin msvc - Jun 10 2013
Scanned directories: 1
Scanned files: 7
Infected files: 5
Data scanned: 0.50 MB
Data read: 0.45 MB (ratio 1.09:1)
Time: 19.889 sec (0 m 19 s)

But i scanned same samples using "clamscan.exe"  which is generated after installing ClamWin Antivirus it gives scan summary as below:
----------- SCAN SUMMARY -----------
Known viruses: 2341759
Engine version: 0.97.8
Scanned directories: 1
Scanned files: 7
Infected files: 5
Data scanned: 0.50 MB
Data read: 0.45 MB (ratio 1.09:1)
Time: 7.051 sec (0 m 7 s)

There is huge difference in scan time. Why...?
Is ClamAV project at location "git clone git://clamwin.git.sourceforge.net/gitroot/clamwin/clamav-win32.git" is outdated..?
If that so then send me URL to download latest ClamAV project.

3.
I am getting problem to understand the working flow of project. So please help me.


Best Regards,
Nilesh Salunke.

--- On Tue, 11/6/13, Eugene Crosser <[email protected]> wrote:

From: Eugene Crosser <[email protected]>
Subject: Re: [Clamav-devel] [PATCH] zlib detection for autofoo
To: [email protected]
Date: Tuesday, 11 June, 2013, 12:03 PM

> From: Bertrand Jacquin <[email protected]>

> The current configure.ac use many hack to determine if zlib is present,
> recent enough. Is a (fast done) patch like this can help you ? The main
> idea is to relie on pkg-config.

I'd warn against sole reliance on pkgconfig in the ./configure. The latter is
all about maximum portability, and not all systems may have pkgconfig. Use it by
all means, but fall back to the "old" ways if it is not available.

Regards,

Eugene





-----Inline Attachment Follows-----

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.