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

    Suricata v7

    Scheduled Pinned Locked Moved IDS/IPS
    15 Posts 5 Posters 2.1k Views
    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.
    • L
      Lurick LAYER 8
      last edited by

      I've seen some news that Suricata v7 was released recently. I know it's going to take time before it's implemented in pfSense but wasn't sure if there might be a rough timeline already or not.

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

        No specific timeline exists. There are some significant changes to a few defaults in Suricata 7. Those changes will likely require some updates within the PHP GUI on pfSense, so it's not as easy to rollout v7.0 as it is to rollout minor version upgrades to the Suricata binary.

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

          I've posted a Suricata 7.0.0 package update for the DEVELOPMENT Snapshot testing branch. For the moment that branch and its packages are not showing updates because they have been temporarily disabled while the pfSense developer team is completing some internal testing on the new pfSense development branch. Once their initial testing is done, the package repo system will be enabled and the new Suricata 7.0.0 package will show as available for DEVELOPMENT Snapshot users/testers. After a time in the testing branch, the 7.0.0 package will be ported to the RELEASE branches of pfSense CE and Plus.

          Release notes for the new package are in this thread: https://forum.netgate.com/topic/182134/suricata-7-0-0-package-update-for-devel-snapshots-release-notes.

          Y 1 Reply Last reply Reply Quote 4
          • Y
            yorke @bmeeks
            last edited by

            @bmeeks Do Suricata 7.0.0 package have zip files support ?

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

              @yorke said in Suricata v7:

              @bmeeks Do Suricata 7.0.0 package have zip files support ?

              Can you be more specific with your question? What kind of zip files support are you asking about?

              M Y 2 Replies Last reply Reply Quote 0
              • M
                michmoor LAYER 8 Rebel Alliance @bmeeks
                last edited by michmoor

                @bmeeks the pcaps capability being expanded is really exciting. Maybe not in this release but in a future release can a GUI option be made to view pcaps or at least downloaded from the gui

                Firewall: NetGate,Palo Alto-VM,Juniper SRX
                Routing: Juniper, Arista, Cisco
                Switching: Juniper, Arista, Cisco
                Wireless: Unifi, Aruba IAP
                JNCIP,CCNP Enterprise

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

                  Any Suricata users out there running this new 7.0.0 version in the pfSense snapshots branch? If so, I am interested in any feedback you have. Contemplating when the package is ready to rollout for the RELEASE branches of pfSense CE and pfSense Plus.

                  1 Reply Last reply Reply Quote 1
                  • Y
                    yorke @bmeeks
                    last edited by

                    @bmeeks zip file support under Extra rules.

                    The following input errors were detected:
                    .zip is not valid rules or tar.gz rules archive.

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

                      @yorke said in Suricata v7:

                      @bmeeks zip file support under Extra rules.

                      The following input errors were detected:
                      .zip is not valid rules or tar.gz rules archive.

                      I did not write the portion of the GUI package that supports Extra rules. That code was submitted by another developer. I see that he included specific checks for the rules archive format and basically allows only two forms: (1) cleartext files with the *.rules extension, and (2) *.tar.gz which are gzipped tar files.

                      Likely this is because the tar utility is used to unpack the tar.gz files. On every site I've seen that offers Suricata rules packages, they offered both ZIP format for Windows and tar.gz format (or the plain *.rules format) for FreeBSD/Linux systems.

                      1 Reply Last reply Reply Quote 1
                      • P
                        pfsjap
                        last edited by

                        Is Suricata v7 available in 23.09 RC?

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

                          @pfsjap said in Suricata v7:

                          Is Suricata v7 available in 23.09 RC?

                          Yes, the package in that branch should be 7.0.0_2 if I recall correctly.

                          The most recent release from upstream is 7.0.2, but I don't believe that update has landed in FreeBSD ports just yet (but it's been a week or so since I last checked).

                          I do not have a pfSense Plus test environment, so I can't verify at the moment what Suricata package version is showing. But I do know that I submitted the pull request for the last update and that was for 7.0.0_2.

                          L P 2 Replies Last reply Reply Quote 0
                          • L
                            Lurick LAYER 8 @bmeeks
                            last edited by

                            @bmeeks Can confirm that 7.0.0_2 shows up for my plus box

                            1 Reply Last reply Reply Quote 0
                            • P
                              pfsjap @bmeeks
                              last edited by

                              @bmeeks Thanks, had it still been Suricata v6, I would have waited for 23.09 release, but now I'll try the RC.

                              Suricata version in 23.05.1 has a problem with Run Mode. If I set Run Mode to Workers for both of the LAN interfaces configured, then one of them keeps logging "SURICATA STREAM pkt seen on wrong thread". Setting only one interface to Workers is ok.

                              bmeeksB 1 Reply Last reply Reply Quote 0
                              • P
                                pfsjap
                                last edited by

                                Seems like v7 has the same problem and one interface has to be set to Run Mode = AutoFP.

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

                                  @pfsjap said in Suricata v7:

                                  @bmeeks Thanks, had it still been Suricata v6, I would have waited for 23.09 release, but now I'll try the RC.

                                  Suricata version in 23.05.1 has a problem with Run Mode. If I set Run Mode to Workers for both of the LAN interfaces configured, then one of them keeps logging "SURICATA STREAM pkt seen on wrong thread". Setting only one interface to Workers is ok.

                                  This is a recurring issue that has existed through several Suricata major versions. The upstream team has worked on several fixes, but so far as I can tell they have not been able to fully eliminate the issue. I think one reason for that is that the root cause has not firmly identified. There are theories, but apparently none are 100% correct as all the fixes based on the theories have not proven 100% effective.

                                  Workers Mode aligns the threading engine differently than AutoFP Mode. In Workers a given thread handles a packet from acquisition through decoding/detection and then to verdict (alert, drop, pass, etc.). In AutoFP Mode packet acquisition and processing are separated. There is a queue of threads for acquiring packets and handing them off to a separate queue of threads for the decode/detect/verdict processing.

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