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

    Snort problem

    Scheduled Pinned Locked Moved pfSense Packages
    104 Posts 21 Posters 48.7k 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.
    • C Offline
      ColdFusion
      last edited by

      What is your Snort performance setting..I find that ac-bnfa works the best..loads faster and uses less Ram…. Ram runs between 17-40% with Snort,Squid,Havp,Squidguard, and nut running. I have 2 gigs ram. I don't have all the rules enabled though.

      1 Reply Last reply Reply Quote 0
      • M Offline
        mentalhemroids
        last edited by

        @ColdFusion:

        What is your Snort performance setting..I find that ac-bnfa works the best..loads faster and uses less Ram…. Ram runs between 17-40% with Snort,Squid,Havp,Squidguard, and nut running. I have 2 gigs ram. I don't have all the rules enabled though.

        I was using ac-banded, but I've used ac-sparsebands before and it seemed to work well.  I'll try ac-bnfa and see how it works.  I only have 512mb or ram right now, but I'm going to try and get more soon.

        Thanks.

        1 Reply Last reply Reply Quote 0
        • C Offline
          ColdFusion
          last edited by

          Yea, 512 Ram is a bit low…ac-bnfa definitely works the best in my opinion..even with 2 gigs of ram..the performance seems better.

          1 Reply Last reply Reply Quote 0
          • M Offline
            mentalhemroids
            last edited by

            @ColdFusion:

            Yea, 512 Ram is a bit low…ac-bnfa definitely works the best in my opinion..even with 2 gigs of ram..the performance seems better.

            This is my new favorite setting in snort; awesome output and low memory usage.  I have every ruleset chosen except empty ones, netbios, and web-misc; wow - only 34% memory usage.  Better than all the other options.  I may have to add netbios and then figure out why web-misc causes things to stop being filtered.

            Thanks for your input ColdFusion.

            1 Reply Last reply Reply Quote 0
            • S Offline
              scatterp
              last edited by

              hi i tryed to update to 1.2.3 to make it work and it seemed to help "a little"
              snort updated for me via the web
              and claims to be running…

              i checked out the services page says its running
              also did ps -aux still says its running

              i was trying to work out why i was getting no alerts from snort looking at snort.conf i added a line at the bottom for local.rules with the plan of adding a rule "alert tcp any any -> any any (msg:"im seeing stuff"; sid:1000111; rev:1)" for any traffic how ever when i tryed to do cd $RULE_PATH the variable is not defined.... that seems to be why snort is not working for me... can any one help me to make it work please...

              1 Reply Last reply Reply Quote 0
              • S Offline
                scatterp
                last edited by

                note i am connected to the irc channel also

                1 Reply Last reply Reply Quote 0
                • S Offline
                  scatterp
                  last edited by

                  i found out snorts conf file configured that variable so after i went to the folder and made my rule
                  now snort will not start…

                  1 Reply Last reply Reply Quote 0
                  • S Offline
                    scatterp
                    last edited by

                    i managed to get snort started and i think this will help a lot of people…

                    go to the shell
                    type snort
                    read error message :)

                    1 Reply Last reply Reply Quote 0
                    • M Offline
                      mentalhemroids
                      last edited by

                      have you tried what we've done so far or knocking down your rules to just icmp or something that you know you would get alerts if you had it enabled?  What is your system specs? (cpu/ram?)

                      1 Reply Last reply Reply Quote 0
                      • C Offline
                        ColdFusion
                        last edited by

                        @goulou:

                        I've got a stange issue with snort as well… after gracefully shutting down my network for a week later I brought PFS back up and updated Snort rules... I now have this message in my log:

                        snort[3004]: FATAL ERROR: Warning: /usr/local/etc/snort/rules/netbios.rules(24) => Unknown keyword ' dce_iface' in rule!

                        I can't locate that reference in any of the netbios.rules and the Snort Service does appear to be running (in services menu) and stays up but no alerts and nothing is being blocked… I would say it's not working correctly if at all.

                        I've tried both reinstalling and uninstalling the package already and no help there… any ideas would be appreciated!

                        You know what's strange about this also is I get the same error on my other PF box with Snort version
                        2.6.21_10, but I don't get it on my other PF box that has version 2.6.21_08. Both have latest rules from 5/11/09.

                        1 Reply Last reply Reply Quote 0
                        • S Offline
                          simby
                          last edited by

                          I think that the problems with the shoulder quantity reserved for snort

                          1 Reply Last reply Reply Quote 0
                          • R Offline
                            r3dn3ck
                            last edited by

                            The issues with the netbios rules are most likely due to sourcefire revamping of the ruleset. They have added some extra preprocessors to handle the recent MS08-067 vulnerabilities.

                            Check this out if you want more information:
                            http://isc.sans.org/diary.html?storyid=6151

                            1 Reply Last reply Reply Quote 0
                            • C Offline
                              ColdFusion
                              last edited by

                              Seems about right. Just updated rules to 5/14 and get the error now on this pf box.

                              1 Reply Last reply Reply Quote 0
                              • G Offline
                                goulou
                                last edited by

                                @ColdFusion:

                                @goulou:

                                I've got a stange issue with snort as well… after gracefully shutting down my network for a week later I brought PFS back up and updated Snort rules... I now have this message in my log:

                                snort[3004]: FATAL ERROR: Warning: /usr/local/etc/snort/rules/netbios.rules(24) => Unknown keyword ' dce_iface' in rule!

                                I can't locate that reference in any of the netbios.rules and the Snort Service does appear to be running (in services menu) and stays up but no alerts and nothing is being blocked… I would say it's not working correctly if at all.

                                I've tried both reinstalling and uninstalling the package already and no help there… any ideas would be appreciated!

                                You know what's strange about this also is I get the same error on my other PF box with Snort version
                                2.6.21_10, but I don't get it on my other PF box that has version 2.6.21_08. Both have latest rules from 5/11/09.

                                Thanks for the feedback on this… Wish I could say that I have another sugesstion but I don't.

                                1 Reply Last reply Reply Quote 0
                                • ? This user is from outside of this forum
                                  Guest
                                  last edited by

                                  Can anyone help me with this error that i got with snort.  I don't know what it means but i have 2GB or ram and only 12% is only beening used.

                                  May 22 01:15:15 snort[14339]: FATAL ERROR: Misconfigured dynamic preprocessor(s)
                                  May 22 01:15:15 snort[14339]: FATAL ERROR: Misconfigured dynamic preprocessor(s)
                                  May 22 01:15:32 SnortStartup[14422]: Ram free BEFORE starting Snort: 112M – Ram free AFTER starting Snort: 112M -- Mode ac-sparsebands -- Snort memory usage:

                                  May 22 01:23:22 snort[1843]: Alert on commands: None
                                  May 22 01:23:22 snort[1843]: /usr/local/etc/snort/snort.conf(276) unknown dynamic preprocessor "dcerpc2"
                                  May 22 01:23:22 snort[1843]: /usr/local/etc/snort/snort.conf(276) unknown dynamic preprocessor "dcerpc2"
                                  May 22 01:23:22 snort[1843]: /usr/local/etc/snort/snort.conf(277) unknown dynamic preprocessor "dcerpc2_server"
                                  May 22 01:23:22 snort[1843]: /usr/local/etc/snort/snort.conf(277) unknown dynamic preprocessor "dcerpc2_server"

                                  Thanks guys.

                                  1 Reply Last reply Reply Quote 0
                                  • C Offline
                                    ColdFusion
                                    last edited by

                                    Do you have netbios rules enabled?? Seems to be an issue if you look at the previous posts…I found this that's why I asked??
                                    www.snort.org/vrt/tools/using-dcerpc2.html

                                    1 Reply Last reply Reply Quote 0
                                    • jimpJ Offline
                                      jimp Rebel Alliance Developer Netgate
                                      last edited by

                                      @1clicc:

                                      Can anyone help me with this error that i got with snort.  I don't know what it means but i have 2GB or ram and only 12% is only beening used.
                                      [snip]

                                      The snort package is being updated, but there is an issue with it that didn't get fixed last night. Hopefully it will get fixed at some point today.

                                      Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                      Need help fast? Netgate Global Support!

                                      Do not Chat/PM for help!

                                      1 Reply Last reply Reply Quote 0
                                      • ? This user is from outside of this forum
                                        Guest
                                        last edited by

                                        @ColdFusion:

                                        Do you have netbios rules enabled?? Seems to be an issue if you look at the previous posts…I found this that's why I asked??
                                        www.snort.org/vrt/tools/using-dcerpc2.html

                                        Nope i don't have netbois rules enable.

                                        @ColdFusion:

                                        Do you have netbios rules enabled?? Seems to be an issue if you look at the previous posts…I found this that's why I asked??
                                        www.snort.org/vrt/tools/using-dcerpc2.html

                                        It couble be because i just install snort last night.  When do you think this will be fix?

                                        1 Reply Last reply Reply Quote 0
                                        • jimpJ Offline
                                          jimp Rebel Alliance Developer Netgate
                                          last edited by

                                          @1clicc:

                                          It couble be because i just install snort last night.  When do you think this will be fix?

                                          Last I heard they were waiting to hear back from the person who submitted the updated package. If it can't be made to work, I imagine it will get rolled back to the last working version. You can watch the package commit logs to see if anything has changed:

                                          https://rcs.pfsense.org/projects/pfsense-packages

                                          Remember: Upvote with the 👍 button for any user/post you find to be helpful, informative, or deserving of recognition!

                                          Need help fast? Netgate Global Support!

                                          Do not Chat/PM for help!

                                          1 Reply Last reply Reply Quote 0
                                          • ? This user is from outside of this forum
                                            Guest
                                            last edited by

                                            Hope this can be resolve very soon.  Please do keep us updated when there's a fix.  Thanks you.

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