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

    Snort best practice to Unblock

    pfSense Packages
    3
    5
    1.0k
    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.
    • J
      john24634
      last edited by

      Hi all,

      I've installed SNORT and I love it, however I find it hard to unblock my traffic.

      What is the best way to unblock my real traffic.

      Try to reproduce to connect to the page and look in the logs? and which logs?

      Or there is a better way?

      John

      S 1 Reply Last reply Reply Quote 0
      • S
        SteveITS Galactic Empire @john24634
        last edited by

        @john24634 start in alert only mode so you can see what is triggering and tune your settings.

        The alerts tab shows history plus blocked IPs have an X. The blocks tab shows only currently blocked IPs.

        Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
        When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
        Upvote 👍 helpful posts!

        1 Reply Last reply Reply Quote 0
        • J
          john24634
          last edited by

          So since I installed Snort I cant access from Internet my site mySite.duckdns.org.

          I did both Force disable on Alert and Clear the Blocked List.

          also if I Click "stop snort" on snort status i still can reach it.

          Does stop nort disables completelly the IDS?

          6606eb64-e90a-4a9d-8f80-e74a46ee4d86-image.png

          S bmeeksB 2 Replies Last reply Reply Quote 0
          • S
            SteveITS Galactic Empire @john24634
            last edited by

            @john24634 I’m assuming you’re using the default legacy blocking mode. if you delete a blocked IP then it’s not blocked anymore. Whether Snort is running is actually irrelevant.

            There is no need to run Snort on both WAN and LAN. Typical use is to run it on LAN.

            Pre-2.7.2/23.09: Only install packages for your version, or risk breaking it. Select your branch in System/Update/Update Settings.
            When upgrading, allow 10-15 minutes to restart, or more depending on packages and device speed.
            Upvote 👍 helpful posts!

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

              @john24634 said in Snort best practice to Unblock:

              Does stop nort disables completelly the IDS?

              No, Snort blocks by telling pfSense to place an IP address in a system-created pf table called snort2c. Once an IP is placed in that table, a hidden firewall rule created by pfSense at startup blocks that IP address until it is removed from the table. Stopping nor restarting Snort alters anything in that table once the IP is placed there initially. Stopping Snort prevents any additional IP addresses from being added to that table, but it does not remove any that are already present.

              There are fours ways to clear an IP from that table and thus "unblock" that address.

              1. Use the Remove Blocks button on the BLOCKS tab of Snort.
              2. Configure the Remove Blocked Hosts Interval setting on the GLOBAL SETTINGS tab of Snort. That will remove blocked hosts at the interval shown providing that host has produced no further traffic during the interval period.
              3. Clear the entire snort2 table contents using the option under DIAGNOSTICS > TABLES.
              4. Reboot the firewall. All pf tables are RAM constructs and are thus automatically cleared out when the firewall reboots.
              1 Reply Last reply Reply Quote 0
              • First post
                Last post
              Copyright 2025 Rubicon Communications LLC (Netgate). All rights reserved.