Changeset 489

Show
Ignore:
Timestamp:
05/16/09 11:07:10 (16 months ago)
Author:
mbr
Message:

Bug fix to allow fwsnort to properly translate snort rules that have
"content" fields with embedded escaped semicolons (e.g. "\;"). This
allows fwsnort to translate about 85 additional rules from the Emerging
Threats rule set.

Location:
fwsnort/trunk
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • fwsnort/trunk/ChangeLog

    r485 r489  
    88      the content can be limited. If the content (null terminated string) is 
    99      more than MAX_STRING_LEN chars, fwsnort throws the rule away. 
     10    - Bug fix to allow fwsnort to properly translate snort rules that have 
     11      "content" fields with embedded escaped semicolons (e.g. "\;").  This 
     12      allows fwsnort to translate about 85 additional rules from the Emerging 
     13      Threats rule set. 
    1014    - Updated to the latest complete rule set from Emerging Threats (see 
    1115      http://www.emergingthreats.net/). 
  • fwsnort/trunk/fwsnort

    r486 r489  
    936936    } 
    937937 
    938     while ($rule_options =~ /(\w+):\s*(.*?)\s*;/g) { 
     938    while ($rule_options =~ /(\w+):\s*(.*?[^\x5c]);/g) { 
    939939        my $opt = $1; 
    940940        my $val = $2;