diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2013-09-25 17:33:07 -0400 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2013-09-25 22:36:02 -0400 |
commit | 9c9a302a68985a44089069828abc7bb37e17bac9 (patch) | |
tree | b6fa9b411a88b37ce05189349fea09ed71e1633a /config/snort | |
parent | dc48f0eac1509584b4d21715ae98bf8459c09c01 (diff) | |
download | pfsense-packages-9c9a302a68985a44089069828abc7bb37e17bac9.tar.gz pfsense-packages-9c9a302a68985a44089069828abc7bb37e17bac9.tar.bz2 pfsense-packages-9c9a302a68985a44089069828abc7bb37e17bac9.zip |
Add ability to do reverse DNS lookup on blocked IP
Diffstat (limited to 'config/snort')
-rw-r--r-- | config/snort/snort_blocked.php | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/config/snort/snort_blocked.php b/config/snort/snort_blocked.php index 56edfbc5..a81b03d7 100644 --- a/config/snort/snort_blocked.php +++ b/config/snort/snort_blocked.php @@ -94,7 +94,7 @@ if ($_POST['download']) @unlink("/tmp/{$file_name}"); exec("/bin/rm -fr /tmp/snort_blocked"); } else - $savemsg = "An error occurred while createing archive"; + $savemsg = "An error occurred while creating archive"; } else $savemsg = "No content on snort block list"; } @@ -257,7 +257,9 @@ 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}</td> + <td valign=\"middle\" class=\"listr\">{$tmp_ip} <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> <td align=\"center\" valign=\"middle\" class=\"listr\"><a href='snort_blocked.php?todelete=" . trim(urlencode($blocked_ip)) . "'> <img title=\"" . gettext("Delete host from Blocked Table") . "\" border=\"0\" name='todelete' id='todelete' alt=\"Delete host from Blocked Table\" src=\"../themes/{$g['theme']}/images/icons/icon_x.gif\"></a></td> |