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

    Snort 4.1.4_1 can not create pass list

    Scheduled Pinned Locked Moved IDS/IPS
    6 Posts 2 Posters 721 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.
    • G
      GOOFY
      last edited by GOOFY

      Hello all. Sorry my bad english.

      Have problem in snort 4.1.4_1.
      When set russian language pack on pfsense i can not create or update pass-list for snort!
      If set ENG language pack on pfsense i can create and update pass-listm for snort.

      pfsense version 2.5.2-RELEASE (amd64)
      сделан Fri Jul 02 15:33:00 EDT 2021
      FreeBSD 12.2-STABLE

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

        This may be difficult for me to fix, because I do not speak Russian. However, perhaps there is a Netgate developer who does. If so, perhaps he can help. I will clue him into this thread.

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

          I sent the Netgate developer a PM to check on this thread.

          G 1 Reply Last reply Reply Quote 1
          • G
            GOOFY @bmeeks
            last edited by

            @bmeeks Big thanks for you!

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

              The Netgate developer found the issue with saving a new Pass List. The error was mine in the code. The current code is testing a form control for having a specific text value (which is in English). That is not the proper way to code that. I will get an update posted for the Netgate team to review and merge to production.

              I created a Redmine Bug Report to track the issue here: https://redmine.pfsense.org/issues/12263.

              But in the meantime, you can apply this easy edit to fix the issue on your system.

              Either open a shell prompt on the firewall, or use the DIAGNOSTIC > EDIT FILE choice from the pfSense menu.

              1. Open the file /usr/local/www/snort/snort_passlist_edit.php.
              2. Locate the following line in the file (it will be line number 96 in the file):
              if ($_POST['save'] == "Save") {
              
              1. Change that line to read as follows and save it:
              if ($_POST['save']) {
              

              Be very careful that you end up with exactly the same text as above. That should allow you to save Pass Lists.

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

                The fix for this issue has now been posted to both the DEVELOPMENT and RELEASE branches of pfSense CE and pfSense+. The GUI package version is 4.1.4_3.

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