22c160ac23
from Markus Lude with a few changes, tested by many including reyk@, jdixon@. Thanks. ok landry@
27 lines
833 B
Plaintext
27 lines
833 B
Plaintext
$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
|
|
-#
|
|
+
|
|
+# Ports you run ssh servers on
|
|
+portvar SSH_PORTS 22
|
|
+
|
|
# Ports you run web servers on
|
|
portvar HTTP_PORTS 80
|
|
|
|
@@ -107,8 +110,8 @@ var AIM_SERVERS [64.12.24.0/23,64.12.28.0/23,64.12.161
|
|
# 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
|
|
-var PREPROC_RULE_PATH ../preproc_rules
|
|
+var RULE_PATH %%SYSCONFDIR%%/snort/rules
|
|
+var PREPROC_RULE_PATH %%SYSCONFDIR%%/snort/preproc_rules
|
|
|
|
# Configure the snort decoder
|
|
# ============================
|