From 5a1ea395aaf9e113a6792038d292403b82057222 Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 10 Jul 2012 06:42:13 +0000 Subject: Remove some fallout from making snort path global --- config/snort/snort.inc | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index 535bb0ea..4a97d21b 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -344,8 +344,7 @@ function snort_get_real_interface($interface) { by touch and rm, snort will lose sync and not log. */ -function snort_post_delete_logs($snort_uuid = 0) -{ +function snort_post_delete_logs($snort_uuid = 0) { global $config, $g; /* do not start config build if rules is empty */ @@ -1552,7 +1551,7 @@ EOD; # ################# -preprocessor http_inspect: global {$snortdir}, iis_unicode_map unicode.map 1252 compress_depth 65535 decompress_depth 65535 +preprocessor http_inspect: global iis_unicode_map unicode.map 1252 compress_depth 65535 decompress_depth 65535 preprocessor http_inspect_server: server default \ ports { 80 8080 } \ @@ -1611,7 +1610,7 @@ EOD; # ##################### -preprocessor ftp_telnet: global {$snortdir}, \ +preprocessor ftp_telnet: global \ inspection_type stateless preprocessor ftp_telnet_protocol: telnet \ -- cgit v1.2.3