Remember Me
forgot your password?

Configure your Linux NTP Server

Network Time Protocol (NTP) provides algorithms and defines messages for the synchronisation of time clients to an accurate time reference. This article discusses how to configure a Linux NTP Time Server to synchronise time with an Internet based public NTP Server.

NTP server systems fall into two categories: primary reference servers and secondary reference servers. Primary reference servers use an external timing reference to provide time, such as GPS or radio clocks. Secondary reference servers synchronise with primary reference NTP servers and offer slightly reduced accuracy. Primary reference servers are designated stratum 1 servers, while secondary servers have a stratum greater than 1.

The NTP Distribution

The NTP source code is freely available from the Network Time Protocol web site. The current version available for download is 4.2.4. NTP is available for the Linux operating systems with ports available for Windows NT. Once the source code is downloaded, it should be configured, compiled and installed on the host machine. Many Linux operating systems, such as RedHat, offer NTP RPM packages.

Configuring NTP

The ‘ntp.conf' file is main source of configuration information for a NTP server installation. Amongst other things, it contains a list of reference clocks that the installation is to synchronise. A list of NTP server references is specified with the ‘server' configuration command thus:

server time-a.nist.gov # NIST, Gaithersburg, Maryland NTP server
server time-c.timefreq.bldrdoc.gov # NIST, Boulder, Colorado NTP server

Controlling the NTP Server Daemon

Once configured, the NTP daemon can be started, stopped and restarted using the commands: ‘ntpd start'; ‘ntpd stop' and ‘ntpd restart'. The NTP server daemon can be queried using the ‘ntpq –p' command. The ntpq command queries the NTP server for synchronisation status and provides a list of servers with synchronisation information for each server.

NTP Access Control

Access to the NTP server can be restricted using the ‘restrict' directive in the ntp.conf file. You can restrict all access to the NTP server with:

restrict default ignore

To only allow machines on your own network to synchronize with the server use:

restrict 192.168.1.0 mask 255.255.255.0 nomodify notrap

Multiple restrict directives can be specified in the ntp.conf file to restrict access to a specified range of computers.

Authentication Options

Authentication allows a matching passwords to be specified by the NTP server and associated clients. NTP keys are stored in the ntp.keys file in the following format: Key-number M Key (The M stands for MD5 encryption), e.g.:

1 M secret
5 M RaBBit
7 M TiMeLy
10 M MYKEY

In the NTP configuration file ntp.conf, specify which of the keys specified above are trusted, i.e. are secure and you want to use. Any keys specified in the keys file but not trusted will not be used for authentication, e.g.:

trustedkey 1 7 10

The NTP server is now configured for authentication.

Client Configuration for Authentication

The client needs to be configured with similar information as the server, however, you may use a subset of the keys specified on the server. A different subset of keys can be used on different clients, e.g.:

Client A)
1 M secret
7 M TiMeLy

trustedkey 1 7

Client B)
1 M secret
5 M RaBBit
7 M TiMeLy
10 M MYKEY

trustedkey 7 10

Essentially authentication is used by the client to authenticate that the time server is who he says he is, and that no rogue server intervenes. The key is encrypted and sent to the client by the server where it is unencrypted and checked against the client keys to ensure a match.

vipin

Did you find this article useful? For more useful tips and hints, points to ponder and keep in mind, techniques, and insights pertaining to credit card, do please browse for more information at our websites. http://www.yoursgoogleincome.com http://www.freeearningtip.com

Rate this Article: 0 / 5 stars - 0 vote(s)
Print Email Re-Publish

Add new Comment



Captcha

  • Latest Networking Articles
  • More from vipin

Why The Matrix Compensation Plan Attracts the Welfare Minded

By: Wayne Wu | 24/12/2009
Who wants a compensation plan where you can build to an unlimited level, but only get paid on a certain number of distributors? If that's you, I give you the forced matrix compensation plan.

How MLM Consultants Can Help Your Business

By: Jikly Batista | 24/12/2009
Multi Level Marketing is an alternative way of advertising, promoting, and selling a product. It is unusual because it eliminates some of the usual steps that we have been used to. In this method, a product goes from the factory straight to the distributors, without going through a series of stores and the usual product advertising steps.

How To Sell You, Part 1

By: Jasmin Anderson | 24/12/2009
Part One of a Three series titled How To Sell You. Curt Johnson gives a short three part lesson on his point of view on how to sell you. This first series explains what it means to sell you, and how to go about doing such.

Internet Network Marketing Tips - The 5 Top Strategies For Attracting Leads Online

By: Dean Caporella | 23/12/2009
Internet network marketing tips are a dime a dozen today with information readily available on how to use the online work to build a network marketing business. Working to a system is one of the better tips you'll get.

How To Make Money Online With A Network Marketing Business Journal

By: Dean Caporella | 22/12/2009
A network marketing business journal may not seem like the greatest tool to build your business but start using one and then see if you can get by without it once it becomes part of your daily runnings.

Understanding The Stairstep Breakaway MLM Compensation Plan

By: Wayne Wu | 22/12/2009
The Stairstep Breakaway MLM Compensation Plan is the most commonly used pay plan as it has stood the test of time. But it is also the most complex and misunderstood type of pay plan and one that is most difficult for part time network marketers to make an income in.

Free Leads…The How To…Without The Bull…

By: DonnaRios | 22/12/2009
Have you thought that there has to be an easier way to grow my MLM or Home-Based Business? Developing a list of prospects for FREE can seem daunting. Till you know one of the secrets…..

Yoli Comp Plan! This Is Powerful

By: Dave Durham | 21/12/2009
Yoli Compensation Plan Page The Yoli Compensation Plan Consists of 8 Ways You Can Earn: 1 - Retail Profits 2 - Fast Start Bonus 3 - Break Even Bonus 4 - Binary Team Commissions 5 - Unilevel Executive Matching Bonus 6 - Global Leadership Bonus Pools 7 - Elite Leadership Bonus Pools 8 - Multiple Business Centers Yoli Compensation Plan is by far the most lucrative and unique I have come across in 8 years in MLM. Yoli has created a break even bonus within their hybrid compen...

Configure your Linux NTP Server

By: vipin | 22/10/2009 | Networking
Network Time Protocol (NTP) provides algorithms and defines messages for the synchronisation of time clients to an accurate time reference. This article discusses how to configure a Linux NTP Time Server to synchronise time with an Internet based public NTP Server. NTP server systems fall into two categories: primary reference servers and secondary reference servers. Primary reference servers use an external timing reference to provide time, such as GPS or radio clocks. Secondary reference serv

Franchising Territories

By: vipin | 22/10/2009 | Ask an Expert
Business franchising arrangements are usually conducted on the basis of a particular geographic area or territory. The franchisee breaks up the licensing of his business between different franchising territories, to ensure there’s no overlap of competition between franchises and to geographically grow the business nation wide or even world wide. Usually, the territory you are assigned is yours with exclusivity against any other business franchising agent that might otherwise move in to your area

"Business means Profit"

By: vipin | 22/10/2009 | Business
The next question which arises is how exhibition, events and fairs are worth for a business. Whether one should really care an use this concept to materialize the business in order to expand business and increase profit. There two schools which have different parameters for the new era of Exhibition, Events, conferences, summits and trade shows. One says , in order to be in business , one should attend such happenings to be in limelight of the business world and the expenses is must to be incu

Think about Click Fraud & the Downfall of Google

By: vipin | 17/10/2009 | Computers
Internet marketers facing higher advertising fees on search networks are becoming increasingly concerned about a form of online fraud that was thought to have been contained years ago. .

Managing the performance of teams

By: vipin | 17/10/2009 | Business
John is confused. He prides himself as being a fair and reasonably good manager. This is not his first assignment as a manager, but it is certainly turning out to be his most challenging. John had taken over the sales team almost six months ago. Performance at the time was not up to standard and although individual performance has improved over the last six months, John just cannot get his sales people to work as a team. What is he missing out on, or not doing so well?

7 Important Website Design Tips to Make Your Site More Attractive

By: vipin | 14/10/2009 | Computers
"How can I attract thousands of visitors to my site?”, many people ask me this question. Well, driving high traffic to Website is very important, but what's even more important, is designing a website in that way which makes them stays longer. In this article, you're going to learn 7 important website design tips to make your site more attractive.

When is the last time you wrote a letter?

By: vipin | 07/10/2009 | Business
On Letter Writing I'm going to be very specific in my definition of the word letter. By letter, I don't mean an email, I don't mean a post it note slapped to the front of the refrigerator, and I really don't mean a text message or instant message darting across a computer screen of any size or shape. By letter I mean a good old fashioned, sit down, pen to pretty paper event in which you express something of yourself to another person.

Massive Participation opportunity for Ebook Free Internet Marketing

By: vipin | 03/10/2009 | Business
Co -founders Rod Stinson and Chris Koehl have brought the 1 Step System opportunity to people all over the world. "Massive Participation" would be the best way to describe what has been starting to happen within the last couple of weeks, as so many want to jump on the band wagon while the company is still very young.

Submit Your Articles Free: Signup

Use of this web site constitutes acceptance of the Terms Of Use and Privacy Policy | User published content is licensed under a Creative Commons License.
Copyright © 2005-2008 Free Articles by ArticlesBase.com, All rights reserved. (0.20, 5, w2)