Jan 27

To receive and distribute and authenticated UTC time source there are currently two types of NTP server, the GPS NTP server and the radio referenced NTP server. While both these systems distribute UTC in identical ways the way they receive the timing information differs.

A GPS NTP time server is an ideal time and frequency source because it can provide highly accurate time anywhere in the world using relatively cheap components. Each GPS satellite transmits in two frequencies L2 for the military use and L1 for use by civilians transmitted at 1575 MHz, Low-cost GPS antennas and receivers are now widely available.

The radio signal transmitted by the satellite can pass through windows but can be blocked by buildings so the ideal location for a GPS antenna is on a rooftop with a good view of the sky. The more satellites it can receive from the better the signal. However, roof-mounted antennas can be prone to lighting strikes or other voltage surges so a suppressor is highly recommend being installed inline on the GPS cable.

The cable between the GPS antenna and receiver is also critical. The maximum distance that a cable can run is normally only 20-30 metres but a high quality coax cable combined with a GPS amplifier placed in-line to boost the gain of the antenna can allow in excess of 100 metre cable runs. This can provide difficulties in installation in larger buildings if the server is too far from the antenna.

An alternative solution is to use a radio referenced NTP time server. These rely on a number of national time and frequency radio transmissions that that broadcast UTC time. In Britain the signal (called MSF) is broadcast by the National Physics Laboratory in Cumbria which serves as the United Kingdom’s national time reference, there are also similar systems in the USA (WWVB) and in France, Germany and Japan.

A radio based NTP server usually consists of a rack-mountable time server, and an antenna, consisting of a ferrite bar inside a plastic enclosure, which receives the radio time and frequency broadcast. It should always be mounted horizontally at a right angle toward the transmission for optimum signal strength. Data is sent in pulses, 60 a second. These signals provides UTC time to an accuracy of 100 microseconds, however, the radio signal has a finite range and is vulnerable to interference.

Dec 12

Time synchronisation in the modern age is highly precise. Modern atomic clocks can keep time so accurately that in 100 million years these timekeeping devices will not lose even a second.

Bit is this sort of accuracy necessary in the modern world? How important can a second possibly be, after all, a second has always been seen as one of the smallest units of time.

However, when you consider modern technology such as the satellite navigation then a second suddenly becomes a huge gulf in time. Modern satellite navigation devices work by calculating distance by using the time form the atomic clocks on GPS (Global Positioning System) satellites.

However, when you consider that the speed of light is close to 300, 000 km a second then you can understand that if a GPS clock is a second out then your navigation could be inaccurate by hundreds of thousands of kilometres.

The same is true for modern computer networks. Computers can process thousands of transactions a second so when it comes to global network communication a second can be a huge amount of time.

That is why modern NTP server’s, responsible for synchronising networks offer precision to the millisecond, ensuring that network across the globe are within a hare’s breath of each other.

Dec 11

NTP – Network Time Protocol

SNTP – Simple Network Time Protocol

GPS – Global Positioning System

UTC – Coordinated Universal Time

MSF – Radio Time Signal for United Kingdom

WWVB – Radio Time Signal for American

DCF – Radio Time Signal for Germany

LAN – Local Area Network

UDP – User Datagram Protocol

TCP – Transmission Control Protocol

IP – Internet Protocol

TDF – Radio Time Signal for France

CHU – Radio Time Signal for Canada

JJY – Radio Time Signal for Japan

HBG – Radio Time Signal for Switzerland

USB – Universal Serial Bus

RTC – Real Time Clock

AM – Amplitude Modulation

APM – Automatic Power Management

DES – Data Encryption Standard

ESD – Electrostatic Discharge

FM – Frequency Modulation

IETF – Internet Engineering Task Force

IRIG – Inter-Range Instrumentation Group

MD5 – Message Digest

PPM – Part Per Million

PPS – Pulse Per Second

RFC – Request For Comments

SA – Selective Availability

TAI – International Atomic Time

SI – International System of Units

Dec 01

The NTP server is an essential network tool. Whilst other protocols do exist, NTP is by far the standard time synchronisation protocol and is utilised in the majority of time servers.

A NTP server is reliant on a single time source it is this time reference that it uses to distribute amongst the network and synchronise to. This timing reference tends to be a UTC time source (coordinated universal time) which is a global time source based on the time told by atomic clocks.

There are only two viable options for receiving a UTC timing source. Although the Internet can be used, the signal can’t be authenticated this is a security measure used by NTP to ensure the reference is what it says it is. Also by using an Internet time source a hole must be left open in the network firewall to allow for communication to the server, this has its own security risks.

The only two secure methods for receiving a UTC time signal is to either use the GPS network or national time and frequency transmissions that are broadcast by several countries’ national physics laboratories.

In selecting a timing source for a NTP server, location is the key consideration. The national time and frequency transmissions are not available in every country. Whilst the USA, UK, Germany, France, Japan and Finland have a signal there are many countries that do not. Furthermore being a long wave radio transmission it can easily be blocked by local topography, although the radio aerial can pick op a signal indoors which is something a GPS NTP server can’t do.

GPS antennas have to be situated on a roof. This can have logistical problems if the server room is in the basement of a high storey building but on the plus inside the GPS signal can be received literally anywhere in the world.

Nov 27

Network Time Protocol (NTP) is one of the Internet’s oldest protocols still in use. Developed by Dr David Mills from the University of Delaware, it has been in constant use and continually updated since 1985. NTP is a protocol designed to synchronize the clocks on computers and networks across the Internet or Local or Wider Area Networks (LANs/WANS).

In a modern global economy time synchronisation is essential for carrying out time sensitive transactions such as booking an airline ticket to bidding on an Internet auction site. If clocks were not synchronised to the same time you may find your airline seat sold after you had bought it and Ebay’s administrators would not be able to discover whose bid was the latest.

NTP is a multi-tiered system, each tier being called a stratum. Servers at each tier communicate with each other (peer) and provide time to lower strata. Servers at the top stratum, stratum 1 connect to an atomic clock either over the Internet or by a radio or GPS receiver while a stratum 2 server will connect to a stratum 1.

NTP uses an algorithm (Marzullo’s algorithm) to synchronise time on a network using time scales like UTC (Coordinated Universal Time or Temps Universel Coordonné) and can support such features as leap seconds – added to compensate for the slowing of the Earth’s rotation.

NTP (version 4 being the latest) can maintain time over the public Internet to within 10 milliseconds (1/100th of a second) and can perform even better over LANs with accuracies of 200 microseconds (1/5000th of a second) under ideal conditions.

NTP time servers work within the TCP/IP suite and rely on UDP (User Datagram Protocol). A less complex form of NTP called Simple Network Time Protocol (SNTP) that does not require the storing of information about previous communications, needed by NTP, is used in some devices and applications where high accuracy timing is not as important and is also included as standard in Windows software (although more recent versions of Microsoft Windows have the full NTP installed and the source code is free and readily available on the Internet).

The NTP program (known as a daemon on UNIX and a service on Windows) runs in the background and refuses to believe the time it is told until several exchanges have taken place, each passing a set of tests. If the replies from a server satisfy these ‘protocol specifications’, the server is accepted. It usually takes about five good samples (five minutes) until a NTP server is accepted as a source for synchronisation.

Synchronisation with NTP is relatively simple, it synchronises time with reference to a reliable clock source such as an atomic clock, although these are extremely expensive and are generally only to be found in large-scale physics laboratories, however NTP can use either the Global Positioning system (GPS) network or specialist radio transmission to receive UTC time from these clocks.

A simplified version of NTP called Simple Network Time Protocol (SNTP) exists that does not require the storing of information about previous communications as required by NTP. It is used in some devices and applications where high accuracy timing is not as important and is installed on older versions of Microsoft Windows. Windows since 2000 has included the Windows Time Service (w32time.exe) which uses SNTP to synchronise the computer clock. NTP is also available on UNIX and LINUX (download via NTP.org).

Nov 26

Computer networking is one of the most difficult aspects of information and communications technology (ICT). The logistics of connecting terminals, routers, printers and all the other devices can leave many administrators with a constant headache.
One of the most important aspects that often gets overlooked and can have disastrous consequences is that of time synchronization.

It is imperative that all devices on a network are telling the same time as timestamps, the format a computer relays time to each other, are the only form of reference a computer can use to establish a sequence of events. If different machines on a network are telling different times then unforeseen consequences such as emails arriving before they have technically been sent and other anomalies will make the administrator’s headache even worse.

What’s more a computer network that is not synchronized is open to security threats and even fraud. Fortunately the NTP time server has been around for many years and can ease the headache of time synchronization .

NTP (Network Time Protocol) is one of the oldest protocols used by computer networks. Developed nearly three decades ago NTP is a protocol that checks the time on all devices on network and adds or subtracts enough time to ensure they are all synchronized.

NTP requires a time reference to synchronise the network’s clocks to. Whilst NTP can synchronize a network to any time an authoritative time source is obviously the best solution. UTC (Coordinated Universal Time) is a globally used timescale based on the time told by atomic clocks. As atomic clocks lose less than a second of time in over a thousand years, UTC is by far the best timing source to synchronize a network to. Not only will your network be perfectly synchronized together but also your network will be synchronized to the same time as millions of computer networks all from around the world.

A NTP server can receive a UTC time reference from several sources. The Internet is the most obvious source, however Internet timing sources are notoriously inaccurate and those that are not can be relatively useless if the distance is too far away. Also having placed your NTP server securely behind your firewall it does seem pointless to have to keep a hole open in it to allow the NTP server to poll the timing reference from across the web and leave the entire network vulnerable, particularly as NTP authentication (NTP’s own security measure) is not possible over the Internet.

There are two far more secure and accurate methods of receiving a UTC timing reference. The first is to utilise the national time and frequency transmissions that several countries broadcast from their national physics laboratories. These are usually broadcast via long wave which has an advantage of being able to be picked up inside a server room although many countries do not have such a signal.

However, many NTP servers can utilize the timing signal broadcast by the onboard atomic clocks of the GPS (Global Positioning System) satellites.  This signal is available everywhere but a GPS antenna is required that can get a clear view of the sky.

By utilizing a UTC timing source either through the GPS network of radio transmission a computer network can be synchronized to within a few milliseconds of UTC time.

Nov 14

Network time servers are essential tools for keeping computer networks synchronised and secure. Lack of synchronisation can have many consequences and can leave a computer network vulnerable to security threats and fraud.

Whilst synchronisation over the Internet is available this is not recommended by Microsoft among others are they can leave a system vulnerable to security threats (being as they are external to the network firewall).

A network time server can receive a time signal from two sources: the GPS network (Global Positioning System) a highly accurate method of receiving UTC (Coordinated Universal Time) and available everywhere on the globe (with a good clear view of the sky).

An alternative to the GPS signal in the UK and northern Europe is the MSF long wave signal transmitted by the British National Physical Laboratory (NPL) from Cumbria in Northern England.

The MSF signal provides and accurate, reliable and secure method of receiving UTC and is available across Britain and many parts of northern Europe. With a dedicated MSF compatible network time server a computer network can be synchronised to within a few milliseconds of UTC.

Nov 12

The GPS network (Global Positioning System) has drastically altered the way people navigate and travel. It is utilised by airliners, marine farers and drivers alike and provides reliable and accurate positioning information anywhere on the globe.

Yet the technology that is behind this development in cartography is also the same technology that has enabled us to keep accurate and precise time.

The GPS system works by transmitting the positioning of each satellite along with a highly accurate time code generated by an onboard atomic clock. When a GPS receiver obtains three or more of these signals; it can then calculate its position by triangulation.

Atomic clocks are used because the transmissions travel at the speed of light and as light can travel nearly 300,000 km in a second then even a tiny inaccuracy could lead to the positioning information being hundreds of miles out (and therefore useless).

However, for those requiring a time source to synchronise their computer networks too then GPs is an ideal source. While not strictly speaking UTC (Coordinated Universal Time) it is easy for a dedicated NTP GPS server (Network Time Protocol) to convert GPS time to UTC as they are both based on International Atomic Time (TAI).

An NTP GPS server can realistically keep all computers and devices on a network to within a few milliseconds of UTC time.

Nov 11

A time server is an essential piece of equipment responsible for ensuring all devices on a computer network are running the same time. Most time servers are dedicated devices that receive a time signal, normally UTC (Coordinated Universal Time), and distribute it to all devices on a network.

Most time servers use the Internet protocol NTP (Network Time Protocol) to synchronise all devices and are often referred to as NTP servers. NTP distributes a single time source throughout the network which is normally a UTC source (Coordinated Universal Time).

There are several places a time server can receive a time signal from. The internet is an obvious source for many although online time sources are not very accurate, can be too far away to give any useful precision, and more importantly are not secure being as they are external to the firewall.

As a dedicated time server is an external device they are extremely secure and impossible for malicious users to tamper with. Dedicated time server can receive a time signal from two sources the GPS network (Global Positioning System) , a highly accurate method and available everywhere on the globe with a good view of the sky; or the specialist long wave radio transmissions broadcast by national physics laboratories.

In Europe the two main radio transmissions are the UK’s MSF signal broadcast by NPL (National Physical Laboratory) in Cumbria, England and the German DCF-77 broadcast near Frankfurt.

These long wave signals are also highly accurate and can be picked up in most neighbouring countries too. The USA has a similar system called WWVB,  transmitted by the National Institute for Standards and Technology (NIST) from Boulder, Colorado.

Nov 10

Atomic clocks have been around since the 1950’s when NPL (National Physical Laboratory) in the UK developed the first reliable caesium based clock. Before atomic clocks, electronic clocks were the most accurate method of keeping track of time but while an electrical clock may lose a second in every week or so, a modern atomic clock will not lose a single second in hundreds of millions of years.

Atomic clocks are not just used to keep track of time. The atomic clock is an integral part of the GPS system (Global Positioning System) as each GPS satellite has its own onboard atomic clock that generates a time signal that is picked up by GPS receivers who can calculate their position by using the precise signal from three or more satellites.

Atomic clocks need to be used as the signal s from the satellites travel at the speed of light and as light travels nearly 300,000 km each second any slight inaccuracy could put navigation out by miles.

A GPS time server is a network time server that uses the time signal from the GPS network’s satellites to synchronise the time on computer networks. A GPS time server often uses NTP (Network Time Protocol) as a method of distributing time which is why these devices are often referred to as NTP GPS time servers.

Computer networks that are synchronised using a dedicated time server are normally synchronised to UTC (Coordinated Universal Time) and while the GPS signal is not UTC, GPS time, like UTC, is based on International Atomic Time (TAI) and is easily converted by NTP.