From 625a2136f876acd1671dd34d79744b7ddffaf616 Mon Sep 17 00:00:00 2001 From: bmeeks8 Date: Mon, 8 Dec 2014 14:44:30 -0500 Subject: Disable IP REPUTATION when platform is NanoBSD. --- config/suricata/suricata_ip_list_mgmt.php | 8 +++++++- config/suricata/suricata_ip_reputation.php | 8 ++++++++ 2 files changed, 15 insertions(+), 1 deletion(-) (limited to 'config') diff --git a/config/suricata/suricata_ip_list_mgmt.php b/config/suricata/suricata_ip_list_mgmt.php index b63d3e77..ee3a7009 100644 --- a/config/suricata/suricata_ip_list_mgmt.php +++ b/config/suricata/suricata_ip_list_mgmt.php @@ -41,7 +41,7 @@ require_once("guiconfig.inc"); require_once("/usr/local/pkg/suricata/suricata.inc"); -global $config; +global $config, $g; if (!is_array($config['installedpackages']['suricata']['rule'])) $config['installedpackages']['suricata']['rule'] = array(); @@ -204,6 +204,11 @@ if ($savemsg)
+ + + + + @@ -357,6 +362,7 @@ if ($savemsg)
+
diff --git a/config/suricata/suricata_ip_reputation.php b/config/suricata/suricata_ip_reputation.php index d1e67dad..3e02d484 100644 --- a/config/suricata/suricata_ip_reputation.php +++ b/config/suricata/suricata_ip_reputation.php @@ -195,6 +195,7 @@ if ($savemsg) + +
+ + + + + @@ -371,11 +377,13 @@ if ($savemsg)
+