Snort mailing list archives

Re: Snort stopping after about 12 hours


From: Brian <bmc () snort org>
Date: Thu, 6 Dec 2001 13:09:28 -0500

According to Patrick S. Harper:
Does anyone have a script that could check if snort is running and if it
is not start it.  I would write one but I am not well versed in
scripting.

Cheat.

Run snort in a never ending loop.  Snort will always startup as soon
as it dies in this fasion.

#!/bin/ksh
while `true`
do
   snort -C snort.conf
done

-- 
There is no civility, only politics.


_______________________________________________
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: