-
Notifications
You must be signed in to change notification settings - Fork 3.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
snort3 - official rules fail with ERROR: <<rulesfile>>:<<line>> unknown rule keyword: pcre. #25239
Comments
One line triggering error? |
Random one:
|
Not sure why you're seeing this but try pulling #25267 (and see comments in the PR) |
@graysky2 |
After reading a little bit, I ran sed -i "s/pcre/pcre2/g" over all rule files and snort starts and seems to work. At least I'm getting alert. However, that is not in the documentation. I think, it would be good to have this in the documentation or better, have snort-rules do this automatically and transparently to the user. |
The sed line is only temporary as upstream reworks the PR and implements, see: snort3/snort3#326 (comment) |
Issue template (remove lines from top till here)
Maintainer: @flyn-org
Environment: ARM64, Bananapi BPI-R4, OpenWrt SNAPSHOT (r27913-a2aabc9a7a)
Description:
When trying to start snort3, thousands of rules fail to load with
ERROR: <rulesfile>:<line no.> unknown rule keyword: pcre.
snort 3, 3.1.84.0-r4
Reproduce:
More info:
Logs not included because it's 12114 errors (463 warnings).
The text was updated successfully, but these errors were encountered: