aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort/snort.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2012-07-10 16:56:03 +0000
committerErmal <eri@pfsense.org>2012-07-10 16:56:03 +0000
commit38aba1ae737a50f4d5814bf5df69458d777a760d (patch)
tree1f2a13fe15f8cb5402fd512d8b8dcba7c7c8fdf6 /config/snort/snort.inc
parentd242722345d3517cc60b578030e5a6ce819cd600 (diff)
downloadpfsense-packages-38aba1ae737a50f4d5814bf5df69458d777a760d.tar.gz
pfsense-packages-38aba1ae737a50f4d5814bf5df69458d777a760d.tar.bz2
pfsense-packages-38aba1ae737a50f4d5814bf5df69458d777a760d.zip
Correct config generation for stream5_tcp
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r--config/snort/snort.inc6
1 files changed, 3 insertions, 3 deletions
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: