diff options
Diffstat (limited to 'config/snort/snort.inc')
-rw-r--r-- | config/snort/snort.inc | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/config/snort/snort.inc b/config/snort/snort.inc index cf05be67..d9dec153 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1292,6 +1292,10 @@ EOD; } } + $cksumcheck = "all"; + if ($snortcfg['cksumcheck'] == 'on') + $cksumcheck = "none"; + /* build snort configuration file */ $snort_conf_text = <<<EOD @@ -1313,7 +1317,7 @@ var PREPROC_RULE_PATH {$snortdir}/preproc_rules {$portvardef} # Configure the snort decoder # -config checksum_mode: all +config checksum_mode: {$cksumcheck} config disable_decode_alerts config disable_tcpopt_experimental_alerts config disable_tcpopt_obsolete_alerts |