Suricata rule sets PHP error
-
Hi all,
I get the following error when attempting to download rules:
PHP ERROR: Type: 1, File: /usr/local/pkg/suricata/suricata_check_for_rule_updates.php, Line: 172, Message: Call to undefined function curl_init() @ 2017-09-05 18:30:00
Any idea what's going on.
I am using the latest development snapshot.
Thanks.
-
Hi all,
I get the following error when attempting to download rules:
PHP ERROR: Type: 1, File: /usr/local/pkg/suricata/suricata_check_for_rule_updates.php, Line: 172, Message: Call to undefined function curl_init() @ 2017-09-05 18:30:00
Any idea what's going on.
I am using the latest development snapshot.
Thanks.
Hmm… that function is a built-in PHP function. It is used by the code to download the rules tarball via HTTP. The fact the function cannot be found is odd. It would potentially indicate a missing INCLUDE file someplace. Your problem looks to be something other than just Suricata.
Bill
-
Should I nuke it and start again?
-
Should I nuke it and start again?
Most likely that is the best solution. I'm basing this on the fact other users are not posting here with the same issue. If this suddenly was broken for everyone on the 2.4 snapshots, I would expect to see a large number of posts about it.
Bill
-
Fair point, and to put it into perspective, I had restored the configuration from an xml file. Maybe that's it.
Thanks for your help