From 224193151d68021081506321661278c56f5baa14 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Tue, 26 Sep 2006 21:25:19 +0000 Subject: Add new tab, snort blocked which lists all ips in the snort2c anchor and allows for the items to be deleted. --- packages/snort/snort.xml | 9 +++ packages/snort/snort_blocked.php | 108 ++++++++++++++++++++++++++++++++ packages/snort/snort_download_rules.php | 1 + packages/snort/snort_rulesets.php | 1 + 4 files changed, 119 insertions(+) create mode 100644 packages/snort/snort_blocked.php (limited to 'packages/snort') diff --git a/packages/snort/snort.xml b/packages/snort/snort.xml index 33090913..2bd23a39 100644 --- a/packages/snort/snort.xml +++ b/packages/snort/snort.xml @@ -29,6 +29,11 @@ 077 http://www.pfsense.com/packages/config/snort/snort_rulesets.php + + /usr/local/www/ + 077 + http://www.pfsense.com/packages/config/snort/snort_blocked.php + snort snort.sh @@ -49,6 +54,10 @@ Snort Rulesets /snort_rulesets.php + + Snort Blocked + /snort_blocked.php + diff --git a/packages/snort/snort_blocked.php b/packages/snort/snort_blocked.php new file mode 100644 index 00000000..28a7c202 --- /dev/null +++ b/packages/snort/snort_blocked.php @@ -0,0 +1,108 @@ + + + + + +

+ +
+ + + + + + + + + + +
+ +
+
+ + + + +
+ + + + + +"; + echo ""; + echo ""; + echo ""; + } + +?> +
RemoveIP
'"; + echo "\"Delete\"{$ip}
+
+
+
+ +
+ + + + + diff --git a/packages/snort/snort_download_rules.php b/packages/snort/snort_download_rules.php index d112cafe..554e1d6e 100644 --- a/packages/snort/snort_download_rules.php +++ b/packages/snort/snort_download_rules.php @@ -61,6 +61,7 @@ include("head.inc"); $tab_array[0] = array(gettext("Snort Settings"), false, "/pkg_edit.php?xml=snort.xml&id=0"); $tab_array[1] = array(gettext("Snort Rules Update"), true, "/snort_download_rules.php"); $tab_array[2] = array(gettext("Snort Rulesets"), false, "/snort_rulesets.php"); + $tab_array[2] = array(gettext("Snort Blocked"), false, "/snort_blocked.php"); display_top_tabs($tab_array); ?> diff --git a/packages/snort/snort_rulesets.php b/packages/snort/snort_rulesets.php index 46bc083f..4a35f7a0 100644 --- a/packages/snort/snort_rulesets.php +++ b/packages/snort/snort_rulesets.php @@ -71,6 +71,7 @@ include("head.inc"); $tab_array[0] = array(gettext("Snort Settings"), false, "/pkg_edit.php?xml=snort.xml&id=0"); $tab_array[1] = array(gettext("Snort Rules Update"), false, "/snort_download_rules.php"); $tab_array[2] = array(gettext("Snort Rulesets"), true, "/snort_rulesets.php"); + $tab_array[2] = array(gettext("Snort Blocked"), false, "/snort_blocked.php"); display_top_tabs($tab_array); ?> -- cgit v1.2.3