amir162 / pulledpork

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

$sidmod(modify) called before foreach (@sidact) #146

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. config PP to enable and modify sids for inline block
2. run PP
3. the modify rules are not running at the appropriate time so the regex modify 
aren't applied

What is the expected output? What do you see instead?
Behave as described in README documentation

Please note that pulledpork runs rule modification (enable, drop, disable, 
modify) in that order by default..

What version of the product are you using? On what operating system?
pulledpork-0.7.0 on Gentoo Linux

Please provide any additional information below.
The $sidmod(modify) routine is called before foreach (@sidact), attached patch 
moves it after the enable/drop/disable routine.

Thanks ;)

Original issue reported on code.google.com by Epinephr...@gmail.com on 9 Nov 2013 at 2:43

Attachments: