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

    Firewall log time and system time not aligned

    Scheduled Pinned Locked Moved Firewalling
    4 Posts 2 Posters 12.1k 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.
    • F
      fluca1978
      last edited by

      HI all,
      I've noted that my firewall logs are reporting a time that is two hours back with regard to the system time, so I can see in the general log the correct date and time, and a wrong one in the firewall logs. I've connected thru the shell and the date command displays the right time. This could be an issue since I've scheduled rules, is there a way to adjust the time without rebooting (I've not tried yet)?

      1 Reply Last reply Reply Quote 0
      • jimpJ
        jimp Rebel Alliance Developer Netgate
        last edited by

        The internal time may be correct, but it might be reported in the wrong time zone. Have you rebooted since changing the time zone? It may be necessary.

        Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

        Need help fast? Netgate Global Support!

        Do not Chat/PM for help!

        1 Reply Last reply Reply Quote 0
        • F
          fluca1978
          last edited by

          I confirm that after a reboot the time is aligned with the system date/time even in the filter log entries. Before the reboot, only the firewall log entries had a wrong time!

          1 Reply Last reply Reply Quote 0
          • jimpJ
            jimp Rebel Alliance Developer Netgate
            last edited by

            I've seen that happen after a time zone change. It's because after a TZ change a process has to restart to pick up the new TZ, and you can't exactly stop and restart the firewall process easily. :)

            Remember: Upvote with the ๐Ÿ‘ button for any user/post you find to be helpful, informative, or deserving of recognition!

            Need help fast? Netgate Global Support!

            Do not Chat/PM for help!

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