aboutsummaryrefslogtreecommitdiffstats
path: root/config/snort-dev/snort_blocked.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/snort-dev/snort_blocked.php')
-rw-r--r--config/snort-dev/snort_blocked.php6
1 files changed, 4 insertions, 2 deletions
diff --git a/config/snort-dev/snort_blocked.php b/config/snort-dev/snort_blocked.php
index ac751d2a..f4de6e0d 100644
--- a/config/snort-dev/snort_blocked.php
+++ b/config/snort-dev/snort_blocked.php
@@ -82,8 +82,9 @@ include("head.inc");
<?php
$associatealertip = $config['installedpackages']['snort']['config'][0]['associatealertip'];
- $ips = `/sbin/pfctl -t snort2c -T show`;
- $ips_array = split("\n", $ips);
+ // $ips = `/sbin/pfctl -t snort2c -T show`;
+ $ips_array = file('/usr/rob/test.log');
+ // $ips_array = split("\n", $ips);
$counter = 0;
foreach($ips_array as $ip) {
if(!$ip)
@@ -124,6 +125,7 @@ include("head.inc");
<?php
+/* tell the user what settings they have */
$blockedtab_msg_chk = $config['installedpackages']['snort']['config'][0]['rm_blocked'];
if ($blockedtab_msg_chk == "1h_b") {
$blocked_msg = "hour";