diff options
author | robiscool <robrob2626@yahoo.com> | 2009-10-02 17:41:30 -0700 |
---|---|---|
committer | robiscool <robrob2626@yahoo.com> | 2009-10-02 17:42:43 -0700 |
commit | 4985408990aa1d954be067d8d3368158df276b68 (patch) | |
tree | d23942f590421bf9ff4cf5ab4785de4f0151dc0f | |
parent | 0cfb5f4ea6499350b927f476769ac7ec75d795f5 (diff) | |
download | pfsense-packages-4985408990aa1d954be067d8d3368158df276b68.tar.gz pfsense-packages-4985408990aa1d954be067d8d3368158df276b68.tar.bz2 pfsense-packages-4985408990aa1d954be067d8d3368158df276b68.zip |
snort-stable, add blocked messaged times for users
-rw-r--r-- | config/snort/snort_blocked.php | 33 |
1 files changed, 32 insertions, 1 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index 42048eff..ff158853 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -129,7 +129,38 @@ if(!$pgtitle_output) <p> -This page lists hosts that have been blocked by Snort. Hosts are automatically deleted every 60 minutes. +<?php + +$blockedtab_msg_chk = $config['installedpackages']['snort']['config'][0]['rm_blocked']; + if ($blockedtab_msg_chk == "1h_b") { + $blocked_msg = "hour"; + } + if ($blockedtab_msg_chk == "3h_b") { + $blocked_msg = "3 hours"; + } + if ($blockedtab_msg_chk == "6h_b") { + $blocked_msg = "6 hours"; + } + if ($blockedtab_msg_chk == "12h_b") { + $blocked_msg = "12 hours"; + } + if ($blockedtab_msg_chk == "1d_b") { + $blocked_msg = "day"; + } + if ($blockedtab_msg_chk == "4d_b") { + $blocked_msg = "4 days"; + } + if ($blockedtab_msg_chk == "7d_b") { + $blocked_msg = "7 days"; + } + if ($blockedtab_msg_chk == "28d_b") { + $blocked_msg = "28 days"; + } + +echo "This page lists hosts that have been blocked by Snort. Hosts are automatically deleted every $blocked_msg."; + +?> + <?php include("fend.inc"); ?> </body> |