Update of /cvsroot/netpass/NetPass-Snort/etc/sysconfig
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv12386/NetPass-Snort/etc/sysconfig
Modified Files:
npsnortd
Log Message:
added a test cmd to check the validity of generated rules.
if the test fails, the backup rules file will be restored.
Index: npsnortd
===================================================================
RCS file: /cvsroot/netpass/NetPass-Snort/etc/sysconfig/npsnortd,v
retrieving revision 1.1.1.1
retrieving revision 1.2
diff -u -d -r1.1.1.1 -r1.2
--- npsnortd 10 Aug 2005 20:14:50 -0000 1.1.1.1
+++ npsnortd 4 Jan 2006 16:02:09 -0000 1.2
@@ -1,10 +1,13 @@
NPAPISERVER=128.205.10.37
NPAPISECRET=yoyo
+SNORTBINFILE=/opt/snort/bin/snort
SNORTLOGFILE=/opt/snort/logs/snort.log
+SNORTCONFFILE=/opt/snort/etc/snort.conf
SNORTRULESFILE=/opt/snort/etc/snort.rules
SNORTPCAPRULES=/opt/snort/etc/pcaprules.txt
NPSNORTDPORT=20008
SNORTPIDFILE=/var/run/snort_dag0.pid
SNORTSTARTUPSCRIPT=/etc/init.d/snortd
+SNORTTESTSCRIPT="$SNORTBINFILE -q -c$SNORTCONFFILE -T"
SNORTIGNOREQUAR=1
NPSNORTDREFRESH=300
|