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

    Snort 2.9.6.2 pkg v3.1.2 Update – Release Notes

    Scheduled Pinned Locked Moved pfSense Packages
    21 Posts 5 Posters 3.1k 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.
    • bmeeksB
      bmeeks
      last edited by

      @adam65535:

      I won't have maintenance time until next month (I prefer to be there during an upgrade).  My time is needing locally for other projects right now.

      I plan to reproduce the site config locally for testing.

      Another idea I have is to mirror the package directory…

      http://files.pfsense.org/packages/8/All/

      to a local site, removing the newest snort package, and finding the url in the gui code to change it my private site.

      I am not sure if this will work though as I don't know if there is another file that gets downloaded that lists available packages (which I bet there is).  I am trying to make sense of the pkg-utils.inc code.

      The latest Snort package will not run on 2.0.3 pfSense.  This is because it uses some native pfSense functions that are only available in 2.1 and higher.

      You could stay with the older Snort version, though.  However, installing it will require lots of hacking.  In addition to manually installing the *.tbz packages, you will need to carefully hand-edit the config.xml file to simulate actual pacakge installation.  After that you would also need to copy the older version of the PHP and INC files to the box in their proper directories.  If you have a secondary box still running the older version, you could use it as a source and template to follow.  It's all a lot of work and there are multiple points to make critical errors.  In my view this is as risky as simply doing a remote upgrade to 2.1.x and then installing the current Snort package.

      Bill

      1 Reply Last reply Reply Quote 0
      • G
        gregober
        last edited by

        Hi,

        Since this update, I am facing an error :

        php: /snort/snort_interfaces.php: The command '/usr/local/bin/snort -R 24394 -D -q -l /var/log/snort/snort_em024394 –pid-path /var/run --nolock-pidfile -G 24394 -c /usr/pbi/snort-i386/etc/snort/snort_24394_em0/snort.conf -i em0' returned exit code '1', the output was ''
        snort[43498]: FATAL ERROR: Failed to load /usr/pbi/snort-i386/lib/snort/dynamicrules/file-executable.so: /usr/pbi/snort-i386/lib/snort/dynamicrules/file-executable.so: Shared object has no run-time symbol table

        Following a post I have tried to de-install / re-install the package… But the error is persistent.

        I would like to avoid killing my configuration since It is quite elaborated and complex.

        Do you have any idea how to correct this bug without having to delete all created rule set and configuration ?

        1 Reply Last reply Reply Quote 0
        • S
          Supermule Banned
          last edited by

          Save settings on deinstall in global settings and then deinstall/reinstall package.

          Then it should work

          1 Reply Last reply Reply Quote 0
          • G
            gregober
            last edited by

            Save settings on deinstall in global settings and then deinstall/reinstall package.

            Then it should work

            It has already been done… and It does not work.

            1 Reply Last reply Reply Quote 0
            • S
              Supermule Banned
              last edited by

              Have you rebooted between installations?

              1 Reply Last reply Reply Quote 0
              • G
                gregober
                last edited by

                Have you rebooted between installations?

                No - no reboot… 
                It is a firewall that's in production and rebooting is something I only do upon upgrade.

                Isn't there any way to avoid this reboot ?

                The libraries are linked to the kernel ?

                1 Reply Last reply Reply Quote 0
                • S
                  Supermule Banned
                  last edited by

                  Do you run CARP?

                  If you do then reboot is easy peasy :)

                  1 Reply Last reply Reply Quote 0
                  • G
                    gregober
                    last edited by

                    no - no CARP !

                    :'(

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

                      @gregober:

                      no - no CARP !

                      :'(

                      What installation type is this?  Is it a full install on a conventional hard disk, or is it a NanoBSD install on a CF card?

                      Bill

                      1 Reply Last reply Reply Quote 0
                      • G
                        gregober
                        last edited by

                        What installation type is this?  Is it a full install on a conventional hard disk, or is it a NanoBSD install on a CF card?

                        It is a nanobsd install.

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

                          @gregober:

                          What installation type is this?  Is it a full install on a conventional hard disk, or is it a NanoBSD install on a CF card?

                          It is a nanobsd install.

                          Try increasing the /tmp partition to 80 MB or even 100 MB.  Another user had a similar issue with rule updates and found out his /tmp partition was running out of space.  Once the partition is enlarged, try the remove and reinstall step again.

                          Snort and Suricata really don't play well with NanoBSD because both packages need a lot of disk space and RAM.

                          Bill

                          1 Reply Last reply Reply Quote 0
                          • G
                            gregober
                            last edited by

                            Try increasing the /tmp partition to 80 MB or even 100 MB.  Another user had a similar issue with rule updates and found out his /tmp partition was running out of space.  Once the partition is enlarged, try the remove and reinstall step again.

                            Snort and Suricata really don't play well with NanoBSD because both packages need a lot of disk space and RAM.

                            Ok - I will wait a bis since we are planning to upgrade our pfSense to a newer appliance in the coming weeks.
                            It'll be based on SSD disks… I guess problem should disappear…

                            Thanks very much for your help.

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

                              @gregober:

                              Try increasing the /tmp partition to 80 MB or even 100 MB.  Another user had a similar issue with rule updates and found out his /tmp partition was running out of space.  Once the partition is enlarged, try the remove and reinstall step again.

                              Snort and Suricata really don't play well with NanoBSD because both packages need a lot of disk space and RAM.

                              Ok - I will wait a bis since we are planning to upgrade our pfSense to a newer appliance in the coming weeks.
                              It'll be based on SSD disks… I guess problem should disappear…

                              Thanks very much for your help.

                              You will be much more satisfied with Snort when you get the SSD setup.

                              Bill

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

                                As an update… thanks for the replies guys.  I finished the HA cluster upgrade from 2.0.3 to 2.1.5 this morning (everything went perfectly).  I definitely didn't want to customize the installation by trying to get snort to work on 2.0.3.

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