yookd / pulledpork

Automatically exported from code.google.com/p/pulledpork
GNU General Public License v2.0
0 stars 0 forks source link

Incorrect search/replace for preprocessor rules #78

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. attempt to disable preprocessor.rules by adding preproccessor.preproc to the 
ignore list
2. rule pulledpork.pl

What is the expected output? What do you see instead?
You would expect to not see the preprocessor rules in the snort.rules file, 
however they are placed in there.

What version of the product are you using? On what operating system?
pulledpork 0.6.1, centos 5

Please provide any additional information below.
Update the following line in pulledpork.pl to fix this issue.

From:
$preprocfile =~ s/preproc/rules/;

To:
$preprocfile =~ s/\.preproc/\.rules/;

Original issue reported on code.google.com by eoin.mil...@gmail.com on 20 May 2011 at 3:00

GoogleCodeExporter commented 9 years ago
Fixed, will be in 0.6.2 and committed today.

Original comment by Cummin...@gmail.com on 7 Jun 2011 at 3:20