Using NTP Networks

  |   By

Network Time Protocol is by far the most widely used application for synchronizing computer time across local area networks and wider areas networks (LANs and WANs). The principles behind NTP are fairly simple. It checks the time on a system clock and compares it with an authoritative, single source of time, making corrections to the devices to ensure they are all synchronized to the time source.

Selecting the time source to use is perhaps the fundamentally most important thing in setting up a NTP network. Most network administrators opt, quite rightly to use a source of UTC time (Coordinated Universal Time). This is a global timescale and means that a computer network synchronized to UTC is not only using the same timescale as every other UTC synchronized network but also there is no need to worry about different time zones around the globe.

NTP uses different layers, known as strata, to determine the closeness and therefore accuracy, to a time source. As UTC is governed by atomic clocks, any atomic clock giving out a time signal is referred to as stratum 0 and any device that receives the time directly from an atomic clock is stratum 1. Stratum 2 devices are devices that receive the time from stratum 1 and so on. NTP supports over 16 different stratum levels although accuracy and reliable decrease with each stratum layer further away you get.

Man network administrators opt to use an internet source of UTC time. Apart from the security risks of using a time source from the internet and allowing it access through your firewall. Internet time servers are also stratum 2 devices in that they are normally servers that receive the time from single stratum 1 device.

A dedicated NTP time server on the other had are stratum 1 devices in themselves. They receive the time directly from atomic clocks, either via GPS or long wave radio transmissions. This makes them far more secure than internet providers as the time source is external to the network (and firewall) but also it makes them more accurate.

With a stratum 1 time server a network can be synchronized to within a few milliseconds of UTC without risk of compromising your security.

Dangers of Free Time

  |   By

We are all looking for freebies, particularly in the present financial climate and the internet is not short of them. Free software, free films, free music, almost everything these days has a free version. Even critical applications for our computers and networks such as anti-virus can come free. So it is understandable that when network administrators want to synchronize the time on computer networks they turn to free sources of UTC time (UTC – Coordinated Universal Time) to synchronize their networks using the operating systems’ own inbuilt NTP server.

However, just as there is no such thing as a free lunch, free time sources come with a cost too. To start with all time servers on the internet that are available for the public to use are stratum 2 servers. This means they are devices that receive the time from another device (a stratum 1 time server) that gets it from an atomic clock. While this second hand time source shouldn’t lose too much time compared to the original, for high levels of accuracy there will be a noticeable drift.

Furthermore, internet time sources are based outside the network firewall. For access to the time server a UDP port needs to be left open. This will mean the network firewall will intrinsically have a hole in it which could be manipulated y a malicious user or aggressive malware.

Another consideration is the inbuilt security that the time transfer protocol NTP (Network Time Protocol) uses to assess the time signal it receives is genuine. This is referred to as authentication but is unavailable across the internet. Meaning the time source may not be what it claims to be and with a hole in the firewall it could result in a malicious attack.

Internet time sources can also be unreliable. Many are too far from clients to provide any real accuracy some time sources available on the internet are wildly out (some by hours not just minutes). There are however, more reputable stratum 2 servers available and the NTP pool has details of those.

For real accuracy with none of the security threats the best solution is to use an external time source. The best method for doing this is to utilise a dedicated NTP server. These devices work exterior to the firewall and receive the time either direct from GPS satellites or via broadcasts by national physics labs such as NIST or NPL.

Milestones in Chronology From Crystals to Atoms

  |   By

Telling the time may seem a simple affair these days with the number of devices that display the time to us and with the incredible accuracy of devices such as atomic clocks and network time servers it is quite easy to see how chronology has been taken for granted.

The nanosecond accuracy that powers technologies such as the GPS system, air traffic control and NTP server systems (Network Time Protocol) is a long way from the first time pieces that were invented and were powered by the movement of the sun across the heavens.

Sun dials were indeed the first real clocks but they obviously did have their downsides – such as not working at night or in cloudy weather, however, being able to tell the time fairly accurately was a complete innovation to civilisation and helped for more structured societies.

However, relying on celestial bodies to keep track of time as we have done for thousands of years, would not prove to be a reliable basis for measuring time as was discovered by the invention of the atomic clock.

Before atomic clocks, electronic clocks provided the highest level of accuracy. These were invented at the turn of the last century and while they were many times more reliable than mechanical clocks they still drifted and would lose a second or two every week.

Electronic clocks worked by using the oscillations (vibrations under energy) of crystals such as quartz, however, atomic clocks use the resonance of individual atoms such as caesium which is such a high number of vibrations per second it makes the incredibly accurate (modern atomic clocks do not drift by even a second every 100 million years).

Once this type of time telling accuracy was discovered it became apparent that our tradition of using the rotation of the earth as a means of telling time was not as accurate as these atomic clocks. Thanks to their accuracy it was soon discovered the Earth’s rotation was not precise and would slow and speed up (by minute amounts) each day. To compensate for this the world’s global timescale UTC (Coordinated Universal Time) has additional seconds added to it once or twice a year (Leap seconds).

Atomic clocks provide the basis of UTC which is used by thousands of NTP servers to synchronise computer networks to.

Heroes of Time

  |   By

Chronology – the study of time- has provided science and technology with some incredible innovations and possibilities. From atomic clocks, NTP servers and the GPS system, true and accurate chronology has changed the shape of the world.

Time and the way it is counted has been a preoccupation of mankind since the earliest civilisations. Early chronologists spent their time trying to establish calendars but this proves to be more complicated than first imagined primarily because the earth takes a quarter of a day more than 365 days to orbit the sun.

Establishing the right number of leap days was one of the first challenges and it took several attempts at calendars until the modern Gregorian calendar became adopted by the globe.

When it came to monitoring time at a smaller level great advances were made by Galileo Galilei who would have built the first pendulum clock if only his death hadn’t interrupted his plans. Pendulums were finally invented by Christiaan Huygens and provided the first true glimpse of accurately monitoring the time throughout the day.

The next steps in chronology couldn’t take place though until we had a better understanding of time itself. Newton (Sir Isaac) had the first ideas and had the notion time was absolute” and would flow “equably” for all observers. This would have been an obvious idea to Newton as many of us regard time as unchanging but it was Einstein in his special theory of relativity that proposed that in fact time wasn’t a constant and would differ to all observers.

It was Einstein’s ideas that proved correct and his model of time and space paved the way for many of the modern technologies we take for granted today such as the atomic clock.

However, chronology doesn’t stop there, timekeepers are constantly looking for ways of increasing accuracy with modern atomic clocks so precise they would not lose a second in millions of years.

There are other notable figures in the modern world of chronology too. Professor David Mills from the University of Delaware devised a protocol in the 1980’s to synchronise computer networks.

His Network Time Protocol (NTP) is now used in computer systems and networks all over the world via NTP time servers. A NTP server ensures computers on opposite sides of the globe can run exactly the same time.

Worlds Most Famous Clock Reaches 150

  |   By

It’s one of the world’s most iconic land marks. Standing proudly over the Houses of Parliament, Big Ben celebrates its 150th birthday. Yet despite living in an age of atomic clocks and NTP time servers, it is one of the most used timepieces in the world with hundreds of thousands of Londoners relying on its chimes to set their watches to.

Big Ben is actually the name of the main bell inside the clock that creates the quarter hourly chimes but the bell didn’t start chiming when the clock was first built. The clock began keeping time on 31 May 1859, while the bell didn’t strike for the first time until July 11.

Some claim the twelve tonne bell was named after Sir Benjamin Hall the Chief Commissioner of Works who worked on the clock project (and was said to be a man of great girth). Others claim the bell was named after heavyweight boxer Ben Caunt who fought under the moniker Big Ben.

The five-tonne clock mechanism works like a giant wristwatch and is wound three times a week. Its accuracy if in tuned by adding or removing old pennies on the pendulum which is quite far removed from the accuracy that modern atomic clocks and NTP server systems generate with near nanosecond precision.

While Big Ben is trusted by tens of thousands of Londoners to provide accurate time, the modern atomic clock is used by millions of us every day without realising it. Atomic clocks are the basis for the GPS satellite navigation systems we have in our cars they also keep the internet synchronised by way of the NTP time server (Network Time Protocol).

Any computer network can be synchronised to an atomic clock by using a dedicated NTP server. These devices receive the time from an atomic clock, either via the GPS system or specialist radio transmissions.

Computers, Communications, Atomic Clocks and the NTP Server

  |   By

Time synchronisation on computer networks is often conducted by the NTP server. NTP time servers do not generate any timing information themselves but are merely methods of communicating with an atomic clock.

The precision of an atomic clock is widely talked about. Many of them can maintain time to nanosecond precision (billionths of a second) which means they won’t drift beyond a second in accuracy in hundreds of millions of years.

However, what is less understood and talked about is why we need to have such accurate clocks, after-all the traditional methods of keeping time such as mechanical clocks, electronic watches and using the rotation of the Earth to keep track of the days has proved reliable for thousands of years.

However, the development of digital technology over recent years has been nearly solely reliant on the ultra high precision of an atomic clock. One of the most widely used applications for atomic clocks is in the communications industry.

For several years now telephone calls taken in most industrialized countries are now transmitted digitally. However, most telephone wires are simply copper cables (although many telephone companies are now investing in fibre optics) which can only transmit one packet of information at a time. Yet telephone wires have to carry many conversations down the same wires at the same time.

This is achieved by computers at the exchanges switching from one conversation to another thousands of times every second and all this has to be controlled by nano-second precision otherwise  the calls will become out of step and get jumbled – hence the need for. Atomic clocks; mobile phones, digital TV and Internet communications use similar technology.

The accuracy of atomic clocks is also the basis for satellite navigation such as GPS (global positioning system). GPS satellites contain an onboard atomic clock that generates and transmits a time signal. A GPS receiver will receive four of theses signals and use the timing information to work out how long the transmissions took to reach it and therefore the position of the receiver on Earth.

Current GPS systems are accurate to a few metres but to give an indication of how vital precision is, a one second drift of a GPS clock could see the GPS receiver be inaccurate by over 100 thousand miles (because of the  huge distances light and therefore transmissions take in one second).

Many of these technologies that depend on atomic clocks utilise NTP servers as the preferred way to communicate with atomic clocks making the NTP time server one of the most crucial pieces of equipment in the communication industries.

The NTP Time Server Essential Network Protection

  |   By

There are a myriad of hardware and software methods of protecting computers. Anti-virus software, firewalls, spyware and routers to name but a few yet perhaps the most important tools for keeping a network safe is often the most overlooked.

One of the reasons for this is that the network time server’s often referred to as the NTP time server (after the protocol Network Time Protocol) primary task is time synchronisation and not security.

The NTP server’s primary task is to retrieve a time signal from a UTC source (Coordinated Universal Time) which it then distributes it amongst the network, checking the clock on each system device and ensuring its running in synchronisation with UTC.

Here is where many network administrators fall down. They know that time synchronisation is vital for computer security. Without it, errors can not be logged (or even spotted) network attacks can’t be countered, data can be lost and if a malicious user does get into the system it is near impossible to discover what they were up to without all machines on a network corresponding to the same time.

However, the NTP server is where many network administrators think they can save a little money. ‘Why bother?’ ‘They say, ‘when you can log on to an Internet NTP server for free.’

Well, as the old saying goes there is no such thing as a free lunch or as it goes a free source of UTC time. Using internet time providers may be free but this is where many computer networks leave themselves open to abuse.

To utilise an internet source of time such as Microsoft’s, NIST or one of those on the NTP pool project may be free but they are also outside a networks firewall and these is where many network administrators come unstuck.

Essentials of Traffic Management NTP Server

  |   By

There are now reportedly as many cars on the road as there are households and it only takes a brief journey during rush hour to realise that this claim is quite possibly true.

Congestion is a huge problem in our towns and cities and controlling this traffic and keeping it moving is one of the most essential aspects of reducing congestion. Safety is also a concern on our roads as the chances of all those vehicles travelling around without occasionally hitting each other is close to zero but the problem can be exemplified by poor traffic management.

When it comes to controlling the traffic flows of our cities there is no greater weapon than the humble traffic light. In some cities these devices are simple timed lights that stop traffic one way and allow it the other and vice versa.

However, the potential of how traffic lights can reduce congestion is now being realised and thanks to the millisecond synchronisation made possible with NTP servers is now drastically reducing congestion is some of the world’s major cities.

Rather than just simple timed segments of green, amber and red, traffic lights can respond to the needs of the road, allowing more cars through in one direction whilst reducing it in others. They can also be used in conjunction with each other allowing green light passageways for cars in main routes.

However, all this is only possible if the traffic lights system throughout the whole city is synchronised together and that can only be achieved with a NTP time server.

NTP (Network Time Protocol) is simply an algorithm that is widely used for the purposes of synchronisation. A NTP server will receive a time signal from a precise source (normally an atomic clock) and the NTP software then distributes it amongst all devices on a network (in this case the traffic lights).

The NTP server will continually check the time on each device and ensure it corresponds to the time signal, ensuring all devices (traffic lights) are perfectly synchronised together allowing the entire traffic light system to be managed as a single, flexible traffic management system rather than individual random lights.

The Concept of Time

  |   By

Time is something that we are all familiar with, it governs our lives even more so than money and we are constantly ‘at war’ with time as we battle to conduct our daily tasks before it runs out.

Yet when we start to examine time we discover that the concept of time we begin to realise that a non-ending linear distance between different events that we call time is purely a human invention.

Of course time exists but it certainly doesn’t follow the rules that the human concept of time does. It is not never ending or constant and changes and warps depending on speed of observers and the pull of gravity. In fact it was Einstein’s theories on relativity that gave human kind its first glimpse as to what time really is and how it affects our daily lives.

Einstein described a four-dimensional space-time, where time and space are inextricably woven together. This space-time gets warped and bent by gravity slowing time (or our perception of it). Einstein also, he suggested that the speed of light was the only constant in the universe and time altered depending on the relative speed to it.

When it comes to keeping track of time, Einstein’s theories can hamper any attempts at chronology. If both gravity and relative speed can affect time then it becomes difficult to measure time accurately.

We long ago abandoned the idea of using the celestial bodies and Earth’s rotation as a reference for our timekeeping as it was recognised in the early twentieth century that Earth’s rotation wasn’t at all accurate or reliable. Instead, we have depended n the oscillations of atoms to keep track of time. Atomic clocks measure atomic ticks of particular atoms and our concept of time is based on these ticks with every second being equal to over 9 billion oscillation of the caesium atom.

Even though we now base time on atomic oscillations, technologies such as GPS satellites (Global Positioning System) still have to counter the effects of lower gravity. In fact the effects of time can be monitored so accurately thanks to atomic clocks that those at different altitudes above sea level run at slightly differing speeds which has to be compensated for.

Atomic clocks can also be used to synchronise a computer network ensuring that they are running as accurately as possible. Most NTP time servers operate by utilising and distributing the time signal broadcast by an atomic clock (either through GPS or long wave) using the protocol NTP (Network Time Protocol).