On Wed, 14 Oct 2009, Jari Fredriksson wrote:
14.10.2009 21:49, Mike Cardwell kirjoitti:
Jari Fredriksson wrote:
> It's a perl script called sa-stats.pl
>
> I have modified the default file so that is scans /var/log/messages
> which works for me (Debian), the script not runs without arguments.
That's a very nice script. I made one small change to it to make it work
with gzip compressed logs.
I took that modification into my copy, and updated the script in my
website too.
Heh. I did the same a few months back, and added a new column listing
average score for messages that rule hit. Two versions, one for the
current /var/log/maillog and one for /var/log/maillog*gz, are here:
http://www.impsec.org/jhardin/antispam/
--
John Hardin KA7OHZ http://www.impsec.org/~jhardin/
jhar...@impsec.org FALaholic #11174 pgpk -a jhar...@impsec.org
key: 0xB8732E79 -- 2D8C 34F4 6411 F507 136C AF76 D822 E6E6 B873 2E79
-----------------------------------------------------------------------
Windows Genuine Advantage (WGA) means that now you use your
computer at the sufferance of Microsoft Corporation. They can
kill it remotely without your consent at any time for any reason;
it also shuts down in sympathy when the servers at Microsoft crash.
-----------------------------------------------------------------------
13 days since a sunspot last seen - EPA blames CO2 emissions