pfsense 2.6.0 sshguard @ web gui bug/crash
-
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? -
@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.
-
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
-
@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.
-
@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.
-
Ah, nice work.
However that shouldn't cause a problem. How is it configured?
Steve
-
@stephenw10 It is configured over USB.
-
Anything special there? Any errors it shows?
Does the NUT status page ever show problems maybe?
Steve
-
@stephenw10 Actually when going to NUT itself it does not load it causes the gui to crash again.
-
Hmm, what pkg version is it?
Can you show us the NUT config?
-
@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.
-
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
-
@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.
-
@stephenw10 Weird the UPS Section is now working.
-
Hmm, anything logged? Like maybe the USB device reconnected?
-
@stephenw10 Nothing logged in System Logs or dmesg, would there be any other logs to look for when it comes to USB ?
-
No it would be shown there. Weird.
Is that battery date correct?!
-
@stephenw10 No, battery is from 2021 but I have noticed the mgmt card I have in the UPS shows the same information, I use NUT on pfSense due to email notifications as I can't get Notifications working on the mgmt card.
-
Hmm, well I guess I would wait until it stops working and then try to query it at the command line where it might show more errors or give obviously bad output.
-
@stephenw10 Yeah, it would help if the logs was to report anything but there are no errors anywhere.