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

    crash after each rule update

    IDS/IPS
    1
    3
    257
    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.
    • M
      manilx
      last edited by

      Hi

      since updating to the new Suricata 6.0.10_1 I get a crash EACH time the rules update:

      
      PHP errors
      
          PHP ERROR: Type: 1, File: /usr/local/pkg/suricata/suricata_check_for_rule_updates.php, Line: 820, Message: Uncaught ValueError: gettext(): Argument #1 ($message) is too long in /usr/local/pkg/suricata/suricata_check_for_rule_updates.php:820
          Stack trace:
          #0 /usr/local/pkg/suricata/suricata_check_for_rule_updates.php(820): gettext('- Snort rules: ...')
          #1 {main}
          thrown @ 2023-02-22 00:37:20
          PHP ERROR: Type: 1, File: /usr/local/pkg/suricata/suricata_check_for_rule_updates.php, Line: 820, Message: Uncaught ValueError: gettext(): Argument #1 ($message) is too long in /usr/local/pkg/suricata/suricata_check_for_rule_updates.php:820
          Stack trace:
          #0 /usr/local/pkg/suricata/suricata_check_for_rule_updates.php(820): gettext('- Snort rules: ...')
          #1 {main}
          thrown @ 2023-02-22 08:18:35
      
      
      Any way to fix this?
      

      Netgate 8200max

      M 1 Reply Last reply Reply Quote 0
      • M
        manilx @manilx
        last edited by

        @manilx If I disable snort rules and only use Emerging Threats then the crash is avoided.
        Disabled them for the time being.

        Netgate 8200max

        M 1 Reply Last reply Reply Quote 0
        • M
          manilx @manilx
          last edited by

          @manilx Fixed by switching to snort 2.9 ruleset. Was using 3.x one by error.

          Netgate 8200max

          1 Reply Last reply Reply Quote 0
          • First post
            Last post
          Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.