{"id":102,"date":"2008-02-08T09:44:58","date_gmt":"2008-02-08T08:44:58","guid":{"rendered":"https:\/\/news.galsys.co.uk\/?p=102"},"modified":"2008-02-08T09:44:58","modified_gmt":"2008-02-08T08:44:58","slug":"configuring-a-linux-based-ntp-time-server","status":"publish","type":"post","link":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/","title":{"rendered":"Configuring a LINUX based NTP Time Server"},"content":{"rendered":"<p>Summary: This article gives a step-by-step guide in configuring LINUX to act as an authoritative time server using NTP (Network Time Protocol).<\/p>\n<p>Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told at the airport that the ticket was sold twice because it was purchased afterwards on a computer that had a slower clock!<\/p>\n<p>Modern computers do have internal clocks called Real Time Clock chips (RTC) that provide time and date information. These chips are battery backed so that even during power outages, they can maintain time but personal computers are not designed to be perfect clocks. Their design has been optimized for mass production and low-cost rather than maintaining accurate time.<\/p>\n<p>For many applications, this is can be quite adequate, although, quite often machines need time to be synchronised with other PC&#8217;s on a network and when computers are out of sync with each other problems can arise such as sharing network files or in some environments even fraud!<\/p>\n<p>Network Time Protocol (NTP) is an Internet protocol used for the transfer of accurate time, providing time information along so that a precise time can be obtained. As NTP was originally written for LINUX many LINUX based operating systems already have a version of NTP installed. However the source code is free to download from the NTP website (ntp.org) the most recent version being v 4.2.4.<\/p>\n<p>NTP (version 4) can maintain time over the public Internet to within 10 milliseconds (1\/100th of a second) and can perform even better over LANs with accuracies of 200 microseconds (1\/5000th of a second) under ideal conditions.<\/p>\n<p>NTP works within the TCP\/IP suite and relies on UDP, a less complex form of NTP exists called Simple Network Time Protocol (SNTP) that does not require the storing of information about previous communications, needed by NTP. It is used in some devices and applications where high accuracy timing is not as important.<\/p>\n<p>The NTP background program is configured with the file &#8216;ntp.conf&#8217;. this may contain a list of public NTP server references that can be used to synchronise time. NTP time servers are specified using the &#8216;server&#8217; command, any characters after the &#8216;#&#8217; symbol are comments:<\/p>\n<p>Example<br \/>\nserver time-a.nist.gov # Public NTP server: Maryland<br \/>\nWhen configured, NTP can be controlled using the commands &#8216;ntpd start\u2019 \u2018ntpd stop\u2019 \u2018 ntpq \u2013p\u2019 (displays status)<\/p>\n<p>NTP can also authenticate timing resources Note: It is strongly recommends that you configure a time server with a hardware source rather than from the internet where there is no authentication. Authentication codes are specified in the &#8216;ntp.keys&#8217; file.<\/p>\n<p>Specialist NTP servers are available that can receive transmissions from either GPS or national time reference broadcasts. They are relatively cheap and the signal is authenticated providing a secure time reference.<\/p>\n<p>Authentication for NTP has been developed to prevent malicious tampering with system synchronisation just as firewalls have been developed to protect networks from attack but as with any system of security it only works if it is utilised.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Summary: This article gives a step-by-step guide in configuring LINUX to act as an authoritative time server using NTP (Network Time Protocol). Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told&hellip;<\/p>\n<p><a class=\"btn btn-primary\" href=\"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/\">Continue reading <i class=\"fas fa-arrow-right\"><\/i><\/a><\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[13],"tags":[],"class_list":["post-102","post","type-post","status-publish","format-standard","hentry","category-time-synchronisation"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.3 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Configuring a LINUX based NTP Time Server - Galleon Systems<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Configuring a LINUX based NTP Time Server - Galleon Systems\" \/>\n<meta property=\"og:description\" content=\"Summary: This article gives a step-by-step guide in configuring LINUX to act as an authoritative time server using NTP (Network Time Protocol). Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told&hellip;Continue reading\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/\" \/>\n<meta property=\"og:site_name\" content=\"Galleon Systems\" \/>\n<meta property=\"article:published_time\" content=\"2008-02-08T08:44:58+00:00\" \/>\n<meta name=\"author\" content=\"Richard N Williams\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@galleonsystems\" \/>\n<meta name=\"twitter:site\" content=\"@GalleonSystems\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Richard N Williams\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"3 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/\"},\"author\":{\"name\":\"Richard N Williams\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#\\\/schema\\\/person\\\/38013a1dcb0021026d59957e276aa3cd\"},\"headline\":\"Configuring a LINUX based NTP Time Server\",\"datePublished\":\"2008-02-08T08:44:58+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/\"},\"wordCount\":524,\"articleSection\":[\"Time Synchronisation\"],\"inLanguage\":\"en-US\"},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/\",\"url\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/\",\"name\":\"Configuring a LINUX based NTP Time Server - Galleon Systems\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#website\"},\"datePublished\":\"2008-02-08T08:44:58+00:00\",\"author\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#\\\/schema\\\/person\\\/38013a1dcb0021026d59957e276aa3cd\"},\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/configuring-a-linux-based-ntp-time-server\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Configuring a LINUX based NTP Time Server\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#website\",\"url\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/\",\"name\":\"Galleon Systems\",\"description\":\"Sales: 0121 608 7230\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/#\\\/schema\\\/person\\\/38013a1dcb0021026d59957e276aa3cd\",\"name\":\"Richard N Williams\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g\",\"caption\":\"Richard N Williams\"},\"description\":\"Richard N Williams is a technical author and a specialist in the NTP Server and Time Synchronisation industry.\",\"sameAs\":[\"https:\\\/\\\/x.com\\\/galleonsystems\"],\"url\":\"https:\\\/\\\/www.galsys.co.uk\\\/news\\\/author\\\/admin\\\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Configuring a LINUX based NTP Time Server - Galleon Systems","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/","og_locale":"en_US","og_type":"article","og_title":"Configuring a LINUX based NTP Time Server - Galleon Systems","og_description":"Summary: This article gives a step-by-step guide in configuring LINUX to act as an authoritative time server using NTP (Network Time Protocol). Computer time synchronisation is highly important in modern computer networks, precision and time synchronization is critical in many applications, particularly time sensitive transactions. Just imagine buying an airline seat only to be told&hellip;Continue reading","og_url":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/","og_site_name":"Galleon Systems","article_published_time":"2008-02-08T08:44:58+00:00","author":"Richard N Williams","twitter_card":"summary_large_image","twitter_creator":"@galleonsystems","twitter_site":"@GalleonSystems","twitter_misc":{"Written by":"Richard N Williams","Est. reading time":"3 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/#article","isPartOf":{"@id":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/"},"author":{"name":"Richard N Williams","@id":"https:\/\/www.galsys.co.uk\/news\/#\/schema\/person\/38013a1dcb0021026d59957e276aa3cd"},"headline":"Configuring a LINUX based NTP Time Server","datePublished":"2008-02-08T08:44:58+00:00","mainEntityOfPage":{"@id":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/"},"wordCount":524,"articleSection":["Time Synchronisation"],"inLanguage":"en-US"},{"@type":"WebPage","@id":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/","url":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/","name":"Configuring a LINUX based NTP Time Server - Galleon Systems","isPartOf":{"@id":"https:\/\/www.galsys.co.uk\/news\/#website"},"datePublished":"2008-02-08T08:44:58+00:00","author":{"@id":"https:\/\/www.galsys.co.uk\/news\/#\/schema\/person\/38013a1dcb0021026d59957e276aa3cd"},"breadcrumb":{"@id":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.galsys.co.uk\/news\/configuring-a-linux-based-ntp-time-server\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.galsys.co.uk\/news\/"},{"@type":"ListItem","position":2,"name":"Configuring a LINUX based NTP Time Server"}]},{"@type":"WebSite","@id":"https:\/\/www.galsys.co.uk\/news\/#website","url":"https:\/\/www.galsys.co.uk\/news\/","name":"Galleon Systems","description":"Sales: 0121 608 7230","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.galsys.co.uk\/news\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.galsys.co.uk\/news\/#\/schema\/person\/38013a1dcb0021026d59957e276aa3cd","name":"Richard N Williams","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/secure.gravatar.com\/avatar\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/01862680879ba669edd67af1e800a1061bb93933cf7fe58c48043fb7d52911bc?s=96&d=mm&r=g","caption":"Richard N Williams"},"description":"Richard N Williams is a technical author and a specialist in the NTP Server and Time Synchronisation industry.","sameAs":["https:\/\/x.com\/galleonsystems"],"url":"https:\/\/www.galsys.co.uk\/news\/author\/admin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/posts\/102","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/comments?post=102"}],"version-history":[{"count":0,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/posts\/102\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/media?parent=102"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/categories?post=102"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.galsys.co.uk\/news\/wp-json\/wp\/v2\/tags?post=102"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}