summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/snort/files/snort.confd')
-rw-r--r--net-analyzer/snort/files/snort.confd9
1 files changed, 5 insertions, 4 deletions
diff --git a/net-analyzer/snort/files/snort.confd b/net-analyzer/snort/files/snort.confd
index d4d240ac966b..c429ca61b2cb 100644
--- a/net-analyzer/snort/files/snort.confd
+++ b/net-analyzer/snort/files/snort.confd
@@ -1,16 +1,17 @@
# Config file for /etc/init.d/snort
# This tell snort which interface to listen on (any for every interface)
-IFACE=eth0
+IFACE="eth1"
-# Make sure this matches your IFACE
-PIDFILE=/var/run/snort_$IFACE.pid
+# You do NOT want to change this
+PIDPATH="/var/run/snort"
+PIDFILE="snort_$IFACE.pid"
# You probably don't want to change this, but in case you do
LOGDIR="/var/log/snort"
# Probably not this either
-CONF=/etc/snort/snort.conf
+CONF="/etc/snort/snort.conf"
# This pulls in the options above
SNORT_OPTS="-D -u snort -i $IFACE -l $LOGDIR -c $CONF"