On Sunday 04 June 2006 2:37 pm, Stephen Gran wrote: > On Sun, Jun 04, 2006 at 02:10:16PM -0500, Chris said: > > It seems to read the freshclam.log correctly and posts the correct > > stats, however, for some unknown reason it appears to not be reading > > the clamd.log at all. At least its not posting any virus statistics. > > Can anyone see what the problem may be? > > > > Thanks for any and all help > > If you can't d/l the files I'll be glad to just send them direct. > > You're regexes (at least in the version I downloaded) are multi-line. > This is almost always not what you meant to do. Mush them all into one > long line, and if you need whitespace, use the \s matcher explicitly > instead of accidentally. It matches for me once I do the above (and > take out the word 'stream' since I use SCAN rather than STREAM on this > machine). > > Take care,
When looking at the script with gedit and line breaks off, they're all on the same line. Removing stream didn't make any difference, at least it didn't produce any errors. According to my clamd.log stream is used: Sun Jun 4 08:43:35 2006 -> Accepted connection on port 1512, fd 8 Sun Jun 4 08:43:35 2006 -> stream: Html.Phishing.Ivt.Gen014.Sanesecurity.06041413 FOUND Shouldn't the script be picking these up? Unless I'm way off base here. -- Chris Registered Linux User 283774 http://counter.li.org 15:21:48 up 21 days, 3:22, 1 user, load average: 0.21, 0.50, 1.11 Mandriva Linux 10.1 Official, kernel 2.6.8.1-12mdk
pgp2glbixp4gt.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html