Wrong time in System logs -> Firewall
-
Cheers,
Another question from your dearest pfsense fan schimmel. Again, I have searched the forums, mailing lists, google, everything.
The time in my firewall log is 2 hours off. Time in all other areas is correct (system log for example). I live in Sweden, my timezone is Europe/Stockholm and I am using the 0.se.pool.ntp.org time server.
Can anyone explain how I can fix the time in the firewall log to be correct? Tons o' thanks.
-
Mine does the same things on some systems, and it's not that the clock is wrong, it's just displaying the time in GMT instead of local time.
I'm not sure why it happens on some systems and not others, if I get a few moments later I'll look into it.
-
Interesting.
Strange thing is, it's not even displaying GMT time in the firewall log for me, then it'd only be 1 hour off. (When time is 20:00 in GMT, it's 21:00 in Sweden, to avoid any confusion). It's showing GMT -1..
Does this have any influence whatsoever on how well the rules/NAT forwards work, by the way?
-
Is your time zone on the pfSense box set to a GMT offset, or to a geographic name like Europe/Stockholm ?
If you're on the offset, try the other setting.
It should have no effect on NAT or anything else, besides perhaps scheduling if you are using that feature. It's usually only a cosmetic issue.
-
It's currently set to Europe/Stockholm, I have tried with the GMT setting as well. Error is the same. I guess there is just simply a bug in how the firewall log displays time, as all other places where time is shown, it's correct.
A sidenote which perhaps might be of interest for debugging: If I run a syslog server or Wireshark, the time in those programs are shown correctly.ย However of course I don't know if any time stamp is sent with the data from pfsense to the syslog server, or if the programs just use the computer clock.