blob: 3a0ee7d54f7867a395a6b999550d029d10eeb5c6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
|
--- a/lua/snort.lua
+++ b/lua/snort.lua
@@ -19,13 +19,17 @@
-- 1. configure defaults
---------------------------------------------------------------------------
+-- The values for the two variables HOME_NET and EXTERNAL_NET have been
+-- moved to /etc/config/snort, so do not modify them here without good
+-- reason.
+
-- HOME_NET and EXTERNAL_NET must be set now
-- setup the network addresses you are protecting
-HOME_NET = 'any'
+--HOME_NET = 'any'
-- set up the external network addresses.
-- (leave as "any" in most situations)
-EXTERNAL_NET = 'any'
+--EXTERNAL_NET = 'any'
include 'snort_defaults.lua'
--- a/lua/snort_defaults.lua
+++ b/lua/snort_defaults.lua
@@ -19,13 +19,13 @@
---------------------------------------------------------------------------
-- Path to your rules files (this can be a relative path)
-RULE_PATH = '../rules'
-BUILTIN_RULE_PATH = '../builtin_rules'
-PLUGIN_RULE_PATH = '../so_rules'
+RULE_PATH = 'rules'
+BUILTIN_RULE_PATH = 'builtin_rules'
+PLUGIN_RULE_PATH = 'so_rules'
-- If you are using reputation preprocessor set these
-WHITE_LIST_PATH = '../lists'
-BLACK_LIST_PATH = '../lists'
+WHITE_LIST_PATH = 'lists'
+BLACK_LIST_PATH = 'lists'
---------------------------------------------------------------------------
-- default networks - used in Talos rules
|