From: Harlan Stenn Date: Fri, 21 Dec 2012 23:25:01 +0000 (+0000) Subject: NTP_4_2_7P336 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c9156876ff960e52ba4bcf64fb2b04aa5bd4347a;p=thirdparty%2Fntp.git NTP_4_2_7P336 bk: 50d4efcdVuKrKObrbFAGNaBDEOnskQ --- diff --git a/ChangeLog b/ChangeLog index 7db7efb84a..75ce001796 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,4 @@ +(4.2.7p336) 2012/12/21 Released by Harlan Stenn * [Bug 1223] Final cleanup for rlimit changes. (4.2.7p335) 2012/12/18 Released by Harlan Stenn * Update documentation templates and definitions. diff --git a/ntpd/invoke-ntp.conf.texi b/ntpd/invoke-ntp.conf.texi index e066fbcded..8cb6df4762 100644 --- a/ntpd/invoke-ntp.conf.texi +++ b/ntpd/invoke-ntp.conf.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.conf.texi) # -# It has been AutoGen-ed December 17, 2012 at 11:37:53 AM by AutoGen 5.16.2 +# It has been AutoGen-ed December 21, 2012 at 11:32:20 AM by AutoGen 5.16.2 # From the definitions ntp.conf.def # and the template file agtexi-file.tpl @end ignore diff --git a/ntpd/invoke-ntp.keys.texi b/ntpd/invoke-ntp.keys.texi index f1debb67c0..7fc50fbd53 100644 --- a/ntpd/invoke-ntp.keys.texi +++ b/ntpd/invoke-ntp.keys.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntp.keys.texi) # -# It has been AutoGen-ed December 18, 2012 at 03:31:40 AM by AutoGen 5.16.2 +# It has been AutoGen-ed December 21, 2012 at 11:19:24 PM by AutoGen 5.16.2 # From the definitions ntp.keys.def # and the template file agtexi-file.tpl @end ignore diff --git a/ntpd/invoke-ntpd.texi b/ntpd/invoke-ntpd.texi index aae92c9c4d..a306b97162 100644 --- a/ntpd/invoke-ntpd.texi +++ b/ntpd/invoke-ntpd.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntpd.texi) # -# It has been AutoGen-ed December 18, 2012 at 03:57:30 AM by AutoGen 5.16.2 +# It has been AutoGen-ed December 21, 2012 at 06:19:58 PM by AutoGen 5.16.2 # From the definitions ntpd-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -140,7 +140,7 @@ with a status code of 0. @exampleindent 0 @example -ntpd - NTP daemon program - Ver. 4.2.7p335 +ntpd - NTP daemon program - Ver. 4.2.7p336 USAGE: ntpd [ - [] | --[@{=| @}] ]... \ [ ... ] Flg Arg Option-Name Description diff --git a/ntpd/ntp.conf.5man b/ntpd/ntp.conf.5man index 714d800109..d46ab9330c 100644 --- a/ntpd/ntp.conf.5man +++ b/ntpd/ntp.conf.5man @@ -1,8 +1,8 @@ -.TH ntp.conf 5man "17 Dec 2012" "4.2.7p335" "File Formats" +.TH ntp.conf 5man "21 Dec 2012" "4.2.7p336" "File Formats" .\" .\" EDIT THIS FILE WITH CAUTION (ntp.man) .\" -.\" It has been AutoGen-ed December 17, 2012 at 11:37:40 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 11:32:07 AM by AutoGen 5.16.2 .\" From the definitions ntp.conf.def .\" and the template file agman-cmd.tpl .\" diff --git a/ntpd/ntp.conf.5mdoc b/ntpd/ntp.conf.5mdoc index 9b3c2bcb5a..ee43e60427 100644 --- a/ntpd/ntp.conf.5mdoc +++ b/ntpd/ntp.conf.5mdoc @@ -1,9 +1,9 @@ -.Dd December 18 2012 +.Dd December 21 2012 .Dt NTP_CONF 5mdoc File Formats .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntp.mdoc) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:57:32 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:20:00 PM by AutoGen 5.16.2 .\" From the definitions ntp.conf.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/ntpd/ntp.conf.html b/ntpd/ntp.conf.html index e3b234f439..6e925b2e4b 100644 --- a/ntpd/ntp.conf.html +++ b/ntpd/ntp.conf.html @@ -33,14 +33,7 @@ Up: (dir)

This document describes the configuration file for the NTP Project's ntpd program. -

This document applies to version 4.2.7p335 of ntp.conf. - -

-

Short Contents

- -
+

This document applies to version 4.2.7p336 of ntp.conf.

Chroot the server to the directory -jaildir +jaildir . This option also implies that the server attempts to drop root privileges at startup. You may need to also specify a --u +-u option. This option is only available if the OS supports adjusting the clock without full root privileges. This option is supported under NetBSD (configure with -–enable-clockctl -) and Linux (configure with -–enable-linuxcaps -). +--enable-clockctl) and Linux (configure with +--enable-linuxcaps).


Next: , @@ -502,7 +500,7 @@ This option takes an argument string iface. given interface name. This option may appear multiple times. This option also implies not opening other addresses, except wildcard and localhost. This option is deprecated. Please consider using the configuration file -interface command, which is more versatile. +interface command, which is more versatile.


Next: , @@ -517,10 +515,10 @@ Up: ntpd Invocation This is the “path to symmetric keys” option. This option takes an argument string. Specify the name and path of the symmetric key file. -/etc/ntp.keys +/etc/ntp.keys is the default. This is the same operation as the -keys keyfile +keys keyfile configuration file directive.


@@ -538,7 +536,7 @@ This option takes an argument string. Specify the name and path of the log file. The default is the system log file. This is the same operation as the -logfile logfile +logfile logfile configuration file directive.


@@ -554,7 +552,7 @@ Up: ntpd Invocation This is the “do not listen to virtual interfaces” option. Do not listen to virtual interfaces, defined as those with names containing a colon. This option is deprecated. Please -consider using the configuration file interface command, which +consider using the configuration file interface command, which is more versatile.


@@ -590,7 +588,7 @@ Up: ntpd Invocation

This is the “run at high priority” option. To the extent permitted by the operating system, run -ntpd +ntpd at the highest priority.


@@ -606,10 +604,10 @@ Up: ntpd Invocation This is the “path to the pid file” option. This option takes an argument string. Specify the name and path of the file used to record -ntpd's +ntpd's process ID. This is the same operation as the -pidfile pidfile +pidfile pidfile configuration file directive.


@@ -625,9 +623,9 @@ Up: ntpd Invocation This is the “process priority” option. This option takes an argument number. To the extent permitted by the operating system, run -ntpd +ntpd at the specified -sched_setscheduler(SCHED_FIFO) +sched_setscheduler(SCHED_FIFO) priority.


@@ -648,15 +646,15 @@ This is the “set the time and quit” option. saveconfigquit, wait-sync. -

ntpd +

ntpd will not daemonize and will exit after the clock is first synchronized. This behavior mimics that of the -ntpdate +ntpdate program, which will soon be replaced with a shell script. The --g +-g and --x +-x options can be used with this option. Note: The kernel time discipline is disabled with this option.

@@ -694,7 +692,7 @@ This option takes an argument string. quit, wait-sync. -

Cause ntpd to parse its startup configuration file and save an +

Cause ntpd to parse its startup configuration file and save an equivalent to the given filename and exit. This option was designed for automated testing.

@@ -712,7 +710,7 @@ This is the “statistics file location” option. This option takes an argument string. Specify the directory path for files created by the statistics facility. This is the same operation as the -statsdir statsdir +statsdir statsdir configuration file directive.


@@ -733,7 +731,7 @@ This option takes an argument string tkey.
  • may appear an unlimited number of times. -

    Add a key number to the trusted key list. +

    Add the specified key number to the trusted key list.


    Next: , @@ -757,10 +755,8 @@ This option takes an argument string. This option is only available if the OS supports adjusting the clock without full root privileges. This option is supported under NetBSD (configure with -–enable-clockctl -) and Linux (configure with -–enable-linuxcaps -). +--enable-clockctl) and Linux (configure with +--enable-linuxcaps).


    Next: , @@ -799,13 +795,13 @@ This option takes an argument number. nofork, quit, saveconfigquit. -

    If greater than zero, alters ntpd behavior when forking to +

    If greater than zero, alters ntpd's behavior when forking to daemonize. Instead of exiting with status 0 immediately after the fork, the parent waits up to the specified number of seconds for the child to first synchronize the clock. The exit status is zero (success) if the clock was synchronized, -otherwise it is ETIMEDOUT. -This provides the option for a script starting ntpd to easily +otherwise it is ETIMEDOUT. +This provides the option for a script starting ntpd to easily wait for the first set of the clock before proceeding.


    @@ -824,12 +820,12 @@ This option sets the threshold to 600 s, which is well within the accuracy windo Note: Since the slew rate of typical Unix kernels is limited to 0.5 ms/s, each second of adjustment requires an amortization interval of 2000 s. Thus, an adjustment as much as 600 s will take almost 14 days to complete. This option can be used with the --g +-g and --q +-q options. See the -tinker +tinker configuration file directive for other options. Note: The kernel time discipline is disabled with this option.
    @@ -850,8 +846,8 @@ This is the “use cpu cycle counter (windows only)” option.
  • must be compiled in by defining SYS_WINNT during the compilation. -

    Attempt to substitute the CPU counter for QueryPerformanceCounter. -The CPU counter and QueryPerformanceCounter are compared, and if +

    Attempt to substitute the CPU counter for QueryPerformanceCounter. +The CPU counter and QueryPerformanceCounter are compared, and if they have the same frequency, the CPU counter (RDTSC on x86) is used directly, saving the overhead of a system call.

    @@ -873,7 +869,7 @@ This option takes an argument string.
  • must be compiled in by defining SYS_WINNT during the compilation. -

    Force substitution the CPU counter for QueryPerformanceCounter. +

    Force substitution the CPU counter for QueryPerformanceCounter. The CPU counter (RDTSC on x86) is used unconditionally with the given frequency (in Hz).

    @@ -954,10 +950,15 @@ Up: ntpd Invocation

    ntpd Usage

    -

    .Ss -"How -NTP -Operates" +

    +


    + +
    +
    + +

    How NTP Operates

    + +

    How NTP Operates The ntpd utility operates by exchanging messages with @@ -975,12 +976,8 @@ interval of 64s, several minutes can elapse before the clock is set. This initial delay to set the clock can be safely and dramatically reduced using the -.Cm -iburst -keyword with the -.Ic -server -configuration +iburst keyword with the +server configuration command, as described in ntp.conf(5). @@ -1078,23 +1075,18 @@ frequency error is so large that the first sample is outside the acceptable range, ntpd enters the same state as when the -.Pa -ntp.drift +ntp.drift file is not present. The intent of this behavior is to quickly correct the frequency and restore operation to the normal tracking mode. In the most extreme cases (the host -.Cm -time.ien.it -comes to mind), there may be occasional +time.ien.it comes to mind), there may be occasional step/slew corrections and subsequent frequency corrections. It helps in these cases to use the -.Cm -burst -keyword when +burst keyword when configuring the server, but ONLY when you have permission to do so from the owner of the target host. @@ -1109,23 +1101,21 @@ but this was never more than a mediocre hack and is no longer needed.

    There is a way to start ntpd(8) that often addresses all of the problems mentioned above. -.Ss -"Starting -NTP -(Best -Current -Practice)" +

    +


    + +
    +
    + +

    Starting NTP (Best Current Practice)

    + +

    Starting NTP (Best Current Practice) First, use the -.Cm -iburst -option on your -.Cm -server -entries. +iburst option on your +server entries.

    If you can also keep a good -.Pa -ntp.drift +ntp.drift file then ntpd(8) will effectively "warm-start" and your system's clock will @@ -1144,9 +1134,7 @@ as much time as possible to get the system's clock synchronized and stable.

    Finally, if you have processes like -.Cm -dovecot -or database servers +dovecot or database servers that require monotonically-increasing time, run @@ -1159,15 +1147,20 @@ and after exits successfully it is as safe as it will ever be to start any process that require stable time. -.Ss -"Frequency -Discipline" +

    +


    + +
    +
    + +

    Frequency Discipline

    + +

    Frequency Discipline The ntpd behavior at startup depends on whether the frequency file, usually -.Pa -ntp.drift +ntp.drift, , exists. This file @@ -1194,22 +1187,25 @@ frequency is initialized from the file and enters normal mode immediately. After that the current frequency offset is written to the file at hourly intervals. -.Ss -"Operating -Modes" +

    +


    + +
    +
    + +

    Operating Modes

    + +

    Operating Modes The ntpd utility can operate in any of several modes, including symmetric active/passive, client/server broadcast/multicast and manycast, as described in the -.Qq -Association -Management +"AssociationManagement" page (available as part of the HTML documentation provided in -.Pa -/usr/share/doc/ntp +/usr/share/doc/ntp). ) . It normally operates continuously while @@ -1265,12 +1261,8 @@ setting the clock for the first time. The procedure for initially setting the clock is the same as in continuous mode; most applications will probably want to specify the -.Cm -iburst -keyword with the -.Ic -server -configuration command. +iburst keyword with the +server configuration command. With this keyword a volley of messages are exchanged to groom the data and the clock is set in about 10 s. @@ -1302,10 +1294,15 @@ stopped and run in one-time mode as required. At each startup, the frequency is read from the file and initializes the kernel frequency. -.Ss -"Poll -Interval -Control" +

    +


    + +
    +
    + +

    Poll Interval Control

    + +

    Poll Interval Control This version of NTP includes an intricate state machine to reduce the network load while maintaining a quality of synchronization consistent with the observed jitter and wander. @@ -1317,16 +1314,10 @@ the consequences of changing the poll adjustment range from the default minimum of 64 s to the default maximum of 1,024 s. The default minimum can be changed with the -.Ic -tinker -.Cm -minpoll -command to a value not less than 16 s. +tinker minpoll command to a value not less than 16 s. This value is used for all configured associations, unless overridden by the -.Cm -minpoll -option on the configuration command. +minpoll option on the configuration command. Note that most device drivers will not operate properly if the poll interval is less than 64 s and that the broadcast server and manycast client associations will @@ -1348,18 +1339,22 @@ At a minimum of 1,024 s, for example, the capture range is only 31 PPM. If the intrinsic error is greater than this, the drift file -.Pa -ntp.drift +ntp.drift will have to be specially tailored to reduce the residual error below this limit. Once this is done, the drift file is automatically updated once per hour and is available to initialize the frequency on subsequent daemon restarts. -.Ss -"The -huff-n'-puff -Filter" +

    +


    + +
    +
    + +

    The huff-n'-puff Filter

    + +

    The huff-n'-puff Filter In scenarios where a considerable amount of data are to be downloaded or uploaded over telephone modems, timekeeping quality can be seriously degraded. @@ -1388,12 +1383,8 @@ and positive (puff) correction, which depends on the sign of the offset.

    The filter is activated by the -.Ic -tinker -command and -.Cm -huffpuff -keyword, as described in +tinker command and +huffpuff keyword, as described in ntp.conf(5).


    @@ -1432,8 +1423,7 @@ at http://www.ntp.org/ . A snapshot of this documentation is available in HTML format in -.Pa -/usr/share/doc/ntp +/usr/share/doc/ntp. . .Rs .%A diff --git a/ntpd/ntpd.man.in b/ntpd/ntpd.man.in index 9fc01aec93..6c43dfc705 100644 --- a/ntpd/ntpd.man.in +++ b/ntpd/ntpd.man.in @@ -1,8 +1,8 @@ -.TH ntpd @NTPD_MS@ "17 Dec 2012" "4.2.7p335" "User Commands" +.TH ntpd @NTPD_MS@ "21 Dec 2012" "4.2.7p336" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (ntpd-opts.man) .\" -.\" It has been AutoGen-ed December 17, 2012 at 11:37:47 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 11:32:14 AM by AutoGen 5.16.2 .\" From the definitions ntpd-opts.def .\" and the template file agman-cmd.tpl .\" diff --git a/ntpd/ntpd.mdoc.in b/ntpd/ntpd.mdoc.in index fd2428d7c7..42d1fecc0e 100644 --- a/ntpd/ntpd.mdoc.in +++ b/ntpd/ntpd.mdoc.in @@ -1,9 +1,9 @@ -.Dd December 18 2012 +.Dd December 21 2012 .Dt NTPD @NTPD_MS@ User Commands .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntpd-opts.mdoc) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:57:36 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:20:04 PM by AutoGen 5.16.2 .\" From the definitions ntpd-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/ntpdc/invoke-ntpdc.texi b/ntpdc/invoke-ntpdc.texi index b61260aa3e..871f7726ea 100644 --- a/ntpdc/invoke-ntpdc.texi +++ b/ntpdc/invoke-ntpdc.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-ntpdc.texi) # -# It has been AutoGen-ed December 18, 2012 at 03:57:58 AM by AutoGen 5.16.2 +# It has been AutoGen-ed December 21, 2012 at 06:20:27 PM by AutoGen 5.16.2 # From the definitions ntpdc-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -69,7 +69,7 @@ with a status code of 0. @exampleindent 0 @example -ntpdc - vendor-specific NTPD control program - Ver. 4.2.7p335 +ntpdc - vendor-specific NTPD control program - Ver. 4.2.7p336 USAGE: ntpdc [ - [] | --[@{=| @}] ]... [ host ...] Flg Arg Option-Name Description -4 no ipv4 Force IPv4 DNS name resolution diff --git a/ntpdc/ntpdc-opts.c b/ntpdc/ntpdc-opts.c index ad6969431b..5a7291c61d 100644 --- a/ntpdc/ntpdc-opts.c +++ b/ntpdc/ntpdc-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpdc-opts.c) * - * It has been AutoGen-ed December 18, 2012 at 03:57:48 AM by AutoGen 5.16.2 + * It has been AutoGen-ed December 21, 2012 at 06:20:16 PM by AutoGen 5.16.2 * From the definitions ntpdc-opts.def * and the template file options * @@ -72,7 +72,7 @@ extern FILE * option_usage_fp; * ntpdc option static const strings */ static char const ntpdc_opt_strs[1862] = -/* 0 */ "ntpdc 4.2.7p335\n" +/* 0 */ "ntpdc 4.2.7p336\n" "Copyright (C) 1970-2012 The University of Delaware, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" @@ -130,14 +130,14 @@ static char const ntpdc_opt_strs[1862] = /* 1640 */ "no-load-opts\0" /* 1653 */ "no\0" /* 1656 */ "NTPDC\0" -/* 1662 */ "ntpdc - vendor-specific NTPD control program - Ver. 4.2.7p335\n" +/* 1662 */ "ntpdc - vendor-specific NTPD control program - Ver. 4.2.7p336\n" "USAGE: %s [ - [] | --[{=| }] ]... [ host ...]\n\0" /* 1794 */ "$HOME\0" /* 1800 */ ".\0" /* 1802 */ ".ntprc\0" /* 1809 */ "http://bugs.ntp.org, bugs@ntp.org\0" /* 1843 */ "\n\n\0" -/* 1846 */ "ntpdc 4.2.7p335"; +/* 1846 */ "ntpdc 4.2.7p336"; /* * ipv4 option description with diff --git a/ntpdc/ntpdc-opts.h b/ntpdc/ntpdc-opts.h index fd463e0053..f75a4c6285 100644 --- a/ntpdc/ntpdc-opts.h +++ b/ntpdc/ntpdc-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (ntpdc-opts.h) * - * It has been AutoGen-ed December 18, 2012 at 03:57:48 AM by AutoGen 5.16.2 + * It has been AutoGen-ed December 21, 2012 at 06:20:15 PM by AutoGen 5.16.2 * From the definitions ntpdc-opts.def * and the template file options * @@ -82,8 +82,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 15 -#define NTPDC_VERSION "4.2.7p335" -#define NTPDC_FULL_VERSION "ntpdc 4.2.7p335" +#define NTPDC_VERSION "4.2.7p336" +#define NTPDC_FULL_VERSION "ntpdc 4.2.7p336" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/ntpdc/ntpdc.1ntpdcman b/ntpdc/ntpdc.1ntpdcman index e5f888e907..53ad4d37c2 100644 --- a/ntpdc/ntpdc.1ntpdcman +++ b/ntpdc/ntpdc.1ntpdcman @@ -1,8 +1,8 @@ -.TH ntpdc 1ntpdcman "18 Dec 2012" "4.2.7p335" "User Commands" +.TH ntpdc 1ntpdcman "21 Dec 2012" "4.2.7p336" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (ntpdc-opts.man) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:57:54 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:20:23 PM by AutoGen 5.16.2 .\" From the definitions ntpdc-opts.def .\" and the template file agman-cmd.tpl .\" diff --git a/ntpdc/ntpdc.1ntpdcmdoc b/ntpdc/ntpdc.1ntpdcmdoc index 61818e9b08..0e2c42c75c 100644 --- a/ntpdc/ntpdc.1ntpdcmdoc +++ b/ntpdc/ntpdc.1ntpdcmdoc @@ -1,9 +1,9 @@ -.Dd December 18 2012 +.Dd December 21 2012 .Dt NTPDC 1ntpdcmdoc User Commands .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntpdc-opts.mdoc) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:58:00 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:20:30 PM by AutoGen 5.16.2 .\" From the definitions ntpdc-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/ntpdc/ntpdc.html b/ntpdc/ntpdc.html index 323910aba3..1a8bb83e15 100644 --- a/ntpdc/ntpdc.html +++ b/ntpdc/ntpdc.html @@ -36,7 +36,7 @@ display the time offset of the system clock relative to the server clock. Run as root, it can correct the system clock to this offset as well. It can be run as an interactive command or from a cron job. -

    This document applies to version 4.2.7p335 of ntpdc. +

    This document applies to version 4.2.7p336 of ntpdc.

    The program implements the SNTP protocol as defined by RFC 5905, the NTPv4 IETF specification. @@ -138,7 +138,7 @@ the usage text by passing it through a pager program. used to select the program, defaulting to more. Both will exit with a status code of 0. -

    ntpdc - vendor-specific NTPD control program - Ver. 4.2.7p335
    +
    ntpdc - vendor-specific NTPD control program - Ver. 4.2.7p336
     USAGE:  ntpdc [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]
       Flg Arg Option-Name    Description
        -4 no  ipv4           Force IPv4 DNS name resolution
    diff --git a/ntpdc/ntpdc.man.in b/ntpdc/ntpdc.man.in
    index 9911f4eb4f..64b4034281 100644
    --- a/ntpdc/ntpdc.man.in
    +++ b/ntpdc/ntpdc.man.in
    @@ -1,8 +1,8 @@
    -.TH ntpdc @NTPDC_MS@ "18 Dec 2012" "4.2.7p335" "User Commands"
    +.TH ntpdc @NTPDC_MS@ "21 Dec 2012" "4.2.7p336" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:57:54 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:23 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpdc-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/ntpdc/ntpdc.mdoc.in b/ntpdc/ntpdc.mdoc.in
    index 938589c405..5a10cfb912 100644
    --- a/ntpdc/ntpdc.mdoc.in
    +++ b/ntpdc/ntpdc.mdoc.in
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt NTPDC @NTPDC_MS@ User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntpdc-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:00 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:30 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpdc-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/ntpq/invoke-ntpq.texi b/ntpq/invoke-ntpq.texi
    index f64484a8cf..e561172507 100644
    --- a/ntpq/invoke-ntpq.texi
    +++ b/ntpq/invoke-ntpq.texi
    @@ -6,7 +6,7 @@
     # 
     # EDIT THIS FILE WITH CAUTION  (invoke-ntpq.texi)
     # 
    -# It has been AutoGen-ed  December 18, 2012 at 03:58:14 AM by AutoGen 5.16.2
    +# It has been AutoGen-ed  December 21, 2012 at 06:20:44 PM by AutoGen 5.16.2
     # From the definitions    ntpq-opts.def
     # and the template file   agtexi-cmd.tpl
     @end ignore
    @@ -272,7 +272,7 @@ with a status code of 0.
     
     @exampleindent 0
     @example
    -ntpq - standard NTP query program - Ver. 4.2.7p335
    +ntpq - standard NTP query program - Ver. 4.2.7p336
     USAGE:  ntpq [ - [] | --[@{=| @}] ]... [ host ...]
       Flg Arg Option-Name    Description
        -4 no  ipv4           Force IPv4 DNS name resolution
    diff --git a/ntpq/ntpq-opts.c b/ntpq/ntpq-opts.c
    index af64d364df..5092f3d7cf 100644
    --- a/ntpq/ntpq-opts.c
    +++ b/ntpq/ntpq-opts.c
    @@ -1,7 +1,7 @@
     /*  
      *  EDIT THIS FILE WITH CAUTION  (ntpq-opts.c)
      *  
    - *  It has been AutoGen-ed  December 18, 2012 at 03:58:03 AM by AutoGen 5.16.2
    + *  It has been AutoGen-ed  December 21, 2012 at 06:20:33 PM by AutoGen 5.16.2
      *  From the definitions    ntpq-opts.def
      *  and the template file   options
      *
    @@ -72,7 +72,7 @@ extern FILE * option_usage_fp;
      *  ntpq option static const strings
      */
     static char const ntpq_opt_strs[1833] =
    -/*     0 */ "ntpq 4.2.7p335\n"
    +/*     0 */ "ntpq 4.2.7p336\n"
                 "Copyright (C) 1970-2012 The University of Delaware, all rights reserved.\n"
                 "This is free software. It is licensed for use, modification and\n"
                 "redistribution under the terms of the NTP License, copies of which\n"
    @@ -128,13 +128,13 @@ static char const ntpq_opt_strs[1833] =
     /*  1627 */ "no-load-opts\0"
     /*  1640 */ "no\0"
     /*  1643 */ "NTPQ\0"
    -/*  1648 */ "ntpq - standard NTP query program - Ver. 4.2.7p335\n"
    +/*  1648 */ "ntpq - standard NTP query program - Ver. 4.2.7p336\n"
                 "USAGE:  %s [ - [] | --[{=| }] ]... [ host ...]\n\0"
     /*  1769 */ "$HOME\0"
     /*  1775 */ ".\0"
     /*  1777 */ ".ntprc\0"
     /*  1784 */ "http://bugs.ntp.org, bugs@ntp.org\0"
    -/*  1818 */ "ntpq 4.2.7p335";
    +/*  1818 */ "ntpq 4.2.7p336";
     
     /*
      *  ipv4 option description with
    diff --git a/ntpq/ntpq-opts.h b/ntpq/ntpq-opts.h
    index fca5b1763b..3ce7b6e1dd 100644
    --- a/ntpq/ntpq-opts.h
    +++ b/ntpq/ntpq-opts.h
    @@ -1,7 +1,7 @@
     /*  
      *  EDIT THIS FILE WITH CAUTION  (ntpq-opts.h)
      *  
    - *  It has been AutoGen-ed  December 18, 2012 at 03:58:02 AM by AutoGen 5.16.2
    + *  It has been AutoGen-ed  December 21, 2012 at 06:20:32 PM by AutoGen 5.16.2
      *  From the definitions    ntpq-opts.def
      *  and the template file   options
      *
    @@ -81,8 +81,8 @@ typedef enum {
     } teOptIndex;
     
     #define OPTION_CT    14
    -#define NTPQ_VERSION       "4.2.7p335"
    -#define NTPQ_FULL_VERSION  "ntpq 4.2.7p335"
    +#define NTPQ_VERSION       "4.2.7p336"
    +#define NTPQ_FULL_VERSION  "ntpq 4.2.7p336"
     
     /*
      *  Interface defines for all options.  Replace "n" with the UPPER_CASED
    diff --git a/ntpq/ntpq.1ntpqman b/ntpq/ntpq.1ntpqman
    index 158f6c0047..86c0a3db24 100644
    --- a/ntpq/ntpq.1ntpqman
    +++ b/ntpq/ntpq.1ntpqman
    @@ -1,8 +1,8 @@
    -.TH ntpq 1ntpqman "18 Dec 2012" "4.2.7p335" "User Commands"
    +.TH ntpq 1ntpqman "21 Dec 2012" "4.2.7p336" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntpq-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:10 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:40 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpq-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/ntpq/ntpq.1ntpqmdoc b/ntpq/ntpq.1ntpqmdoc
    index 0099c5778d..41ba9c659c 100644
    --- a/ntpq/ntpq.1ntpqmdoc
    +++ b/ntpq/ntpq.1ntpqmdoc
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt NTPQ 1ntpqmdoc User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntpq-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:16 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:46 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpq-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/ntpq/ntpq.man.in b/ntpq/ntpq.man.in
    index 553823a936..8a390065cf 100644
    --- a/ntpq/ntpq.man.in
    +++ b/ntpq/ntpq.man.in
    @@ -1,8 +1,8 @@
    -.TH ntpq @NTPQ_MS@ "18 Dec 2012" "4.2.7p335" "User Commands"
    +.TH ntpq @NTPQ_MS@ "21 Dec 2012" "4.2.7p336" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntpq-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:10 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:40 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpq-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/ntpq/ntpq.mdoc.in b/ntpq/ntpq.mdoc.in
    index 062e96a5d9..5bcdc62726 100644
    --- a/ntpq/ntpq.mdoc.in
    +++ b/ntpq/ntpq.mdoc.in
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt NTPQ @NTPQ_MS@ User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntpq-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:16 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:46 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpq-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/ntpsnmpd/invoke-ntpsnmpd.texi b/ntpsnmpd/invoke-ntpsnmpd.texi
    index 7e5f8deb3d..750c874466 100644
    --- a/ntpsnmpd/invoke-ntpsnmpd.texi
    +++ b/ntpsnmpd/invoke-ntpsnmpd.texi
    @@ -6,7 +6,7 @@
     # 
     # EDIT THIS FILE WITH CAUTION  (invoke-ntpsnmpd.texi)
     # 
    -# It has been AutoGen-ed  December 18, 2012 at 03:58:29 AM by AutoGen 5.16.2
    +# It has been AutoGen-ed  December 21, 2012 at 06:21:00 PM by AutoGen 5.16.2
     # From the definitions    ntpsnmpd-opts.def
     # and the template file   agtexi-cmd.tpl
     @end ignore
    @@ -43,7 +43,7 @@ with a status code of 0.
     
     @exampleindent 0
     @example
    -ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p335
    +ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p336
     USAGE:  ntpsnmpd [ - [] | --[@{=| @}] ]...
       Flg Arg Option-Name    Description
        -n no  nofork         Do not fork
    diff --git a/ntpsnmpd/ntpsnmpd-opts.c b/ntpsnmpd/ntpsnmpd-opts.c
    index 6b0fff0c0a..052b229b67 100644
    --- a/ntpsnmpd/ntpsnmpd-opts.c
    +++ b/ntpsnmpd/ntpsnmpd-opts.c
    @@ -1,7 +1,7 @@
     /*  
      *  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.c)
      *  
    - *  It has been AutoGen-ed  December 18, 2012 at 03:58:19 AM by AutoGen 5.16.2
    + *  It has been AutoGen-ed  December 21, 2012 at 06:20:49 PM by AutoGen 5.16.2
      *  From the definitions    ntpsnmpd-opts.def
      *  and the template file   options
      *
    @@ -64,7 +64,7 @@ extern FILE * option_usage_fp;
      *  ntpsnmpd option static const strings
      */
     static char const ntpsnmpd_opt_strs[1561] =
    -/*     0 */ "ntpsnmpd 4.2.7p335\n"
    +/*     0 */ "ntpsnmpd 4.2.7p336\n"
                 "Copyright (C) 1970-2012 The University of Delaware, all rights reserved.\n"
                 "This is free software. It is licensed for use, modification and\n"
                 "redistribution under the terms of the NTP License, copies of which\n"
    @@ -103,14 +103,14 @@ static char const ntpsnmpd_opt_strs[1561] =
     /*  1360 */ "no-load-opts\0"
     /*  1373 */ "no\0"
     /*  1376 */ "NTPSNMPD\0"
    -/*  1385 */ "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p335\n"
    +/*  1385 */ "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.7p336\n"
                 "USAGE:  %s [ - [] | --[{=| }] ]...\n\0"
     /*  1490 */ "$HOME\0"
     /*  1496 */ ".\0"
     /*  1498 */ ".ntprc\0"
     /*  1505 */ "http://bugs.ntp.org, bugs@ntp.org\0"
     /*  1539 */ "\n\n\0"
    -/*  1542 */ "ntpsnmpd 4.2.7p335";
    +/*  1542 */ "ntpsnmpd 4.2.7p336";
     
     /*
      *  nofork option description:
    diff --git a/ntpsnmpd/ntpsnmpd-opts.h b/ntpsnmpd/ntpsnmpd-opts.h
    index 1cd3927cbf..196965183b 100644
    --- a/ntpsnmpd/ntpsnmpd-opts.h
    +++ b/ntpsnmpd/ntpsnmpd-opts.h
    @@ -1,7 +1,7 @@
     /*  
      *  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.h)
      *  
    - *  It has been AutoGen-ed  December 18, 2012 at 03:58:18 AM by AutoGen 5.16.2
    + *  It has been AutoGen-ed  December 21, 2012 at 06:20:48 PM by AutoGen 5.16.2
      *  From the definitions    ntpsnmpd-opts.def
      *  and the template file   options
      *
    @@ -75,8 +75,8 @@ typedef enum {
     } teOptIndex;
     
     #define OPTION_CT    8
    -#define NTPSNMPD_VERSION       "4.2.7p335"
    -#define NTPSNMPD_FULL_VERSION  "ntpsnmpd 4.2.7p335"
    +#define NTPSNMPD_VERSION       "4.2.7p336"
    +#define NTPSNMPD_FULL_VERSION  "ntpsnmpd 4.2.7p336"
     
     /*
      *  Interface defines for all options.  Replace "n" with the UPPER_CASED
    diff --git a/ntpsnmpd/ntpsnmpd.1ntpsnmpdman b/ntpsnmpd/ntpsnmpd.1ntpsnmpdman
    index a5b879ab6b..6a618186b4 100644
    --- a/ntpsnmpd/ntpsnmpd.1ntpsnmpdman
    +++ b/ntpsnmpd/ntpsnmpd.1ntpsnmpdman
    @@ -1,8 +1,8 @@
    -.TH ntpsnmpd 1ntpsnmpdman "18 Dec 2012" "4.2.7p335" "User Commands"
    +.TH ntpsnmpd 1ntpsnmpdman "21 Dec 2012" "4.2.7p336" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:25 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:57 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpsnmpd-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc b/ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc
    index 10155db599..5605a10924 100644
    --- a/ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc
    +++ b/ntpsnmpd/ntpsnmpd.1ntpsnmpdmdoc
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt NTPSNMPD 1ntpsnmpdmdoc User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:31 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:21:02 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpsnmpd-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/ntpsnmpd/ntpsnmpd.man.in b/ntpsnmpd/ntpsnmpd.man.in
    index 7df737f839..e0c9201b53 100644
    --- a/ntpsnmpd/ntpsnmpd.man.in
    +++ b/ntpsnmpd/ntpsnmpd.man.in
    @@ -1,8 +1,8 @@
    -.TH ntpsnmpd @NTPSNMPD_MS@ "18 Dec 2012" "4.2.7p335" "User Commands"
    +.TH ntpsnmpd @NTPSNMPD_MS@ "21 Dec 2012" "4.2.7p336" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:25 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:20:57 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpsnmpd-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/ntpsnmpd/ntpsnmpd.mdoc.in b/ntpsnmpd/ntpsnmpd.mdoc.in
    index a358fa0e05..89d5e80059 100644
    --- a/ntpsnmpd/ntpsnmpd.mdoc.in
    +++ b/ntpsnmpd/ntpsnmpd.mdoc.in
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt NTPSNMPD @NTPSNMPD_MS@ User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntpsnmpd-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:31 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:21:02 PM by AutoGen 5.16.2
     .\"  From the definitions    ntpsnmpd-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/packageinfo.sh b/packageinfo.sh
    index 3ddd5427f6..fe8eafaf5a 100644
    --- a/packageinfo.sh
    +++ b/packageinfo.sh
    @@ -70,7 +70,7 @@ CLTAG=NTP_4_2_0
     # - Numeric values increment
     # - empty 'increments' to 1
     # - NEW 'increments' to empty
    -point=335
    +point=336
     
     ### betapoint is normally modified by script.
     # ntp-stable Beta number (betapoint)
    diff --git a/scripts/invoke-ntp-wait.texi b/scripts/invoke-ntp-wait.texi
    index 0c9c9acea2..61ac7e1f0f 100644
    --- a/scripts/invoke-ntp-wait.texi
    +++ b/scripts/invoke-ntp-wait.texi
    @@ -6,7 +6,7 @@
     # 
     # EDIT THIS FILE WITH CAUTION  (invoke-ntp-wait.texi)
     # 
    -# It has been AutoGen-ed  December 17, 2012 at 11:36:20 AM by AutoGen 5.16.2
    +# It has been AutoGen-ed  December 21, 2012 at 11:30:14 AM by AutoGen 5.16.2
     # From the definitions    ntp-wait-opts.def
     # and the template file   agtexi-cmd.tpl
     @end ignore
    diff --git a/scripts/ntp-wait.1ntp-waitman b/scripts/ntp-wait.1ntp-waitman
    index 8ca36a609f..38729609ef 100644
    --- a/scripts/ntp-wait.1ntp-waitman
    +++ b/scripts/ntp-wait.1ntp-waitman
    @@ -1,8 +1,8 @@
    -.TH ntp-wait 1ntp-waitman "17 Dec 2012" "ntp (4.2.7p335)" "User Commands"
    +.TH ntp-wait 1ntp-waitman "21 Dec 2012" "ntp (4.2.7p336)" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntp-wait-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 17, 2012 at 11:36:16 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 11:30:10 AM by AutoGen 5.16.2
     .\"  From the definitions    ntp-wait-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/scripts/ntp-wait.1ntp-waitmdoc b/scripts/ntp-wait.1ntp-waitmdoc
    index 15b7087f6d..9ac1b36624 100644
    --- a/scripts/ntp-wait.1ntp-waitmdoc
    +++ b/scripts/ntp-wait.1ntp-waitmdoc
    @@ -1,9 +1,9 @@
    -.Dd December 17 2012
    +.Dd December 21 2012
     .Dt NTP_WAIT 1ntp-waitmdoc User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntp-wait-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 17, 2012 at 11:36:22 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 11:30:17 AM by AutoGen 5.16.2
     .\"  From the definitions    ntp-wait-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/scripts/ntp-wait.html b/scripts/ntp-wait.html
    index dd143f9f1f..b135ae0838 100644
    --- a/scripts/ntp-wait.html
    +++ b/scripts/ntp-wait.html
    @@ -41,7 +41,7 @@ until the system's time has stabilized and synchronized,
     and only then start any applicaitons (like database servers) that require
     accurate and stable time.
     
    -  

    This document applies to version 4.2.7p335 of ntp-wait. +

    This document applies to version 4.2.7p336 of ntp-wait.

    Short Contents

    diff --git a/scripts/ntp-wait.man.in b/scripts/ntp-wait.man.in index b45924a706..0c9cb0ff2b 100644 --- a/scripts/ntp-wait.man.in +++ b/scripts/ntp-wait.man.in @@ -1,8 +1,8 @@ -.TH ntp-wait @NTP_WAIT_MS@ "17 Dec 2012" "ntp (4.2.7p335)" "User Commands" +.TH ntp-wait @NTP_WAIT_MS@ "21 Dec 2012" "ntp (4.2.7p336)" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (ntp-wait-opts.man) .\" -.\" It has been AutoGen-ed December 17, 2012 at 11:36:16 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 11:30:10 AM by AutoGen 5.16.2 .\" From the definitions ntp-wait-opts.def .\" and the template file agman-cmd.tpl .\" diff --git a/scripts/ntp-wait.mdoc.in b/scripts/ntp-wait.mdoc.in index 7262507953..5e67de88be 100644 --- a/scripts/ntp-wait.mdoc.in +++ b/scripts/ntp-wait.mdoc.in @@ -1,9 +1,9 @@ -.Dd December 17 2012 +.Dd December 21 2012 .Dt NTP_WAIT @NTP_WAIT_MS@ User Commands .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntp-wait-opts.mdoc) .\" -.\" It has been AutoGen-ed December 17, 2012 at 11:36:22 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 11:30:17 AM by AutoGen 5.16.2 .\" From the definitions ntp-wait-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/sntp/invoke-sntp.texi b/sntp/invoke-sntp.texi index 0dca33eba7..0f1ed1ed54 100644 --- a/sntp/invoke-sntp.texi +++ b/sntp/invoke-sntp.texi @@ -6,7 +6,7 @@ # # EDIT THIS FILE WITH CAUTION (invoke-sntp.texi) # -# It has been AutoGen-ed December 18, 2012 at 03:59:12 AM by AutoGen 5.16.2 +# It has been AutoGen-ed December 21, 2012 at 06:21:43 PM by AutoGen 5.16.2 # From the definitions sntp-opts.def # and the template file agtexi-cmd.tpl @end ignore @@ -95,7 +95,7 @@ with a status code of 0. @exampleindent 0 @example -sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p335 +sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p336 USAGE: sntp [ - [] | --[@{=| @}] ]... \ [ hostname-or-IP ...] Flg Arg Option-Name Description diff --git a/sntp/sntp-opts.c b/sntp/sntp-opts.c index 6a3b353de1..0eb0ee67ff 100644 --- a/sntp/sntp-opts.c +++ b/sntp/sntp-opts.c @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.c) * - * It has been AutoGen-ed December 17, 2012 at 11:33:38 AM by AutoGen 5.16.2 + * It has been AutoGen-ed December 21, 2012 at 11:25:47 AM by AutoGen 5.16.2 * From the definitions sntp-opts.def * and the template file options * @@ -73,7 +73,7 @@ extern FILE * option_usage_fp; * sntp option static const strings */ static char const sntp_opt_strs[2500] = -/* 0 */ "sntp 4.2.7p335\n" +/* 0 */ "sntp 4.2.7p336\n" "Copyright (C) 1970-2012 The University of Delaware, all rights reserved.\n" "This is free software. It is licensed for use, modification and\n" "redistribution under the terms of the NTP License, copies of which\n" @@ -157,7 +157,7 @@ static char const sntp_opt_strs[2500] = /* 2244 */ "LOAD_OPTS\0" /* 2254 */ "no-load-opts\0" /* 2267 */ "SNTP\0" -/* 2272 */ "sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p335\n" +/* 2272 */ "sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p336\n" "USAGE: %s [ - [] | --[{=| }] ]... \\\n" "\t\t[ hostname-or-IP ...]\n\0" /* 2433 */ "$HOME\0" @@ -165,7 +165,7 @@ static char const sntp_opt_strs[2500] = /* 2441 */ ".ntprc\0" /* 2448 */ "http://bugs.ntp.org, bugs@ntp.org\0" /* 2482 */ "\n\n\0" -/* 2485 */ "sntp 4.2.7p335"; +/* 2485 */ "sntp 4.2.7p336"; /* * ipv4 option description with diff --git a/sntp/sntp-opts.h b/sntp/sntp-opts.h index cef1680e11..f4aac3e045 100644 --- a/sntp/sntp-opts.h +++ b/sntp/sntp-opts.h @@ -1,7 +1,7 @@ /* * EDIT THIS FILE WITH CAUTION (sntp-opts.h) * - * It has been AutoGen-ed December 17, 2012 at 11:33:38 AM by AutoGen 5.16.2 + * It has been AutoGen-ed December 21, 2012 at 11:25:46 AM by AutoGen 5.16.2 * From the definitions sntp-opts.def * and the template file options * @@ -90,8 +90,8 @@ typedef enum { } teOptIndex; #define OPTION_CT 23 -#define SNTP_VERSION "4.2.7p335" -#define SNTP_FULL_VERSION "sntp 4.2.7p335" +#define SNTP_VERSION "4.2.7p336" +#define SNTP_FULL_VERSION "sntp 4.2.7p336" /* * Interface defines for all options. Replace "n" with the UPPER_CASED diff --git a/sntp/sntp.1sntpman b/sntp/sntp.1sntpman index 3540212ebe..1465598ca5 100644 --- a/sntp/sntp.1sntpman +++ b/sntp/sntp.1sntpman @@ -1,8 +1,8 @@ -.TH sntp 1sntpman "18 Dec 2012" "4.2.7p335" "User Commands" +.TH sntp 1sntpman "21 Dec 2012" "4.2.7p336" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (sntp-opts.man) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:59:07 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:21:38 PM by AutoGen 5.16.2 .\" From the definitions sntp-opts.def .\" and the template file agman-cmd.tpl .\" diff --git a/sntp/sntp.1sntpmdoc b/sntp/sntp.1sntpmdoc index e34318cc07..6aee7a5890 100644 --- a/sntp/sntp.1sntpmdoc +++ b/sntp/sntp.1sntpmdoc @@ -1,9 +1,9 @@ -.Dd December 18 2012 +.Dd December 21 2012 .Dt SNTP 1sntpmdoc User Commands .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (sntp-opts.mdoc) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:59:14 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:21:45 PM by AutoGen 5.16.2 .\" From the definitions sntp-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME diff --git a/sntp/sntp.html b/sntp/sntp.html index 44d71f2232..96f114c76f 100644 --- a/sntp/sntp.html +++ b/sntp/sntp.html @@ -36,7 +36,7 @@ display the time offset of the system clock relative to the server clock. Run as root, it can correct the system clock to this offset as well. It can be run as an interactive command or from a cron job. -

    This document applies to version 4.2.7p335 of sntp. +

    This document applies to version 4.2.7p336 of sntp.

    The program implements the SNTP protocol as defined by RFC 5905, the NTPv4 IETF specification. @@ -170,7 +170,7 @@ the usage text by passing it through a pager program. used to select the program, defaulting to more. Both will exit with a status code of 0. -

    sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p335
    +
    sntp - standard Simple Network Time Protocol client program - Ver. 4.2.7p336
     USAGE:  sntp [ -<flag> [<val>] | --<name>[{=| }<val>] ]... \
                     [ hostname-or-IP ...]
       Flg Arg Option-Name    Description
    diff --git a/sntp/sntp.man.in b/sntp/sntp.man.in
    index 8a85ba50bd..ada846ed5b 100644
    --- a/sntp/sntp.man.in
    +++ b/sntp/sntp.man.in
    @@ -1,8 +1,8 @@
    -.TH sntp @SNTP_MS@ "18 Dec 2012" "4.2.7p335" "User Commands"
    +.TH sntp @SNTP_MS@ "21 Dec 2012" "4.2.7p336" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (sntp-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:59:07 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:21:38 PM by AutoGen 5.16.2
     .\"  From the definitions    sntp-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/sntp/sntp.mdoc.in b/sntp/sntp.mdoc.in
    index e288d6eaef..54fe542c5a 100644
    --- a/sntp/sntp.mdoc.in
    +++ b/sntp/sntp.mdoc.in
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt SNTP @SNTP_MS@ User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (sntp-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:59:14 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:21:45 PM by AutoGen 5.16.2
     .\"  From the definitions    sntp-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/util/invoke-ntp-keygen.texi b/util/invoke-ntp-keygen.texi
    index aea7651497..2fb9fd8cd0 100644
    --- a/util/invoke-ntp-keygen.texi
    +++ b/util/invoke-ntp-keygen.texi
    @@ -6,7 +6,7 @@
     # 
     # EDIT THIS FILE WITH CAUTION  (invoke-ntp-keygen.texi)
     # 
    -# It has been AutoGen-ed  December 18, 2012 at 03:58:49 AM by AutoGen 5.16.2
    +# It has been AutoGen-ed  December 21, 2012 at 06:21:21 PM by AutoGen 5.16.2
     # From the definitions    ntp-keygen-opts.def
     # and the template file   agtexi-cmd.tpl
     @end ignore
    @@ -928,7 +928,7 @@ with a status code of 0.
     
     @exampleindent 0
     @example
    -ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p335
    +ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p336
     USAGE:  ntp-keygen [ - [] | --[@{=| @}] ]...
       Flg Arg Option-Name    Description
        -b Num imbits         identity modulus bits
    diff --git a/util/ntp-keygen-opts.c b/util/ntp-keygen-opts.c
    index 4dfe5beb42..2eeea62493 100644
    --- a/util/ntp-keygen-opts.c
    +++ b/util/ntp-keygen-opts.c
    @@ -1,7 +1,7 @@
     /*  
      *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.c)
      *  
    - *  It has been AutoGen-ed  December 18, 2012 at 03:58:35 AM by AutoGen 5.16.2
    + *  It has been AutoGen-ed  December 21, 2012 at 06:21:07 PM by AutoGen 5.16.2
      *  From the definitions    ntp-keygen-opts.def
      *  and the template file   options
      *
    @@ -75,7 +75,7 @@ extern FILE * option_usage_fp;
      *  ntp-keygen option static const strings
      */
     static char const ntp_keygen_opt_strs[2358] =
    -/*     0 */ "ntp-keygen (ntp) 4.2.7p335\n"
    +/*     0 */ "ntp-keygen (ntp) 4.2.7p336\n"
                 "Copyright (C) 1970-2012 The University of Delaware, all rights reserved.\n"
                 "This is free software. It is licensed for use, modification and\n"
                 "redistribution under the terms of the NTP License, copies of which\n"
    @@ -166,14 +166,14 @@ static char const ntp_keygen_opt_strs[2358] =
     /*  2136 */ "no-load-opts\0"
     /*  2149 */ "no\0"
     /*  2152 */ "NTP_KEYGEN\0"
    -/*  2163 */ "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p335\n"
    +/*  2163 */ "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p336\n"
                 "USAGE:  %s [ - [] | --[{=| }] ]...\n\0"
     /*  2279 */ "$HOME\0"
     /*  2285 */ ".\0"
     /*  2287 */ ".ntprc\0"
     /*  2294 */ "http://bugs.ntp.org, bugs@ntp.org\0"
     /*  2328 */ "\n\n\0"
    -/*  2331 */ "ntp-keygen (ntp) 4.2.7p335";
    +/*  2331 */ "ntp-keygen (ntp) 4.2.7p336";
     
     /*
      *  imbits option description:
    diff --git a/util/ntp-keygen-opts.h b/util/ntp-keygen-opts.h
    index a47e246dce..c3d71ced47 100644
    --- a/util/ntp-keygen-opts.h
    +++ b/util/ntp-keygen-opts.h
    @@ -1,7 +1,7 @@
     /*  
      *  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.h)
      *  
    - *  It has been AutoGen-ed  December 18, 2012 at 03:58:35 AM by AutoGen 5.16.2
    + *  It has been AutoGen-ed  December 21, 2012 at 06:21:06 PM by AutoGen 5.16.2
      *  From the definitions    ntp-keygen-opts.def
      *  and the template file   options
      *
    @@ -93,8 +93,8 @@ typedef enum {
     } teOptIndex;
     
     #define OPTION_CT    26
    -#define NTP_KEYGEN_VERSION       "4.2.7p335"
    -#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) 4.2.7p335"
    +#define NTP_KEYGEN_VERSION       "4.2.7p336"
    +#define NTP_KEYGEN_FULL_VERSION  "ntp-keygen (ntp) 4.2.7p336"
     
     /*
      *  Interface defines for all options.  Replace "n" with the UPPER_CASED
    diff --git a/util/ntp-keygen.1ntp-keygenman b/util/ntp-keygen.1ntp-keygenman
    index 88d8aeef99..255df02eac 100644
    --- a/util/ntp-keygen.1ntp-keygenman
    +++ b/util/ntp-keygen.1ntp-keygenman
    @@ -1,8 +1,8 @@
    -.TH ntp-keygen 1ntp-keygenman "18 Dec 2012" "ntp (4.2.7p335)" "User Commands"
    +.TH ntp-keygen 1ntp-keygenman "21 Dec 2012" "ntp (4.2.7p336)" "User Commands"
     .\"
     .\"  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.man)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:44 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:21:15 PM by AutoGen 5.16.2
     .\"  From the definitions    ntp-keygen-opts.def
     .\"  and the template file   agman-cmd.tpl
     .\"
    diff --git a/util/ntp-keygen.1ntp-keygenmdoc b/util/ntp-keygen.1ntp-keygenmdoc
    index 90bea45aa2..eded0ed07a 100644
    --- a/util/ntp-keygen.1ntp-keygenmdoc
    +++ b/util/ntp-keygen.1ntp-keygenmdoc
    @@ -1,9 +1,9 @@
    -.Dd December 18 2012
    +.Dd December 21 2012
     .Dt NTP_KEYGEN 1ntp-keygenmdoc User Commands
     .Os SunOS 5.10
     .\"  EDIT THIS FILE WITH CAUTION  (ntp-keygen-opts.mdoc)
     .\"  
    -.\"  It has been AutoGen-ed  December 18, 2012 at 03:58:51 AM by AutoGen 5.16.2
    +.\"  It has been AutoGen-ed  December 21, 2012 at 06:21:23 PM by AutoGen 5.16.2
     .\"  From the definitions    ntp-keygen-opts.def
     .\"  and the template file   agmdoc-cmd.tpl
     .Sh NAME
    diff --git a/util/ntp-keygen.html b/util/ntp-keygen.html
    index 2c2db781da..6cb57c0edc 100644
    --- a/util/ntp-keygen.html
    +++ b/util/ntp-keygen.html
    @@ -70,7 +70,7 @@ All other files are in PEM-encoded
     printable ASCII format so they can be embedded as MIME attachments in
     mail to other sites.
     
    -  

    This document applies to version 4.2.7p335 of ntp-keygen. +

    This document applies to version 4.2.7p336 of ntp-keygen.


    @@ -243,78 +243,59 @@ gethostname function, normally the DNS name of the host is used.

    The -.Ar -pw -option of the -.Ar -crypto -configuration command specifies the read +pw option of the +crypto configuration command specifies the read password for previously encrypted local files. This must match the local password used by this program. If not specified, the host name is used. Thus, if files are generated by this program without password, they can be read back by -.Ar -ntpd -without password but only on the same host. +ntpd without password but only on the same host.

    Normally, encrypted files for each host are generated by that host and used only by that host, although exceptions exist as noted later on this page. The symmetric keys file, normally called -.Ar -ntp.keys -, -is usually installed in -.Pa -/etc +ntp.keys, is usually installed in +/etc. . Other files and links are usually installed in -.Pa -/usr/local/etc +/usr/local/etc, , which is normally in a shared filesystem in NFS-mounted networks and cannot be changed by shared clients. The location of the keys directory can be changed by the -.Ar -keysdir -configuration command in such cases. +keysdir configuration command in such cases. Normally, this is in -.Pa -/etc +/etc. .

    This program directs commentary and error messages to the standard error stream -.Ar -stderr -and remote files to the standard output stream -.Ar -stdout -where they can be piped to other applications or redirected to files. +stderr and remote files to the standard output stream +stdout where they can be piped to other applications or redirected to files. The names used for generated files and links all begin with the string -.Ar -ntpkey -and include the file type, generating host and filestamp, +ntpkey and include the file type, generating host and filestamp, as described in the -.Dq -Cryptographic -Data -Files +CryptographicDataFiles section below. -.Ss -Running +

    +


    + +
    +
    + +

    Running

    + +

    Running the Program To test and gain experience with Autokey concepts, log in as root and change to the keys directory, usually -.Pa -/usr/local/etc +/usr/local/etc When run for the first time, or if all files with names beginning with -.Ar -ntpkey -have been removed, use the +ntpkey have been removed, use the ntp-keygen command without arguments to generate a default RSA host key and matching RSA-MD5 certificate with expiration @@ -358,21 +339,13 @@ After that and when the host is synchronized to a proventic source, the certificate should be re-generated.

    Additional information on trusted groups and identity schemes is on the -.Dq -Autokey -Public-Key -Authentication +AutokeyPublic-KeyAuthentication page.

    The ntpd(8) configuration command -.Ic -crypto -pw -Ar -password -specifies the read password for previously encrypted files. +crypto pw Ar password specifies the read password for previously encrypted files. The daemon expires on the spot if the password is missing or incorrect. For convenience, if a file has been previously encrypted, @@ -382,40 +355,23 @@ If the previous write password is specified as the host name, these files can be read by that host with no explicit password.

    File names begin with the prefix -.Cm -ntpkey_ -and end with the postfix -.Ar -_hostname.filestamp -, -where -.Ar -hostname -is the owner name, usually the string returned +ntpkey_ and end with the postfix +_hostname.filestamp, where +hostname is the owner name, usually the string returned by the Unix gethostname() routine, and -.Ar -filestamp -is the NTP seconds when the file was generated, in decimal digits. +filestamp is the NTP seconds when the file was generated, in decimal digits. This both guarantees uniqueness and simplifies maintenance procedures, since all files can be quickly removed by a -.Ic -rm -ntpkey\&* -command or all files generated +rmntpkey\&* command or all files generated at a specific time can be removed by a -.Ic -rm -.Ar -\&*filestamp -command. +rm \&*filestamp command. To further reduce the risk of misconfiguration, the first two lines of a file contain the file name and generation date and time as comments.

    All files are installed by default in the keys directory -.Pa -/usr/local/etc +/usr/local/etc, , which is normally in a shared filesystem in NFS-mounted networks. @@ -455,8 +411,15 @@ The program uses the same timestamp extension for all files generated at one time, so each generation is distinct and can be readily recognized in monitoring data. -.Ss -Running +

    +


    + +
    +
    + +

    Running

    + +

    Running the program The safest way to run the @@ -464,15 +427,12 @@ The safest way to run the program is logged in directly as root. The recommended procedure is change to the keys directory, usually -.Pa -/usr/local/etc +/usr/local/etc, , then run the program. When run for the first time, or if all -.Cm -ntpkey -files have been removed, +ntpkey files have been removed, the program generates a RSA host key file and matching RSA-MD5 certificate file, which is all that is necessary in many cases. The program also generates soft links from the generic names @@ -502,38 +462,23 @@ However, the identification parameter files, although encoded as the other files, are probably not compatible with anything other than Autokey.

    Running the program as other than root and using the Unix -.Ic -su -command +su command to assume root may not work properly, since by default the OpenSSL library looks for the random seed file -.Cm -.rnd -in the user home directory. +.rnd in the user home directory. However, there should be only one -.Cm -.rnd -, -most conveniently +.rnd, most conveniently in the root directory, so it is convenient to define the -.Cm -$RANDFILE -environment variable used by the OpenSSL library as the path to -.Cm -/.rnd -. - -

    Installing the keys as root might not work in NFS-mounted +$RANDFILE environment variable used by the OpenSSL library as the path to +/.rnd. +Installing the keys as root might not work in NFS-mounted shared file systems, as NFS clients may not be able to write to the shared keys directory, even as root. In this case, NFS clients can specify the files in another directory such as -.Pa -/etc +/etc using the -.Ic -keysdir -command. +keysdir command. There is no need for one client to read the keys and certificates of other clients or servers, as these data are obtained automatically by the Autokey protocol. @@ -549,8 +494,7 @@ The owner name is also used for the host and sign key files, while the trusted name is used for the identity files.

    All files are installed by default in the keys directory -.Pa -/usr/local/etc +/usr/local/etc, , which is normally in a shared filesystem in NFS-mounted networks. @@ -590,8 +534,15 @@ The program uses the same timestamp extension for all files generated at one time, so each generation is distinct and can be readily recognized in monitoring data. -.Ss -Running +

    +


    + +
    +
    + +

    Running

    + +

    Running the program The safest way to run the @@ -599,15 +550,12 @@ The safest way to run the program is logged in directly as root. The recommended procedure is change to the keys directory, usually -.Pa -/usr/local/etc +/usr/local/etc, , then run the program. When run for the first time, or if all -.Cm -ntpkey -files have been removed, +ntpkey files have been removed, the program generates a RSA host key file and matching RSA-MD5 certificate file, which is all that is necessary in many cases. The program also generates soft links from the generic names @@ -637,38 +585,23 @@ However, the identification parameter files, although encoded as the other files, are probably not compatible with anything other than Autokey.

    Running the program as other than root and using the Unix -.Ic -su -command +su command to assume root may not work properly, since by default the OpenSSL library looks for the random seed file -.Cm -.rnd -in the user home directory. +.rnd in the user home directory. However, there should be only one -.Cm -.rnd -, -most conveniently +.rnd, most conveniently in the root directory, so it is convenient to define the -.Cm -$RANDFILE -environment variable used by the OpenSSL library as the path to -.Cm -/.rnd -. - -

    Installing the keys as root might not work in NFS-mounted +$RANDFILE environment variable used by the OpenSSL library as the path to +/.rnd. +Installing the keys as root might not work in NFS-mounted shared file systems, as NFS clients may not be able to write to the shared keys directory, even as root. In this case, NFS clients can specify the files in another directory such as -.Pa -/etc +/etc using the -.Ic -keysdir -command. +keysdir command. There is no need for one client to read the keys and certificates of other clients or servers, as these data are obtained automatically by the Autokey protocol. @@ -689,8 +622,7 @@ seconds. Each cryptographic configuration involves selection of a signature scheme and identification scheme, called a cryptotype, as explained in the -.Sx -Authentication +AuthenticationAuthentication Options section of ntp.conf(5). @@ -707,8 +639,7 @@ A trusted group is the set of all hosts that have, directly or indirectly, a certificate trail ending at a trusted host. The trail is defined by static configuration file entries or dynamic means described on the -.Sx -Automatic +AutomaticAutomatic NTP Configuration Options @@ -717,9 +648,7 @@ section of

    On each trusted host as root, change to the keys directory. To insure a fresh fileset, remove all -.Cm -ntpkey -files. +ntpkey files. Then run ntp-keygen -T to generate keys and a trusted certificate. @@ -735,24 +664,15 @@ scheme than the default, run ntp-keygen with the -S -Ar -type option, where -.Ar -type -is either -.Cm -RSA -or -.Cm -DSA -. -The most often need to do this is when a DSA-signed certificate is used. +type is either +RSA or +DSA. The most often need to do this is when a DSA-signed certificate is used. If it is necessary to use a different certificate scheme than the default, run ntp-keygen with the -c -Ar -scheme option and selected -.Ar -scheme -as needed. +scheme as needed. f ntp-keygen is run again without these options, it generates a new certificate @@ -772,16 +692,21 @@ When is restarted, it loads any new files and restarts the protocol. Other dependent hosts will continue as usual until signatures are refreshed, at which time the protocol is restarted. -.Ss -Identity +

    +


    + +
    +
    + +

    Identity

    + +

    Identity Schemes As mentioned on the Autonomous Authentication page, the default TC identity scheme is vulnerable to a middleman attack. However, there are more secure identity schemes available, including PC, IFF, GQ and MV described on the -.Qq -Identification -Schemes +"IdentificationSchemes" page (maybe available at .Li @@ -810,14 +735,12 @@ only as clients have key files that contain only client keys. On trusted host alice run ntp-keygen -P -p -Ar -password to generate the host key file -.Pa -ntpkey_RSAkey_ +ntpkey_RSAkey_NsAralice.filestamp Ns Ar alice.filestamp and trusted private certificate file -.Pa -ntpkey_RSA-MD5_cert_ +ntpkey_RSA-MD5_cert_NsAralice.filestamp. Ns Ar alice.filestamp @@ -825,14 +748,12 @@ alice.filestamp Copy both files to all group hosts; they replace the files which would be generated in other schemes. On each host bob install a soft link from the generic name -.Pa -ntpkey_host_ +ntpkey_host_NsArbob Ns Ar bob to the host key file and soft link -.Pa -ntpkey_cert_ +ntpkey_cert_NsArbob Ns Ar bob @@ -849,8 +770,7 @@ generate the IFF parameter file. On trusted host alice run ntp-keygen -T -I -p -Ar -password to produce her parameter file -.Pa -ntpkey_IFFpar_ +ntpkey_IFFpar_NsAralice.filestamp, Ns Ar alice.filestamp @@ -858,8 +778,7 @@ alice.filestamp which includes both server and client keys. Copy this file to all group hosts that operate as both servers and clients and install a soft link from the generic -.Pa -ntpkey_iff_ +ntpkey_iff_NsAralice Ns Ar alice @@ -878,8 +797,7 @@ After generating the parameter file, on alice run -e and pipe the output to a file or mail program. Copy or mail this file to all restricted clients. On these clients install a soft link from the generic -.Pa -ntpkey_iff_ +ntpkey_iff_NsAralice Ns Ar alice @@ -893,8 +811,7 @@ in the group, generate the IFF parameter file. On trusted host alice run ntp-keygen -T -G -p -Ar -password to produce her parameter file -.Pa -ntpkey_GQpar_ +ntpkey_GQpar_NsAralice.filestamp, Ns Ar alice.filestamp @@ -902,16 +819,14 @@ alice.filestamp which includes both server and client keys. Copy this file to all group hosts and install a soft link from the generic -.Pa -ntpkey_gq_ +ntpkey_gq_NsAralice Ns Ar alice to this file. In addition, on each host bob install a soft link from generic -.Pa -ntpkey_gq_ +ntpkey_gq_NsArbob Ns Ar bob @@ -926,36 +841,23 @@ and bob one of her clients. On TA trish run ntp-keygen -V -Ar -n -p -Ar -password, where -.Ar -n -is the number of revokable keys (typically 5) to produce +n is the number of revokable keys (typically 5) to produce the parameter file -.Pa -ntpkeys_MVpar_ +ntpkeys_MVpar_NsArtrish.filestamp Ns Ar trish.filestamp and client key files -.Pa -ntpkeys_MVkeyd_ +ntpkeys_MVkeyd_NsArtrish.filestamp Ns Ar trish.filestamp where -.Ar -d -is the key number (0 \&< -.Ar -d -\&< -.Ar -n -) -. -Copy the parameter file to alice and install a soft link +d is the key number (0 \&< +d \&< +n). Copy the parameter file to alice and install a soft link from the generic -.Pa -ntpkey_mv_ +ntpkey_mv_NsAralice Ns Ar alice @@ -966,24 +868,28 @@ It doesn't matter which client key file goes to alice, since they all work the same way. Alice copies the client key file to all of her cliens. On client bob install a soft link from generic -.Pa -ntpkey_mvkey_ +ntpkey_mvkey_NsArbob Ns Ar bob to the client key file. As the MV scheme is independent of keys and certificates, these files can be refreshed as needed. -.Ss -Command +

    +


    + +
    +
    + +

    Command

    + +

    Command Line Options

    Fl
    Select certificate message digest/signature encryption scheme. The -.Ar -scheme -can be one of the following: +scheme can be one of the following: . Cm RSA-MD2 @@ -1001,16 +907,10 @@ RSA-RIPEMD160 DSA-SHA , or -.Cm -DSA-SHA1 -. -Note that RSA schemes must be used with a RSA sign key and DSA +DSA-SHA1. Note that RSA schemes must be used with a RSA sign key and DSA schemes must be used with a DSA sign key. The default without this option is -.Cm -RSA-MD5 -. -
    Fl
    Enable debugging. +RSA-MD5.
    Fl
    Enable debugging. This option displays the cryptographic data produced in eye-friendly billboards.
    Fl
    Write the IFF client keys to the standard output. This is intended for automatic key distribution by mail. @@ -1023,34 +923,33 @@ If the GQ parameters do not yet exist, create them first.
    Fl
    Generate parameters for the IFF identification scheme, obsoleting any that may exist.
    Fl
    Set the suject name to -.Ar -name -. -This is used as the subject field in certificates +name. This is used as the subject field in certificates and in the file name for host and sign keys.
    Fl
    Generate MD5 keys, obsoleting any that may exist.
    Fl
    Generate a private certificate. By default, the program generates public certificates.
    Fl
    Encrypt generated files containing private data with -.Ar -password -and the DES-CBC algorithm. +password and the DES-CBC algorithm.
    Fl
    Set the password for reading files to password.
    Fl
    Generate a new sign key of the designated type, obsoleting any that may exist. By default, the program uses the host key as the sign key.
    Fl
    Set the issuer name to -.Ar -name -. -This is used for the issuer field in certificates +name. This is used for the issuer field in certificates and in the file name for identity files.
    Fl
    Generate a trusted certificate. By default, the program generates a non-trusted certificate.
    Fl
    Generate parameters and keys for the Mu-Varadharajan (MV) identification scheme. -

    .Ss -Random +

    +


    + +
    +
    + +

    Random

    + +

    Random Seed File All cryptographically sound key generation schemes must have means @@ -1064,7 +963,7 @@ program. If a site supports OpenSSL or its companion OpenSSH, it is very likely that means to do this are already available. -

    It is important to understand that entropy must be evolved +

    It is important to understand that entropy must be evolved for each generation, for otherwise the random number sequence would be predictable. Various means dependent on external events, such as keystroke intervals, @@ -1072,23 +971,16 @@ can be used to do this and some systems have built-in entropy sources. Suitable means are described in the OpenSSL software documentation, but are outside the scope of this page. -

    The entropy seed used by the OpenSSL library is contained in a file, +

    The entropy seed used by the OpenSSL library is contained in a file, usually called -.Cm -.rnd -, -which must be available when starting the NTP daemon +.rnd, which must be available when starting the NTP daemon or the ntp-keygen program. The NTP daemon will first look for the file using the path specified by the -.Ic -randfile -subcommand of the -.Ic -crypto -configuration command. +randfile subcommand of the +crypto configuration command. If not specified in this way, or when starting the ntp-keygen program, @@ -1103,14 +995,19 @@ If the RANDFILE environment variable is not present, the library will look for the -.Cm -.rnd -file in the user home directory. +.rnd file in the user home directory. If the file is not available or cannot be written, the daemon exits with a message to the system log and the program exits with a suitable error message. -.Ss -Cryptographic +

    +


    + +
    +
    + +

    Cryptographic

    + +

    Cryptographic Data Files All other file formats begin with two lines. @@ -1126,7 +1023,7 @@ Cryptographic values are encoded first using ASN.1 rules, then encrypted if necessary, and finally written PEM-encoded printable ASCII format preceded and followed by MIME content identifier lines. -

    The format of the symmetric keys file is somewhat different +

    The format of the symmetric keys file is somewhat different than the other files in the interest of backward compatibility. Since DES-CBC is deprecated in NTPv4, the only key format of interest is MD5 alphanumeric strings. @@ -1138,23 +1035,16 @@ keyno type key where -.Ar -keyno -is a positive integer in the range 1-65,535, -.Ar -type -is the string MD5 defining the key format and -.Ar -key -is the key itself, +keyno is a positive integer in the range 1-65,535, +type is the string MD5 defining the key format and +key is the key itself, which is a printable ASCII string 16 characters or less in length. Each character is chosen from the 93 printable characters in the range 0x21 through 0x7f excluding space and the -.Ql # character. -

    Note that the keys used by the +

    Note that the keys used by the ntpq(8) and ntpdc(8) @@ -1163,11 +1053,10 @@ are checked against passwords requested by the programs and entered by hand, so it is generally appropriate to specify these keys in human readable ASCII format. -

    The +

    The ntp-keygen program generates a MD5 symmetric keys file -.Pa -ntpkey_MD5key_ +ntpkey_MD5key_NsArhostname.filestamp. Ns Ar hostname.filestamp @@ -1176,8 +1065,7 @@ Since the file contains private shared keys, it should be visible only to root and distributed by secure means to other subnet hosts. The NTP daemon loads the file -.Pa -ntp.keys +ntp.keys, , so ntp-keygen @@ -1192,7 +1080,7 @@ and ntpdc(8) utilities. -

    This section was generated by AutoGen, +

    This section was generated by AutoGen, using the agtexi-cmd template and the option descriptions for the ntp-keygen program. This software is released under the NTP license, <http://ntp.org/license>. @@ -1227,7 +1115,7 @@ This software is released under the NTP license, <http://ntp.org/license>.

    @@ -1244,7 +1132,7 @@ the usage text by passing it through a pager program. used to select the program, defaulting to more. Both will exit with a status code of 0. -
         ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p334
    +     
         ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.7p335
          USAGE:  ntp-keygen [ -<flag> [<val>] | --<name>[{=| }<val>] ]...
            Flg Arg Option-Name    Description
             -b Num imbits         identity modulus bits
    @@ -1298,7 +1186,7 @@ with a status code of 0.
     


    Next: , Previous: ntp-keygen usage, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1318,7 +1206,7 @@ This option takes an argument number imbits.


    Next: , Previous: ntp-keygen imbits, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1345,7 +1233,7 @@ this option is RSA-MD5.


    Next: , Previous: ntp-keygen certificate, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1368,7 +1256,7 @@ available in "openssl -h" output.


    Next: , Previous: ntp-keygen cipher, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1388,7 +1276,7 @@ intended for automatic key distribution by mail.


    Next: , Previous: ntp-keygen id-key, -Up: ntp-keygen Invocation +Up: Cryptographic
  • @@ -1408,7 +1296,7 @@ obsoleting any that may exist.


    Next: , Previous: ntp-keygen gq-params, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1427,7 +1315,7 @@ This is the “generate rsa host key” option.


    Next: , Previous: ntp-keygen host-key, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1447,7 +1335,7 @@ any that may exist.


    Next: , Previous: ntp-keygen iffkey, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1474,7 +1362,7 @@ names in the form host


    Next: , Previous: ntp-keygen ident, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1494,7 +1382,7 @@ This option takes an argument number lifetime.


    Next: , Previous: ntp-keygen lifetime, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1507,7 +1395,7 @@ Generate MD5 keys, obsoleting any that may exist.


    Next: , Previous: ntp-keygen md5key, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1527,7 +1415,7 @@ This option takes an argument number modulus.


    Next: , Previous: ntp-keygen modulus, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1547,7 +1435,7 @@ public certificates.


    Next: , Previous: ntp-keygen pvt-cert, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1568,7 +1456,7 @@ password and the cipher selected with -C/–cipher.


    Next: , Previous: ntp-keygen pvt-passwd, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1588,7 +1476,7 @@ This option takes an argument string passwd.


    Next: , Previous: ntp-keygen get-pvt-passwd, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1610,7 +1498,7 @@ sign key.


    Next: , Previous: ntp-keygen sign-key, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1639,7 +1527,7 @@ of IFF, GQ, and MV client parameter files.


    Next: , Previous: ntp-keygen subject-name, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1659,7 +1547,7 @@ a non-trusted certificate.


    Next: , Previous: ntp-keygen trusted-cert, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1680,7 +1568,7 @@ identification scheme.


    Next: , Previous: ntp-keygen mv-params, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1701,7 +1589,7 @@ This option takes an argument number num.


    Next: , Previous: ntp-keygen mv-keys, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1773,7 +1661,7 @@ first letter of the argument is examined:


    Next: , Previous: ntp-keygen config, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1791,7 +1679,7 @@ it to autogen-users@lists.sourceforge.net. Thank you.


    Next: , Previous: ntp-keygen exit status, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1811,7 +1699,7 @@ as the write password by default.


    Next: , Previous: ntp-keygen Usage, -Up: ntp-keygen Invocation +Up: Cryptographic
    @@ -1822,7 +1710,7 @@ Portions of this document came from FreeBSD. diff --git a/util/ntp-keygen.man.in b/util/ntp-keygen.man.in index 7aa76ec995..8894a8697b 100644 --- a/util/ntp-keygen.man.in +++ b/util/ntp-keygen.man.in @@ -1,8 +1,8 @@ -.TH ntp-keygen @NTP_KEYGEN_MS@ "18 Dec 2012" "ntp (4.2.7p335)" "User Commands" +.TH ntp-keygen @NTP_KEYGEN_MS@ "21 Dec 2012" "ntp (4.2.7p336)" "User Commands" .\" .\" EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.man) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:58:44 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:21:15 PM by AutoGen 5.16.2 .\" From the definitions ntp-keygen-opts.def .\" and the template file agman-cmd.tpl .\" diff --git a/util/ntp-keygen.mdoc.in b/util/ntp-keygen.mdoc.in index 08e8be9c66..7e3ef9aaa3 100644 --- a/util/ntp-keygen.mdoc.in +++ b/util/ntp-keygen.mdoc.in @@ -1,9 +1,9 @@ -.Dd December 18 2012 +.Dd December 21 2012 .Dt NTP_KEYGEN @NTP_KEYGEN_MS@ User Commands .Os SunOS 5.10 .\" EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.mdoc) .\" -.\" It has been AutoGen-ed December 18, 2012 at 03:58:51 AM by AutoGen 5.16.2 +.\" It has been AutoGen-ed December 21, 2012 at 06:21:23 PM by AutoGen 5.16.2 .\" From the definitions ntp-keygen-opts.def .\" and the template file agmdoc-cmd.tpl .Sh NAME