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

    Suricata - Block on drop not being respected for certain rules

    Scheduled Pinned Locked Moved IDS/IPS
    4 Posts 2 Posters 437 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.
    • ?
      A Former User
      last edited by

      This post is deleted!
      1 Reply Last reply Reply Quote 0
      • bmeeksB
        bmeeks
        last edited by

        First thing to check for is a duplicate zombie Suricata process on the interface. Run this command from a shell prompt on the firewall:

        ps -ax | grep suricata
        

        You should see only a single Suricata process running for each configured interface. If you see more than one, then you need to kill the zombie process. Easiest way to do that is stop Suricata in the GUI and then issue this command to kill any remaining Suricata processes:

        kill -9 <pid>
        

        where <pid> should be the process ID shown for any Suricata processes still running (repeating the previous command to show running Suricata processes).

        My first suspicion is perhaps you have a duplicate process running and that one is doing the blocking. If that is not the case, then just disable those two rules if you do not want the blocks. I can't imagine any reason within the Suricata code that those two rules would be treated any differently than other rules. The same code is used to process all of them.

        ? 1 Reply Last reply Reply Quote 0
        • ?
          A Former User @bmeeks
          last edited by

          This post is deleted!
          bmeeksB 1 Reply Last reply Reply Quote 0
          • bmeeksB
            bmeeks @A Former User
            last edited by

            @karel said in Suricata - Block on drop not being respected for certain rules:

            I was able to reproduce this every time. I've just suppressed those alerts for now.

            Thanks for the feedback. I will see about reproducing this in my test virtual machines and look for a cause. Might be something within the binary itself. It will be a few days before I have time for the testing, though.

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