Skip to:Content
|
Bottom
Cover image for Computer network time synchronization : the Network Time Protocol on Earth and in space
Title:
Computer network time synchronization : the Network Time Protocol on Earth and in space
Personal Author:
Edition:
2nd ed.
Publication Information:
Boca Raton : Taylor & Francis, 2011
Physical Description:
xxvii, 466 p. : ill. ; 24 cm.
ISBN:
9781439814635

Available:*

Library
Item Barcode
Call Number
Material Type
Item Category 1
Status
Searching...
30000010274782 TK5105.575 M55 2011 Open Access Book Book
Searching...

On Order

Summary

Summary

Carefully coordinated, reliable, and accurate time synchronization is vital to a wide spectrum of fields--from air and ground traffic control, to buying and selling goods and services, to TV network programming. Ill-gotten time could even lead to the unimaginable and cause DNS caches to expire, leaving the entire Internet to implode on the root servers.

Written by the original developer of the Network Time Protocol (NTP), Computer Network Time Synchronization: The Network Time Protocol on Earth and in Space, Second Edition addresses the technological infrastructure of time dissemination, distribution, and synchronization--specifically the architecture, protocols, and algorithms of the NTP. This system has been active in one form or another for almost three decades on the Internet and numerous private networks on the nether side of firewalls. Just about everything today that can be connected to a network wire has support for NTP.

This book:

Describes the principal components of an NTP client and how it works with redundant servers and diverse network paths Provides an in-depth description of cryptographic and other critical algorithms Presents an overview of the engineering principles guiding network configuration

Evaluating historic events that have taken place since computer network timekeeping started almost three decades ago, the author details a number of systems and drivers for current radio, satellites, and telephone modem dissemination and explains how we reckon the time, according to the stars and atoms. The original 16 chapters of the first edition have been rewritten, updated, and enhanced with new material. Four new chapters cover new algorithms and previously uncovered concepts, including timekeeping in space missions.

nbsp;

Praise for the first edition:

"... For those that need an exhaustive tome on all of the minutiae related to NTP and synchronization, this is the source. ... definitive ... this book should be considered the last word on the topic."
--Ben Rothke on Slashdot.org

"... the bible of the subject... contains enough information to take you just as far as you want to go....Dr. Mills is the original developer of NTP."
--Books On-Line


Author Notes

Dr. David L. Mills is professor emeritus of electrical and computer engineering and computer and information sciences at the University of Delaware. He has been an active contributor for many years to the field of Internet technology, particularly computer network time synchronization. He is the original developer of the Network Time Protocol and has authored over 30 articles and technical reports on the subject, including the current operative standards documents. His doctoral degree in computer science was conferred by the University of Michigan in 1971. He is a member of the National Academy of Engineering and a Fellow in both the Association for Computing Machinery and the Institute of Electrical and Electronics Engineers.


Table of Contents

List of Illustrationsp. xv
List of Tablesp. xxi
Prefacep. xxiii
About the Authorp. xxvii
1 Basic Conceptsp. 1
1.1 Time Synchronizationp. 1
1.2 Time Synchronization Protocolsp. 3
1.3 Computer Clocksp. 5
1.4 Processing Time Valuesp. 7
1.5 Correctness and Accuracy Expectationsp. 8
1.6 Securityp. 10
1.7 NTP in the Internetp. 12
1.8 Parting Shotsp. 13
Referencesp. 14
Further Readingp. 14
2 How NTP Worksp. 15
2.1 General Infrastructure Requirementsp. 16
2.2 How NTP Represents the Timep. 17
2.3 How NTP Reckons the Timep. 19
2.4 How NTP Disciplines the Timep. 21
2.5 How NTP Manages Associationsp. 22
2.6 How NTP Discovers Serversp. 25
2.7 How NTP Deals with Stale Time Valuesp. 26
2.8 How NTP Manages Network Resourcesp. 27
2.9 How NTP Avoids Errorsp. 28
2.10 How NTP Performance Is Determinedp. 30
2.11 How NTP Controls Accessp. 31
2.12 How NTP Watches for Terroristsp. 32
2.13 How NTP Clocks Are Watchedp. 33
2.14 Parting Shotsp. 34
Referencesp. 35
Further Readingp. 35
3 In the Belly of the Beastp. 37
3.1 Related Technologyp. 37
3.2 Terms and Notationp. 40
3.3 Process Flowp. 41
3.4 Peer Processp. 43
3.5 Poll Processp. 44
3.6 On-Wire Protocolp. 46
3.7 Clock Filter Algorithmp. 48
3.8 Select Algorithmp. 51
3.9 Cluster Algorithmp. 56
3.10 Combine Algorithmp. 59
3.11 Mitigation Rules and the Prefer Peerp. 60
3.11.1 The Prefer Peerp. 61
3.11.2 Peer Classificationp. 61
3.11.3 Mitigation Rulesp. 62
3.11.4 The minsane Optionp. 63
3.12 Huff-'n-Puff Filterp. 64
3.13 Orphan Modep. 65
3.14 Rate Control and the Kiss-o'-Death Packetp. 67
3.14.1 Average Headway and Guard Timep. 68
3.14.2 The Kiss-o'-Death Packetp. 69
3.15 Parting Shotsp. 70
Referencesp. 70
Further Readingp. 72
4 Clock Discipline Algorithmp. 73
4.1 Feedback Control Systemsp. 74
4.2 Phase and Frequency Disciplinep. 76
4.3 Time and Frequency Responsep. 78
4.4 Poll Interval Controlp. 81
4.5 Popcorn and Step Controlp. 82
4.6 Clock State Machinep. 84
4.7 Parting Shotsp. 86
Referencesp. 87
Further Readingp. 87
5 NTP System Engineering and Configurationp. 89
5.1 Core Engineering Principlesp. 90
5.2 Engineering Large Corporate and Campus NTP Systemsp. 92
5.3 Examples of Large Corporate NTP Systemsp. 93
5.4 Engineering Home Office and Small Business NTP Systemsp. 96
5.5 Network Considerationsp. 97
5.6 General Configuration Considerationsp. 98
5.7 Manual Server Discoveryp. 100
5.8 Automatic Server Discoveryp. 101
5.8.1 Broadcast/Multicast Discoveryp. 102
5.8.2 NTP Manycast Discoveryp. 103
5.8.3 NTP Pool Discoveryp. 103
5.9 Configuration Commands and Optionsp. 105
5.9.1 Association Configuration Options (server, peer, and the Like)p. 105
5.9.2 Type of Service Options (tos)p. 107
5.9.3 Tinker Options (tinker)p. 109
5.10 Parting Shotsp. 110
Further Readingp. 110
6 NTP Performance in the Internetp. 111
6.1 Performance Measurement Toolsp. 112
6.2 System Clock Latency Characteristicsp. 113
6.3 Characteristics of a Primary Server and Reference Clockp. 114
6.4 Characteristics between Primary Servers on the Internetp. 117
6.5 Characteristics of a Client and a Primary Server on a Fast Ethernetp. 123
6.6 Results from an Internet Surveyp. 125
6.7 Server and Network Resource Requirementsp. 128
6.8 Parting Shotsp. 130
Referencesp. 130
7 Primary Servers and Reference Clocksp. 131
7.1 Driver Structure and Interfacep. 132
7.2 Serial Timecode Driversp. 135
7.3 Generic Modem Driverp. 137
7.4 Local Clock Driverp. 138
7.5 PPS Interface and Driverp. 139
7.6 Audio Driversp. 140
7.6.1 IRIG Driverp. 142
7.6.2 WWV/H Driverp. 142
7.6.3 CHU Driverp. 145
Referencesp. 147
8 Kernel Timekeeping Supportp. 149
8.1 System Clock Reading Algorithmp. 151
8.2 Kernel Discipline Algorithmsp. 153
8.3 Kernel PLL/FLL Disciplinep. 155
8.4 Kernel PPS Disciplinep. 156
8.5 Clock Adjust Algorithmp. 158
8.6 Proof of Performancep. 159
8.7 Kernel PLL/FLL Discipline Performancep. 160
8.8 Kernel PPS Disciplinep. 165
8.9 Parting Shotsp. 168
Referencesp. 168
Further Readingp. 168
9 Cryptographic Authenticationp. 169
9.1 NTP Security Modelp. 170
9.1.1 On the Provenance of Filestampsp. 172
9.1.2 On the Naming of Thingsp. 173
9.1.3 On Threats and Countermeasuresp. 173
9.2 NTP Secure Groupsp. 175
9.3 Autokey Security Protocolp. 178
9.3.1 Session Key Operationsp. 179
9.3.2 X509 Certificatesp. 181
9.3.3 Protocol Operationsp. 182
9.4 Parting Shotsp. 183
Referencesp. 183
Further Readingp. 184
10 Identity Schemesp. 185
10.1 Identity Schemesp. 186
10.1.1 Private Certificate Identity Schemep. 187
10.1.2 Trusted Certificate Identity Schemep. 188
10.1.3 Schnorr Identity Schemep. 188
10.1.4 Guillou-Quisquater Identity Schemep. 190
10.1.5 Mu-Varadharajan Identity Schemep. 192
10.2 Cryptotypesp. 195
10.3 Parting Shotsp. 198
Referencesp. 198
Further Readingp. 198
11 Analysis of Errorsp. 199
11.1 Clock Reading Errorsp. 200
11.2 Timestamp Errorsp. 201
11.3 Sawtooth Errorsp. 203
11.4 Peer Error Budgetp. 204
11.5 System Error Budgetp. 206
11.6 Parting Shotsp. 208
Referencesp. 208
12 Modeling and Analysis of Computer Clocksp. 209
12.1 Computer Clock Conceptsp. 210
12.2 Mathematical Model of the Generic Feedback Loopp. 214
12.2.1 Type IFLL Feedback Control Loopp. 216
12.2.2 Type II Feedback Control Loopp. 217
12.3 Synthetic Timescales and Clock Wranglersp. 219
12.4 Parting Shotsp. 222
Referencesp. 222
Further Readingp. 223
13 Metrology and Chronometry of the NTP Timescalep. 225
13.1 Scientific Timescales Based on Astronomy and Atomic Physicsp. 227
13.2 UTC and the Leap Secondp. 229
13.3 The Leap Second Controversyp. 230
13.4 How NTP Reckons with UTC Leap Secondsp. 233
13.5 On Numbering the Calendars and Daysp. 235
13.6 On the Julian Day Number Systemp. 237
13.7 On Timescales and the Age of Erasp. 238
13.8 On NTP Era and Timestamp Calculationsp. 240
13.9 Comparison with Other Computer Timescalesp. 241
13.10 Primary Frequency and Time Standardsp. 243
13.11 Time and Frequency Coordinationp. 244
13.12 Time and Frequency Disseminationp. 245
13.12.1 Shortwave Radio Servicesp. 246
13.12.2 Long-Wave Radio Servicesp. 246
13.12.3 Geosynchronous Operational Environmental Satellite Servicep. 247
13.12.4 Telephone Modem Servicesp. 248
13.12.5 Global Positioning Systemp. 248
13.12.6 LORAN-C Radio Navigation Systemp. 249
13.13 Parting Shotsp. 252
Referencesp. 253
Further Readingp. 254
14 NTP Reference Implementationp. 255
14.1 NTP Packet Headerp. 256
14.2 Control Flowp. 259
14.3 Main Program and Common Routinesp. 263
14.4 Peer Processp. 264
14.5 System Processp. 268
14.6 Clock Discipline Processp. 272
14.7 Clock Adjust Processp. 275
14.8 Poll Processp. 276
14.9 Parting Shotsp. 277
Referencesp. 279
Further Readingp. 279
15 Precision System Clock Architecturep. 281
15.1 Limitations of the Artp. 281
15.2 Precision System Clockp. 282
15.2.1 Timer Oscillatorp. 283
15.2.2 Timestamp Counterp. 283
15.2.3 Real-Time Clockp. 284
15.2.4 Precision System Clock Implementationp. 285
15.2.5 Precision System Clock Operationsp. 287
15.3 Principles of Precision Timestampingp. 289
15.3.1 Timestamp Transpositionp. 291
15.3.2 Error Analysisp. 293
15.3.2.1 Reciprocity Errorsp. 294
15.3.2.2 Transposition Errorsp. 295
15.3.2.3 Interworking Errorsp. 295
15.3.2.4 Store-and-Forward Errorsp. 296
15.3.2.5 Nonreciprocal Rate Errorsp. 297
15.4 IEEE 1588 Precision Time Protocolp. 298
15.4.1 Timestamp Capturep. 298
15.4.2 PTP Clock Architecturep. 300
15.4.3 PTP Messagesp. 301
15.4.4 Best Master Clock Algorithmp. 302
15.4.5 Data Set Comparison Algorithmp. 303
15.4.6 PTP Time Transferp. 304
15.4.7 PTP and NTP Comparedp. 305
15.5 Have Quick, STANAG 4330, and Precise Time and Time Interval Have Quick Interfacesp. 307
15.6 Parting Shotsp. 309
Referencesp. 309
16 NTP Interleaved Modesp. 311
16.1 Basic/Interleaved Protocol State Machines and Flowchartsp. 312
16.2 Basic Symmetric Modep. 315
16.3 Interleaved Symmetric Modep. 317
16.4 Interleaved Broadcast Modep. 319
16.5 Error Detection and Recoveryp. 322
16.6 Measured Performance with the Interleaved Modesp. 323
16.7 Parting Shotsp. 327
17 Time Transfer for Space Data Linksp. 329
17.1 Orbit Mechanicsp. 330
17.2 Clock Comparisons and the Effects of General Relativityp. 333
17.3 Time Transfer from a Planet to the Solar System Barycenterp. 338
17.4 Time Comparisons between Clocks in Spacep. 339
17.5 Spacecraft Electronicsp. 342
17.6 Proximity-1 Protocolp. 345
17.7 Proximity-1 Time Servicep. 346
17.8 Time Transfer Using the Electra Transceiverp. 347
17.9 Parting Shotsp. 349
Referencesp. 351
Further Readingp. 352
18 Time Transfer for Deep-Space Missionsp. 353
18.1 Time Transfer between Earth Stationsp. 354
18.2 Time Transfer to Earth Satellitesp. 357
18.3 Time Transfer to the Moon and Satellites of Other Planetsp. 359
18.4 Time Transfer for a Planetary Space Fleetp. 361
18.5 Time Transfer for Deep-Space Missionsp. 367
18.6 Parting Shotsp. 372
Referencesp. 375
19 Technical History of NTPp. 377
19.1 On the Antiquity of NTPp. 378
19.2 On the Proliferation of NTP around the Globep. 381
19.3 Autonomous Authenticationp. 381
19.4 Autonomous Configurationp. 383
19.5 Radios, We Have Radiosp. 384
19.6 Hunting the Nanosecondsp. 385
19.7 Experimental Studiesp. 388
19.8 Theory and Algorithmsp. 389
19.9 Growing Painsp. 391
19.10 As Time Goes Byp. 391
19.11 Parting Shotsp. 392
Referencesp. 393
Further Readingp. 396
Bibliographyp. 397
Acronymsp. 407
Indexp. 411
Go to:Top of Page