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

    Snort interface GUI not displaying correctly

    Scheduled Pinned Locked Moved pfSense Packages
    19 Posts 12 Posters 7.4k 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.
    • JSmoradaJ
      JSmorada
      last edited by

      Same problem here, but interesting that it initially worked, then all of a sudden I started seeing the same screen as the first post in the thread. Uninstalled it until the GUI issue is resolved…take your time. A sense of urgency often results in mistakes.

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

        Should be ok after 30 minutes.
        Just reinstall.

        1 Reply Last reply Reply Quote 0
        • H
          Hugovsky
          last edited by

          I can confirm it's working again. Thanks! ;)

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

            is it just me?

            When I go to Rules tab I got this:

            Fatal error: Cannot redeclare csrf_startup() (previously declared in /usr/local/www/guiconfig.inc:39) in /usr/local/www/guiconfig.inc on line 38 
            

            pfSense 2.0-BETA4 (i386) built on Sun Nov 21 02:37:38 EST 2010
            Snort 2.8.6.1 pkg v. 1.35

            1 Reply Last reply Reply Quote 0
            • E
              ekimseekem
              last edited by

              @try:

              is it just me?

              When I go to Rules tab I got this:

              Fatal error: Cannot redeclare csrf_startup() (previously declared in /usr/local/www/guiconfig.inc:39) in /usr/local/www/guiconfig.inc on line 38 
              

              pfSense 2.0-BETA4 (i386) built on Sun Nov 21 02:37:38 EST 2010
              Snort 2.8.6.1 pkg v. 1.35

              Yea i got that too

              Also noticed under specifying the internal and external net (first option being 'default' under both) i see an error that reads 'warning: invalid argument supplied foreach() in /usr/local/www/snort/snort_interfaces_edit.php on line 611'

              Could be related, we need to set which interfaces have have what network assigned?

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

                I too get this error

                Fatal error: Cannot redeclare csrf_startup() (previously declared in /usr/local/www/guiconfig.inc:39) in /usr/local/www/guiconfig.inc on line 38

                Snort 2.8.6.1 pkg v. 1.35 This is shown in Packages

                but this is shown in the snort services page Services: Snort 2.8.6.1 pkg v. 1.34

                Hope this helps

                1 Reply Last reply Reply Quote 0
                • S
                  skullripper
                  last edited by

                  @davehardy20:

                  I too get this error

                  Fatal error: Cannot redeclare csrf_startup() (previously declared in /usr/local/www/guiconfig.inc:39) in /usr/local/www/guiconfig.inc on line 38

                  Snort 2.8.6.1 pkg v. 1.35 This is shown in Packages

                  but this is shown in the snort services page Services: Snort 2.8.6.1 pkg v. 1.34

                  Hope this helps

                  Hello, i'm having the same problem.

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

                    Hi,
                    replace in the file /usr/local/www/guiconfig ( line38)
                    if(!$nocsrf) {
                    function csrf_startup() {
                    csrf_conf('rewrite-js', '/csrf/csrf-magic.js');
                    }

                    by

                    f(!$nocsrf) {
                    if (!function_exists('csrf_startup')){
                    function csrf_startup() {
                    csrf_conf('rewrite-js', '/csrf/csrf-magic.js');
                    }}

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      Some tell us all if snort is fix in the lastest snapshot .Because i am not updating till it is fixed .Does not take long to reinstall just a pain !!!!

                      1 Reply Last reply Reply Quote 0
                      • ?
                        A Former User
                        last edited by

                        @cdx304:

                        Some tell us all if snort is fix in the lastest snapshot .Because i am not updating till it is fixed .Does not take long to reinstall just a pain !!!!

                        Why is it so hard to get an answer to question in this forum .

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