+(4.2.5p250-RC) 2009/11/30 Released by Harlan Stenn <stenn@ntp.org>
* sntp documentation updates.
* [Bug 761] internal resolver does not seem to honor -4/-6 qualifiers
* [Bug 1386] Deferred DNS doesn't work on NetBSD
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
- * It has been AutoGen-ed November 28, 2009 at 05:21:41 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:21:36 AM by AutoGen 5.10
* From the definitions ntpd-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPD";
tSCC zUsageTitle[] =
-"ntpd - NTP daemon program - Ver. 4.2.5p249-RC\n\
+"ntpd - NTP daemon program - Ver. 4.2.5p250-RC\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
#define zRcName NULL
#define apzHomeList NULL
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.h)
*
- * It has been AutoGen-ed November 28, 2009 at 05:21:40 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:21:35 AM by AutoGen 5.10
* From the definitions ntpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 35
-#define NTPD_VERSION "4.2.5p249-RC"
-#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.5p249-RC"
+#define NTPD_VERSION "4.2.5p250-RC"
+#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.5p250-RC"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpd-opts.texi)
#
-# It has been AutoGen-ed November 28, 2009 at 05:22:01 AM by AutoGen 5.10
+# It has been AutoGen-ed November 30, 2009 at 05:22:19 AM by AutoGen 5.10
# From the definitions ntpd-opts.def
# and the template file aginfo.tpl
@end ignore
-.TH NTPD 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPD 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpd.1)
.\"
-.\" It has been AutoGen-ed November 28, 2009 at 05:21:42 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 30, 2009 at 05:21:37 AM by AutoGen 5.10
.\" From the definitions ntpd-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.c)
*
- * It has been AutoGen-ed November 28, 2009 at 05:22:45 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:23:20 AM by AutoGen 5.10
* From the definitions ntpdc-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPDC";
tSCC zUsageTitle[] =
-"ntpdc - vendor-specific NTP query program - Ver. 4.2.5p249-RC\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.5p250-RC\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpdc-opts.h)
*
- * It has been AutoGen-ed November 28, 2009 at 05:22:44 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:23:19 AM by AutoGen 5.10
* From the definitions ntpdc-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 15
-#define NTPDC_VERSION "4.2.5p249-RC"
-#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.5p249-RC"
+#define NTPDC_VERSION "4.2.5p250-RC"
+#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.5p250-RC"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpdc-opts.texi)
#
-# It has been AutoGen-ed November 28, 2009 at 05:23:10 AM by AutoGen 5.10
+# It has been AutoGen-ed November 30, 2009 at 05:23:46 AM by AutoGen 5.10
# From the definitions ntpdc-opts.def
# and the template file aginfo.tpl
@end ignore
-.TH NTPDC 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPDC 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdc.1)
.\"
-.\" It has been AutoGen-ed November 28, 2009 at 05:22:46 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 30, 2009 at 05:23:21 AM by AutoGen 5.10
.\" From the definitions ntpdc-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.c)
*
- * It has been AutoGen-ed November 28, 2009 at 05:23:23 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:23:59 AM by AutoGen 5.10
* From the definitions ntpq-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPQ";
tSCC zUsageTitle[] =
-"ntpq - standard NTP query program - Ver. 4.2.5p249-RC\n\
+"ntpq - standard NTP query program - Ver. 4.2.5p250-RC\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... [ host ...]\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpq-opts.h)
*
- * It has been AutoGen-ed November 28, 2009 at 05:23:22 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:23:59 AM by AutoGen 5.10
* From the definitions ntpq-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 14
-#define NTPQ_VERSION "4.2.5p249-RC"
-#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.5p249-RC"
+#define NTPQ_VERSION "4.2.5p250-RC"
+#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.5p250-RC"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpq-opts.texi)
#
-# It has been AutoGen-ed November 28, 2009 at 05:23:46 AM by AutoGen 5.10
+# It has been AutoGen-ed November 30, 2009 at 05:24:23 AM by AutoGen 5.10
# From the definitions ntpq-opts.def
# and the template file aginfo.tpl
@end ignore
-.TH NTPQ 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPQ 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpq.1)
.\"
-.\" It has been AutoGen-ed November 28, 2009 at 05:23:24 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 30, 2009 at 05:24:00 AM by AutoGen 5.10
.\" From the definitions ntpq-opts.def
.\" and the template file agman1.tpl
.\"
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.c)
*
- * It has been AutoGen-ed November 28, 2009 at 05:24:08 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:24:47 AM by AutoGen 5.10
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTPSNMPD";
tSCC zUsageTitle[] =
-"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p249-RC\n\
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p250-RC\n\
USAGE: %s [ -<flag> | --<name> ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.h)
*
- * It has been AutoGen-ed November 28, 2009 at 05:24:07 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:24:46 AM by AutoGen 5.10
* From the definitions ntpsnmpd-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 7
-#define NTPSNMPD_VERSION "4.2.5p249-RC"
-#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p249-RC"
+#define NTPSNMPD_VERSION "4.2.5p250-RC"
+#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p250-RC"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntpsnmpd-opts.texi)
#
-# It has been AutoGen-ed November 28, 2009 at 05:24:21 AM by AutoGen 5.10
+# It has been AutoGen-ed November 30, 2009 at 05:25:01 AM by AutoGen 5.10
# From the definitions ntpsnmpd-opts.def
# and the template file aginfo.tpl
@end ignore
-.TH NTPSNMPD 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTPSNMPD 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1)
.\"
-.\" It has been AutoGen-ed November 28, 2009 at 05:24:09 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 30, 2009 at 05:24:47 AM by AutoGen 5.10
.\" From the definitions ntpsnmpd-opts.def
.\" and the template file agman1.tpl
.\"
# - Numeric values increment
# - empty 'increments' to 1
# - NEW 'increments' to empty
-point=249
+point=250
# Special. Normally unused. A suffix.
#special=ag
special=
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.c)
*
- * It has been AutoGen-ed November 28, 2009 at 05:27:55 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:28:36 AM by AutoGen 5.10
* From the definitions sntp-opts.def
* and the template file options
*
* "Must also have options" and "Incompatible options":
*/
tSCC zFilelogText[] =
- "Logging to specified logfile";
+ "Log to specified logfile";
tSCC zFilelog_NAME[] = "FILELOG";
tSCC zFilelog_Name[] = "filelog";
static const int
* Authentication option description:
*/
tSCC zAuthenticationText[] =
- "Enable authentication with the key keyno. This option is used as -a keyno";
+ "Enable authentication with the key auth-keynumber";
tSCC zAuthentication_NAME[] = "AUTHENTICATION";
tSCC zAuthentication_Name[] = "authentication";
#define AUTHENTICATION_FLAGS (OPTST_DISABLED \
*/
tSCC zPROGNAME[] = "SNTP";
tSCC zUsageTitle[] =
-"sntp - standard SNTP program - Ver. 4.2.5p249-RC\n\
+"sntp - standard SNTP program - Ver. 4.2.5p250-RC\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.h)
*
- * It has been AutoGen-ed November 28, 2009 at 05:27:55 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:28:36 AM by AutoGen 5.10
* From the definitions sntp-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 17
-#define SNTP_VERSION "4.2.5p249-RC"
-#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.5p249-RC"
+#define SNTP_VERSION "4.2.5p250-RC"
+#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.5p250-RC"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (sntp-opts.texi)
#
-# It has been AutoGen-ed November 28, 2009 at 05:28:05 AM by AutoGen 5.10
+# It has been AutoGen-ed November 30, 2009 at 05:28:42 AM by AutoGen 5.10
# From the definitions sntp-opts.def
# and the template file aginfo.tpl
@end ignore
@subsection filelog option (-l)
@cindex sntp-filelog
-This is the ``logging to specified logfile'' option.
+This is the ``log to specified logfile'' option.
This option has some usage constraints. It:
@itemize @bullet
@cindex sntp-broadcast
This is the ``use broadcasts to the address specified for synchronisation'' option.
-If specified SNTP will listen for NTP broadcasts to the
-specified broadcast address. The default maximum wait time,
+If specified SNTP will listen to the specified broadcast address
+for NTP broadcasts. The default maximum wait time,
68 seconds, can be modified with -t.
@node sntp timeout
@subsection authentication option (-a)
@cindex sntp-authentication
-This is the ``enable authentication with the key keyno. this option is used as -a keyno'' option.
-This option enables authentication using the key specified in this option\'s argument.
+This is the ``enable authentication with the key auth-keynumber'' option.
+This option enables authentication using the key specified in this option's argument.
The argument of this option is the keyid, a number specified in the keyfile as this
-key\'s identifier. See the keyfile option -k for more details.
+key's identifier. See the keyfile option (-k) for more details.
@node sntp keyfile
@subsection keyfile option (-k)
-.TH SNTP 1 2009-11-28 "( 4.2.5p249-RC)" "Programmer's Manual"
+.TH SNTP 1 2009-11-30 "( 4.2.5p250-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (sntp.1)
.\"
-.\" It has been AutoGen-ed November 28, 2009 at 05:28:06 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 30, 2009 at 05:28:43 AM by AutoGen 5.10
.\" From the definitions sntp-opts.def
.\" and the template file agman1.tpl
.\"
.PP
The default is to write the estimated correct local date and time (i.e. not
UTC) to the standard output in a format like
-.BR "'1996 Oct 15 20:17:25.123 + 4.567 +/- 0.089 secs'" ,
+.BR "'1996 Oct 15 20:17:25.123 +4.567 +/- 0.089 secs'" ,
where the
-.B "'+ 4.567 +/- 0.089 secs'"
+.B "'+4.567 +/- 0.089 secs'"
indicates the local clock is 4.567 seconds behind the correct time
(so 4.567 seconds must be added to the local clock to get it to be correct),
and the time of
is believed to be correct to within
+/- 0.089
seconds.
-.SH USAGE
-The simplest use of this program is as an unprivileged command to check the
-current time and error in the local clock. For example:
-.IP
-.B sntp ntpserver.somewhere
-.PP
-With suitable privilege, it can be run as a command or in a
-.I cron
-job to reset the local clock from a reliable server, like the
-.I ntpdate
-and
-.I rdate
-commands. For example:
-.IP
-.B sntp \-a ntpserver.somewhere
-.SH RETURN VALUE
-The program returns a zero exit
-status for success, and a non-zero one otherwise.
-.SH BUGS
-Please report bugs to http://bugs.ntp.org .
.SH OPTIONS
.TP
.BR \-4 ", " \--ipv4
produce a diagnostic. This option should be set when there is a
suspected problem with the server, network or the source.
.TP
-.BR \-K " \fIstring\fP, " \--kod "=" \fIstring\fP
+.BR \-K " \fIfile-name\fP, " \--kod "=" \fIfile-name\fP
KoD history filename.
.sp
Modifies the filename to be used to persist the history of KoD
.sp
When this option is set all logging will be done using syslog.
.TP
-.BR \-l " \fIstring\fP, " \--filelog "=" \fIstring\fP
-Logging to specified logfile.
+.BR \-l " \fIfile-name\fP, " \--filelog "=" \fIfile-name\fP
+Log to specified logfile.
This option must not appear in combination with any of the following options:
syslog.
.sp
.sp
.TP
-.BR \-b " \fIstring\fP, " \--broadcast "=" \fIstring\fP
+.BR \-b " \fIbroadcast-address\fP, " \--broadcast "=" \fIbroadcast-address\fP
Use broadcasts to the address specified for synchronisation.
.sp
-If specified SNTP will listen for NTP broadcasts to the
-specified broadcast address. The default maximum wait time,
+If specified SNTP will listen to the specified broadcast address
+for NTP broadcasts. The default maximum wait time,
68 seconds, can be modified with \-t.
.TP
-.BR \-t " \fInumber\fP, " \--timeout "=" \fInumber\fP
+.BR \-t " \fIseconds\fP, " \--timeout "=" \fIseconds\fP
Specify the number of seconds to wait for broadcasts.
This option takes an integer number as its argument.
-The default \fInumber\fP for this option is:
+The default \fIseconds\fP for this option is:
.ti +4
68
.sp
When waiting for a broadcast packet SNTP will wait the number
of seconds specified before giving up. Default 68 seconds.
.TP
-.BR \-a " \fInumber\fP, " \--authentication "=" \fInumber\fP
-Enable authentication with the key keyno. This option is used as \-a keyno.
+.BR \-a " \fIauth-keynumber\fP, " \--authentication "=" \fIauth-keynumber\fP
+Enable authentication with the key auth-keynumber.
This option takes an integer number as its argument.
.sp
-This option enables authentication using the key specified in this option\\'s argument.
+This option enables authentication using the key specified in this option's argument.
The argument of this option is the keyid, a number specified in the keyfile as this
-key\\'s identifier. See the keyfile option \-k for more details.
+key's identifier. See the keyfile option (-k) for more details.
.TP
-.BR \-k " \fIstring\fP, " \--keyfile "=" \fIstring\fP
+.BR \-k " \fIfile-name\fP, " \--keyfile "=" \fIfile-name\fP
Specify a keyfile. SNTP will look in this file for the key specified with \-a.
.sp
This option specifies the keyfile. SNTP will search for the key specified with \-a keyno in this
The \fIhomerc\fP files are "\fI$HOME\fP", and "\fI.\fP".
If any of these are directories, then the file \fI.ntprc\fP
is searched for within those directories.
+.SH USAGE
+The simplest use of this program is as an unprivileged command to check the
+current time and error in the local clock. For example:
+.IP
+.B sntp ntpserver.somewhere
+.PP
+With suitable privilege, it can be run as a command or in a
+.I cron
+job to reset the local clock from a reliable server, like the
+.I ntpdate
+and
+.I rdate
+commands. For example:
+.IP
+.B sntp \-a ntpserver.somewhere
+.SH RETURN VALUE
+The program returns a zero exit
+status for success, and a non-zero one otherwise.
+.SH BUGS
+Please report bugs to http://bugs.ntp.org .
.SH AUTHOR
David L. Mills and/or others
.br
<h2 class="unnumbered">Simple Network Time Protocol User Manual</h2>
-<p>This document describes the use of the NTP Project's sntp, a program
+<p>This document describes the use of the NTP Project's <code>sntp</code> program,
that can be used to query a Network Time Protocol (NTP) server and
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.
- <p>This document applies to version 4.2.5p249-RC of sntp.
+ <p>This document applies to version 4.2.5p250-RC of <code>sntp</code>.
<p>The program implements the SNTP protocol as defined by the draft NTPv4
IETF specification.
<!-- node-name, next, previous, up -->
<h3 class="section">Description</h3>
-<p>By default, sntp writes the local data and time (i.e., not UTC) to the
+<p>By default, <code>sntp</code> writes the local data and time (i.e., not UTC) to the
standard output in the format:
-<pre class="example"> 1996 Oct 15 20:17:25.123 + 4.567 +/- 0.089 secs
+<pre class="example"> 1996 Oct 15 20:17:25.123 +4.567 +/- 0.089 secs
</pre>
- <p>where the + 4.567 +/- 0.089 secs indicates the time offset and
+ <p>where the +4.567 +/- 0.089 secs indicates the time offset and
error bound of the system clock relative to the server clock.
<!-- @include sntp-opts.texi -->
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c)
*
- * It has been AutoGen-ed November 28, 2009 at 05:28:21 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:28:53 AM by AutoGen 5.10
* From the definitions ntp-keygen-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "NTP_KEYGEN";
tSCC zUsageTitle[] =
-"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p249-RC\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p250-RC\n\
USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.h)
*
- * It has been AutoGen-ed November 28, 2009 at 05:28:20 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 30, 2009 at 05:28:52 AM by AutoGen 5.10
* From the definitions ntp-keygen-opts.def
* and the template file options
*
} teOptIndex;
#define OPTION_CT 23
-#define NTP_KEYGEN_VERSION "4.2.5p249-RC"
-#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p249-RC"
+#define NTP_KEYGEN_VERSION "4.2.5p250-RC"
+#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p250-RC"
/*
* Interface defines for all options. Replace "n" with the UPPER_CASED
#
# EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.texi)
#
-# It has been AutoGen-ed November 28, 2009 at 05:28:36 AM by AutoGen 5.10
+# It has been AutoGen-ed November 30, 2009 at 05:29:09 AM by AutoGen 5.10
# From the definitions ntp-keygen-opts.def
# and the template file aginfo.tpl
@end ignore
-.TH NTP-KEYGEN 1 2009-11-28 "(ntp 4.2.5p249-RC)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2009-11-30 "(ntp 4.2.5p250-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1)
.\"
-.\" It has been AutoGen-ed November 28, 2009 at 05:28:22 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 30, 2009 at 05:28:55 AM by AutoGen 5.10
.\" From the definitions ntp-keygen-opts.def
.\" and the template file agman1.tpl
.\"