From 1efdf15caddd3a8fa26fd4ea0a9634e04a1a2e8a Mon Sep 17 00:00:00 2001 From: Ermal Date: Thu, 12 Jul 2012 07:53:33 +0000 Subject: Allow to disable cksum checking pf(4) does this already --- config/snort/snort.inc | 6 +++++- config/snort/snort_interfaces_edit.php | 10 +++++++++- 2 files changed, 14 insertions(+), 2 deletions(-) (limited to 'config') 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 = <<
 
Note:
 Default option disables suppression and filtering. - + + Checksum checking + + > +
If ticked checksum checking on snort will be disabled to improve performance. +
Most of this is already done on the firewall/filter level + + Choose the types of logs snort should create. -- cgit v1.2.3