Tapio Sokura wrote:
Simon Arlott wrote:http://hpiers.obspm.fr/iers/bul/bulc/bulletinc.datMy own radio clocks won't know about the leap second until an hour before it happens, but 3 of the 7 other ntp servers (GPS/PPS) I'm using do so it's reported when anyone queries my server.I checked RFC 1305 and 2030, both of them say that the leap indicator should be set on the UTC day the leap second will be applied, i.e. max. 24 hours beforehand. Is there a bug in some NTP implementation because it is already announcing the leap second?
RFC 1305 doesn't say that it must not be set more than 24 hours early, it just
states that it must
be set more at least 1 minute before it happens:
Leap Indicator (sys.leap, peer.leap, pkt.leap): This is a two-bit code
warning of an impending leap second to be inserted in the NTP timescale.
The bits are set before 23:59 on the day of insertion and reset after
00:00 on the following day. This causes the number of seconds (rollover
interval) in the day of insertion to be increased or decreased by one.
(Later in the RFC it does say it would be set on the day before.)
No mention of which day of insertion to take into account - the first
occurrence or the day before
it's unset. If it was unset now every server would add a leap second... if the
server(s) at the
source of the leap=01 became unreachable and peers using them that were sending
leap=01 change to
leap=00.
Wouldn't "00:00 on the following day" be after the leap second? (23:59:59,
23:59:60, 00:00:00)
RFC 2030 doesn't even specify when to add/remove a leap second:
Leap Indicator (LI): This is a two-bit code warning of an impending
leap second to be inserted/deleted in the last minute of the current
day
Tapio _______________________________________________ timekeepers mailing list [email protected] https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers
-- Simon Arlott
signature.asc
Description: OpenPGP digital signature
_______________________________________________ timekeepers mailing list [email protected] https://fortytwo.ch/mailman/cgi-bin/listinfo/timekeepers
