aboutsummaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorbmeeks8 <bmeeks8@bellsouth.net>2014-01-26 11:46:04 -0500
committerbmeeks8 <bmeeks8@bellsouth.net>2014-01-26 11:46:04 -0500
commit9284e7398d6f6f3a1a3f12748f52fcc51331768c (patch)
tree917c2c4e702337dd5787f3eda6e22ef9c2d15724 /config
parent3e99c60333f4a1cd5f5c57f1ecc36e857d653485 (diff)
downloadpfsense-packages-9284e7398d6f6f3a1a3f12748f52fcc51331768c.tar.gz
pfsense-packages-9284e7398d6f6f3a1a3f12748f52fcc51331768c.tar.bz2
pfsense-packages-9284e7398d6f6f3a1a3f12748f52fcc51331768c.zip
Mimic all DNS lookup features of F/W log with Blocked IPs
Diffstat (limited to 'config')
-rw-r--r--config/snort/snort_blocked.php7
1 files changed, 6 insertions, 1 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php
index 8d106a90..f190413c 100644
--- a/config/snort/snort_blocked.php
+++ b/config/snort/snort_blocked.php
@@ -127,6 +127,7 @@ include_once("head.inc");
?>
<body link="#000000" vlink="#000000" alink="#000000">
+<script src="/javascript/filter_log.js" type="text/javascript"></script>
<?php
@@ -264,7 +265,11 @@ if ($pconfig['brefresh'] == 'on')
/* use one echo to do the magic*/
echo "<tr>
<td align=\"center\" valign=\"middle\" class=\"listr\">{$counter}</td>
- <td valign=\"middle\" class=\"listr\">{$tmp_ip}&nbsp;<a href='/diag_dns.php?host={$blocked_ip}'>
+ <td align=\"center\" valign=\"middle\" class=\"listr\">{$tmp_ip}<br/>
+ <a onclick=\"javascript:getURL('/diag_dns.php?host={$blocked_ip}&dialog_output=true', outputrule);\">
+ <img src='../themes/{$g['theme']}/images/icons/icon_log_d.gif' width='11' height='11' border='0'
+ title='" . gettext("Resolve host via reverse DNS lookup") . "' style=\"cursor: pointer;\"></a>
+ <a href='/diag_dns.php?host={$blocked_ip}'>
<img src='../themes/{$g['theme']}/images/icons/icon_log.gif' width='11' height='11' border='0'
title='" . gettext("Resolve host via reverse DNS lookup") . "'></a></td>
<td valign=\"middle\" class=\"listr\">{$blocked_desc}</td>