[clamav-users] Problem with ClamAV 0.98.4 - HAVP won't load CVD files

clamav at it-connect-unix.de clamav at it-connect-unix.de
Thu Jun 26 17:35:08 UTC 2014


Hello there, I'm Kare from copfilter.org

I saw this discussion about failing havp with ClamAV 0.98.4 and we  
also use havp in our project for a long time.
There is a way to get havp working, until an other solution has been found.

Go to havp.config and disable clamlib and enabel the socket mode
ENABLECLAMLIB false

ENABLECLAMD true
CLAMDSOCKET /var/log/clamd.socket

I planned to contact the developer on weekend

Regards

Zitat von Shawn Webb <swebb at sourcefire.com>:

> Hey Paul,
>
> The reason for that is likely due to my usage of ctors and dtors with
> 0.98.3. In that version, I had added a ctors entry in libclamav to call
> cl_initialize_crypto and a dtors entry to call cl_cleanup_crypto. It turns
> out that operating systems like AIX, HPUX, and Solaris 10 don't support
> ctors/dtors. In order to provide support for those OSs, I opted to remove
> the ctors/dtors entries and call cl_initialize_crypto directly in the
> applications that we distribute that consume libclamav (clamscan, clamd,
> clamdscan, freshclam, etc.) That means that we're no longer calling
> cl_initialize_crypto in the background and third-party applications will
> need to call cl_initialize_crypto themselves. But that may or may not
> change with the discussion on Monday.
>
> Thanks,
>
> Shawn
>
>
> On Thu, Jun 26, 2014 at 12:37 PM, Paul Kosinski <clamav at iment.com> wrote:
>
>> Shawn,
>>
>> Yes indeed, HAVP calls into libclamav directly.  But then why does this
>> only fail in 0.98.4 but *not* in 0.98.3?  Wasn't OpenSSL already being
>> used in 0.98.3?
>>
>> An additional problem is that the HAVP developer seems to have stopped
>> working on it, according to the HAVP forum (http://havp.hege.li/forum/).
>> Of course, since HAVP is Open Source, I could change it for my use
>> (but I don't want to take it over).
>>
>> Thanks for the quick response,
>> Paul
>>
>>
>> > Hey Paul,
>> >
>> > It looks like HAVP is calling into libclamav directly. That means
>> > that HAVP will need to either initialize OpenSSL prior to calling the
>> > cl_init() function in libclamav, or it will need to call
>> > cl_initialize_crypto() prior to calling cl_init(). We have an open
>> > bug on our end to track this issue (bugzilla bug 11037).
>> > Additionally, a bug report should be opened with HAVP to document
>> > the issue on their end. I will be discussing with the team soon
>> > potential solutions going forward.
>> >
>> > Thanks,
>> >
>> > Shawn
>> _______________________________________________
>> Help us build a comprehensive ClamAV guide:
>> https://github.com/vrtadmin/clamav-faq
>> http://www.clamav.net/support/ml
>>
> _______________________________________________
> Help us build a comprehensive ClamAV guide:
> https://github.com/vrtadmin/clamav-faq
> http://www.clamav.net/support/ml





More information about the clamav-users mailing list