2009-08-16 09:31:27 -04:00
|
|
|
$OpenBSD: patch-etc_snort_conf,v 1.4 2009/08/16 13:31:27 rui Exp $
|
|
|
|
--- etc/snort.conf.orig Wed Mar 11 14:22:03 2009
|
|
|
|
+++ etc/snort.conf Wed Apr 8 12:47:17 2009
|
2008-02-12 09:13:32 -05:00
|
|
|
@@ -78,7 +78,10 @@ var SNMP_SERVERS $HOME_NET
|
|
|
|
# like this:
|
|
|
|
#
|
|
|
|
# portvar HTTP_PORTS 8081
|
|
|
|
-#
|
|
|
|
+
|
2006-10-10 09:33:17 -04:00
|
|
|
+# Ports you run ssh servers on
|
2008-02-12 09:13:32 -05:00
|
|
|
+portvar SSH_PORTS 22
|
2006-10-10 09:33:17 -04:00
|
|
|
+
|
|
|
|
# Ports you run web servers on
|
2008-02-12 09:13:32 -05:00
|
|
|
portvar HTTP_PORTS 80
|
|
|
|
|
|
|
|
@@ -107,8 +110,8 @@ var AIM_SERVERS [64.12.24.0/23,64.12.28.0/23,64.12.161
|
2006-10-10 09:33:17 -04:00
|
|
|
# Path to your rules files (this can be a relative path)
|
|
|
|
# Note for Windows users: You are advised to make this an absolute path,
|
|
|
|
# such as: c:\snort\rules
|
|
|
|
-var RULE_PATH ../rules
|
2008-02-12 09:13:32 -05:00
|
|
|
-var PREPROC_RULE_PATH ../preproc_rules
|
2009-02-12 17:12:08 -05:00
|
|
|
+var RULE_PATH ${SYSCONFDIR}/snort/rules
|
|
|
|
+var PREPROC_RULE_PATH ${SYSCONFDIR}/snort/preproc_rules
|
2006-10-10 09:33:17 -04:00
|
|
|
|
|
|
|
# Configure the snort decoder
|
|
|
|
# ============================
|