shirkdog / pulledpork

Pulled Pork for Snort and Suricata rule management (from Google code)
GNU General Public License v2.0
417 stars 134 forks source link

Use of uninitialized value $arch in regexp compilation at /usr/local/bin/pulledpork.pl line 348. #306

Closed PaulGuijt closed 3 years ago

PaulGuijt commented 6 years ago

PP running on my RasPi /w Debian Stretch reports me on a daily basis:

...
Prepping rules from emerging.rules.tar.gz for work....
Use of uninitialized value $arch in regexp compilation at /usr/local/bin/pulledpork.pl line 348.
...
    Done!
Prepping rules from snortrules-snapshot-29111.tar.gz for work....
Use of uninitialized value $arch in regexp compilation at /usr/local/bin/pulledpork.pl line 348.
...

How can I fix the problem causing "Use of uninitialized value $arch in regexp compilation at /usr/local/bin/pulledpork.pl line 348."?

0xabdi commented 5 years ago

I am having the same issue.

shirkdog commented 3 years ago

At this time, there are no precompiled signatures for the ARM platform, so you can set the "distro" setting in your pulledpork.conf to ARM which will just do nothing, or use the "-T" command line argument to just process text rules.