From 8a90a221025cd200222b1c9e90311c90d0da4fa8 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Thu, 15 May 2014 13:29:50 -0400 Subject: Add DUP capability to create new Suricata instance based on existing one. --- config/suricata/suricata_interfaces.php | 45 ++++++++++++++++++++++++++++----- 1 file changed, 39 insertions(+), 6 deletions(-) (limited to 'config/suricata/suricata_interfaces.php') diff --git a/config/suricata/suricata_interfaces.php b/config/suricata/suricata_interfaces.php index 26d57b71..205a872b 100644 --- a/config/suricata/suricata_interfaces.php +++ b/config/suricata/suricata_interfaces.php @@ -57,6 +57,10 @@ if (!is_array($config['installedpackages']['suricata']['rule'])) $a_nat = &$config['installedpackages']['suricata']['rule']; $id_gen = count($config['installedpackages']['suricata']['rule']); +// Get list of configured firewall interfaces +$ifaces = get_configured_interface_list(); + + if ($_POST['del_x']) { /* delete selected interfaces */ if (is_array($_POST['rule'])) { @@ -207,9 +211,22 @@ include_once("head.inc"); - - + + + + + + + + + + + " + onclick="return intf_del()"> + @@ -342,7 +359,15 @@ include_once("head.inc"); + width="17" height="17" border="0" title=""> + + + + + + @@ -354,8 +379,16 @@ include_once("head.inc");   - - + + + + + + + +