From c3ec976f25203faa460527e114f1ce1ffe3d0397 Mon Sep 17 00:00:00 2001 From: Ermal Date: Sat, 14 Jul 2012 22:00:08 +0000 Subject: Reorder some fields in alert to make better bview --- config/snort/snort.inc | 3 +++ config/snort/snort_alerts.php | 20 +++++++------------- 2 files changed, 10 insertions(+), 13 deletions(-) (limited to 'config') diff --git a/config/snort/snort.inc b/config/snort/snort.inc index fb000ced..84f6f1e1 100644 --- a/config/snort/snort.inc +++ b/config/snort/snort.inc @@ -1287,6 +1287,9 @@ EOD; $file = basename($file); $snort_misc_include_rules .= "include \$PREPROC_RULE_PATH/{$file}\n"; } + } else { + $snort_misc_include_rules .= "config autogenerate_preprocessor_decoder_rules\n"; + log_error("Seems preprocessor/decoder rules are missing, enabling autogeneration of them"); } /* generate rule sections to load */ diff --git a/config/snort/snort_alerts.php b/config/snort/snort_alerts.php index ea96d673..90cc28d3 100644 --- a/config/snort/snort_alerts.php +++ b/config/snort/snort_alerts.php @@ -253,17 +253,14 @@ if ($pconfig['arefresh'] == 'on') - + - - - - + - + - - - - - + + - + \n"; $counter++; -- cgit v1.2.3
#Date PRI PROTODESCRIPTION CLASS SRCSPORT DSTDPORT SIDDateDESCRIPTION
{$counter}{$alert_date} {$alert_priority} {$alert_proto}{$alert_descr} {$alert_class}{$alert_ip_src}{$alert_src_p}{$alert_ip_dst}{$alert_dst_p}{$alert_ip_src}:{$alert_src_p}{$alert_ip_dst}:{$alert_dst_p} {$alert_sid_str} @@ -319,7 +313,7 @@ if (file_exists("/var/log/snort/snort_{$if_real}{$snort_uuid}/alert")) { width='10' height='10' border='0' title='click to add to suppress list'> {$alert_date}{$alert_descr}