aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_generate_yaml.php
diff options
context:
space:
mode:
authorRenato Botelho <garga@pfSense.org>2014-03-19 10:28:24 -0300
committerRenato Botelho <garga@pfSense.org>2014-03-19 10:28:24 -0300
commitd50c07fd00ac203332e57a45532a265759922993 (patch)
treead427c579bcd5e731369f709d0307f9028fbc2d2 /config/suricata/suricata_generate_yaml.php
parenta84a84bf31ed33c7e132b704186a56b77cc9148a (diff)
parent172270f302e2cdb0e0b6f7581152bc32befa99bc (diff)
downloadpfsense-packages-d50c07fd00ac203332e57a45532a265759922993.tar.gz
pfsense-packages-d50c07fd00ac203332e57a45532a265759922993.tar.bz2
pfsense-packages-d50c07fd00ac203332e57a45532a265759922993.zip
Merge pull request #622 from bmeeks8/master
Suricata 1.4.6 pkg. v0.2-BETA -- more bug fixes, no version bump
Diffstat (limited to 'config/suricata/suricata_generate_yaml.php')
-rw-r--r--config/suricata/suricata_generate_yaml.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/suricata/suricata_generate_yaml.php b/config/suricata/suricata_generate_yaml.php
index 0614adf8..115f0045 100644
--- a/config/suricata/suricata_generate_yaml.php
+++ b/config/suricata/suricata_generate_yaml.php
@@ -226,6 +226,16 @@ if ($suricatacfg['barnyard_enable'] == 'on')
else
$barnyard2_enabled = "no";
+if (isset($suricatacfg['unified2_log_limit']))
+ $unified2_log_limit = "{$suricatacfg['unified2_log_limit']}mb";
+else
+ $unified2_log_limit = "32mb";
+
+if (isset($suricatacfg['barnyard_sensor_id']))
+ $unified2_sensor_id = $suricatacfg['barnyard_sensor_id'];
+else
+ $unified2_sensor_id = "0";
+
// Add interface-specific IP defrag settings
if (!empty($suricatacfg['frag_memcap']))
$frag_memcap = $suricatacfg['frag_memcap'];