Snort mailing list archives

rotate alert cache


From: Kerry Cox <kerry.cox () ksl com>
Date: 03 Jul 2003 18:51:37 -0600

Quick question, does anyone know of or have a simple script for rotating
out the /var/log/snort/alert file periodically? I'm sure it would be a
simple matter to write this, but why re-invent the wheel? 
I'd like to be able to append a .1 or .2 to the end of each rotated file
for archival purposes, much as the messages and secure files are rotated
out. I'd add the alert file to the regular rotation of these as well,
but want to make certain it works without killing the running Snort
process.
Thanks much.
KJ

-- 
Kerry Cox <kerry.cox () ksl com>
KSL / Bonneville International



-------------------------------------------------------
This SF.Net email sponsored by: Free pre-built ASP.NET sites including
Data Reports, E-commerce, Portals, and Forums are available now.
Download today and enter to win an XBOX or Visual Studio .NET.
http://aspnet.click-url.com/go/psa00100006ave/direct;at.asp_061203_01/01
_______________________________________________
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: