X Tutup
Network Time Foundation's NTP Support Wiki Network Time Foundation

Your Donations Help Support the NTP Community --

Discussion of ConfiguringAutokey

ConfiguringAutokey was created to fill a need for an accurate step-by-step guide for setting up NTP Authentication using Autokey.

The information ipresented in ConfiguringAutokey was based on actual hands on testing of NTP Authentication after careful review of the Official NTP Authentication Documentation. This guide is not merely a compilation of existing information.

The information in ConfiguringAutokey was tested using various release versions of the NTP Reference Implementation, from both the stable and development tracks, on a variety of Linux and FreeBSD systems using different kernel versions.

-- SteveKostecke - 05 Dec 2005

Notes from Dr. Mills

The best advice is:
  1. Produce a working version of the configuration without Autokey.
  2. Roll keys for all group members using ntp-keygen with no options other than the -T option for the trusted hosts. Add the crypto command with no options to all configuration files. Add the autokey option to the server command for all clients of the trusted hosts. Verify the TC scheme works.
  3. Make the group keys with the -I option on a trusted host or trustedagent.
  4. Make the client keys from the group keys and distribute as in the original directions. Use an arbitrary file name, preferably the name of the group.
  5. Add the ident option to the client server command with name the same as the client keys installed.
  6. For broadcast clients, use the same files, but use the ident option in the crypto command instead.

All this is in the autokey.html page along with a detailed description of the operations. Note also the relevant white pages at the NTP website, especially the security analysis and the simulation and analysis of the on-wire protocol.

In contrast with the previous version, no options are required on the crypto command other than cited above. Note that the -s option is not required on the ntp-keygen program. These options can be added for special circumstances.

Dave
Topic revision: r6 - 15 Feb 2024, DruLavigne
X Tutup