[Snort-users] rules-db.pl try 2

Chris Green cmg at ...671...
Wed Jan 10 13:27:02 EST 2001

Victor Barahona <victor.barahona at ...700...> writes:
> There is a little problem: all the rules are in one line. I will be bette=
> to add a carriage return.

Your patch adds

     $rules .="$_\n"; 

This makes all the rules with one line of whitespace between them.  I
don't chomp the lines so there is still the newline from the original
cgi output. 

To test what output looks like, set

my $days_ago = 9;

Chris Green <cmg at ...671...>
To err is human, to moo bovine.

More information about the Snort-users mailing list