[Snort-devel] Snart with snort 1.8

Serge Droz serge.droz at ...452...
Thu Jul 12 03:59:07 EDT 2001


SnortSnarf nees a little patch to work woth the new alert files:

--- include/SnortSnarf.orig/HTMLOutput     Thu Jul 12 09:56:02 2001
+++ include/SnortSnarf/HTMLOutput.pm       Thu Jul 12 09:56:17 2001
@@ -1132,6 +1132,7 @@
 # given a snort message, generate HTML for each snort rule with the
given msg.
 sub get_rules_html_for_sig {
     my ($self,$sig)= @_;
+    $sig =~ s/\[[\d:]+\] //;
     return map("<SMALL>".$_->text()."</SMALL> (from
<EM>".$_->location()."</EM>)",$self->{'rulessource'}->get_rules_for_msg($sig));
 }




Enjoy
Serge

-- 
Serge Droz
Paul Scherrer Institut                mailto:serge.droz at ...452...
CH-5232 Villigen PSI                   Phone: ++41 56 310 3637
                                         Fax: ++41 56 310 3649




More information about the Snort-devel mailing list