Snort mailing list archives
Re: snortstat_pl
From: Tedi Heriyanto <tedi.heriyanto () gmail com>
Date: Thu, 03 Dec 2009 17:31:12 +0700
Pradeep Lamabam wrote:
hello, am using snort with barnyard, base,mysql. all is working fine. had also used snortstat_pl as a summary tool. works equally fine. what i had trouble though was with running snortstat_pl script as cron and to mail me the summary the command i used is : 59 23 * * * cat /var/log/snort/alert | snort\_stat.pl <http://stat.pl> | mail -s ''Snort Report`` <myid>@yahoo.com <http://yahoo.com>
You can put the commands : cat /var/log/snort/alert | snort\_stat.pl <http://stat.pl> | mail -s ''Snort Report`` <myid>@yahoo.com <http://yahoo.com> into a shell script and in the cron entry you just call that script : 59 23 * * * /home/user/snort-log-mailer.sh -- Best Regards, Tedi Heriyanto Website : http://tedi.heriyanto.net Blog : http://theriyanto.wordpress.com PGP Key ID : 0xAC22DD11 PGP Fingerprint : 470A FF01 B4CF 93A4 78E5 0EAC 0103 BC76 AC22 DD11 ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ 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:
- snortstat_pl Pradeep Lamabam (Dec 03)
- Re: snortstat_pl Tedi Heriyanto (Dec 03)
- Re: snortstat_pl David Guimaraes (Dec 03)
- Re: snortstat_pl Tedi Heriyanto (Dec 03)