From a56c2fc9602290b558912e19850221b95609659d Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Sun, 8 Oct 2006 18:53:21 +0000 Subject: * Correct minor variable scope bug * Add associate snort alert to ip option (handy for large snort installations) --- packages/snort/snort.inc | 1 + packages/snort/snort.xml | 6 ++++++ packages/snort/snort_blocked.php | 6 +++++- 3 files changed, 12 insertions(+), 1 deletion(-) (limited to 'packages/snort') diff --git a/packages/snort/snort.inc b/packages/snort/snort.inc index 0f00687a..88fef66a 100644 --- a/packages/snort/snort.inc +++ b/packages/snort/snort.inc @@ -511,6 +511,7 @@ function get_snort_alert($ip) { } function make_clickable($buffer) { + global $config, $g; /* if clickable urls is disabled, simply return buffer back to caller */ $clickablalerteurls = $config['installedpackages']['snort']['config'][0]['oinkmastercode']; if(!$clickablalerteurls) diff --git a/packages/snort/snort.xml b/packages/snort/snort.xml index 5bdf9a06..24b67f55 100644 --- a/packages/snort/snort.xml +++ b/packages/snort/snort.xml @@ -171,6 +171,12 @@ Checking this option will automatically convert URLs in the Snort alerts tab to clickable links. checkbox + + Associate events on Blocked tab + associatealertip + Checking this option will automatically associate the blocked reason from the snort alerts file. + checkbox + Sync Snort configuration to secondary cluster members syncxmlrpc diff --git a/packages/snort/snort_blocked.php b/packages/snort/snort_blocked.php index 778e607c..67bd1f90 100644 --- a/packages/snort/snort_blocked.php +++ b/packages/snort/snort_blocked.php @@ -81,6 +81,7 @@ include("head.inc"); "; echo "\n"; echo "\n\"Delete\""; -- cgit v1.2.3