aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_generate_yaml.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-04-30 21:02:11 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-04-30 21:02:11 -0400
commit7bb99d97c33021c4e4cacb0b8dd739be5933c61f (patch)
tree029965b7f7cec1024adf1ccdb4f9021b53732649 /config/suricata/suricata_generate_yaml.php
parentae28f7ce8af377985864b8df5e24b5c98e387e71 (diff)
downloadpfsense-packages-7bb99d97c33021c4e4cacb0b8dd739be5933c61f.tar.gz
pfsense-packages-7bb99d97c33021c4e4cacb0b8dd739be5933c61f.tar.bz2
pfsense-packages-7bb99d97c33021c4e4cacb0b8dd739be5933c61f.zip
Allow disabling of 'Delayed Detect' feature when required.
Diffstat (limited to 'config/suricata/suricata_generate_yaml.php')
-rw-r--r--config/suricata/suricata_generate_yaml.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php
index e4d2c153..3f9e307b 100644
--- a/config/suricata/suricata_generate_yaml.php
+++ b/config/suricata/suricata_generate_yaml.php
@@ -142,6 +142,11 @@ if (!empty($suricatacfg['inspect_recursion_limit']) || $suricatacfg['inspect_rec
else
$inspection_recursion_limit = "";
+if ($suricatacfg['delayed_detect'] == 'on')
+ $delayed_detect = "yes";
+else
+ $delayed_detect = "no";
+
// Add interface-specific blocking settings
if ($suricatacfg['blockoffenders'] == 'on')
$suri_blockoffenders = "yes";