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

    Snort 2.9.2.3 pkg v. 2.5.0 Issues

    Scheduled Pinned Locked Moved pfSense Packages
    331 Posts 38 Posters 230.0k 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.
    • M
      mschiek01
      last edited by

      Had the same issue.  Fixed it at least for now by:
      1. uninstalling snort
      2. from command line find / -name snort
      3. rm -r all files left from snort found from the above command
      4. reinstall snort.

      1 Reply Last reply Reply Quote 0
      • D
        darklogic
        last edited by

        If you uncheck that specific list of rules snort will start, but I am still having my current issue with the preprocessor error. Any idea on how to resolve this?

        1 Reply Last reply Reply Quote 0
        • M
          miles267
          last edited by

          @digdug3:

          @dwood: had the same problem.

          Just removed and reinstalled with the latest binary and all is working again.

          @ermail: is it possible to add the snort build number/date somewhere in the GUI? This way everybody nows exactly where they are.

          This is an excellent suggestion.

          1 Reply Last reply Reply Quote 0
          • M
            mdima
            last edited by

            Hi,
            anyone for the local IPs blocked when "block: both" is selected? Am I the only one having this issue?

            Thanks,
            Michele

            1 Reply Last reply Reply Quote 0
            • C
              Cino
              last edited by

              @mdima:

              Hi,
              anyone for the local IPs blocked when "block: both" is selected? Am I the only one having this issue?

              Thanks,
              Michele

              I'm having the same issue with src being selected. Its blocking my WAN IP. No matter which way its enter in HOME_NET and/or Whitelist.. It getting blocked. I believe ermal is looking into the issue

              1 Reply Last reply Reply Quote 0
              • M
                mdima
                last edited by

                @Cino:

                @mdima:

                Hi,
                anyone for the local IPs blocked when "block: both" is selected? Am I the only one having this issue?

                Thanks,
                Michele

                I'm having the same issue with src being selected. Its blocking my WAN IP. No matter which way its enter in HOME_NET and/or Whitelist.. It getting blocked. I believe ermal is looking into the issue

                Ok, thanks. The important is that this issue is known and shared, because if I am the only one I have to ask myself what I am doing wrong…

                Thanks,
                Michele

                1 Reply Last reply Reply Quote 0
                • C
                  Cino
                  last edited by

                  what version of pfSense btw?

                  1 Reply Last reply Reply Quote 0
                  • M
                    mdima
                    last edited by

                    @Cino:

                    what version of pfSense btw?

                    Mine is: 2.0.1-RELEASE (i386)

                    (I love copy/paste)

                    1 Reply Last reply Reply Quote 0
                    • M
                      mschiek01
                      last edited by

                      @ermal:

                      I pushed a fix to the sensitive data rules.
                      Please test it after 30 minutes.

                      @ermail: is it possible to add the snort build number/date somewhere in the GUI? This way everybody nows exactly where they are.

                      I would prefer not since its not needed and you are just reporting bugs here.

                      Ermal this is still not fixed.

                      If snort is running and downloads a new rule update then tries to apply it, the same will occur. I have the latest version update.  Of course if I uninstall snort and reinstall it will start again and run fine but it is still not fixed as the next rule update will cause the same error.

                      Jul 18 12:19:33 snort[31831]: FATAL ERROR: /usr/local/etc/snort/snort_27588_em1/preproc_rules/sensitive-data.rules(1) Unknown ClassType: sdf
                      Jul 18 12:19:33 snort[31831]: FATAL ERROR: /usr/local/etc/snort/snort_27588_em1/preproc_rules/sensitive-data.rules(1) Unknown ClassType: sdf
                      Jul 18 12:19:33 snort[31831]: Initializing rule chains…
                      Jul 18 12:19:33 snort[31831]: Initializing rule chains…
                      Jul 18 12:19:33 snort[31831]: +++++++++++++++++++++++++++++++++++++++++++++++++++
                      Jul 18 12:19:33 snort[31831]: +++++++++++++++++++++++++++++++++++++++++++++++++++

                      A reinstall and snort will still not start with a different error:bad-traffic.so <-  This rule is not even enabled.

                      Jul 18 12:33:12 snort[2130]: FATAL ERROR: Failed to load /usr/local/lib/snort/dynamicrules/bad-traffic.so: /usr/local/lib/snort/dynamicrules/bad-traffic.so: Undefined symbol "freeRuleData"
                      Jul 18 12:33:12 snort[2130]: FATAL ERROR: Failed to load /usr/local/lib/snort/dynamicrules/bad-traffic.so: /usr/local/lib/snort/dynamicrules/bad-traffic.so: Undefined symbol "freeRuleData"
                      Jul 18 12:33:12 snort[2130]: Loading dynamic detection library /usr/local/lib/snort/dynamicrules/bad-traffic.so…
                      Jul 18 12:33:12 snort[2130]: Loading dynamic detection library /usr/local/lib/snort/dynamicrules/bad-traffic.so…
                      Jul 18 12:33:12 snort[2130]: Loading all dynamic detection libs from /usr/local/lib/snort/dynamicrules…
                      Jul 18 12:33:12 snort[2130]: Loading all dynamic detection libs from /usr/local/lib/snort/dynamicrules…
                      Jul 18 12:33:12 snort[2130]: Finished Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine
                      Jul 18 12:33:12 snort[2130]: Finished Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine
                      Jul 18 12:33:12 snort[2130]: WARNING: No dynamic libraries found in directory /usr/local/lib/snort/dynamicengine.
                      Jul 18 12:33:12 snort[2130]: WARNING: No dynamic libraries found in directory /usr/local/lib/snort/dynamicengine.
                      Jul 18 12:33:12 snort[2130]: Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine…
                      Jul 18 12:33:12 snort[2130]: Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine…

                      1 Reply Last reply Reply Quote 0
                      • K
                        kilthro
                        last edited by

                        @mschiek01:

                        @ermal:

                        I pushed a fix to the sensitive data rules.
                        Please test it after 30 minutes.

                        @ermail: is it possible to add the snort build number/date somewhere in the GUI? This way everybody nows exactly where they are.

                        I would prefer not since its not needed and you are just reporting bugs here.

                        Ermal this is still not fixed.

                        If snort is running and downloads a new rule update then tries to apply it, the same will occur. I have the latest version update.  Of course if I uninstall snort and reinstall it will start again and run fine but it is still not fixed as the next rule update will cause the same error.

                        Jul 18 12:19:33 snort[31831]: FATAL ERROR: /usr/local/etc/snort/snort_27588_em1/preproc_rules/sensitive-data.rules(1) Unknown ClassType: sdf
                        Jul 18 12:19:33 snort[31831]: FATAL ERROR: /usr/local/etc/snort/snort_27588_em1/preproc_rules/sensitive-data.rules(1) Unknown ClassType: sdf
                        Jul 18 12:19:33 snort[31831]: Initializing rule chains…
                        Jul 18 12:19:33 snort[31831]: Initializing rule chains…
                        Jul 18 12:19:33 snort[31831]: +++++++++++++++++++++++++++++++++++++++++++++++++++
                        Jul 18 12:19:33 snort[31831]: +++++++++++++++++++++++++++++++++++++++++++++++++++

                        I am getting the same error. If I let it auto update this happens without fail. If I have the package removed and installed fresh, and manually update the rules I do not get this error. I do not have the sensitive data option enabled in the preprocessor section. (havent enabled it since it was an option on that tab) I generally do not change my rules/categories or options. They have been the same as they have been for a year or so now.
                        I am on the latest pfsense build that I can grab (official) and the latest snort version that has been pushed. FOr now I have disabled the auto update since its more important for me to have snort running at the moment rather than erroring out and not running due to this.

                        1 Reply Last reply Reply Quote 0
                        • _
                          _igor_
                          last edited by

                          same here. I disabled the auto update too.

                          1 Reply Last reply Reply Quote 0
                          • A
                            aaronritter
                            last edited by

                            same problem here:

                            i fixed it by doing this:

                            added the line: config classification: sdf,Sensitive Data was Transmitted Across the Network,2
                            at the end of: /usr/local/etc/snort/classification.config

                            and disabled auto update for now

                            1 Reply Last reply Reply Quote 0
                            • D
                              dwood
                              last edited by

                              I have two installations working fine, (2.0.1) and autoupdates set for every six hours for testing.  So far so good..however the error may return when the rules are actually updated.  I suspect that there are no new rules yet which would have triggered an actual update.

                              EDIT:  Yep, an update (emerging threats) triggered same error.  Removed, erased snort bits, reinstalled and started fine.  Turned off updates for now.  The good news is that snort is behaving and blocking just fine otherwise :-) Thanks Ermal.

                              Btw, the WAN blocking issue has not re-occurred on two AMD64, 2.0.1 installations.  Important to note that snort should be uninstalled, then run "find /* | grep -i snort | xargs rm -rv" , then reinstall.  This ensures you get a new SNORT binary..at least for now, reinstalling won't replace the SNORT binary file.

                              Cheers,
                              Dennis.

                              1 Reply Last reply Reply Quote 0
                              • E
                                eri--
                                last edited by

                                Should behave better if you just reinstall.
                                No new binary needed.

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

                                  After reinstall I got

                                  FATAL ERROR: /usr/local/etc/snort/snort_4672_em1/preproc_rules/preprocessor.rules(202) Unknown ClassType: sdf

                                  After complete reinstallation snort rules download failes. Not even the md5 file gets downloaded.

                                  php: /snort/snort_download_rules.php: Snort rules file downloaded failed…

                                  Maybe snort server is down...but I get message that there is a new set available.

                                  EDIT: 7 hours later and after another reinstallation snorts starts up without error and snort.org rules were downloaded. Everything seems to work so far...

                                  2.1-RELEASE (amd64)
                                  built on Wed Sep 11 18:17:48 EDT 2013
                                  FreeBSD 8.3-RELEASE-p11

                                  1 Reply Last reply Reply Quote 0
                                  • A
                                    aaronritter
                                    last edited by

                                    Can anyone tell why this is missing after auto rule update:

                                    added the line: config classification: sdf,Sensitive Data was Transmitted Across the Network,2
                                    At the end of: /usr/local/etc/snort/classification.config

                                    1 Reply Last reply Reply Quote 0
                                    • M
                                      mschiek01
                                      last edited by

                                      @ermal:

                                      Should behave better if you just reinstall.
                                      No new binary needed.

                                      Ermal this is still not working.  I reinstalled the latest. downloaded the rules clicked start same error as before.

                                      bad-traffic.so is not selected in snort rules.

                                      Jul 18 19:44:28 snort[50712]: FATAL ERROR: Failed to load /usr/local/lib/snort/dynamicrules/bad-traffic.so: /usr/local/lib/snort/dynamicrules/bad-traffic.so: Undefined symbol "freeRuleData"
                                      Jul 18 19:44:28 snort[50712]: FATAL ERROR: Failed to load /usr/local/lib/snort/dynamicrules/bad-traffic.so: /usr/local/lib/snort/dynamicrules/bad-traffic.so: Undefined symbol "freeRuleData"
                                      Jul 18 19:44:28 snort[50712]: Loading dynamic detection library /usr/local/lib/snort/dynamicrules/bad-traffic.so…
                                      Jul 18 19:44:28 snort[50712]: Loading dynamic detection library /usr/local/lib/snort/dynamicrules/bad-traffic.so…
                                      Jul 18 19:44:28 snort[50712]: Loading all dynamic detection libs from /usr/local/lib/snort/dynamicrules…
                                      Jul 18 19:44:28 snort[50712]: Loading all dynamic detection libs from /usr/local/lib/snort/dynamicrules…
                                      Jul 18 19:44:28 snort[50712]: Finished Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine
                                      Jul 18 19:44:28 snort[50712]: Finished Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine
                                      Jul 18 19:44:28 snort[50712]: WARNING: No dynamic libraries found in directory /usr/local/lib/snort/dynamicengine.
                                      Jul 18 19:44:28 snort[50712]: WARNING: No dynamic libraries found in directory /usr/local/lib/snort/dynamicengine.
                                      Jul 18 19:44:28 snort[50712]: Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine…
                                      Jul 18 19:44:28 snort[50712]: Loading all dynamic engine libs from /usr/local/lib/snort/dynamicengine…

                                      1 Reply Last reply Reply Quote 0
                                      • T
                                        tester_02
                                        last edited by

                                        It's so close now…  I'm still on 2.9.1 and waiting for the list of issues to die down and I can see it's almost there.   
                                        Just wanted to thank all Ermal AND all the users doing the testing.  Everyone's help is appreciated by the rest of us.

                                        1 Reply Last reply Reply Quote 0
                                        • C
                                          Cino
                                          last edited by

                                          ^^^ he was the smart one  ::)

                                          all my testing is on my home box, so i dont care if it breaks here and there… now the wife on the other hand is a different story... But she is best user tester... I know within seconds if the internet is down... In this case, snort blocking facebook or pinterest because it didn't like the http packets that were sent over..

                                          1 Reply Last reply Reply Quote 0
                                          • M
                                            mschiek01
                                            last edited by

                                            @Cino:

                                            @ermal:

                                            Should behave better if you just reinstall.
                                            No new binary needed.

                                            I couldn't wait for my box to auto update but wanted to test your changes before i leave for my annual military training. So I ran the the cron job from shell and seems to work.. It downloaded a new set of rules and started snort… I love the fact now we dont have to download a new ruleset went we do a reinstall.. Thank you again!!!

                                            
                                            /root(1): /usr/bin/nice -n20 /usr/local/bin/php -f /usr/local/pkg/snort/snort_check_for_rule_updates.php >> /tmp/snort_update.log
                                            rm: /usr/local/etc/snort/snortrules: No such file or directory
                                            /root(2):
                                            
                                            

                                            P.S I sent a small donation in today for beer  ;D

                                            Are you sure when you ran the rule update there was indeed an update downloaded?

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