Go Back   HowtoForge Forums | HowtoForge - Linux Howtos and Tutorials > ISPConfig 2 > General

Do you like HowtoForge? Please consider supporting us by becoming a subscriber.
Closed Thread
 
Thread Tools Display Modes
  #1  
Old 15th April 2008, 14:33
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default ISPConfig ClamAV 0.93 Update

Several vulnerabilities had been discovered in ClamAV 0.92.1. Please update ClamAV 0.92.1 (which comes with ISPConfig 2.2.22) to ClamAV 0.93 with the following patch.

Installation instructions
-----------------------------------------------------------------------

Login to your server as root user on the shell. Then execure the following commands:

Code:
cd /tmp
wget http://www.ispconfig.org/downloads/ispconfig_clamav-0.93.tar.gz
tar xvfz ispconfig_clamav-0.93.tar.gz
cd compile_clamav
./compile
ISPConfig 2.2.23 will be released soon which conatins the new ClamAV version too. If you installed this patch, it is not nescessary to update to ISPConfig 2.2.23.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.

Last edited by till; 15th April 2008 at 14:35.
The Following 13 Users Say Thank You to till For This Useful Post:
BorderAmigos (25th August 2008), chasxmd (17th April 2008), crisstm (11th June 2011), edge (15th April 2008), Feanwulf (17th April 2008), H2SO4 (23rd April 2008), Hans (15th April 2008), leonz (18th April 2008), Leszek (15th April 2008), oriongr (17th April 2008), Snowman (15th April 2008), the_spy (15th April 2008), torusturtle (17th April 2008)
Sponsored Links
  #2  
Old 15th April 2008, 17:19
daveb daveb is offline
Senior Member
 
Join Date: Dec 2006
Location: St Louis Mo
Posts: 272
Thanks: 43
Thanked 41 Times in 37 Posts
Default

Hey Till I installed this last night given the instructions falko posted some time ago.
Code:
./configure --prefix=/home/admispconfig/ispconfig/tools/clamav --sysconfdir=/home/admispconfig/ispconfig/tools/clamav/etc --with-user=admispconfig --with-group=admispconfig --disable-clamav --disable-bzip2 --disable-zlib-vcheck
It worked but after configure I got this warning
Code:
configure: WARNING:
****** WARNING:
****** You are either cross compiling to a different host or
****** you have manually disabled important configure checks.
****** Please be aware that this build may be badly broken.
****** DO NOT REPORT BUGS BASED ON THIS BUILD !!!
is this anything to worrie about?
  #3  
Old 15th April 2008, 17:35
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Thats nothing to worry about. But you should use the update I posted above and update your sytsem again as my update contains some changed config files too.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
The Following User Says Thank You to till For This Useful Post:
daveb (15th April 2008)
  #4  
Old 15th April 2008, 20:21
Snowman Snowman is offline
Senior Member
 
Join Date: Apr 2007
Posts: 120
Thanks: 38
Thanked 3 Times in 3 Posts
Default

Quote:
Originally Posted by till
Code:
cd /tmp
wget http://www.ispconfig.org/downloads/ispconfig_clamav-0.93.tar.gz
tar xvfz ispconfig_clamav-0.93.tar.gz
cd compile_clamav
./compile
Hi, i recommend to delete after compiling(not necessary but everybody want to have clean system)
host:/tmp# cd ..
host:/tmp# rm -r compile_clamav/
host:/tmp# rm -r ispconfig_clamav-0.93.tar.gz

  #5  
Old 16th April 2008, 12:56
djtremors djtremors is offline
Senior Member
 
Join Date: Apr 2006
Location: Sydney
Posts: 278
Thanks: 0
Thanked 12 Times in 10 Posts
Default

Wow.. I've just happen to see this post but before you know it, my server updated itself anyway thanks to the script i wrote

http://www.djtremors.com/index.php?o...=38&Itemid=139
__________________
www.emperor-it.com for ISPConfig mods/hacks
  #6  
Old 16th April 2008, 13:00
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

If your updater has not modified the syntax of the clamav.conf file and freshclam.conf file, you should update these config files with the versions that I included in the tar.gz package above. Several configuration directives are not supported anymore and clamav will throw errors when you run it with the old config files.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
  #7  
Old 17th April 2008, 19:49
daff daff is offline
Junior Member
 
Join Date: Mar 2008
Posts: 18
Thanks: 1
Thanked 0 Times in 0 Posts
Default

Hello,

some time ago I followed that tutorial because I had a problem with quota:
http://www.howtoforge.com/forums/showthread.php?t=16204
should I update to ClamAV 0.93 ? I ask that question because I use now clamd. Is the bug with the quota (big/much files in /tmp) fixed in 0.93 ? If I should return to the "normal" clamav how should i act?
  #8  
Old 17th April 2008, 20:02
till till is offline
Super Moderator
 
Join Date: Apr 2005
Location: Lüneburg, Germany
Posts: 36,381
Thanks: 833
Thanked 5,482 Times in 4,316 Posts
Default

Install the patch that I posted above and the run:

/etc/init.d/clamav-daemon restart

The issues with the temp files had not been fixed yet as far as I know.
__________________
Till Brehm
--
Get ISPConfig support and the ISPConfig 3 manual from ispconfig.org.
The Following User Says Thank You to till For This Useful Post:
madmucho (20th April 2008)
  #9  
Old 20th April 2008, 20:13
madmucho madmucho is offline
Senior Member
 
Join Date: Oct 2006
Location: Czech republic, Karlovy Vary
Posts: 158
Thanks: 79
Thanked 11 Times in 11 Posts
Send a message via ICQ to madmucho
Default

Mandriva 2007.1 patch work ok.
clamassassin 1.2.4 with clamscan / ClamAV 0.93/6850/
  #10  
Old 2nd May 2008, 14:42
andron26 andron26 is offline
Member
 
Join Date: Mar 2007
Posts: 52
Thanks: 6
Thanked 1 Time in 1 Post
 
Default problem with update

Hi,

OpenSuSe 10.2.
When I want to update clamav I have such error:

/tmp/compile_clamav/clamav-0.93/freshclam/../shared/cdiff.c:984: undefined reference to `gzdopen'
/tmp/compile_clamav/clamav-0.93/freshclam/../shared/cdiff.c:994: undefined reference to `gzgets'
/tmp/compile_clamav/clamav-0.93/freshclam/../shared/cdiff.c:1016: undefined reference to `gzclose'
/tmp/compile_clamav/clamav-0.93/freshclam/../shared/cdiff.c:1010: undefined reference to `gzclose'
tar.o: In function `tar_addfile':
/tmp/compile_clamav/clamav-0.93/freshclam/../shared/tar.c:82: undefined reference to `gzwrite'
/tmp/compile_clamav/clamav-0.93/freshclam/../shared/tar.c:95: undefined reference to `gzwrite'
/tmp/compile_clamav/clamav-0.93/freshclam/../shared/tar.c:111: undefined reference to `gzwrite'
manager.o: In function `buildcld':
/tmp/compile_clamav/clamav-0.93/freshclam/manager.c:932: undefined reference to `gzclose'
/tmp/compile_clamav/clamav-0.93/freshclam/manager.c:944: undefined reference to `gzclose'
/tmp/compile_clamav/clamav-0.93/freshclam/manager.c:884: undefined reference to `gzopen'
/tmp/compile_clamav/clamav-0.93/freshclam/manager.c:913: undefined reference to `gzclose'
collect2: ld returned 1 exit status
make[2]: *** [freshclam] Error 1
make[2]: Leaving directory `/tmp/compile_clamav/clamav-0.93/freshclam'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory `/tmp/compile_clamav/clamav-0.93'
make: *** [all] Error 2
ERROR: Could not make ClamAV
Closed Thread

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
ISPConfig 2.2.13 released till General 35 23rd July 2007 16:28
HotSaNIC domino Tips/Tricks/Mods 23 6th November 2006 05:19
After ISPConfig update no longer changes through the webinterface possible Pasco Installation/Configuration 25 8th August 2006 18:19
How to update clamAV in ISPConfing? tom Installation/Configuration 3 22nd April 2006 16:31
ispconfig keep crashing on update ablc Installation/Configuration 2 2nd August 2005 09:06


All times are GMT +2. The time now is 00:05.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2014, vBulletin Solutions, Inc.