27 lines
831 B
Plaintext
27 lines
831 B
Plaintext
$OpenBSD: patch-etc_snort_conf,v 1.3 2009/02/12 22:12:08 rui Exp $
|
|
--- etc/snort.conf.orig Mon Sep 15 18:28:02 2008
|
|
+++ etc/snort.conf Thu Nov 6 17:44:46 2008
|
|
@@ -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
|
|
# ============================
|