Navigation

    Netgate Discussion Forum
    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search

    Suricata rule sets PHP error

    IDS/IPS
    2
    5
    344
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • G
      GasmanC last edited by

      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.

      1 Reply Last reply Reply Quote 0
      • bmeeks
        bmeeks last edited by

        @GasmanC:

        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

        1 Reply Last reply Reply Quote 0
        • G
          GasmanC last edited by

          Should I nuke it and start again?

          1 Reply Last reply Reply Quote 0
          • bmeeks
            bmeeks last edited by

            @GasmanC:

            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

            1 Reply Last reply Reply Quote 0
            • G
              GasmanC last edited by

              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

              1 Reply Last reply Reply Quote 0
              • First post
                Last post