HTTP Anti-Virus Proxy
http://havp.hege.li/forum/

ClamAV 0.95 support
http://havp.hege.li/forum/viewtopic.php?f=3&t=414
Page 1 of 2

Author:  hege [ 26 Feb 2009 12:00 ]
Post subject:  ClamAV 0.95 support

Please try this test version with ClamAV 0.95rc1, API has changed and recompile is needed.

http://havp.hege.li/download/havp-0.90pre3.tar.gz

Author:  fischerm [ 26 Feb 2009 23:54 ]
Post subject:  Re: ClamAV 0.95 support

Hi!

Seems to work ok:
Quote:
26/02/2009 21:14:12 === Starting HAVP Version: 0.90
26/02/2009 21:14:12 Running as user: havp, group: havp
26/02/2009 21:14:12 --- Initializing ClamAV Library Scanner
26/02/2009 21:14:12 ClamAV: Using database directory: /var/log/copfilter/default/opt/clamav/virdb
26/02/2009 21:14:25 ClamAV: Loaded 561762 signatures (engine 0.95rc1)
26/02/2009 21:14:25 ClamAV Library Scanner passed EICAR virus test (Eicar-Test-Signature)
26/02/2009 21:14:25 --- All scanners initialized
26/02/2009 21:14:25 Process ID: 11321


The only warning I get is from ClamAV:
Quote:
Thu Feb 26 21:13:52 2009 -> Waiting for all threads to finish
Thu Feb 26 21:13:52 2009 -> WARNING: Syncpipe write failed
Thu Feb 26 21:13:53 2009 -> Shutting down the main socket.
Thu Feb 26 21:13:53 2009 -> --- Stopped at Thu Feb 26 21:13:53 2009
Thu Feb 26 21:13:53 2009 -> Closing the main socket.
Thu Feb 26 21:13:53 2009 -> Socket file removed.
Thu Feb 26 21:13:54 2009 -> +++ Started at Thu Feb 26 21:13:54 2009
Thu Feb 26 21:13:54 2009 -> clamd daemon 0.95rc1 (OS: linux-gnu, ARCH: i386, CPU: i686)
Thu Feb 26 21:13:54 2009 -> Log file size limited to 10485760 bytes.
Thu Feb 26 21:13:54 2009 -> Reading databases from /var/log/copfilter/default/opt/clamav/virdb
Thu Feb 26 21:13:54 2009 -> Not loading PUA signatures.
Thu Feb 26 21:14:02 2009 -> Loaded 564130 signatures.
Thu Feb 26 21:14:03 2009 -> LOCAL: Unix socket file /var/log/copfilter/default/opt/clamav/var/run/clamd.socket
Thu Feb 26 21:14:03 2009 -> LOCAL: Setting connection queue length to 15
Thu Feb 26 21:14:03 2009 -> Limits: Global size limit set to 20971520 bytes.
Thu Feb 26 21:14:03 2009 -> Limits: File size limit set to 26214400 bytes.
Thu Feb 26 21:14:03 2009 -> Limits: Recursion level limit set to 16.
Thu Feb 26 21:14:03 2009 -> Limits: Files limit set to 5000.
Thu Feb 26 21:14:03 2009 -> Archive support enabled.
Thu Feb 26 21:14:03 2009 -> Algorithmic detection enabled.
Thu Feb 26 21:14:03 2009 -> Portable Executable support enabled.
Thu Feb 26 21:14:03 2009 -> ELF support enabled.
Thu Feb 26 21:14:03 2009 -> Mail files support enabled.
Thu Feb 26 21:14:03 2009 -> OLE2 support enabled.
Thu Feb 26 21:14:03 2009 -> PDF support enabled.
Thu Feb 26 21:14:03 2009 -> HTML support enabled.
Thu Feb 26 21:14:03 2009 -> Heuristic: precedence enabled
Thu Feb 26 21:14:03 2009 -> Self checking every 600 seconds.
Thu Feb 26 21:14:03 2009 -> Set stacksize to 2158592
Thu Feb 26 21:24:37 2009 -> No stats for Database check - forcing reload
Thu Feb 26 21:24:38 2009 -> Reading databases from /var/log/copfilter/default/opt/clamav/virdb
Thu Feb 26 21:24:47 2009 -> Database correctly reloaded (564130 signatures)
Thu Feb 26 21:34:38 2009 -> SelfCheck: Database status OK.
Thu Feb 26 21:45:38 2009 -> SelfCheck: Database status OK.


Regards

Matthias

Author:  karesmakro [ 02 Mar 2009 09:55 ]
Post subject:  Re: ClamAV 0.95 support

This warning is fixed now in SVN r4878 of clamav. I tested clamav in Revision 4880 and is running stable for now!

Regards

Author:  hege [ 02 Mar 2009 17:39 ]
Post subject:  Re: ClamAV 0.95 support

Reload was broken due to missing cl_engine_new().

Please get new version:

http://havp.hege.li/download/havp-0.90pre3.tar.gz

Author:  fischerm [ 02 Mar 2009 20:24 ]
Post subject:  Re: ClamAV 0.95 support

Hi!

Quote:
Reload was broken due to missing cl_engine_new()
Ts, ts, ts... :-)

Compiled, running, testing...seems to be ok now... :D

I'll report!

Many thanks!

Regards

Matthias

Author:  karesmakro [ 04 Mar 2009 19:53 ]
Post subject:  Re: ClamAV 0.95 support

For my own I could say, release is running stable since 2 days without any problems :D

Regards, karesmakro

Author:  fischerm [ 04 Mar 2009 20:42 ]
Post subject:  Re: ClamAV 0.95 support

Same here... :D

Regards

Matthias

Author:  fischerm [ 17 Mar 2009 01:12 ]
Post subject:  Re: ClamAV 0.95 support

Ahmt!

ClamAV 0.95rc2 is out...

Result:
Quote:
Starting HAVP Version: 0.90
/var/log/copfilter/default/opt/havp/default/sbin/havp: relocation error: /var/log/copfilter/default/opt/havp/default/sbin/havp: symbol cl_engine_set, version CLAMAV_PUBLIC not defined in file libclamav.so.6 with link time reference
warte 1 Sekunde(n) <BR>
havp laeuft nicht <BR>


Again, they changed something...

Any hints?

Regards

Matthias

Author:  hege [ 17 Mar 2009 05:22 ]
Post subject:  Re: ClamAV 0.95 support

fischerm wrote:
Again, they changed something...


Surprisingly the API.. ;)

Here is new version:

http://havp.hege.li/download/havp-0.90pre4.tar.gz

Author:  karesmakro [ 17 Mar 2009 10:26 ]
Post subject:  Re: ClamAV 0.95 support

Morning all,

all went smoothy, no problems this time!

My compliments to you, hege. Fast reaction!

Greetings, karesmakro

Author:  fischerm [ 17 Mar 2009 15:31 ]
Post subject:  Re: ClamAV 0.95 support

Hi!

Will have to wait until I'm back from work, but...:
Quote:
My compliments to you, hege. Fast reaction!
From me, too!

Great!

Regards

Matthias

EDIT: Running...

Author:  fischerm [ 23 Mar 2009 22:22 ]
Post subject:  Re: ClamAV 0.95 support

Ahmt!

New ClamAV 0.95 is out. :-)

Result:
Quote:
starte havp <BR>
Starting HAVP Version: 0.90
LibClamAV Error: cl_engine_set_num: Incorrect field number
One or more scanners failed to initialize!
Check errorlog for errors.
Exiting..
warte 1 Sekunde(n) <BR>
havp laeuft nicht <BR>


Same procedure as every year...?

EDIT: Not exactly the same procedure, there's another error with ClamAV:
Quote:
23/03/2009 20:04:59 Running as user: havp, group: havp
23/03/2009 20:04:59 --- Initializing ClamAV Library Scanner
23/03/2009 20:04:59 ClamAV: set CL_ENGINE_TMPDIR failed: Invalid argument passed to function
23/03/2009 20:04:59 Error initializing ClamAV Library Scanner!
Sorry, I was too fast, will have to look at that one first...


Regards

Matthias

Author:  karesmakro [ 24 Mar 2009 02:31 ]
Post subject:  Re: ClamAV 0.95 support

Is all running just fine for now ! :wink:

Author:  hege [ 24 Mar 2009 11:46 ]
Post subject:  Re: ClamAV 0.95 support

fischerm wrote:
Sorry, I was too fast, will have to look at that one first...


So was there problem? Works good here..

Let me know and I will release havp 0.90..

Author:  karesmakro [ 24 Mar 2009 14:32 ]
Post subject:  Re: ClamAV 0.95 support

The error, fischerm described, comes only, if havp is no recompiled with new clamav-0.95. HAVP is running well on copfilter too without any problems.

Page 1 of 2 All times are UTC + 2 hours [ DST ]
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/