Error reconfiguring IDS: Error (1) / Hyperscan: Error installing ids rules (1)

Started by opnrules, August 03, 2020, 09:31:53 PM

Previous topic - Next topic

Quote from: alexcccp on December 20, 2021, 02:31:50 AM
Exactly the same error, but IDS works.

the error disappears after deletion
rm -rf / usr/local/etc/suricata/

BUT!  >:(
IDS stops working immediately after enabling ClamAV + ICAP.

Where do you apply rm - is there a terminal through the webinterface where you can do this?

Quote from: malac on September 03, 2020, 09:57:33 AM
ok, first i reinstalled the surricata package, but the error still exist.
then i used "clear all" and the error was gone
perhaps it was just good luck....
i am having the same issue with one box, what do you mean with clear all?
Thank you
DEC4240 – OPNsense Owner



No, I have on my Opnsense mini-pc 8 GB of memory. Opnsense + Suricata take up 15% of memory.

Running 22.1 on a Protectli Mini PC. I got the error as well upon enabling IPS. Didn't get the error when running in IDS mode. Rebooting the device seems to have fixed it for me and IPS is running normally.

Quote from: vijvis on January 30, 2022, 11:23:12 AM
Running 22.1 on a Protectli Mini PC. I got the error as well upon enabling IPS. Didn't get the error when running in IDS mode. Rebooting the device seems to have fixed it for me and IPS is running normally.

I have the same exact setup and error.

Had the issue today as well after modifying policies. Added a "%" in the policy description and this broke regeneration of rules. Removing "%" fixed it.

Since sqlite is used in the backend, I assume the policy descriptions are not properly escaped and can break SQL statements if certain characters are used. It may not be the only reason for this error but it is one possible cause.