Snort mailing list archives
Re: email alerts
From: Jason Haar <Jason.Haar () trimble co nz>
Date: Wed, 5 Mar 2003 11:15:48 +1300
On Tue, Mar 04, 2003 at 05:55:40PM -0300, Petriz, Pablo wrote:
Hello Erek A little bit out of Snort scope: i'm using swatch to mail the alerts too, but the throttle option is not working and i saw you are using it in your script!
That's my script actually :-)
I've tried to use it the same way but it fails when hit the line perlcode my $timestamp_regex="^[A-Z][a-z]{2}\s+\d{1,2}\s+\d{1,2}:\d{1,2}:\d{1,2}\s+";
Ah. It was written with swatch-3.1beta in mind. I had too many problems with other versions, and 3.1beta has that threshold support too which is pretty cool. In the end I dropped the $timestamp_regex references anyway: they didn't work reliably in my environment as our syslog server is logging rather more detail than Parse::Syslog can handle. In the end I had to preprocess my syslog stream before piping it into swatch - now it works beautifully -- Cheers Jason Haar Information Security Manager, Trimble Navigation Ltd. Phone: +64 3 9635 377 Fax: +64 3 9635 417 PGP Fingerprint: 7A2E 0407 C9A6 CAF6 2B9F 8422 C063 5EBB FE1D 66D1 ------------------------------------------------------- This SF.net email is sponsored by: Etnus, makers of TotalView, The debugger for complex code. Debugging C/C++ programs can leave you feeling lost and disoriented. TotalView can help you find your way. Available on major UNIX and Linux platforms. Try it free. www.etnus.com _______________________________________________ Snort-users mailing list Snort-users () lists sourceforge net Go to this URL to change user options or unsubscribe: https://lists.sourceforge.net/lists/listinfo/snort-users Snort-users list archive: http://www.geocrawler.com/redir-sf.php3?list=snort-users
Current thread:
- Email Alerts Dinesh Raj (Mar 04)
- <Possible follow-ups>
- email alerts Dinesh Raj (Mar 04)
- Re: email alerts Erek Adams (Mar 04)
- Re: email alerts Petriz, Pablo (Mar 04)
- Re: email alerts Jason Haar (Mar 04)