When Time Servers go Bad

  |   By

“Time is what prevents everything from happening at once,’ said eminent physicist John Wheeler. And when it comes to computers his words couldn’t be any more relevant.

Timestamps are the only method that a computer has to establish if an event has occurred, is meant to occur or shouldn’t be occurring just yet. For a home PC, the computer relies on the inbuilt clock that displays the time on the corner of your operating system, and for most home uses this is satisfactory enough.

However for computer networks that have to communicate with each other, relying in individual system clocks can cause untold problems:

All clocks drift, and computer clocks are no different and problems occur when two machines are drifting at different rates as the time does not match up. This poses a conundrum for a computer as it is unsure of which time to believe and time critical events can fail to occur and even simple tasks like sending an email can cause time confusion on a network.

For these reasons, time servers are commonly used to receive the time from an external source and distribute it around the network. Most of these devices use the protocol NTP (Network Time Protocol) which is designed to provide a method of synchronising time on a network.

However, time servers are only as good as the time source that they rely on and when there is a problem with that source, synchronisation will fail and the problems mentioned above can occur.

The most common cause for time server failure or inaccuracy is the reliance on internet based sources of time. These can neither be authenticated by NTP nor guaranteed to be accurate and they can also lead to security issues with firewall intrusion and other malicious attacks.

Ensuring the NTP time server continues to get a source of highly accurate time is fairly straight forward and is all a matter of choosing an accurate, reliable and secure time source.

In most parts of the world there are two methods that can provide a secure and reliable source of time:

  • GPS time signals
  • Radio referenced time signals

GPS signals are available anywhere on the planet and are based on GPS time which is generated by atomic clocks onboard the satellites.

Radio referenced signals like MSF and WWVB are broadcast on long wave from physics laboratories like NIST and NPL.

GPS as a Timing Reference for NTP servers

  |   By

The GPS system is familiar to most people. Many cars now have a GPS satellite navigation device in their cars but there is more to the Global Positioning System than just wayfinding.

The Global Positioning System is a constellation of over thirty satellites all spinning around the globe. The GPS satellite network has been designed so that at any point in time there is at least four satellites overhead – no matter where you are on the globe.

Onboard each GPS satellite there is a highly precise atomic clock and it is the information from this clock that is sent through the GPS transmissions which by triangulation (using the signal from multiple satellites) a satellite navigation receiver can work out your position.

But these ultra precise timing signals have another use, unbeknown to many users of GPS systems. Because the timing signals from the GPS atomic clocks are so precise, they make a good source of time for synchronising all sorts of technologies – from computer networks to traffic cameras.

To utilise the GPS timing signals, a GPS time server is often used. These devices use NTP (Network Time Protocol) to distribute the GPS timing source to all devices on the NTP network.

NTP regularly checks the time on all the systems on its network and adjusts it accordingly if it has drifted to what the original GPS timing source is.

As GPS is available anywhere on the planet it provides a really handy source of time for many technologies and applications ensuring that whatever is synchronised to the GPS timing source will remain as accurate as possible.

A single GPS NTP server can synchronize hundreds and thousands of devices including routers, PCs and other hardware ensuring the entire network is running perfectly coordinated time.

The Vulnerability of GPS

  |   By

An increase in GPS ‘attacks’ has been causing some concern amongst the scientific community.  GPS, whilst a highly accurate and reliable system of transmitting time and positing information, relies on very weak signals that are being hampered by interference from the Earth.

Both unintentional interference such as from pirate radio stations or intentional deliberate ‘jamming’ by criminals is still rare but as technology that can hamper GPS signals becomes more readily available, the situation is expected to get worse.

And while the effects of signal failure of the GPS system may have obvious results for people who use it for navigation (ending up in the wrong location or getting lost) it could have more serious and profound repercussions for the technologies that rely on GPS for time signals.

As so many technologies now rely on GPS timing signals from telephone networks, the internet, banking and traffic lights and even our power grid any signal failure no matter how briefly, could cause serious problems.

The main problem with the GPS signal is that it is very weak and as it comes from space bound satellites, little can be done to boost the signal so any similar frequency being broadcast in a local area can easily drown out GPS.

However, GPS is not the only accurate and secure method of receiving the time from an atomic clock source. Many national physics laboratories from across the globe broadcast atomic clock signals via radio waves (usually long wave). In the USA these signals are broadcast by NIST (National Institute for Standards and Time (known as WWVB) whilst in the UK, it’s MSF signal is broadcast by NPL (National Physical Laboratory).

Dual time servers that can receive both signals are available and are a safer bet for any high technology company that can’t afford to risk losing a time signal.

The Effect of Solar Flares on GPS

  |   By

Forthcoming space weather may affect GPS devices including satellite navigation and NTP GPS time servers.

Whilst many of us have had to cope with some extreme weather last winter, further storms are on their way – this time from space.

Solar flares are a regular occurrence on the surface of the sun. Whilst scientists are not completely sure what causes them we know two things about solar flares: – they are cyclical – and are related to sunspot activity.

For that last eleven years the sun’s sunspot activity – small dark depressions that appear on the surface of the sun – has been very minimal. But this eleven year cycle has come to an end and there has been a rise in sun spots at the end of last year meaning 2010 will be a bumper year for both sunspots and solar flares.

But there is no need to worry about becoming toasted by solar flares as these bursts of hot gases that flare from the sun never get far enough to reach the Earth, however, they can effect us in different ways.

Solar flares are bursts of energy and as such emit radiation and high energy particles. On earth, we are protected by these blasts of energy and radiation by the earth’s magnetic field and ionosphere, however, satellite communications are not and this can lead to trouble.

Whilst the effect of solar flare radiation is very weak, it can slow down and reflect radio waves as they travel through the ionosphere towards Earth. This interference can cause GPS satellites in particular extreme problems as they are reliant on accuracy to provide navigational information.

While the effects of solar flares are mild, it is possible GPS devices will encounter brief periods of no signal and also the problem of inaccurate signals meaning positing information may become unreliable.

This will not just affect navigation either as the GPS system is used by hundreds and thousands of computer networks as a source of reliable time.

Whilst most dedicated GPS time servers should be able to cope with periods of instability without losing precision, for worried network administrators not wanting to go into work to find their systems have crashed because of a lack of synchronisation may want to consider using a radio referenced Network time server that uses broadcast transmission such as MSF or WVBB.

Dual NTP time servers (Network Time Protocol) are also available that can receive both radio and GPS, ensuring a source of time is always constantly available.

Choosing a Time Server for your Network

  |   By

Any network administrator will tell you how important time synchronization is for a modern computer network. Computers rely on the time for nearly everything, especially in today’s age of online trading and global communication where accuracy is essential.

Failing to ensure that computers are accurately synced together could lead to all manner of problems: data loss, security vulnerabilities, unable to conduct time sensitive transactions and difficulties debugging can all be caused by a lack of, or not adequate enough, time synchronization.

But ensuring every computer on a network has the exact same time is simple thanks to two technologies: the atomic clock and the NTP server (Network Time Protocol).

Atomic clocks are extremely accurate chronometers. They can keep time and not drift by as much of a second in thousands of years and it is this accuracy that has made possible technologies and applications such as satellite navigation, online trading and GPS.

Time synchronization for computer networks is controlled by the network time server, commonly referred to as the NTP server after the time synchronization protocol they use, Network Time Protocol.
When it comes to choosing a time server, there are really only two real type – the radio reference NTP time server and the GPS NTP time server.

Radio reference time servers receive the time from long wave transmission broadcast by physics laboratories like NIST in North America or NPL in the UK. These transmissions can often be picked up throughout the country of origin (and beyond) although local topography and interference from other electrical devices can interfere with the signal.

GPS time servers, on the other hand, use the satellite navigation signal transmitted from GPS satellites. The GPS transmissions are generated by atomic clocks onboard the satellites so they are a highly accurate source of time just like the atomic clock generated time broadcast by the physics laboratories.

Apart from the disadvantage of having to have a roof top antenna (GPS works by line of sight so a clear view of the sky is essential), GPS is obtainable literally everywhere on the planet.

As both types of time server can provide an accurate source of reliable time the decision of which type of time server should be based on the availability of long wave signals or whether it is possible to install a rooftop GPS antenna.

Using GPS as a source of Accurate Time

  |   By

The Global Positioning System (GPS) is an increasingly popular tool, used throughout the world as a source of wayfinding and navigation. However, there is much more to the GPS network than just satellite navigation as the transmissions broadcast by the GPS satellites can also be used as a highly accurate source of time.

GPS satellites are actually just orbiting clocks as each one contains atomic clocks that generate a time signal. It is the time signal that is broadcast by the GPS satellites that satellite navigation receivers in cars and planes use to work out distance and position.

Positioning is only possible because thee time signals are so accurate. Vehicle sat navs for instance use the signals from four orbiting satellites and triangulate the information to work out the position. However, if there is just one second inaccuracy with one of the time signals then the positing information could be thousands of miles out – proving useless.

It is testament to the accuracy of atomic clocks used to generate GPS signals that currently a GPS receiver can work out its position on earth to within five metres.

Because GPS satellites are so accurate, they make an ideal source of time to synchronise a computer network to. Strictly speaking GPS time differs from the international timescale UTC (coordinated Universal Time) as UTC has had additional leap seconds added to it to ensure parity with the earth’s rotation meaning it is exactly 18 seconds ahead of GPS but is easily converted by NTP the time synchronisation protocol (Network Time Protocol).

GPS time servers receive the GPS time signal via a GPS antenna which has to be placed on the roof to receive the line of sight transmissions. Once the GPS signal is received the NTP GPS time server will distribute the signal to all devices on the NTP network and corrects any drift on individual machines.

GPS time servers are dedicated easy to use devices and can ensure millisecond accuracy to UTC without any of the security risks involved in using an internet time source.

MSF Outages for 2010

  |   By

Users of the National Physical Laboratory’s (NPL) MSF time and frequency signal are probably aware that the signal is occasionally taken off-air for scheduled maintenance.

NPL have published there scheduled maintenance for 2010 where the signal will be temporarily taken off-air. Usually the scheduled downtimes lasts for less than four hours but users need to be aware that while NPL and VT Communications, who service the antenna, make every effort to ensure the transmitter is off for a brief amount of time as possible, there can be delays.

And while NPL like to ensure all users of the MSF signal have advanced warning of possible outages, emergency repairs and other issues may lead to unscheduled outages. Any user receiving problems receiving the MSF signal should check the NPL website in case of unscheduled maintenance before contacting your time server vendor.

The dates and times of the scheduled maintenance periods for 2010 are as follows:

* 11 March 2010 from 10:00 UTC to 14:00 UTC

* 10 June 2010 from 10:00 BST to 14:00 BST (UTC + 1 hr)

* 9 September 2010 from 10:00 BST to 14:00 BST (UTC + 1 hr)

* 9 December 2010 from 10:00 UTC to 14:00 UTC

As these scheduled outages should take no longer than four hours, users of MSF referenced time servers should not notice any drop off in accuracy of their network as their shouldn’t be enough time for any device to drift.

However, for those users concerned about accuracy or require a NTP time server (Network Time Server) that doesn’t succumb to regular outages, they may wish to consider investing in a GPS time server.

GPS time servers receive the time from the orbiting navigational satellites. As these are available anywhere on the globe and the signals are never down for outages they can provide a constant accurate time signal (GPS time is not the same as UTC but is easily converted by NTP as it is exactly 17 seconds behind due to leap seconds being added to UTC and not GPS).

Why a GPS Time Server is the Number One Choice for Time Synchronization

  |   By

When it comes to synchronizing a computer network there are several choice to ensure each device is running the same time. NTP (Network Time Protocol) is the preferred choice of time synchronization protocols but there are a multitude of methods in how NTP receives the time.

The NTP Daemon is installed on most operating systems such as windows and applications such as Windows Time are quite capable of receiving a source of UTC time (Coordinated Universal Time) from across the internet.

UTC time is the preferred time source used by computer networks as it is kept true by atomic clocks. UTC, as the name suggests, is also universal and is used by computer networks all over the world as a source to synchronize too.

However, internet sources of UTC are to recommended for any organisation where security and accuracy are a concern. Not only can the distant from host (internet time server) to the client (your computer network) can never be accurately measured leading to a drop in precision. Furthermore, any source of internet time will need access through the firewall (usually through the UDP 123 port). And by leaving this port open, malicious users and hackers can take advantage and gain access to the system.

Dedicated NTP time servers are a better solution as they receive the time from an external source. There are really two types of NTP server, the radio reference time server and the GPS time server.
Radio reference time servers use signals broadcast by places like NPL (National Physical Laboratory in the UK) or NIST (National Institute of Standards and Time). While these signals are extremely accurate, precise and secure they are affected by regular maintenance on the transmitters that broadcast the signal. Also being long wave they are vulnerable to local interference.

GPS time servers on the other hand receive the time directly from GPS satellites. This GPS time is easily converted to UTC by NTP (GPS time is UTC – 17 seconds exactly as no leap seconds have been added.) As the GPS signal is available everywhere on the earth 24 hours a day, 365 days a week, there is never a risk of a loss of signal.
A single dedicated GPS time server can synchronize a computer network of hundreds, and even thousands of machines to within a few of milliseconds of UTC time.

Europes GPS System is starting to Take Shape

  |   By

Following years of wrangling and uncertainty, the European equivalent to the GPS (Global Positioning System), is finally beginning to take shape. The European Galileo system, which will complement the current USA system, is a step closer to completion.

Galileo, which will be the first operational global navigational satellite system (GNSS) outside the United States will provide positioning information for satellite navigation machines and timing information for GPS NTP servers (Network Time Protocol).

The system, being designed and manufactured by the European Space Agency (ESA) and the European Union (EU) and when it is operational it is expected to improve the availability and accuracy of timing and navigation signals transmitted from space.

They system has been dogged in political wrangling and uncertainty since its inception nearly a decade ago. Objections from the US that they will lose the ability top switch off GPS in times of military need; and economic restraints across Europe, meant that the project was nearly shelved several times.

However, the first four satellites are being finalised in a laboratory in southern England. These In-Orbit Validation (IOV) satellites will form a mini-constellation in the sky and prove the Galileo concept by transmitting the first signals so the European system can become a reality.

The rest of the satellite network should follow shortly after and. Galileo should eventually comprise over 30 of them which means that users of satellite navigation systems of GPS NTP time servers should get quicker fixes be able to locate their positions with an error of one metre compared with the current GPS-only error of five.

GPS Atomic Clock Time Signals

  |   By

It seems that nearly every car dashboard has a GPS receiver perched on the top. They have become incredibly popular as a navigational tool with many people relying on them solely to work their way around the road networks.

The Global Positioning System has been around for quite a few years now but was originally designed and built for US military applications but was extended for civilian use following an airline disaster.

Whilst it is incredibly useful and convenient a tool, the GPS systems is relatively simple in its operation. The navigation works using a constellation of 30 or so satellites (there are quite a few more that are orbiting but no longer operational).

The signals sent from the satellites contain three pieces of information that are received by the sat nav devices in our cars.

That information includes:

* The time the message was sent

* The orbital position of the satellite (known as the ephemeris)

* The general system health and orbits of the other GPS satellites (known as the almanac)

The way the navigational information is worked out is by using the information from four satellites. The time the signals left the each of the satellites is recorded by the sat nav receiver and the distance from each satellite is then worked out using this information. By using the information from four satellites it possible to work out exactly where the satellite receiver is, this process is known as triangulation.

However, working out exactly where you are in the world does rely on complete accuracy in the time signals that are broadcast by the satellites. As signals such as the GPS travel at the speed of light (approximately 300,000 km a second through a vacuum) even a one second inaccuracy could see positioning information out by 300 kilometres! Currently the GPS system is accurate to five metres which demonstrates just how accurate the timing information broadcast by the satellites is.

This high level of accuracy is possible because each GPS satellite contains atomic clocks. Atomic clocks are incredibly accurate relying on the unwavering oscillations of atoms to keep time – in fact each GPS satellite will run for over a million years before it will drift by as much as a second (compared to the average electronic watch which will drift by a second in a week or two)

Because of this high level of accuracy the atomic clocks on board GPS satellites can be used as a source of accurate time for the synchronization of computer networks and other devices that require synchronization.

Receiving this time signal requires the use of a NTP GPS server that will synchronize with the satellite and distribute the time to all devices on a network.