Re: [Clamav-users] msrbl sigs: rsync

2007-03-07 Thread Dennis Peterson
Dennis Davis wrote: On Tue, 6 Mar 2007, Dennis Peterson wrote: From: Dennis Peterson <[EMAIL PROTECTED]> To: ClamAV users ML Date: Tue, 06 Mar 2007 11:18:30 -0800 Subject: Re: [Clamav-users] msrbl sigs: rsync Reply-To: ClamAV users ML ... if [ -f "$RunFlag" ]; then e

Re: [Clamav-users] msrbl sigs: rsync

2007-03-07 Thread Dennis Davis
On Tue, 6 Mar 2007, Dennis Peterson wrote: > From: Dennis Peterson <[EMAIL PROTECTED]> > To: ClamAV users ML > Date: Tue, 06 Mar 2007 11:18:30 -0800 > Subject: Re: [Clamav-users] msrbl sigs: rsync > Reply-To: ClamAV users ML ... > if [ -f "$RunFlag" ];

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Dennis Peterson
Bill Landry wrote: Dennis Peterson wrote the following on 3/6/2007 11:18 AM -0800: Here is my latest script iteration, which now includes testing for newer files before copying the file to the temp working directory for testing, and when copying is done due to a newer file being found, the or

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Bill Landry
Dennis Peterson wrote the following on 3/6/2007 11:18 AM -0800: Here is my latest script iteration, which now includes testing for newer files before copying the file to the temp working directory for testing, and when copying is done due to a newer file being found, the original timestamps w

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Dennis Peterson
Dennis Peterson wrote: There are two test files that list the files to download. The file names and contents are: file.list http://www.sanesecurity.com/clamav/phish.ndb.gz http://www.sanesecurity.com/clamav/scam.ndb.gz msrbl.list MSRBL-Images.hdb MSRBL-SPAM.ndb Just remembered one other file

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Dennis Peterson
:39:58 -0800 Subject: Re: [Clamav-users] msrbl sigs: rsync ... # Check for MSRBL IMAGE database update rsync -a rsync://rsync.mirror.msrbl.com/msrbl/MSRBL-Images.hdb \ $rsync_dir/MSRBL-Images.ndb cp $rsync_dir/MSRBL-Images.ndb $tmp_dir Shouldn't that read "MSRB

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Bill Landry
ct: Re: [Clamav-users] msrbl sigs: rsync ... # Check for MSRBL IMAGE database update rsync -a rsync://rsync.mirror.msrbl.com/msrbl/MSRBL-Images.hdb \ $rsync_dir/MSRBL-Images.ndb cp $rsync_dir/MSRBL-Images.ndb $tmp_dir Shouldn't that read "MSRBL-Images.hdb"

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Bill Landry
Dennis Davis wrote the following on 3/6/2007 6:14 AM -0800: On Mon, 5 Mar 2007, Bill Landry wrote: From: Bill Landry <[EMAIL PROTECTED]> To: ClamAV users ML , [EMAIL PROTECTED] Date: Mon, 05 Mar 2007 23:39:58 -0800 Subject: Re: [Clamav-users] msrbl sigs: rsync ... #

Re: [Clamav-users] msrbl sigs: rsync

2007-03-06 Thread Dennis Davis
On Mon, 5 Mar 2007, Bill Landry wrote: > From: Bill Landry <[EMAIL PROTECTED]> > To: ClamAV users ML , > [EMAIL PROTECTED] > Date: Mon, 05 Mar 2007 23:39:58 -0800 > Subject: Re: [Clamav-users] msrbl sigs: rsync ... > # Check for MSRBL IMAGE database

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Bill Landry
Steve Basford wrote the following on 3/4/2007 10:46 PM -0800: > Dennis Peterson wrote: > >> My guess is the MSRBL folks would like it if you downloaded the new >> files only if the file has been modified. >> >> > I think you're right... the size of their images .ndb file > (un-compressed) j

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Dennis Peterson
Christopher X. Candreva wrote: On Mon, 5 Mar 2007, Dennis Peterson wrote: It makes a great deal of sense to move the files into the clam DB directory to insure an atomic operation. If clamd/clamav-milter should happen to reload with a half-copied file in the DB dir, it will likely stop running

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Christopher X. Candreva
On Mon, 5 Mar 2007, Dennis Peterson wrote: > > It makes a great deal of sense to move the files into the clam DB directory > > to insure an atomic operation. If clamd/clamav-milter should happen to > > reload with a half-copied file in the DB dir, it will likely stop running. > > Yah - I realize

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Dennis Peterson
Noel Jones wrote: At 09:35 AM 3/5/2007, Dennis Peterson wrote: The mv -f ... statement should be a cp ... statement. That will leave the msrbl files in the directory that rsync uses for downloading and for comparing versions. It makes a great deal of sense to move the files into the clam DB

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Noel Jones
At 09:35 AM 3/5/2007, Dennis Peterson wrote: The mv -f ... statement should be a cp ... statement. That will leave the msrbl files in the directory that rsync uses for downloading and for comparing versions. It makes a great deal of sense to move the files into the clam DB directory to insur

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Dennis Peterson
Dennis Peterson wrote: If you use wget rather than curl you can grab both of Steve's files in one connection rather than two. I'll submit my script to Steve when I get caught up on things here. It pulls down Sanesecurity and MSRBL files. I just recalled that curl allows this too with multip

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Dennis Peterson
Chris wrote: On Monday 05 March 2007 12:08 am, Dennis Peterson wrote: I ran it twice and both times it downloaded a new .hdb and .ndb file at least the 'modified' times were within a couple of minutes of the current time. I've commented out the I just now realized you're moving the downloaded

Re: [Clamav-users] msrbl sigs: rsync

2007-03-05 Thread Chris
On Monday 05 March 2007 12:08 am, Dennis Peterson wrote: > > I ran it twice and both times it downloaded a new .hdb and .ndb file at > > least the 'modified' times were within a couple of minutes of the current > > time. I've commented out the > > I just now realized you're moving the downloaded f

Re: [Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Steve Basford
Dennis Peterson wrote: > > My guess is the MSRBL folks would like it if you downloaded the new > files only if the file has been modified. > I think you're right... the size of their images .ndb file (un-compressed) jumped to about 7.5 meg in size and I guess shifting that amount of data for x us

Re: [Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Dennis Peterson
Chris wrote: On Sunday 04 March 2007 4:15 pm, Dennis Peterson wrote: Steve, since I'm using a script that was posted here quite some time ago what changes need to be made: Create a text file, msrbl.list, with these two lines: MSRBL-SPAM.ndb MSRBL-Images.hdb Run rsync and call that file, and t

Re: [Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Dennis Peterson
Chris wrote: On Sunday 04 March 2007 4:15 pm, Dennis Peterson wrote: Steve, since I'm using a script that was posted here quite some time ago what changes need to be made: Create a text file, msrbl.list, with these two lines: MSRBL-SPAM.ndb MSRBL-Images.hdb Run rsync and call that file, and t

Re: [Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Chris
On Sunday 04 March 2007 4:15 pm, Dennis Peterson wrote: > > > > Steve, since I'm using a script that was posted here quite some time ago > > what changes need to be made: > > Create a text file, msrbl.list, with these two lines: > MSRBL-SPAM.ndb > MSRBL-Images.hdb > > Run rsync and call that file,

Re: [Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Dennis Peterson
Chris wrote: On Sunday 04 March 2007 7:23 am, Steve Basford wrote: Hi, Just a heads up for those using the msrbl sigs. As of last week: "Downloading of the signature files is currently only available via rsync": rsync rsync://rsync.mirror.msrbl.com/msrbl/MSRBL-SPAM.ndb /path/MSRBL-SPAM.ndb r

Re: [Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Chris
On Sunday 04 March 2007 7:23 am, Steve Basford wrote: > Hi, > > Just a heads up for those using the msrbl sigs. > > As of last week: > > "Downloading of the signature files is currently only available via rsync": > > rsync rsync://rsync.mirror.msrbl.com/msrbl/MSRBL-SPAM.ndb > /path/MSRBL-SPAM.ndb r

[Clamav-users] msrbl sigs: rsync

2007-03-04 Thread Steve Basford
Hi, Just a heads up for those using the msrbl sigs. As of last week: "Downloading of the signature files is currently only available via rsync": rsync rsync://rsync.mirror.msrbl.com/msrbl/MSRBL-SPAM.ndb /path/MSRBL-SPAM.ndb rsync rsync://rsync.mirror.msrbl.com/msrbl/MSRBL-Images.hdb /path/MSRB