Re: [Clamav-users] OT: Download script

2006-04-25 Thread Bob Hutchinson
On Monday 24 Apr 2006 22:35, Steve Basford wrote: Christopher X. Candreva wrote: I've atached my updated Perl script. It will now check the compressed archive, and if it is updated download and upcompress it. Thank you! I'll sort out the website tomorrow hopefully, with some of sample

RE: [Clamav-users] OT: Download script

2006-04-25 Thread Burak Sönmez
Hi everbody, I setup proftpd with ClamAV, build during is everything OK, But, when I run proftpd , I see as following in clamd.log : Apr 25 12:52:22 trade proftpd[2170]: localhost.localdomain (xx.xx.xx.xxx) - TP session opened. Apr 25 12:52:24 trade proftpd[2172]: localhost.localdomain

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Steve Basford
On Monday 24 Apr 2006 22:35, Steve Basford wrote: Steve, is it your intention to name the file inside the .gz phishc.ndb, consistently, so I can script on that basis? Arghhh... sorry that really should have been phish.ndb, I've now corrected the script using -N saves the original,

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Christopher X. Candreva
On Tue, 25 Apr 2006, Bob Hutchinson wrote: On Monday 24 Apr 2006 22:35, Steve Basford wrote: using the --stdout method results in a new timestamp. For me that is confounding. Yes. Unfortunately I didn't see any other way to keep the original .gz file intact. The LWP mirror library needs

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Bob Hutchinson
On Tuesday 25 Apr 2006 11:07, Steve Basford wrote: On Monday 24 Apr 2006 22:35, Steve Basford wrote: Steve, is it your intention to name the file inside the .gz phishc.ndb, consistently, so I can script on that basis? Arghhh... sorry that really should have been phish.ndb, I've now

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Bob Hutchinson
On Tuesday 25 Apr 2006 12:07, Christopher X. Candreva wrote: On Tue, 25 Apr 2006, Bob Hutchinson wrote: On Monday 24 Apr 2006 22:35, Steve Basford wrote: using the --stdout method results in a new timestamp. For me that is confounding. Yes. Unfortunately I didn't see any other way to

Re: [Clamav-users] OT: Download script

2006-04-25 Thread christian
On Tue, Apr 25, 2006 at 07:07:03AM -0400, Christopher X. Candreva wrote: If you know a gunzip option that will NOT delete the compresed file, that would be the prefered method. - you could user 'tar czf' / 'tar xzf' instead of 'gzip' / 'gunzip'. - or maybe 'touch -r' could help? --

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Christopher X. Candreva
On Tue, 25 Apr 2006, Bob Hutchinson wrote: The trouble with perl system() calls is that you don't get any result codes, I might experiment with backticks instead. Someone suggested touch, here's the simple way: if ($result == 200) { system gunzip -v --stdout $file $dbfile; my

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Tom Metro
Bob Hutchinson wrote: The trouble with perl system() calls is that you don't get any result codes... % perldoc -f system system LIST system PROGRAM LIST ... You can check all the failure possibilities by inspecting $? like this: if ($? == -1) {

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Bob Hutchinson
On Tuesday 25 Apr 2006 16:04, Tom Metro wrote: Bob Hutchinson wrote: The trouble with perl system() calls is that you don't get any result codes... % perldoc -f system system LIST system PROGRAM LIST ... You can check all the failure possibilities by inspecting $?

[Clamav-users] Re: OT: Download script

2006-04-25 Thread G.W. Haywood
Hi there, On Tue, 25 Apr 2006 Christopher X. Candreva wrote: If you know a gunzip option that will NOT delete the compresed file, that would be the prefered method. cat file.gz | gunzip file 73, Ged. ___

Re: [Clamav-users] Re: OT: Download script

2006-04-25 Thread Rick Macdougall
Christopher X. Candreva wrote: On Tue, 25 Apr 2006, G.W. Haywood wrote: If you know a gunzip option that will NOT delete the compresed file, that would be the prefered method. cat file.gz | gunzip file That's not a gunzip option -- that's (almost) exactly what I'm doing in the program

Re: [Clamav-users] Re: OT: Download script

2006-04-25 Thread Chris Meadors
On Tue, 2006-04-25 at 16:29 -0400, Christopher X. Candreva wrote: On Tue, 25 Apr 2006, G.W. Haywood wrote: If you know a gunzip option that will NOT delete the compresed file, that would be the prefered method. cat file.gz | gunzip file That's not a gunzip option -- that's

Re: [Clamav-users] Re: OT: Download script

2006-04-25 Thread Christopher X. Candreva
On Tue, 25 Apr 2006, Rick Macdougall wrote: That's not a gunzip option -- that's (almost) exactly what I'm doing in the program that I'm looking for an alternative for. gunzip -c file.gz file Yes, THAT is EXACTLY what I'm doing that we are (were) looking for an alternative for. :-)

Re: [Clamav-users] Re: OT: Download script

2006-04-25 Thread Rick Macdougall
Christopher X. Candreva wrote: On Tue, 25 Apr 2006, Rick Macdougall wrote: That's not a gunzip option -- that's (almost) exactly what I'm doing in the program that I'm looking for an alternative for. gunzip -c file.gz file Yes, THAT is EXACTLY what I'm doing that we are (were) looking for

Re: [Clamav-users] Re: OT: Download script

2006-04-25 Thread Daniel J McDonald
On Tue, 2006-04-25 at 16:36 -0400, Chris Meadors wrote: On Tue, 2006-04-25 at 16:29 -0400, Christopher X. Candreva wrote: On Tue, 25 Apr 2006, G.W. Haywood wrote: If you know a gunzip option that will NOT delete the compresed file, that would be the prefered method. I'm not using

Re: [Clamav-users] Re: OT: Download script

2006-04-25 Thread Dennis Peterson
On Tue, 25 Apr 2006, G.W. Haywood wrote: If you know a gunzip option that will NOT delete the compresed file, that would be the prefered method. cat file.gz | gunzip file That's not a gunzip option -- that's (almost) exactly what I'm doing in the program that I'm looking for

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Chris
On Monday 24 April 2006 3:18 pm, Christopher X. Candreva wrote: On Mon, 24 Apr 2006, Steve Basford wrote: The file you need is: http://www.sanesecurity.com/clamav/phish.ndb.gz I've atached my updated Perl script. It will now check the compressed archive, and if it is updated download and

Re: [Clamav-users] OT: Download script

2006-04-25 Thread Christopher X. Candreva
On Tue, 25 Apr 2006, Chris wrote: phish.ndb.gz500 as a guess does this mean there was no new file to download? A 500 status code is an internal server error. Nothing to do with the script. == Chris Candreva -- [EMAIL PROTECTED]

[Clamav-users] Generating specialised reports from ClamAV {Scanned by MyndIT}

2006-04-25 Thread David Garrard
Hello; I currently use ClamAV with MailScanner on a OpenBSD gateway. I want to be able to generate a report detailing the following: The total number of Viri found: The tope 10 most frequent Viri The top 10 users who received viri. Looking through the appropriate documentation there does not