yebenjun / pulledpork

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

Error - Use of uninitialized value within %hcategory #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. I am running PP -k to write rules to seperate files as I find this useful 
for disabling groups of rules.
2. Running with the above option, I seem to get the above error but it may just 
be cosmetic.

Excerpt from -v output:

Writing rules to unique destination files....
        Writing rules to /etc/snort/rules/
Use of uninitialized value within %hcategory in numeric eq (==) at 
/etc/snort/pulledpork.pl line 1055.
        Creating /etc/snort/rules/dos_so.rules
Use of uninitialized value within %hcategory in numeric eq (==) at 
/etc/snort/pulledpork.pl line 1055.

What is the expected output? What do you see instead?

The error may be purely cosmetic, but appears even when not running with -v

What version of the product are you using? On what operating system?

0.6.1, Linux FC-14.

Please provide any additional information below.

Original issue reported on code.google.com by pe...@invisiblemenders.com on 22 Nov 2011 at 9:59

GoogleCodeExporter commented 8 years ago
Peter, sorry for the delayed response... can you describe your setup more for 
me, i.e. what rulesets you are running (VRT, ET, Shared Objects etc).. I am 
unable to reproduce this error on my system.

Original comment by Cummin...@gmail.com on 9 Jan 2012 at 11:36

GoogleCodeExporter commented 8 years ago
Hi - I'm pulling down VRT and ET, and I'm also generating SO rules.
I've switched to writing to a single file for now. I was doing:
pulledpork.pl -k -c pulledpork.conf -h pork.$$
but now switched to 
pulledpork.pl -E -c pulledpork.conf -h pork.$$
I mostly switched to single file because of the other issue reported here - 
changelog not produced when running with -k.

Original comment by pe...@invisiblemenders.com on 13 Jan 2012 at 11:54

GoogleCodeExporter commented 8 years ago
I verified this with the keep option specified

Original comment by Cummin...@gmail.com on 23 Jan 2012 at 4:17

GoogleCodeExporter commented 8 years ago
Issue 104 has been merged into this issue.

Original comment by Cummin...@gmail.com on 23 Jan 2012 at 4:26

GoogleCodeExporter commented 8 years ago

Original comment by Cummin...@gmail.com on 23 Jan 2012 at 4:26