aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_migrate_config.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-09-04 16:28:27 -0400
committerbmeeks8 <bmeeks8@bellsouth.net>2014-09-04 16:28:27 -0400
commit46ba3729b4bbf7dd321fc3555677a66c67f4c784 (patch)
treed09cafaffff387f721204bc4cee0103da5f51b43 /config/suricata/suricata_migrate_config.php
parent2c4435fa4db6a4d24d7faf0b4cdbd7cde8d73089 (diff)
downloadpfsense-packages-46ba3729b4bbf7dd321fc3555677a66c67f4c784.tar.gz
pfsense-packages-46ba3729b4bbf7dd321fc3555677a66c67f4c784.tar.bz2
pfsense-packages-46ba3729b4bbf7dd321fc3555677a66c67f4c784.zip
Add new GUI control for setting interface promisc mode on/off.
Diffstat (limited to 'config/suricata/suricata_migrate_config.php')
-rw-r--r--config/suricata/suricata_migrate_config.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/config/suricata/suricata_migrate_config.php b/config/suricata/suricata_migrate_config.php
index abbdcf64..ba13155b 100644
--- a/config/suricata/suricata_migrate_config.php
+++ b/config/suricata/suricata_migrate_config.php
@@ -124,6 +124,14 @@ foreach ($rule as &$r) {
}
/***********************************************************/
+ /* Add new interface promisc mode value and default 'on'. */
+ /***********************************************************/
+ if (empty($pconfig['intf_promisc_mode'])) {
+ $pconfig['intf_promisc_mode'] = "on";
+ $updated_cfg = true;
+ }
+
+ /***********************************************************/
/* Add new HTTP Log Extended Info setting if not present */
/***********************************************************/
if (!isset($pconfig['http_log_extended'])) {