aboutsummaryrefslogtreecommitdiffstats
path: root/config/suricata/suricata_ip_list_mgmt.php
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-12-08 14:44:30 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-12-15 12:15:48 -0500
commit625a2136f876acd1671dd34d79744b7ddffaf616 (patch)
tree5d9487863c476af5fb45b8bcb048fd26837f1f85 /config/suricata/suricata_ip_list_mgmt.php
parent477886371b45c363d02727afce409a03a99d516a (diff)
downloadpfsense-packages-625a2136f876acd1671dd34d79744b7ddffaf616.tar.gz
pfsense-packages-625a2136f876acd1671dd34d79744b7ddffaf616.tar.bz2
pfsense-packages-625a2136f876acd1671dd34d79744b7ddffaf616.zip
Disable IP REPUTATION when platform is NanoBSD.
Diffstat (limited to 'config/suricata/suricata_ip_list_mgmt.php')
-rw-r--r--config/suricata/suricata_ip_list_mgmt.php8
1 files changed, 7 insertions, 1 deletions
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)
<div id="mainarea">
<table id="maintable" class="tabcont" width="100%" border="0" cellpadding="6" cellspacing="0">
<tbody>
+ <?php if ($g['platform'] == "nanobsd") : ?>
+ <tr>
+ <td colspan="2" class="listtopic"><?php echo gettext("IP Reputation is not supported on NanoBSD installs"); ?></td>
+ </tr>
+ <?php else: ?>
<tr>
<td colspan="2" class="listtopic"><?php echo gettext("Emerging Threats IQRisk Settings"); ?></td>
</tr>
@@ -357,6 +362,7 @@ if ($savemsg)
</table>
</td>
</tr>
+ <?php endif; ?>
</tbody>
</table>
</div>