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

    Snort restart/ruleset problems

    Scheduled Pinned Locked Moved pfSense Packages
    5 Posts 4 Posters 3.4k 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
      ai-danno
      last edited by

      First, the usual disclaimer– Thank-you for pfsense!

      I'm having an issue where snort will start up fine on boot-up with a pre-defined set of rulesets (25 rulesets checked, none modified). But when I add/remove a ruleset and 'save' (thus restarting snort) the snort process itself eats around 95% CPU for a few minutes, then usually quits. I then can't get snort running (although I have not attempted a cli start.)

      If I reboot the firewall it starts up okay with the proper changes to the rulesets, but of course I'm looking for a way for it to take ruleset changes without having to reboot the firewall. Any suggestions?

      Details-
      pfsense 1.01
      snort 2.6.0.2 (build 85)
      Dual PIII-650
      1 GB pc133 RAM
      17G and 9G SCSI hd's with adaptec controller.

      Any ideas are appreciated.

      1 Reply Last reply Reply Quote 0
      • A
        ai-danno
        last edited by

        I think I found a major clue… the snort process itself keeps hogging memory as the cpu is pegged, until there is only about 400M (or so) free left on the system. Then this message is kicked to the prompt (I got this by executing snort from the commandline in an ssh session)-

        ACSM-No Memory: acsmAddPattern!

        The only previous logging before that (which is where it might be hanging) is

        Decoding Ethernet on interface fxp0

        I have to stipulate (didn't before) that this is running on a bridged configuration, not routed. I'm wondering if that's why there's the problem...

        1 Reply Last reply Reply Quote 0
        • Y
          yoda715
          last edited by

          What performance setting do you have snort set to?

          1 Reply Last reply Reply Quote 0
          • H
            hoba
            last edited by

            @ai-danno:

            I have to stipulate (didn't before) that this is running on a bridged configuration, not routed. I'm wondering if that's why there's the problem…

            I think you are the first person who tries to run snort on a bridge. I don't know if this is possible at all or if it needs some special configuration behind the scenes (which we don't do as we never thought about running it on a bridge). Can you set it up as routing/nat temporarily just to see if it is a general issue at your box or if it really is related to the bridging? This would help to see where we have to start digging.

            1 Reply Last reply Reply Quote 0
            • S
              sullrich
              last edited by

              Snort + Bridge should be just fine…

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