Netgate Discussion Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Search
    • Register
    • Login
    Introducing Netgate Nexus: Multi-Instance Management at Your Fingertips.

    webgui freezes after upgrading to 2.9

    Scheduled Pinned Locked Moved Problems Installing or Upgrading pfSense Software
    29 Posts 5 Posters 883 Views 5 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.
    • bmeeksB Offline
      bmeeks
      last edited by

      It's possibly that bug, but the default EVENTS rules distributed with Suricata are all set to ALERT for the action and not DROP. Since the OP states they are using Inline IPS Mode, only rules specifically set to DROP would be causing blocking.

      No rules from any ruleset source are distributed with DROP as the action. They are all distributed with ALERT as the default action. It takes specific action by the admin to change rule actions to DROP. That is done by either using the SID MGMT tab feature, manually changing the action on the RULES or ALERTS tabs, or selecting an IPS Policy (but this is only available for Snort rules when using those in Suricata).

      tinfoilmattT 1 Reply Last reply Reply Quote 2
      • tinfoilmattT Offline
        tinfoilmatt LAYER 8 @bmeeks
        last edited by

        Not to mention #16808 is hardly a bug.

        block out log on { ix0 } inet from any to any
        block out log on { ix0 } inet6 from any to any

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

          @tinfoilmatt said in webgui freezes after upgrading to 2.9:

          Not to mention #16808 is hardly a bug.

          Yeah, the issue described in that bug report is a side effect of an attempt to be sure any new EVENTS rules distributed with periodic Suricata source code updates get added to pfSense. In hindsight I probably could have put some additional intelligence in that section of the post-installation script that added only rules that were missing from BOTH the "enabled" and "manually disabled" rules. The various EVENTS rules are distributed by default in the Suricata source code and get reinstalled with each update or installation of the binary package.

          But in almost all cases those EVENTS rules should never be enabled for blocking (or dropping). They are designed to be "information only" type rules and don't necessarily indicate malicious traffic.

          1 Reply Last reply Reply Quote 0
          • J Offline
            jc1976
            last edited by

            i've been using suricata for years. i know it's not set it and forget it, but if i ever had an issue in the past, it was always blocking outside webpages, never the pfsense webgui.

            i uninstalled it, shut everything down for a few minutes, restarted the firewall and let it all idle for a while without any issue. then i ran the suricata installer.. all seemed fine for several minutes, and then it froze again.

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

              @jc1976 said in webgui freezes after upgrading to 2.9:

              i've been using suricata for years. i know it's not set it and forget it, but if i ever had an issue in the past, it was always blocking outside webpages, never the pfsense webgui.

              i uninstalled it, shut everything down for a few minutes, restarted the firewall and let it all idle for a while without any issue. then i ran the suricata installer.. all seemed fine for several minutes, and then it froze again.

              I've told you the first step yet you have not done that yet. You need to examine the alert log accessible via the ALERTS tab and see which rule is actually causing the dropped traffic. Post back a screenshot of the ALERTS tab.

              When you say "Internet connectivity is unaffected", do you mean that from the same machine you can browse the web even when access attempts to the pfSense web GUI fail?

              Reinstalling and rebooting are not the path to the solution. You need to see what is actually happening. Is it a blocking (false positive) rule or not?

              J 1 Reply Last reply Reply Quote 0
              • J Offline
                jc1976 @bmeeks
                last edited by

                @bmeeks

                I updated to the latest stable version of suricata whenever it came out and had no issues with it. this probably only occurred after updating pfsnese to 2.9.

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

                  @jc1976 said in webgui freezes after upgrading to 2.9:

                  @bmeeks

                  I updated to the latest stable version of suricata whenever it came out and had no issues with it. this probably only occurred after updating pfsnese to 2.9.

                  Don't get distracted by the past and any updates. First determine if a rule is triggering and causing the problem. If zero rules are triggering dropped traffic from your PC, then we can move on to perhaps another possible cause. But until you can absolutely rule out a triggering DROP rule as the source of the lockout, then any other steps are wasted effort.

                  J 1 Reply Last reply Reply Quote 1
                  • J Offline
                    jc1976 @bmeeks
                    last edited by

                    @bmeeks

                    how will i be able to tell if a rule is causing the problem? if the webgui locks up and i lose access to it, what should i do and look for at that point?

                    J bmeeksB 2 Replies Last reply Reply Quote 0
                    • J Offline
                      jc1976 @jc1976
                      last edited by

                      also, isn't there a way to add an ip address or url that is allowed to bypass all scanning?

                      i tried and iptv service a little while back and suricata was blocking it because the feeds were all unencrypted. i remember being able to put a url in somewhere, basically whitelist the provider so that suricata would ignore anything coming from that address..

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

                        @jc1976 said in webgui freezes after upgrading to 2.9:

                        @bmeeks

                        how will i be able to tell if a rule is causing the problem? if the webgui locks up and i lose access to it, what should i do and look for at that point?

                        Login to the firewall with an SSH session. Stop or kill the Suricata processes. This command executed from a shell prompt should stop all running Suricata processes:

                        /usr/local/etc/rc.d/suricata.sh stop
                        

                        If that does not work, then use the kill -9 method you mentioned in an earlier post. That should let you log into the GUI at that point according to your previous post.

                        Once in the GUI, then go to the Suricata ALERTS tab and then examine all the entries shown on that tab. Those will be the rules that triggered. Unless you wiped the log, it should have a good bit of history in it going back several days or weeks. The default sort is "most recent alerts first". Find any alerts containing the IP address of your PC. See if the alert time shown for the logged event matches the time interval when you were locked out of the GUI. Any match, and you have found the culprit.

                        You can post a screen capture of the ALERTS tab along with your PC's IP address (I assume it's a private RFC1918 address). From the capture I may be able to identify the faulting rule if that's the cause. Just go to SERVICES ... SURICATA in the pfSense menu and then click the ALERTS tab to see all the triggered rule alerts. You can choose an interface from the drop-down selector on that tab.

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

                          @jc1976 said in webgui freezes after upgrading to 2.9:

                          also, isn't there a way to add an ip address or url that is allowed to bypass all scanning?

                          i tried and iptv service a little while back and suricata was blocking it because the feeds were all unencrypted. i remember being able to put a url in somewhere, basically whitelist the provider so that suricata would ignore anything coming from that address..

                          When using Inline IPS Mode, you can create a custom PASS rule with a specific IP address. PASS rules are evaluated first and any match bypasses all other rule comparisons. Not sure what you mean by URL, though. PASS rules only work with IP addresses.

                          J 1 Reply Last reply Reply Quote 0
                          • J Offline
                            jc1976 @bmeeks
                            last edited by

                            @bmeeks i would run top from my ssh session and suircata would be at the top of the list, monopolizing 1 core at 97%..

                            dunno if that means anything to you..

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

                              @jc1976 said in webgui freezes after upgrading to 2.9:

                              @bmeeks i would run top from my ssh session and suircata would be at the top of the list, monopolizing 1 core at 97%..

                              dunno if that means anything to you..

                              Yeah, that is unusual. But that should also impact Internet connectivity at the same time. You said in your first post that "I don't lose internet connectivity". That would not mesh with Suricata locking up the firewall and becoming unresponsive.

                              Perhaps I am misunderstanding your description of the issue. If Suricata is crashing or locking up, I would expect that to potentially freeze up all traffic flowing over the interface including "internet connectivity". The fact you said "I don't lose internet connectivity" made me think other devices could continue to work just fine through the firewall. Is that not the case?

                              For example, while you are locked out of the pfSense GUI, can you still browse to other sites out on the Internet without any problems from the same PC?

                              J 1 Reply Last reply Reply Quote 0
                              • J Offline
                                jc1976 @bmeeks
                                last edited by

                                @bmeeks

                                the firewall is still working, just the webgui is freezing. pfblocker is still going,, i can run a speedtest and i still get what i'm allotted from my cable provider..

                                just the webgui.. i can hit the home button and it takes me to my default homepage.. if i try to go back to the pfsense webgui, nothing happens and eventually it just gives me a timeout. but the firewall itself is still going..

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

                                  @jc1976 said in webgui freezes after upgrading to 2.9:

                                  @bmeeks

                                  the firewall is still working, just the webgui is freezing. pfblocker is still going,, i can run a speedtest and i still get what i'm allotted from my cable provider..

                                  just the webgui.. i can hit the home button and it takes me to my default homepage.. if i try to go back to the pfsense webgui, nothing happens and eventually it just gives me a timeout. but the firewall itself is still going..

                                  Is there anything in the pfSense system log during this interval?

                                  I'm struggling to tie the loss of the GUI to Suricata. Maybe a wild guess would be something in the new FreeBSD kernel code associated with 2.9.0 CE that is at odds with your particular NIC card. That's only a wild supposition, though.

                                  Try changing Suricata to non-blocking mode by going to the Suricata INTERFACE SETTINGS tab for your LAN and uncheck the BLOCK OFFENDERS checkbox to disable blocking. Save the change and then start Suricata and see what happens. At that point Suricata will be in alerts-only mode and won't block. That will also stop it from trying to initialize the netmap driver. There is an outside chance (part of my wild guess above) that trying to bring up the netmap driver is causing a problem. But again, I really would expect that sort of issue to kill traffic through the LAN interface.

                                  Other than your client PC getting blocked or having its traffic dropped by Suricata, the only other thing that could be happening is the nginx web server of the GUI getting locked up or killed by Suricata running. But I have never had that issue reported before.

                                  Are all clients locked out of the pfSense GUI when this event occurs? For example, can you login to the GUI from another PC or perhaps your phone (on WiFi that is the same network as your LAN)?

                                  1 Reply Last reply Reply Quote 1
                                  • J Offline
                                    jc1976
                                    last edited by

                                    well whaddya know....??

                                    cleared out all my alert logs, etc.. and tried logging in, which i couldn't.. killed suricata and logged in, and yup!, it was a rule.. disabled it and all is working as it should.

                                    Thanks bmeeks!!

                                    tinfoilmattT bmeeksB 2 Replies Last reply Reply Quote 1
                                    • tinfoilmattT Offline
                                      tinfoilmatt LAYER 8 @jc1976
                                      last edited by

                                      Bill was very, very patient with you. Don't forget to thumbs-up helpful posts!

                                      block out log on { ix0 } inet from any to any
                                      block out log on { ix0 } inet6 from any to any

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

                                        @jc1976 said in webgui freezes after upgrading to 2.9:

                                        well whaddya know....??

                                        cleared out all my alert logs, etc.. and tried logging in, which i couldn't.. killed suricata and logged in, and yup!, it was a rule.. disabled it and all is working as it should.

                                        Thanks bmeeks!!

                                        Glad you got it figured out. A triggering DROP rule was my first suspicion. As I mentioned in an earlier reply in this thread, anytime something suddenly stops working when you are running one of the IDS/IPS packages you should immediately consult the ALERTS tab and carefully examine all the alerts listed to see if it is a triggered rule. It almost always will be that. Rules change with each update, and what was fine can suddenly begin triggering on a false positive due to the update.

                                        To help someone else that might experience the same issue, how about posting the rule that was triggering? Give the rule category name and the SID of the rule. That might help someone else in the future who comes across this thread via a search.

                                        1 Reply Last reply Reply Quote 0
                                        • stephenw10S Offline
                                          stephenw10 Netgate Administrator
                                          last edited by

                                          Out of interest what rule were you hitting?

                                          H 1 Reply Last reply Reply Quote 0
                                          • H Offline
                                            HaOsLsE @stephenw10
                                            last edited by HaOsLsE

                                            @stephenw10 Wow. I haven't updated to 2.9 yet and was reading the forums for any issues before doing so. Saw this and read the whole topic for knowledge. No more replies? lol would have been nice to know the exact culprit on what caused his issue. Maybe he'll come back and share the knowledge for others that may encounter this. What a cliff hanger ending for now.

                                            I am Hole.

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post
                                            Copyright 2026 Rubicon Communications LLC (Netgate). All rights reserved.
                                            Privacy Policy · Cookie Policy