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

    Snort crash log

    Scheduled Pinned Locked Moved Development
    7 Posts 2 Posters 860 Views 2 Watching
    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.
    • kiokomanK Offline
      kiokoman LAYER 8
      last edited by

      clean install

      Crash report begins.  Anonymous machine information:
      
      amd64
      12.0-RELEASE-p7
      FreeBSD 12.0-RELEASE-p7 11b34259783(RELENG_2_5) pfSense
      
      Crash report details:
      
      PHP Errors:
      [21-Jul-2019 10:52:49 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 10:56:28 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_interface_logs.php on line 47
      [21-Jul-2019 11:08:01 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 11:08:05 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 11:08:06 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 11:08:10 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 11:08:10 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 11:08:11 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      [21-Jul-2019 11:08:49 Europe/Rome] PHP Warning:  Use of undefined constant SNORT_PBI_BINDIR - assumed 'SNORT_PBI_BINDIR' (this will throw an Error in a future version of PHP) in /usr/local/www/snort/snort_rules.php on line 30
      
      
      
      No FreeBSD crash data found.
      

      ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
      Please do not use chat/PM to ask for help
      we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
      Don't forget to Upvote with the 👍 button for any post you find to be helpful.

      1 Reply Last reply Reply Quote 0
      • kiokomanK Offline
        kiokoman LAYER 8
        last edited by

        for @bmeeks

        this instead is under suricata

        [22-Jul-2019 14:10:19 Europe/Rome] PHP Warning:  gettext() expects exactly 1 parameter, 2 given in /usr/local/www/suricata/suricata_global.php on line 150
        [22-Jul-2019 14:10:19 Europe/Rome] PHP Warning:  syslog() expects exactly 2 parameters, 1 given in /usr/local/www/suricata/suricata_global.php on line 150
        

        ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
        Please do not use chat/PM to ask for help
        we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
        Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

          Thanks for the reports, but what version of the Snort package is this? I am looking at the source code for the Snort-4.0_3 package and these errors are not present in the files.

          EDIT: Oops, further checking indicates perhaps all of my prior changes did not get merged into the pfSense repository. Will check further and get it fixed.

          1 Reply Last reply Reply Quote 0
          • kiokomanK Offline
            kiokoman LAYER 8
            last edited by

            pfSense is 2.5.0

            for the first post was -> snort 4.0_3

            the second post is for suricata -> suricata 4.1.4_4

            ̿' ̿'\̵͇̿̿\з=(◕_◕)=ε/̵͇̿̿/'̿'̿ ̿
            Please do not use chat/PM to ask for help
            we must focus on silencing this @guest character. we must make up lies and alter the copyrights !
            Don't forget to Upvote with the 👍 button for any post you find to be helpful.

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

              @kiokoman said in Snort crash log:

              pfSense is 2.5.0

              for the first post was -> snort 4.0_3

              the second post is for suricata -> suricata 4.1.4_4

              Thanks. I see now what happened. When I bundled my last update, I forgot to include some of my changed files from each package. My local copies are changed, but the posted ones in the pfSense repository are not. I will get a new Pull Request created and posted for the pfSense team to merge. Might be later tomorrow before the new packages are posted.

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

                The fix for the Snort package has been posted for review and merge. The pull request is here: https://github.com/pfsense/FreeBSD-ports/pull/656. Since this is the more serious bug, I went ahead and posted it.

                The Suricata bug is not as serious, so I am going to hold off on posting that fix while I work on a couple of other Suricata bug reports. I will then roll all the Suricata fixes into a single update.

                1 Reply Last reply Reply Quote 2
                • bmeeksB Offline
                  bmeeks
                  last edited by

                  These errors should all be fixed in the latest Snort-4.0_4 package for pfSense-2.5 snapshots.

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