27 lines
831 B
Plaintext
27 lines
831 B
Plaintext
$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
|
|
@@ -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
|
|
# ============================
|