Where to Find a Public NTP server

  |   By

NTP servers are used by computer networks as a timing reference for synchronisation. An NTP server is really a communication device that receives the time from an atomic clock and distributes it. NTP servers that receive a direct atomic clock time are known as stratum 1 NTP servers.

A stratum 0 device is an atomic clock itself. These are highly expensive and delicate pieces of machinery and are only to be found in large scale physics laboratories. Unfortunately there are many rules governing who can access a stratum 1 server because of bandwidth considerations. Most stratum 1 NTP servers are set-up by universities or other non-profit organisations and so have to restrict who accesses them.

Fortunately stratum 2 time servers can offer decent enough accuracy as a timing source and any device receiving a time signal can itself be used as a time reference (a device receiving time from a stratum 2 device is a stratum 3 server. Devices that receive time from a stratum 3 server are stratum 4 devices, and so-on).

Ntp.org, is the official home of the NTP pool project and by far the best place to go to find a public NTP server. There are two lists of public servers available in the pool; primary servers, which displays the stratum 1 servers (most of which are closed access) and secondary which are all stratum 2 servers.

When using a public NTP server is important to abide by the access rules as failure to do so can cause the server to become clogged with traffic and if the problems persist possibly discontinued as most public NTP servers are set-up as acts of generosity.

There are some important points to remember when using a timing source from over the Internet. First, Internet timing sources can’t be authenticated. Authentication is an in-built security measure utilised by NTP but unavailable over the net. Secondly, to use an Internet timing source requires an open port in your firewall. A hole in a firewall can be used by malicious users and can leave a system vulnerable to attack.

For those requiring a secure timing source or when accuracy is highly important, a dedicated NTP server that receives a timing signal from either long wave radio transmissions or the GPs network.

MSF Outage 11 December No MSF signal

  |   By

 

NPL Time & Frequency Services


Notice of Interruption MSF 60 kHz Time and Frequency Signal

The MSF 60 kHz time and frequency signal broadcast from Anthorn Radio Station will be shut down over the period:

11 December 2008
from 10:00 UTC to 14:00 UTC

The interruption to the transmission is required to allow scheduled maintenance work to be carried out in safety.

If you would like to download a PDF of this notice, please click here.

If you require any additional information, please contact time@npl.co.uk

Or alternatively please see our website: www.npl.co.uk/time

 

Arranging a NTP Server Stratum Tree

  |   By

NTP (Network Time Protocol) is the most widely used time synchronisation protocol on the Internet. The reason for its success is that is both flexible and highly accurate (as well as being free). NTP is also arranged into a hierarchical structure allowing thousands of machines to be able to receive a timing signal from just one NTP server.

Obviously, if a thousand machines on a network all attempted to receive a timing signal from the NTP server at the same time the network would become bottlenecked and the NTP server would be rendered useless.

For this reason, the NTP stratum tree exists. At the top of the tree is the NTP time server which is a stratum 1 device (a stratum 0 device being the atomic clock that the server receives its time from). Below the NTP server, several servers or computers receive timing information from the stratum 1 device. These trusted devices become stratum 2 servers, which in turn distribute their timing information to another layer of computers or servers. These then become stratum 3 devices which in turn can distribute timing information to lower strata (stratum 4, stratum 5 etc).

In all NTP can support up to nine stratum levels although the further away from the original stratum 1 device they are the less accurate the synchronisation. For an example of how a NTP hierarchy is setup please see this stratum tree

The WWVB Time Signal

  |   By

The WWVB time signal is a dedicated radio broadcast providing an accurate and reliable source of United States civil time, based on the global time scale UTC (Coordinated Universal Time), the WWVB signal is broadcast and maintained by the United States’ NIST laboratory (National Institute for Standards and Time).

The WWVB time signal can be utilised by anyone requiring accurate timing information although its main use is as a source of UTC time for administrators synchronising a computer network with a radio clock. Radio clocks are really another term for a network time server that utilises a radio transmission as a timing source.

Most radio based network time servers use NTP (Network Time Protocol) to distribute the timing information throughout the network.

The WWVB signal is broadcast from Fort Collins, Colorado. It is available 24 hours a day across most of the USA and Canada, although the signal is vulnerable to interference and local topography. Users of the WWVB service receive predominantly a ‘ground wave’ signal. However, there is also a residual ‘sky wave’ which is reflected off the ionosphere and is much stronger at night; this can result in a total received signal that is either stronger or weaker.

The WWVB signal is carried on a frequency of 60 kHz (to within 2 parts in 1012) and is controlled by a caesium atomic clock based at NIST

The signal’s field strength exceeds 100 µV/m (microvolts a meter) at a distance of 1000 km from Colorado – covering much of the USA.

The WWVB signal is in the form of a simple binary code containing time and date information The WWVB  time and date code includes the following information: year, month, day of month,  day of week,  hour, minute, Summer Time (in effect or imminent).

Keeping Time with Network Time Protocol

  |   By

NTP (Network Time Protocol) is the most flexible, accurate and popular method of sending time over the Internet. It is perhaps the Internet’s oldest protocol having been around in one form or another since the mid 1980’s.

The main purpose of NTP is to ensure that all devices on a network are synchronised to the same time and to compensate for some network time delays. Across a LAN or WAN NTP manages to maintain an accuracy of a few milliseconds (Across the Internet, time transfer if far less accurate due to network traffic and distance).

NTP is by far the most widely used time synchronisation protocol (somewhere in the region of 95% of all time servers use NTP) and it owes much of its success to its continual updates and its flexibility. NTP will run on UNIX, LINUX, and Windows based operating systems (it is also free, another possible reason for its huge success).

NTP uses a single time source that it distributes among all devices on a network; it also checks each device for drift (the gaining or losing of time) and adjusts for each.  It is also hierarchical in that literally thousands of machines can be controlled using just one NTP server as each machine can in itself be used by neighbouring machines as a time server.

NTP is also highly secure (when using an external time reference not when using the Internet for a timing source) with an authentication protocol able to establish exactly where a timing source comes from.

For a network to be really effective most NTP time servers use an atomic clock as a basis for their time synchronisation. An international timescale based on the time told by atomic clocks has been developed for this very purpose. UTC (Coordinated Universal Time).

There are really two methods to receive a secure UTC atomic clock time signal to be utilised by NTP. The first being the time and frequency transmissions that several national physics laboratories broadcast on long wave around the world; the second (and by far the most readily available) is by using the timing information in the GPS satellite transmissions. These can be picked up anywhere on the globe and provide safe, secure and highly accurate timing information.

Importance of Preventing NTP Time Server Abuse

  |   By

NTP time server (Network Time Protocol) abuse is quite often unintentional and fortunately thanks to the NTP pool is less frequent than it was although incidents still happen.

NTP server abuse is any act that violates the access rules of a NTP time server or an act that damages it in any way. Public NTP servers are those servers that can be accessed from across the Internet by devices and routers to use as a timing source to synchronise a network to. Most public NTP time servers are non-profit and set up as acts of generosity, mostly by University’s or other technical centres.

For this reason access rules have to be set up as huge amounts of traffic can generate giant bandwidth bills and can lead to the NTP time server being turned off permanently. Access rules are used to prevent too much traffic from accessing stratum 1 servers, by convention stratum 1 servers should only be accessed by stratum 2 servers which in turn can pass the timing information on down the line.

However, the worst cases of NTP server abuse have been where thousands of devices have sent requests for time, where in the hierarchical nature of NTP only one is needed.

Whilst most acts of NTP abuse are intentional some of the worst abuses of NTP time servers have been committed (albeit unintentionally) by large companies. The first large firm discovered to have been guilty of NTP abuse was Netgear, who, in 2003 released four routers that were all hard coded to use the University of Wisconsin’s NTP server, the resulting DDS (Distributed Denial of Service) reached nearly 150 megabits a second.

Even now, five years on and despite the release of several patches to fix the problem and the University being compensated by Netgear the problem still continues as some people have never patched their routers.

Similar incidents have been committed by SMC and D-Link. D-Link in particular caused controversy as when the matter was drawn to their attention they decided to bring the lawyers in. Only after it was discovered that they violated nearly 50 NTP servers did they attempt resolve the problem (and only after scathing press coverage did they relent).

The easiest way to avoid such problems is to use a dedicated external stratum 1 time server. These devices are relatively inexpensive, simple to install and far more accurate and secure than online NTP servers. These devices receive the time from atomic clocks either from the GPS network (Global Positioning System) .

The importance of time synchronisation in the modern world

  |   By

Time has always played an important part in civilisation. Understanding and monitoring time has been one of the pre-occupations of mankind since prehistory and the ability to keep track of time was as important to the ancients as it is to us.

Our ancestors needed to know when the best time was to plant crops or when to gather for religious celebrations and knowing the time means making sure it is the same as everyone else’s.

Time synchronization is the key to accurate time keeping as arranging an event at a particular time is only worthwhile if everybody is running at the same time. In the modern world, as business has moved from a paper-based system to an electronic one, the importance of time synchronisation and the search for ever better accuracy is even more crucial.

Computer networks are now communicating with each other from across the globe conducting billions of dollars worth of transactions every second, millisecond accuracy is now part of business success.

Computer networks can be comprised of hundreds and thousands of computers, servers and routers and while they all have an internal clock, unless they are synchronised perfectly together a myriad of potential problems could occur.

Security breaches, data loss, frequent crashes and breakdowns, fraud and customer credibility are all potential hazards of poor computer time synchronisation. Computers rely on time as the only point of reference between events and many applications and processes are time dependent.

Even discrepancies of a few milliseconds between devices can cause problems particularly in the world of global finance where millions are gained or lost in a second. For this reason most computer networks are controlled by a time server. These devices receive a time signal from an atomic clock. This signal is then distributed to every device on the network, ensuring that all machines have the identical time.

Most synchronisation devices are controlled by the computer program NTP (Network Time Protocol). This software regularly checks each device’s clock for drift (slowing or accelerating from the desired time) and corrects it ensuring the devices never waver from the synchronised time.

The MSF Time Signal

  |   By

The MSF time signal is a dedicated radio broadcast providing an accurate and reliable source of UK civil time, based on the global time scale UTC (Coordinated Universal Time), the MSF signal is broadcast and maintained by the UK’s National Physical Laboratory (NPL).

The MSF time signal can be utilised by anyone requiring accurate timing information its main use however is as a source of UTC time for administrators synchronising a computer network with a radio clock. Radio clocks are really another term for a network time server that utilises a radio transmission as a timing source.

Most radio based network time servers use NTP (Network Time Protocol) to distribute the timing information throughout the network.

The MSF signal is broadcast from Anthorn Radio station in Cumbria by VT communications under contract to the NPL.  It is available 24 hours a day across the whole of the UK and beyond, although the signal is vulnerable to interference and local topography. Users of the MSF service receive predominantly a ‘ground wave’ signal. However, there is also a residual ‘sky wave’ which is reflected off the ionosphere and is much stronger at night; this can result in a total received signal that is either stronger or weaker.

The MSF signal is carried on a frequency of 60 kHz (to within 2 parts in 1012) and is controlled by a Caesium atomic clock based at the radio station.

The antenna at Anthorn is at 54° 55′ N latitude, and 3° 15′ W longitude. The signal’s field strength exceeds 100 µV/m(micro volts a metre) at a distance of 1000 km from Anthorn, covering the whole of the UK, and can even be received throughout some of northern and western Europe.

The MSF transmits a simple binary code containing time and date information The MSF time and date code includes the following information: year, month, day of month,  day of week,  hour, minute, British Summer Time (in effect or imminent),  DUT1 (a parameter giving UT1-UTC)

Five Reasons Why You Should Never Use an Internet Timing Source

  |   By

Time synchronisation is now an integral part of network administration. Networks that are not synchronised to UTC time (Coordinated Universal Time) become isolated; unable to process time sensitive transactions or communicate securely with other networks.

UTC time has been developed to allow the entire globe to communicate under a single time-frame and it is based on the time told by atomic clocks.

To synchronise to UTC time many network administrators simply connect to an Internet timing source and assume they are receiving a secure source of UTC time. However, there are pitfalls to this and any network that requires security should NEVER use the Internet as a timing source:

1.    To use an internet timing source a port needs to be forwarded in the firewall. This ‘hole’ to allow the timing information to pass through can be utilised by anybody else too.
2.    NTP (Network Time Protocol) has an inbuilt security measure called authentication that ensures a timing source is exactly who it says it is, this can’t be utilised over the Internet.
3.    Internet timing sources are wholly inaccurate. A survey by Nelson Minar of MIT (Massachusetts  Institute of Technology) discovered less than half were close enough to UTC time to be described as reliable (some where minutes and even hours out!).
4.    Distance across the Internet can render even an extremely accurate Internet timing source useless as the distance to client could cause delay.
5.    A dedicated time server will use a radio of GPS timing signal which can be audited to guarantee its accuracy, providing security and legal protection; internet timing sources cannot.

Dedicated NTP time servers not only offer greater protection and security than Internet time sources. They also offer unbridled accuracy with both the GPS and time and frequency radio transmissions (such as MSF, DCF or WWVB) accurate to within a few milliseconds of UTC time.

GPS Time Server Receiving Time from Space

  |   By

GPS time servers are network time servers that receive a timing signal from the GPS network and distribute it amongst all devices on a network ensuring that the entire network is synchronised.

GPS is an ideal time source as a GPS signal is available anywhere on the globe. GPS stands for Global Positioning System, the GPS network is owned by the US military and controlled and run by the US air force (space wing). It is however, since the late 1980’s been opened up to the world’s civilian population as tool to aid navigation.

The GPS network is actually a constellation of 32 satellites that orbit the Earth, they do not actually provide positioning information (GPS receivers do that) but transmit from their onboard atomic clocks a timing signal.

This timing signal is what is used to work out a global position by triangulating 3-4 timing signals a receiver can work out how far and therefore the position you are from a satellite. In essence then, a global positioning satellite is just an orbiting clock and it is this information that is broadcast that can be picked up by a GPS time server and distributed amongst a network.

Whilst strictly speaking GPS time is not the same as the global timescale UTC (coordinated universal time), a GPS time server will automatically convert the time format into UTC.

A GPS time server can provide unbridled accuracy with networks able to maintain accuracy to within a few milliseconds of UTC.