From 38aba1ae737a50f4d5814bf5df69458d777a760d Mon Sep 17 00:00:00 2001 From: Ermal Date: Tue, 10 Jul 2012 16:56:03 +0000 Subject: Correct config generation for stream5_tcp --- config/snort/snort.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index c9c32e89..003a48a6 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1762,13 +1762,13 @@ EOD; if ($def_max_queued_bytes_info_chk == '') $def_max_queued_bytes_type = ''; else - $def_max_queued_bytes_type = ' max_queued_bytes ' . $snortcfg['max_queued_bytes'] . ','; + $def_max_queued_bytes_type = ', max_queued_bytes ' . $snortcfg['max_queued_bytes'] . ','; $def_max_queued_segs_info_chk = $snortcfg['max_queued_segs']; if ($def_max_queued_segs_info_chk == '') $def_max_queued_segs_type = ''; else - $def_max_queued_segs_type = ' max_queued_segs ' . $snortcfg['max_queued_segs'] . ','; + $def_max_queued_segs_type = ', max_queued_segs ' . $snortcfg['max_queued_segs'] . ','; $snort_preprocessor_decoder_rules = ""; if (file_exists("{$snortdir}/preproc_rules/preprocessor.rules")) @@ -1911,7 +1911,7 @@ preprocessor frag3_engine: policy bsd detect_anomalies preprocessor stream5_global: track_tcp yes, track_udp yes, track_icmp yes -preprocessor stream5_tcp: policy BSD, ports both all, {$def_max_queued_bytes_type}{$def_max_queued_segs_type} +preprocessor stream5_tcp: policy BSD, ports both all{$def_max_queued_bytes_type}{$def_max_queued_segs_type} preprocessor stream5_udp: preprocessor stream5_icmp: -- cgit v1.2.3