ClamWin Free Antivirus Forum Index
ClamWin Free Antivirus
Support and Discussion Forums
Reply to topic
using local server for updates -- what's the fix ?
mduregon


Joined: 11 Jul 2007
Posts: 4
Reply with quote
With latest ClamWin 0.90.2.1 I would like to perform an update locally on the LAN where my ClamWin clients reside.

My update server is a Debian Linux 4.0 (etch) running a recent freshclam daemon (ClamAV 0.90.1/3647/Thu Jul 12 09:13:27 2007).
Its default config download updates in cvd format.

Since ClamWin has switched to incremental updates daily.inc and main.inc directories this has been broken (used to work before).
What is the recommended way to solve this problem ?

thanks

Marino
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4292
Location: USA
Reply with quote
This might help you. It's a link to a FAQ.

http://www.clamwin.com/content/view/58/27/

Regards,
View user's profileSend private message
mduregon


Joined: 11 Jul 2007
Posts: 4
Reply with quote
GuitarBob wrote:
This might help you. It's a link to a FAQ.

http://www.clamwin.com/content/view/58/27/

Regards,


yes, I read that FAQ but I would rather not resort to client side scripting to take care of the updates. I would like the Clamwin client to work with its standard update mechanism. I guess my bigger question is - what does the latest ClamWin client expect on the server side to perform a flawless update ?

thanks

Marino
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1748
Reply with quote
you need the cvd fles and all cdiff files in the web server root directory. Then use the local web server address in the clamwing configuration for the database mirror
View user's profileSend private message
mduregon


Joined: 11 Jul 2007
Posts: 4
Reply with quote
alch wrote:
you need the cvd fles and all cdiff files in the web server root directory. Then use the local web server address in the clamwing configuration for the database mirror


As it stands now the freshclam version I am running on my debian 4.0 server (see previous post for version) first downloads the two cvd files, main.cvd and daily.cvd. Over time it seems to have created a daily.inc and inside has several files, including daily.info ( an index file with a list of all the files in the dir and their checksums), daily.cfg, daily.db and more.

In that daily.inc directory I do not see any cdiff files (did you mean files with the 'cdiff' extension or files in cdiff format ? the files I see are not in cdiff format).

Looking in the clamav.net site I have found this but am not sure how accurate it is

thanks

Marino
View user's profileSend private message
mduregon


Joined: 11 Jul 2007
Posts: 4
Reply with quote
and I should add that, yes, I am indeed making those files available in the DocumentRoot of a web server configured in the same host and that, yes, I am pointing to that same host in my Clamwin clients.

thanks

Marino
View user's profileSend private message
alch
Site Admin

Joined: 27 Nov 2005
Posts: 1748
Reply with quote
cdiff files are not in the daily.inc but on the clamav database mirrors, you need to mirror their site, using freschlam no longer works after introduction of cdiff files (incremental updates)
View user's profileSend private message
GuitarBob


Joined: 09 Jul 2006
Posts: 4292
Location: USA
Reply with quote
It might be good to make a FAQ out of this. I haven't seen this information before, and it might come up again.

Regards,
View user's profileSend private message
budtse


Joined: 14 Jan 2006
Posts: 372
Location: Belgium
Reply with quote
GuitarBob wrote:
It might be good to make a FAQ out of this. I haven't seen this information before, and it might come up again.


Just updated the "Advanced" chapter in the manual.

Also (just for reference), clamav has a FAQ on this (http://www.clamav.net/support/faq/ http://www.clamav.net/support/faq/). Of course, this faq refers to the freshclam.config file, which is automatically generated by clamwin.
View user's profileSend private message
using local server for updates -- what's the fix ?
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
All times are GMT  
Page 1 of 1  

  
  
 Reply to topic