Thanks Daniel, That looks *exactly* like what I need - and a good excuse to learn to use rsync!
- steve -----Original Message----- From: Daniel J McDonald [mailto:[EMAIL PROTECTED] Sent: Tuesday, 4 May 2004 10:42 a.m. To: [EMAIL PROTECTED] Subject: Re: [Clamav-users] freshclam without 'net access? On Mon, 2004-05-03 at 15:12, Steve Brorens wrote: > Some of the boxes I have running ClamAV will be behind behind > restrictive firewalls. They receive smtp email, and can do DNS calls, > but have no http/80 access to the > internet. I *do* have ssh access though from the outside, and could > schedule a task > to ssh in twice daily... > > How would you update the clam db in this case? Run freshclam on a machine that does have www access from a cron job, say at 47 minutes past the hour on odd hours. Schedule an rsync with the filter box at 57 minutes past the hour. On the hour clamd will check to see if the .cvd files have changed - just in case freshclam failed to notify clamd for whatever reason. sample crontab entries: 47 1-23/2 * * * freshclam --quiet 57 1-23/2 * * * rsync -rtlzqe ssh --delete /var/lib/clamav/*.cvd filter.ip.addr:/var/lib/clamav/ -- Daniel J McDonald, CCIE 2495, CNX Austin Energy ------------------------------------------------------- This SF.Net email is sponsored by: Oracle 10g Get certified on the hottest thing ever to hit the market... Oracle 10g. Take an Oracle 10g class now, and we'll give you the exam FREE. http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users ========================================================= This e-mail has been scanned for Viruses and Content and cleared by NetIQ MailMarshal ------------------------------------------------------- This SF.Net email is sponsored by Sleepycat Software Learn developer strategies Cisco, Motorola, Ericsson & Lucent use to deliver higher performing products faster, at low TCO. http://www.sleepycat.com/telcomwpreg.php?From=osdnemail3 _______________________________________________ Clamav-users mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/clamav-users