From owner-freebsd-security Mon Oct 8 23:45:50 2001 Delivered-To: freebsd-security@freebsd.org Received: from athena.za.net (athena.za.net [196.30.167.200]) by hub.freebsd.org (Postfix) with ESMTP id 7396E37B401 for ; Mon, 8 Oct 2001 23:45:43 -0700 (PDT) Received: from jus (helo=localhost) by athena.za.net with local-esmtp (Exim 3.22 #1) id 15qqdE-0005Dx-00; Tue, 09 Oct 2001 08:44:48 +0200 Date: Tue, 9 Oct 2001 08:44:48 +0200 (SAST) From: Justin Stanford X-Sender: jus@athena.za.net To: Martijn Lina Cc: freebsd-security@freebsd.org Subject: Re: Amavis + Linux scanners In-Reply-To: <20011008184944.A20079@medialab.lostboys.nl> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-security@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org While we're on this topic, does anyone know of any stats scripts or programs for exiscan? Thanks, Justin -- Justin Stanford Internet/Network Security & Solutions Consultant 4D Digital Security http://www.4dds.co.za Cell: (082) 7402741 E-Mail: jus@security.za.net PGP Key: http://www.security.za.net/jus-pgp-key.txt On Mon, 8 Oct 2001, Martijn Lina wrote: > Once upon a 05-10-2001, Rob Simmons hit keys in the following order: > > > > Other than that, it works great. Also, you can cron the following script > > to update your virus identities automatically: > > Or subscribe to their IDE notification and run this script from the mail > aliases or your procmailrc: > > #!/usr/bin/perl -w > use strict; > > my $gonna_die=0; > my $mailto="root"; > my $mailoutput="|/usr/lib/sendmail -t $mailto"; > my $origmail; > my $source; > my $sav_dir="/usr/local/share/sav"; > > while (<>) > { > $origmail.=$_; > if ( /(http:\/\/www\.sophos\.com\/downloads\/ide\/.*\.ide)/ && !$gonna_die) > { > $gonna_die = system("/usr/local/bin/wget -q -N -P $sav_dir $1"); > $source = $1; > } > } > > if ($gonna_die) > { > mail("Failed virus update", "Getting virus update from $source didn't work (errno $gonna_die).\nHere's the original update mail:\n\n$origmail"); > die("Couldn't get virus update"); > } else > { > mail("Virus update","Successfully updated Sophos with $source.\nHere's the original update mail:\n\n$origmail"); > } > > exit; > > sub mail > { > my $sbj=shift; > my $msg=shift; > open(OUTPUT,$mailoutput); > print OUTPUT "From: Exterminator\n"; > print OUTPUT "To: $mailto\n"; > print OUTPUT "Subject: $sbj\n\n"; > print OUTPUT $msg."\n"; > close(OUTPUT); > } > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-security" in the body of the message