Finding an Online NTP Time Source

  |   By

Finding a source of time to synchronise a computer network to can be a challenge as there are a myriad of online time sources, all pertaining to be accurate and reliable; however, the truth can be rather different with many online sources either in too much demand, too far away or inaccurate.

NTP (Network Time Protocol) requires a source of UTC time (Coordinated Universal Time) which is kept true by atomic clocks. Online time sources are not themselves atomic clocks but NTP server devices that receive the time from an atomic clock which is then relayed to the devices that connect to the online time server.

There are two types of online time server: stratum 1 devices – devices that receive the time directly from an atomic clock, either using GPS or a radio reference signal. Stratum 2 devices  on the other hand are one step further away in that they are receive their time from a stratum 1 time server.

Because of demand, finding an online stratum 1 time server is next to impossible, and those that do take request usually do so under a subscription, which leaves the only choice for most people being a stratum 2 device.

There are plenty of resources on the internet that provide locations for online time servers.

But there are drawbacks to using such devices; firstly, online stratum 2 time sources can’t be guaranteed and several surveys taken have found that the reliability and accuracy of many of them can’t be taken for granted.  Secondly, online sources of time require an open firewall port which can be manipulated by malicious bots or users – leading to security risks.

A far better solution for most networks is to install your own stratum 1 NTP server. These time server devices sync to atomic clocks outside the firewall (using GPS or radio signals) and therefore are not security risks. They are also accurate to a few milliseconds ensuring the network will always be accurate to UTC.

The Effects of No Time Signal

  |   By

NTP servers (Network Time Protocol) are an essential tool in the modern computer network. They control the time, ensuring every device on the network is synchronised.

Because of the importance of time in controlling nearly every aspect of computer networking accurate and synchronised time is essential which is why so many system administrators deploy a NTP time server.

These time servers use a single time source as a base to set all the clocks on a network to; the time is often got from the GPS network or radio signals broadcast from physics laboratories such as NPL in the UK (whose signal is broadcast from Cumbria).

Once this signal is received by the time server, the time protocol NTP then distributes it around the network – comparing the system clock of every device to the time reference and adjusting each device. By regularly assessing the drift of these devices and correcting for them NTP keeps clocks accurate to within milliseconds of the time signal and when this signal emanates from an atomic clock – it ensures the network is as accurate as physically possible, but what happens if you lose the time signal?

Damaged GPS antennas, maintenance of time signal transmitters or technical faults can lead to a NTP time sever failing to receive a time signal. Often, this is only temporary and normal service is resumed within a few hours but what happens if it doesn’t, and what is the effect of having a failed time signal?

Fortunately, NTP has back-up systems for just such an eventuality. If a time signal fails and there is no other source of time, NTP cleverly uses the average time from all the clocks on its network. So if some clocks have drifted a few milliseconds faster, and others a few milliseconds slower – then NTP takes the average of this drift ensuring that the time remains accurate for as long as possible.

Even if a signal has failed for several days – or even weeks – without knowledge of the system users, this does not mean the network will drift apart. NTP will still keep the entire network synchronised together, using the average drift, and while the longer the time signal remains off the les accurate the network will be it can still provide millisecond accuracy even after a few days of no time reference.

The Time According to UTC (Coordinated Universal Time)

  |   By

The modern world is a small one. These days, in business you are just as likely to be communicating across the Atlantic as you are trading with you neighbour but this can cause difficulties – as anybody trying to get hold of somebody across the other-side of the world will know.

The problem, of course, is time. There are 24 time zones on Earth which means that people you may wish to talk to across the other side of the world, are in bed when you are awake – and vice versa.

Communication is not jus a problem for us humans either; much of our communication is conducted through computers and other technologies that can cause even more problems. Not just because time-zones are different but clocks, whether they are those that power a computer, or an office wall clock, can drift.

Time synchronisation is therefore important to ensure that the device you are communicating with has the same time otherwise whatever transaction you are conducting may result in errors such as the application failing, data getting lost or the machines believing an action has taken place  when it has not.

Coordinated Universal Time

Coordinated Universal Time (UTC) is an international timescale. It pays no heed to time-zones and is kept true by a constellation of atomic clocks – accurate timepieces that do not suffer from drift.

UTC also compensates for the slowing of the Earth’s spin by adding leap seconds to ensure there is no drift that would eventually cause noon to drift towards night (albeit in many millennia; so slow is the slowing of the Earth).

Most technologies and computer networks across the globe use UTC as their source of time, making global communication more feasible.

Network Time Protocol and NTP Time Servers

Receiving UTC time for a computer network is the job of the NTP time server. These devices use Network Time Protocol to distribute the time to all technologies on the NTP network. NTP time servers receive the source of time from a number of different sources.

  • The internet – although  internet time sources can be insecure and unreliable
  • The GPS (Global Positioning System) – using the onboard atomic clocks from navigation satellites.
  • Radio signals – broadcast by national physics laboratories like NPL and NIST.

Windows Server and the Importance of NTP

  |   By

Windows Server is the most common operating system used by business networks. Whether it is the latest Windows Server 2008 or a previous incarnation such as 2003, most computer networks used in trade and business have a version.

These network operating systems make use of the time synchronization protocol NTP (Network Time Protocol) to ensure synchronicity between all devices connected to the network. This is vital in the modern world of global communication and trade as a lack of synchronization can cause untold problems; data can get lost, errors can go undetected, debugging becomes near impossible and time sensitive transactions can fail if there is no synchronization.

NTP works by selecting a single time source and it be checking the time on all devices on the network, and adjusting them, it ensures the time is synchronised throughout. NTP is capable of keeping all PCs, routers and other devices on a network to within a few milliseconds of each other.

The only requirement for network administrators is to select a time source – and this is where many IT professionals commonly go wrong.

Internet time servers

Any source of time to synchronize a network to should be UTC (Coordinated Universal Time) which is a global timescale controlled by the world’s most accurate atomic clocks and the number one source for finding a UTC time server is the internet.

And many network administrators opt to use these online time servers thinking they are an accurate and secure source of time; however, this is not strictly the case. Internet time servers send the time signal through the network firewall which means viruses and malicious users can take advantage of this ‘hole.’

Another problem with internet time servers is that their accuracy can’t be guaranteed. Often they are not as accurate as a profession network requires and factors such as distance away from the host can make differences in the time.

Dedicated NTP time server

Dedicated NTP time servers, however, get the time directly from atomic clocks – either from the GPS network or via secure radio transmissions from national physics laboratories. These signals are millisecond accurate and 100% secure.

For anyone running a network using Windows Server 2008 or other Microsoft operating system should seriously consider using a dedicated NTP server rather than the internet to ensure accuracy, reliability and security.

NTP Servers Which Signal is Best Radio or GPS?

  |   By

NTP time servers (Network Time Protocol) are an essential aspect of any computer or technology network. So many applications require accurate timing information that failing to synchronize a network adequately and precisely can lead to all sorts of errors and problems – especially when communicating with other networks.

Accuracy, when it comes to time synchronization, means only one thing – atomic clocks. No other method of keeping time is as accurate or reliable as an atomic clock. In comparison to an electronic clock, such as a digital watch, which will lose up to a second a day – an atomic clock will remain accurate to a second over 100,000 years.

Atomic clocks are not something that can be housed in an average server room though; atomic clocks are very expensive, fragile and require full time technicians to control so are usually only found in large scale physics laboratories such as the ones run by NIST (National Institute of Standards and Time – USA) and NPL (National Physical Laboratory – UK).

Getting a source of accurate time from an atomic clock is relatively easy. For a secure and reliable source of atomic clock time there are only two options (the internet can neither be described as secure nor reliable as a source of time):

  • GPS time
  • UTC time broadcast on long-wave

GPS time, from the USA’s Global Positioning System, is a time stamp generated onboard the atomic clocks on the satellites. There is one distinct advantage about using GPS as a source of time: it is available anywhere on the planet.

All that is required to receive and utilise GPS time is a GPS time sever and antenna; a good clear view of the sky is also needed for an assured signal. Whilst not strictly UTC time (Coordinated Universal Time) being broadcast by GPS (UTC has had 17 leap seconds added to it since the satellites were launched) the timestamp included the information needed for NTP to convert it to the universal time standard.

UTC, however, is broadcast directly from physics laboratories and is available by using a radio referenced NTP server. These signals are not available everywhere but in the USA (the signal is known as WWVB) and most of Europe (MSF and DCF) are covered. These too are highly accurate atomic clock generated time sources and as both methods come from a secure source the computer network will remain secure.

An End to British Summer Time?

  |   By

The new UK government is to look again at the perennial debate about changing the clocks during the summer months from GMT (Greenwich Mean Time) to British Summer Time (BST).

While the move is controversial, with many in Scotland in the north of the UK, unwilling to adopt the change due to the longer dark days of winter they experience over the rest of the country – the move would help synchronise Britain with the rest of Europe.

Despite its positing in the European Union, Britain holds a different timescale to the rest of Europe. People from the UK who travel abroad have to advance their watches an hour every-time they travel to mainland Europe.

In the new proposals, daylight saving time will still continue but the standard winter time will be advanced an hour and a further advancement of an hour for the summer – know as double British Summertime – allowing the UK to have the same time as Europe.

However, despite the problems such a change would have to people; technology will not be affected by any alteration in daylight saving time.

UTC Time

Technology, such as computer networks, all use a universal time – UTC (Coordinated Universal Time). UTC is a global timescale, kept true by an international conglomeration of atomic clocks. This means whether you have a UK based computer network, or a one on the other side of the world, to the technologies – the time is the same.

Most technologies receive this time from an atomic clock source using devices known as NTP servers (after the time protocol: Network Time Protocol). NTP servers take advantage of the atomic clocks onboard GPS satellites so they can not only supply an accurate source of time but they can assure that the time source never drifts.

Other methods of getting an atomic clock source of time include using medium wave transmissions broadcast by places like the UK’s National Physical Laboratory (NPL) or the American National Institute for Standards and Time.

NTP servers ensure that no matter where you are in the world the source of time your computers and technology utilise is always Coordinated Universal Time – no matter what the time of year.



How accurate does NTP Synchronisation need to be?

  |   By

Computers advance at a remarkable rate; in effect computers double in power, speed and memory every five years, and with such advances in technology many people assume that the clocks that control the time of a computer are just as powerful.

However, nothing could be further from the truth; most system clocks are crude crystal oscillators that are prone to drift, which is why computer time synchronisation is so important.

In modern computing, nearly every aspect of managing a network is reliant on time. Timestamps are the only frame of reference a computer has to ascertain if an event has occurred, is due to, or shouldn’t occur.

From debugging, to conducting time sensitive transactions over the internet, accurate time is essential. But how accurate does it have to be?

Coordinated Universal Time

Coordinated Universal Time (UTC) is a global timescale derived from atomic clocks. UTC was developed to allow technological devices, such as computer networks, to communicate with a single time.

Most computer networks use time servers governed by NTP (Network Time Protocol) to distribute UTC across the network. For most applications, accuracy to within a few hundred milliseconds is sufficient – but achieving this accuracy is where the difficulty lies.

Getting an accurate source of time

There are several options for synchronizing a network to UTC. Firstly, there is the internet. The internet is awash with time servers that proclaim to supply an accurate source of UTC. However, surveys of these online sources of time indicate that many of them are wholly inaccurate being seconds, minutes and even days out.

And even the most accurate and respected sources from NIST (National Institute of Standards and Time) and Microsoft, can vary depending on the distance your network is away.

Dedicated Time servers

Dedicated NTP time servers use a more direct approach to achieve accurate synchronisation. Using atomic clocks, either from the GPS satellite network or from physics laboratories (like NIST and the UKs NPL); the time is beamed directly to the NTP time server that is connected to the network.

Because dedicated devices like this receive the time directly from atomic clocks they are incredibly accurate, enabling the entire network to be synchronised to within just a few milliseconds of NTP.

Using Windows 7 and Reasons Your Network Still Needs an NTP Server

  |   By

Time synchronisation becomes more and more relevant as we become more dependent on the internet. With so many time sensitive transactions conducted across the globe, from banking and commerce to sending emails, the correct and accurate time is vital in preventing errors and ensuring security.

Increasingly, more and more people are relying on sources of internet time especially with many of the modern flavours of Microsoft’s Windows such as Windows 7 having NTP and time synchronisation abilities already installed.

Windows 7 and Time Synchronisation

Windows 7 will, straight out of the box, attempt to find a source of internet time; however, for a networked machine this does not necessarily mean the computer will be synchronised accurately or securely.

Internet time sources can be wholly unreliable and unsecure for a modern computer network. Internet time has to come through the firewall and as a gap is left for these time codes to come through, malicious software can take advantage of this firewall hole too.

Not only can the accuracy of these devices vary depending on the distance away your network is but also an internet time source very rarely comes direct from an atomic clock.

In fact, most internet time sources are known as stratum 2 devices. This means they connect to another device – a stratum 1 device – namely a NTP time server which gets the time directly from the clock and transmits it to the stratum 2 device.

Stratum 1 NTP time servers

For true accuracy and security, there is no replacement for your network’s own stratum 1 NTP server. Not only are these devices secure, receiving a time source externally to the firewall (often using GPS) but also they receive these signals direct from atomic clocks (The GPS satellite that transmits this signal has an onboard atomic clock that generates the time.

Using Internet Time for Computer Synchronization

  |   By

Ensuring your network is synchronized is a vital part of modern computing. Failure to do so, and having different machines telling different times is a recipe for disaster and can cause untold problems, not to mention making it almost impossible to debug or log errors.

And it is not just your own network you need to synchronize to either. With so many networks talking to each other, it is important that all networks synchronize to the same time-scale.

UTC (Coordinated Universal Time) is just such a global timescale. It is controlled by an international constellation of atomic clocks and enables computers all over the world to talk to each other in perfect synchronicity.

But how do you sync to UTC?

The internet is awash with sources of internet time. Most modern operating systems, especially in the Windows flavour, are set up to do this automatically (just by clicking the time/date tab on the clock menu). The computer will then regularly check the time server (usually at Microsoft or NIST, although others can be used) and adjust the computer to ensure its time matches.

Most internet time servers are known as stratum 2 devices. This means they take the time from another device but where does that get the time from?

NTP time servers

The answer is that somewhere on the stratum tree there will be a stratum 1 device. This will be a time server that receives the time direct from an atomic clock source. Often this is by GPS but there are radio referenced alternatives in several countries. These stratum 1 NTP (Network Time Protocol) time servers then provide the stratum 2 devices with the correct time – and its these devices we get our internet time from.

Drawbacks to Internet time

There are several drawbacks to relying on the Internet for time synchronisation. Accuracy is one consideration. Normally, a stratum 2 device will provide ample enough precision for most networks; however, for some users who require high levels of accuracy or deal in a lot of time sensitive transactions a stratum 2 time server may not be accurate enough.

Another problem with internet time servers is that they require an open port in the firewall. Keeping the NTP access on UDP port 123 open all the time could lead to security issues, especially as internet time sources can’t be authenticated or guaranteed.

Using a Stratum 1 NTP Time server

Stratum 1 NTP time servers are easily installed on most networks. Not only will they provide a higher accurate source of time but as they receive the time externally (from GPS or radio) they are highly secure and can’t be hijacked by malicious users or viral software.

The World Cup and the NTP Server

  |   By

As half the world is engrossed in the four yearly football tournament, it is a good opportunity to highlight the importance of accurate time and how it enables the entire world to watch events such as the Fifa World Cup.

Many of us have been glued to the love football coverage that is being broadcast by a multitude of different broadcasters and TV companies to nearly all countries across the globe.

But nearly all the technologies that enable this mass global live transmission: from the communication satellites that beam the signal across the globe, to the receivers that distribute them to our dishes, cable boxes and aerials.

And with online broadcasting now part and parcel of the whole live sporting event package – accurate time is even more important.

NTP time servers

With signals being bounced from football stadiums to satellites and then to our homes, it is essential that all the technologies involved are synchronised as accurately as possible. Failure to do so could cause the signals to get lost, create interferences or cause a qhole host of other problems.

Most technologies rely on time servers to ensure accuracy and synchronisation. Most time synchronisation servers use the protocol NTP (Network Time Protocol) to distribute time across technology networks.

These devices use a single time source, often acquired from an external atomic clock that is used to set all system clocks on devices to.

Most modern computer networks have a NTP time server that controls the time. These devices are simple to set up and in a modern, global world, are a must have for anybody conscious about accuracy and security (Many security and malicious network attacks are caused due to a lack of synchronisation).

A single NTP time server can keep a network of hundreds and even thousands of machines accurate to within a few milliseconds to the world’s global timescale UTC (Coordinated Universal Time).