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

    pfsense 2.6.0 sshguard @ web gui bug/crash

    Scheduled Pinned Locked Moved General pfSense Questions
    108 Posts 4 Posters 24.0k 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.
    • VioletDragonV
      VioletDragon @stephenw10
      last edited by

      @stephenw10 hi, what is the patched? Do you have any documentation of it? I have removed all widgets leaving system information and it is behaving itself. It's a strange one but I think it's one of the widgets.

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

        Sure it's this: https://redmine.pfsense.org/issues/12827

        I suspect the problem showing the dashboard is showing up because one of the widgets id trying to access some data that isn't available during a filter reload and it's apparently reloading all the time. That bug might mean that there is no access when that happens but it should not cause it. Unless it's stuck in a race condition for some reason.

        Steve

        VioletDragonV 1 Reply Last reply Reply Quote 0
        • VioletDragonV
          VioletDragon @stephenw10
          last edited by

          @stephenw10 Hi sorry for such a slow reply been a bit busy. However it seems that the problem has gone away by removing the widget then putting them back again however my suspicion is it's either that NTP Widget which is broken or its pfblockerng widget. I have all the other widgets and it seems fine.

          Thanks.

          Jack.

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

            Of the two I would suspect the ntp widget more since it pulls in real-time data whereas the pfBlocker widget shows only counts which I believe is cached. Though I've never really dug into it that deep!
            I assume it was not immediately obvious which it is from enabling them?

            VioletDragonV 1 Reply Last reply Reply Quote 0
            • VioletDragonV
              VioletDragon @stephenw10
              last edited by

              @stephenw10 I have not determined which it is but I have removed both widget and seems to be behaving itself right now, I need NTP to be functional because I use Time Based security for the Yubikey's i have.

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

                Well you obvuoiusly don't actually need the widget for NTP to work but it's nice to check it that way. I have the NTP widget up here, complete with GPS info, and it's never given trouble.

                Try querying ntp at the command line, is there a delay?

                [2.6.0-RELEASE][admin@pfsensemirror.stevew.lan]/root: ntpq -p
                     remote           refid      st t when poll reach   delay   offset  jitter
                ==============================================================================
                 2.pfsense.pool. .POOL.          16 p    -   64    0    0.000   +0.000   0.000
                +time.cloudflare 10.20.14.167     3 u  142  512  377   12.333   -0.083   0.149
                -ns1.do.steersne 114.199.6.79     2 u   72  512  377    7.008   -0.542   0.375
                *103.219.22.112  193.67.79.202    2 u  193  512  377    6.833   +0.117   1.862
                +1fv-x-e0001-e7a 193.150.34.2     3 u  175  512  377    8.463   +0.730   2.103
                

                It tries to use reverse dns on those which can take a second or two.

                Steve

                VioletDragonV 2 Replies Last reply Reply Quote 0
                • VioletDragonV
                  VioletDragon @stephenw10
                  last edited by VioletDragon

                  @stephenw10 Yeah that is why I use the Widget can just log into the home page and it's there but it is no biggie, I can always check it via CLI. I have actually been looking at GPS modules that plug into the Serial on the Firewall but not sure what is recommended and what isn't.

                  Only 3 Widgets that are not on the home page now is Services, pfBlockerng & NTP it is behaving itself as we speak.

                  1 Reply Last reply Reply Quote 0
                  • VioletDragonV
                    VioletDragon @stephenw10
                    last edited by VioletDragon

                    @stephenw10 Hi Stephenw, I have some more information on the problem, I have found exactly what widget is causing the problem, I have a package called NUT for my UPS I just enabled the widget and the Web Gui is no longer working again it has been fine since disabling the widget.

                    This can be marked as solved.

                    Thanks.

                    Jack.

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

                      Ah, nice work.

                      However that shouldn't cause a problem. How is it configured?

                      Steve

                      VioletDragonV 1 Reply Last reply Reply Quote 0
                      • VioletDragonV
                        VioletDragon @stephenw10
                        last edited by

                        @stephenw10 It is configured over USB.

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

                          Anything special there? Any errors it shows?

                          Does the NUT status page ever show problems maybe?

                          Steve

                          VioletDragonV 1 Reply Last reply Reply Quote 0
                          • VioletDragonV
                            VioletDragon @stephenw10
                            last edited by

                            @stephenw10 Actually when going to NUT itself it does not load it causes the gui to crash again.

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

                              Hmm, what pkg version is it?

                              Can you show us the NUT config?

                              VioletDragonV 1 Reply Last reply Reply Quote 0
                              • VioletDragonV
                                VioletDragon @stephenw10
                                last edited by

                                @stephenw10 It is version 2.7.4_10. When I go to Services -> UPS the Gui then acts up and does not load. I cannot access it all.

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

                                  Something bad in the config file?

                                  The NUT package config is stored there. Hard to see how it could be bad though, I assume iot was working previously? In an older version?

                                  Steve

                                  VioletDragonV 2 Replies Last reply Reply Quote 0
                                  • VioletDragonV
                                    VioletDragon @stephenw10
                                    last edited by

                                    @stephenw10 Has been working fine since updating to 2.6.0. I might just uninstall the package and reinstall it and see if that helps.

                                    1 Reply Last reply Reply Quote 1
                                    • VioletDragonV
                                      VioletDragon @stephenw10
                                      last edited by

                                      @stephenw10 Weird the UPS Section is now working.

                                      Screenshot from 2022-05-11 22-56-33.png

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

                                        Hmm, anything logged? Like maybe the USB device reconnected?

                                        VioletDragonV 1 Reply Last reply Reply Quote 0
                                        • VioletDragonV
                                          VioletDragon @stephenw10
                                          last edited by

                                          @stephenw10 Nothing logged in System Logs or dmesg, would there be any other logs to look for when it comes to USB ?

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

                                            No it would be shown there. Weird.

                                            Is that battery date correct?!

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