2008-02-12 14:13:32 +00:00
|
|
|
$OpenBSD: patch-etc_snort_conf,v 1.2 2008/02/12 14:13:32 rui Exp $
|
|
|
|
--- etc/snort.conf.orig Fri Sep 7 20:32:45 2007
|
|
|
|
+++ etc/snort.conf Mon Nov 19 22:23:57 2007
|
|
|
|
@@ -78,7 +78,10 @@ var SNMP_SERVERS $HOME_NET
|
|
|
|
# like this:
|
|
|
|
#
|
|
|
|
# portvar HTTP_PORTS 8081
|
|
|
|
-#
|
|
|
|
+
|
2006-10-10 13:33:17 +00:00
|
|
|
+# Ports you run ssh servers on
|
2008-02-12 14:13:32 +00:00
|
|
|
+portvar SSH_PORTS 22
|
2006-10-10 13:33:17 +00:00
|
|
|
+
|
|
|
|
# Ports you run web servers on
|
2008-02-12 14:13:32 +00: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 13:33:17 +00: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 14:13:32 +00:00
|
|
|
-var PREPROC_RULE_PATH ../preproc_rules
|
2006-10-10 13:33:17 +00:00
|
|
|
+var RULE_PATH %%SYSCONFDIR%%/snort/rules
|
2008-02-12 14:13:32 +00:00
|
|
|
+var PREPROC_RULE_PATH %%SYSCONFDIR%%/snort/preproc_rules
|
2006-10-10 13:33:17 +00:00
|
|
|
|
|
|
|
# Configure the snort decoder
|
|
|
|
# ============================
|