Re: [Clamav-users] Updating ClamAV method other than freshclam

2004-04-08 Thread Dilip M
On Thu, 08 Apr 2004 14:36:52 +0800, Seve Ho [EMAIL PROTECTED] wrote:

I installed clamav on a Redhat. The machine do not have a direct 
internet connection, so that it cannot use freshclam to update it 
database.
My question is , is there any method to update ClamAV databases other 
than freshclam?
For example, can I do a freshclam on another machine and copy the 
database file(what is the path?) to a floppy/CD and then copy to the 
Redhat?
Well on my box,

# grep DatabaseDirectory /etc/clamav.conf
DatabaseDirectory /var/lib/clamav
---
# ls -lut /var/lib/clamav/
total 2034
-rw-r--r--1 clamav   clamav  57729 Apr  8 12:28 daily.cvd
-rw-r--r--1 clamav   clamav 965110 Apr  8 12:28 main.cvd
-
Yes its there ;)
-Dilip



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Updating ClamAV method other than freshclam

2004-04-08 Thread [EMAIL PROTECTED]
Seve Ho said:
 I installed clamav on a Redhat. The machine do not have a direct
 internet connection, so that it cannot use freshclam to update it
 database.
 My question is , is there any method to update ClamAV databases
 other
 than freshclam?
 For example, can I do a freshclam on another machine and copy the
 database file(what is the path?) to a floppy/CD and then copy to the
 Redhat?

 Many thanks.


Seve:

The typical install directory for the latest .68  .70 version is
/usr/local/share/clamav

You should be able to just copy the files to the target machine.

I'm curious though...  With no net connection, what are you afraid of?

-- 

Bob Greene


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


Re: [Clamav-users] Updating ClamAV method other than freshclam

2004-04-08 Thread Lionel Bouton
Seve Ho wrote the following on 04/08/2004 08:36 AM :

I installed clamav on a Redhat. The machine do not have a direct 
internet connection, so that it cannot use freshclam to update it 
database.
My question is , is there any method to update ClamAV databases other 
than freshclam?
For example, can I do a freshclam on another machine and copy the 
database file(what is the path?) to a floppy/CD and then copy to the 
Redhat?


Yes, just copy *.cvd files. These files can be located in 
/var/lib/clamav, /usr/local/share/clamav, ... (packaging dependant).

I just do that because I have 4 systems using clamav and want them to be 
in sync. So I put some glue around freshclam that compares the cvd 
contents before and after a freshclam run and if a diff is found update 
the 4 systems using rsync and mail the changes to me (new, removed and 
updated entries).

Best regards,

--
Lionel Bouton - inet6
-
  o  Siege social: 51, rue de Verdun - 92158 Suresnes
 /  _ __ _   Acces Bureaux: 33 rue Benoit Malon - 92150 Suresnes
/ /\  /_  / /_   France
\/  \/_  / /_/   Tel. +33 (0) 1 41 44 85 36
 Inetsys S.A.Fax  +33 (0) 1 46 97 20 10


---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users


RE: [Clamav-users] Updating ClamAV method other than freshclam

2004-04-08 Thread Mitch \(WebCob\)
 -Original Message-
 From: [EMAIL PROTECTED]
 [mailto:[EMAIL PROTECTED] Behalf Of Lionel
 Bouton
 Sent: Thursday, April 08, 2004 12:26 AM
 To: [EMAIL PROTECTED]
 Subject: Re: [Clamav-users] Updating ClamAV method other than freshclam


 I just do that because I have 4 systems using clamav and want them to be
 in sync. So I put some glue around freshclam that compares the cvd
 contents before and after a freshclam run and if a diff is found update
 the 4 systems using rsync and mail the changes to me (new, removed and
 updated entries).


Neat idea!

I know some might think that's trivial, but others might benefit from the
script - I guess you are running it as a cron job?

Care to share? could reinvent the wheel, but would like to see if you've
done anything else interesting ;-)

cheers.

m/



---
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470alloc_id=3638op=click
___
Clamav-users mailing list
[EMAIL PROTECTED]
https://lists.sourceforge.net/lists/listinfo/clamav-users