|
KB2012.717 This notice applies to hardware NTP or PTPv2 timeclocks (GPS, CDMA, etc.) and to software-based NTP servers such as those running NTPD on FreeBSD, Unix, or Linux. Last updated: 7/18/2012
Advisory
NOTE: This advisory describes a newly discovered issue and is not related to the widely-publicized problems many systems had dealing with the most recent leap second applied last month (on 30 June 2012).
Background
Note that leap seconds are applied at midnight UTC, or everywhere in the world at the same moment. For most North American organizations, this means late afternoon to early evening local time. Last month, most public servers correctly advertised the upcoming leap second. There is no standard for how far in advance a server should start advertising. At any time after the first of the month, if a leap indicator signal is retrieved from GPS satellites, NIST time files, or other means, servers should alert their clients. Conversely, once the leap second has been applied, servers should stop advertising a pending leap second.
The Problem
Any server that is still advertising a pending leap second is wrong, and needs to be reset. It may also mean that the server will try to apply a leap second to itself at the end of the current month, making all of its timestamps after that time off by one second.
How to check your servers
where a.b.c.d is the IP address or DNS name of your NTP server. Here is sample output against a machine that is (correctly) NOT advertising a leap second:
Domain Time NTP Check 5.2.b.20120701R
Copyright (c) 1995-2012 Greyware Automation Products, Inc.
Checking server tick.greyware.com protocol ntp... okay
Server YYYY:MM:DD HH:MM:SS.mss Latency Secs Delta
-------------------- ---------- ------------ ------- ----------
71.252.193.25 2012-07-15 21:04:42.156 0.000 +0.0000736
Reference 2012-07-15 21:03:24.612 {d3adae9c.9cba31be}
Receive 2012-07-15 21:04:42.156 {d3adaeea.28040b27}
Transmit 2012-07-15 21:04:42.156 {d3adaeea.28046412}
Leap Indicator 0 (no warning)
AuthType unauthenticated
Version 3
Mode 4 (server unicast response)
Stratum 2 (secondary reference)
Time source 192.168.1.3
Note the line that says "Leap Indicator." If the output is 1 or 2 instead of zero, then your server is advertising a leap second incorrectly.
How to correct the problem
Some NTP installations may benefit from NIST's leap second data file. Refer to your NTPD documentation on "leapfile" for further information. If your server is hardware-based, such as a GPS receiver, you may need to contact the manufacturer. For further information, please see David Mills' NTP documentation at http://www.eecis.udel.edu/~mills/ntp/html/leap.html
Mitigations for Domain Time users
Test and fix any NTP servers under your control (as described above). If you use public time servers as your primary time source(s), you should test them for the leap second indicator as described above and avoid using any misreporting servers. Keep in mind that pool.ntp.org is a round-robin DNS alias for multiple servers, some of which may be advertising incorrectly.
Optional Versions prior to 5.1 do not do advance leap second scheduling; they merely adjust to any changes to the server's time at their next timecheck. Domain Time Servers that are aware of a pending leap second will advertise it via the NTP, PTPv2, and DT2 protocols. If your network is arranged in a hierarchy, where Domain Time Server provides the time to all Domain Time Clients, it is NOT sufficient to uncheck the box on all of your Domain Time Server machines. The servers will continue passing the information to their clients, even if the leap second will not be applied by the server. You must uncheck the box on every client.
IMPORTANT: Unchecking this box will NOT prevent the problem entirely. Domain Time will not schedule and apply an advertised leap second on its own, but if your NTP source applies the scheduled leap second to itself, the time provided by that server will be off by one full second with no indication to clients that its time is incorrect.
Summary
For more information on Domain Time leap second scheduling, see http://www.greyware.com/kb/KB2012.717.asp
|
My Account |
Contact Us |
Feedback to Greyware |
Privacy Policy |
Printer-Friendly Version
Copyright © 1995-2013 Greyware Automation Products, Inc. All Rights Reserved
All Trademarks mentioned are the properties of their respective owners.