Which of the following protocol is used for time synchronization in a system?

NTP is a protocol used to synchronize the clocks of hosts on a network to the UTC time. The precision of NTP can reach 1 ms on a LAN and tens of milliseconds on a WAN.

History of NTP

NTP is one of the earliest standards for clock synchronization on a network. It is designed by David L. Mills — a professor at the University of Delaware, and evolved from the Time Protocol and the ICMP Timestamp message. The following figure shows the evolution of NTP.

Which of the following protocol is used for time synchronization in a system?

Evolution of NTP

NTP Stratum

NTP allows a server to receive accurate UTC time from an authoritative clock source (such as an atomic clock or GPS) and a client to request and receive time from a server.

NTP uses a hierarchical structure of time sources. Each level of this hierarchy is termed a stratum. Generally, an NTP server synchronized to an authoritative clock runs at stratum 1. This NTP server functions as the primary time server to provide clock synchronization for other devices on the network. Stratum 2 servers obtain time from stratum 1 servers, stratum 3 servers obtain time from stratum 2 servers, and so on. The clock stratum ranges from 1 to 16. A smaller value indicates a higher precision. The clocks at stratums 1 to 15 are synchronized. The clocks at stratum 16 are not synchronized and cannot be used.

Which of the following protocol is used for time synchronization in a system?

NTP model

NTP Implementation

The most typical NTP mode is client/server mode, as shown in the following figure.

Which of the following protocol is used for time synchronization in a system?

NTP implementation

  1. The client sends an NTP request packet to the server. The packet contains the timestamp t1 when the packet leaves the client.
  2. The NTP server receives the NTP request packet at t2, and returns an NTP response packet to the client at t3. This response packet carries timestamps t1, t2, and t3.
  3. The client receives the NTP response packet at t4.

The client calculates the following key parameters based on the preceding four timestamps:

  • Round-trip delay of NTP packets between the client and the server

    Which of the following protocol is used for time synchronization in a system?

  • Time offset between the client and server

    Calculation formula:

    Which of the following protocol is used for time synchronization in a system?

    The time offset is calculated as follows:

    Which of the following protocol is used for time synchronization in a system?

The NTP client adjusts its clock based on the offset value, implementing time synchronization with the NTP server.

Network protocols are a set of rules that establish  how network devices process information and communicate. They are crucial to how devices communicate and function. One of the most important network protocols is NTP, or Network Time Protocol. 

NTP

The Network Time Protocol (NTP) is a networking protocol for clock synchronization between computer systems over packet-switched, variable-latency data networks. In operation since before 1985, NTP is one of the oldest Internet protocols in current use.  NTP is intended to synchronize all participating computers to within a few milliseconds of Coordinated Universal Time (UTC).

Which of the following protocol is used for time synchronization in a system?

Why do we need it?

All infrastructure devices such as firewalls, routers, and switches have logs where events of various types are recorded. These logs can contain information valuable for troubleshooting both security and performance of systems. You can direct these event messages to a central server, called a syslog server. By doing so, you create a single system for access to all event logs. A Syslog Server also makes it easier to correlate events on various devices by combining the events into a single log. To ensure proper sequencing of events, all devices should have their time synchronized from a single source using an NTP server.

How does it work?

NTP uses a hierarchical, semi-layered system of time sources. Each level of this hierarchy is termed a stratum and is assigned a number starting with zero for the reference clock at the top. A server synchronized to a stratum n server runs at stratum n + 1. The number represents the distance from the reference clock and is used to prevent cyclical dependencies in the hierarchy. Stratum is not always an indication of quality or reliability; it is common to find stratum 3 time sources that are higher quality than other stratum 2 time sources.

Stratum 0

These are high-precision timekeeping devices such as atomic clocks, GPS or other radio clocks. They generate a very accurate pulse per second signal that triggers an interrupt and timestamp on a connected computer. Stratum 0 devices are also known as reference clocks.

Stratum 1

These are computers whose system time is synchronized to within a few microseconds of their attached stratum 0 devices. Stratum 1 servers may peer with other stratum 1 servers for sanity check and backup. They are also referred to as primary time servers.

Stratum 2

These are computers that are synchronized over a network to stratum 1 servers. Often, a stratum 2 computer will query several stratum 1 servers. Stratum 2 computers may also peer with other stratum 2 computers to provide more stable and robust time for all devices in the peer group.

Which of the following protocol is used for time synchronization in a system?

NTP server misuse and abuse

Because NTP is such a crucial and commonly used protocol, it’s a prime target for attackers. NTP server misuse and abuse cause  damage or degradation to a NTP server.  This is usually either violating the NTP server’s access policy or flooding it with traffic, carrying out a Denial of Service (DoS attack). A denial-of-service attack (DoS attack) is an attack in which the perpetrator floods the targeted machine or resource with unneeded requests in order to overload the systems and prevent all real requests from being fulfilled.

Which of the following protocol is used for time synchronization in a system?

Want to learn more?

Are you looking to up your cybersecurity game and earn your next certification? Or maybe you manage a team that needs a more efficient, effective and less expensive way to train?  Whether you are looking to train your

What protocol is the standard for synchronizing time on the Internet?

The Network Time Protocol (NTP) is used to construct and maintain a set of time servers and transmission paths as a synchronization subnet. The protocol was first described in [MIL85c], extensively revised in successive versions and recently established as a formal Internet Standard protocol [MIL89a].

What is SNTP used for?

Simple Network Time Protocol (SNTP) and Network Time Protocol (NTP) are used to keep device clocks synchronized. By using timestamps that are kept synchronized, SNTP and NTP can track processes and interactions between systems.

Which of the following is used to synchronize the time on your Linux system with a centralized server?

The NTP (Network Time Protocol) is an Internet protocol that is used to synchronize the time on your system with a centralized Network Time Protocol server.

Which protocol helps synchronize time for routers and switches?

NTP (Network Time Protocol) is used to allow network devices to synchronize their clocks with a central source clock. For network devices like routers, switches or firewalls this is very important because we want to make sure that logging information and timestamps have the accurate time and date.