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

    Leap second

    Scheduled Pinned Locked Moved General pfSense Questions
    10 Posts 6 Posters 2.7k 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.
    • S
      serialdie
      last edited by

      Is pfsense affected by the leap second change this year?
      TIA.

      1 Reply Last reply Reply Quote 0
      • GertjanG
        Gertjan
        last edited by

        A pfSense running in most parts in Europe has to deal with a time shift of one hour twice a year.
        Works pretty well for the last 6 years.

        So, 1 second …...  ;)

        edit : My pfSense being used at work 'WOL' the coffee machine in the morning...... I'm gona cross my fingers.

        No "help me" PM's please. Use the forum, the community will thank you.
        Edit : and where are the logs ??

        1 Reply Last reply Reply Quote 0
        • D
          doktornotor Banned
          last edited by

          If you run NTPd on pfSense and care about the leap second on June 30, 2015 at 23:59:60 UTC

          1/ Get the leap seconds file from one of the following locations:

          • ftp://time.nist.gov/pub/leap-seconds.3629404800
          • ftp://tycho.usno.navy.mil/pub/ntp/leap-seconds.3629577600
          • http://www.ietf.org/timezones/data/leap-seconds.list

          2/ Upload (or paste) the entire file via the GUI under Services - NTP - Leap seconds and Save.

          3/ Done.  ;)

          
          # grep leapfile /var/etc/ntpd.conf
          leapfile /var/db/leap-seconds
          
          
          
          Jun 22 22:45:02	ntpd[69902]: 0.0.0.0 c01e 0e TAI 36 leap 201507010000 expires 201512010000
          Jun 22 22:45:02	ntpd[69902]: leapsecond file ('/var/db/leap-seconds'): loaded, expire=2015-12-01T00:00Z last=2015-07-01T00:00Z ofs=36
          Jun 22 22:45:02	ntpd[69902]: leapsecond file ('/var/db/leap-seconds'): good hash signature
          
          

          Using the NIST Leap Second File

          P.S. Don't forget to post your crash experience/logs if you survive till July 1. :D

          1 Reply Last reply Reply Quote 0
          • C
            cmb
            last edited by

            We've already been through 3 leap seconds in our 11 years, and I've never heard of any issues. Never heard of any issues with stock FreeBSD either.

            There isn't a need to do anything, things will continue to just work. Only stratum 1 time servers, and applications that are extremely time-sensitive (none of which you're running on your firewall) generally need anything there.

            1 Reply Last reply Reply Quote 0
            • D
              doktornotor Banned
              last edited by

              Well last time it caused loads of issues with Java junk and MySQL on Linux. When you don't know how buggy your software is, you might be better off lying to NTP clients and pretending there's no leap second at all – like Google. :D

              1 Reply Last reply Reply Quote 0
              • N
                NOYB
                last edited by

                With 61 Seconds in a Minute, Markets Brace for Trouble

                1 Reply Last reply Reply Quote 0
                • N
                  NOYB
                  last edited by

                  Everybody survive the extra second okay?

                  1 Reply Last reply Reply Quote 0
                  • H
                    Harvy66
                    last edited by

                    @Gertjan:

                    A pfSense running in most parts in Europe has to deal with a time shift of one hour twice a year.
                    Works pretty well for the last 6 years.

                    So, 1 second …...  ;)

                    edit : My pfSense being used at work 'WOL' the coffee machine in the morning...... I'm gona cross my fingers.

                    Local time is based on an offset of UTC. The yearly DST time change doesn't really affect time. The leapsecond affects UTC.

                    1 Reply Last reply Reply Quote 0
                    • D
                      doktornotor Banned
                      last edited by

                      @NOYB:

                      Everybody survive the extra second okay?

                      Apparently…

                      
                      Jun 30 02:25:34	ntpd[97093]: kernel reports leap second insertion scheduled
                      Jul 1 02:26:42	ntpd[97093]: kernel reports leap second has occurred
                      
                      
                      1 Reply Last reply Reply Quote 0
                      • H
                        Harvy66
                        last edited by

                        NTPD RRD shows an average of 0.14ms offset and a maximum 0.4ms offset over the past 24 hours.

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