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

    Suricata Rule Set Update Fails

    IDS/IPS
    3
    7
    1.3k
    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.
    • 4
      4o4rh
      last edited by

      Since upgrading to 2.5.0 / 2.5.1 my rule set fails on every auto update, but as soon as i click the update button, it updates no problems.

      bmeeksB 1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks @4o4rh
        last edited by bmeeks

        @gwaitsi said in Suricata Rule Set Update Fails:

        Since upgrading to 2.5.0 / 2.5.1 my rule set fails on every auto update, but as soon as i click the update button, it updates no problems.

        Need a bit more info. Which rule set is failing? Is it Snort Subscriber Rules, Emerging Threats Open, Emerging Threats Pro, or Snort Community GLPv2 rules?

        If Snort Subscriber Rules, which version are you trying to download? The Snort team deprecates older rule versions as newer versions of Snort are released. In that case, you have to change the filename of the Snort rules in Suricata on the GLOBAL SETTINGS tab to make sure you are downloading a currently available rules package.

        Go check out this Sticky Post at the top of this sub-forum: https://forum.netgate.com/topic/110325/using-snort-vrt-rules-with-suricata-and-keeping-them-updated.

        4 1 Reply Last reply Reply Quote 0
        • 4
          4o4rh @bmeeks
          last edited by

          @bmeeks
          I mean from the main menu. i am using snortrules-snapshot-29170.tar.gz

          Rule Set Name/Publisher 
          Emerging Threats Open Rules 	
          Snort Subscriber Rules
          Snort GPLv2 Community Rule
          
          UPDATE YOUR RULE SET
          Last Update: May-28 2021 00:00
          Result: failed
          

          above is the result from the midnight refresh, below is from pressing the update now

          UPDATE YOUR RULE SET
          
          Last Update: May-28 2021 06:53
          Result: success
          
          1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks
            last edited by bmeeks

            I would recommend changing the time of your nightly check to an odd number of minutes past midnight. There have been instances in the past where boxes attemping an update at exactly midnight would collide with the changeout of the rules files on the servers, and that would cause an update failure. Simply changing the check time to a different minute, or even hour, value might help.

            Also note that the Snort GPLv2 Community Rules have been accidentally removed, and then added back, by the Snort team at least twice in recent months. You still did not tell me which exact rule set failed to update. Was it all of them, or just one? You can tell by opening up and looking at the update log. Do this by clicking the button on the bottom of the UPDATES tab. That log file will also tell you why the update failed for a particular rule set.

            4 1 Reply Last reply Reply Quote 0
            • 4
              4o4rh @bmeeks
              last edited by

              @bmeeks I changed the time to 00:18, but also upgraded to 2.60 dev tree. Problem is solved, but not sure if changing the time or upgrading was the reason.

              fireodoF bmeeksB 2 Replies Last reply Reply Quote 0
              • fireodoF
                fireodo @4o4rh
                last edited by

                @gwaitsi said in Suricata Rule Set Update Fails:

                Problem is solved, but not sure if changing the time or upgrading was the reason.

                😀 Old school rule: change only one thing at a time ... 😁
                have a fine weekend,
                fireodo

                Kettop Mi4300YL CPU: i5-4300Y @ 1.60GHz RAM: 8GB Ethernet Ports: 4
                SSD: SanDisk pSSD-S2 16GB (ZFS) WiFi: WLE200NX
                pfsense 2.7.2 CE
                Packages: Apcupsd Cron Iftop Iperf LCDproc Nmap pfBlockerNG RRD_Summary Shellcmd Snort Speedtest System_Patches.

                1 Reply Last reply Reply Quote 0
                • bmeeksB
                  bmeeks @4o4rh
                  last edited by

                  @gwaitsi said in Suricata Rule Set Update Fails:

                  @bmeeks I changed the time to 00:18, but also upgraded to 2.60 dev tree. Problem is solved, but not sure if changing the time or upgrading was the reason.

                  My guess is changing the time was the solution. Currently, the Suricata package is the same on both the 2.5.x and 2.6.x pfSense branches.

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