+(4.2.5p248-RC) 2009/11/26 Released by Harlan Stenn <stenn@ntp.org>
* Prepare for the generation of sntp.html.
* Documentation changes from Dave Mills.
* [Bug 1387] Storage leak in ntp_intres (minor).
/*
* EDIT THIS FILE WITH CAUTION (ntpd-opts.c)
*
- * It has been AutoGen-ed November 20, 2009 at 05:28:59 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:30:58 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.5p247-RC\n\
+"ntpd - NTP daemon program - Ver. 4.2.5p248-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 20, 2009 at 05:28:58 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:30:57 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.5p247-RC"
-#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.5p247-RC"
+#define NTPD_VERSION "4.2.5p248-RC"
+#define NTPD_FULL_VERSION "ntpd - NTP daemon program - Ver. 4.2.5p248-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 20, 2009 at 05:29:01 AM by AutoGen 5.10
+# It has been AutoGen-ed November 26, 2009 at 05:31:40 AM by AutoGen 5.10
# From the definitions ntpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpd - NTP daemon program - Ver. 4.2.5p242-RC
+ntpd - NTP daemon program - Ver. 4.2.5p247-RC
USAGE: ntpd [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
+ - prohibits these options:
+ ipv6
-6 no ipv6 Force IPv6 DNS name resolution
- - an alternate for ipv4
+ - prohibits these options:
+ ipv4
-a no authreq Require crypto authentication
- prohibits these options:
authnoreq
-f Str driftfile frequency drift file name
-g no panicgate Allow the first adjustment to be Big
- may appear multiple times
+ -i --- jaildir built without --enable-clockctl or --enable-linuxcaps
-I Str interface Listen on an interface name or address
- may appear multiple times
-k Str keyfile path to symmetric keys
-s Str statsdir Statistics file location
-t Str trustedkey Trusted key number
- may appear multiple times
+ -u --- user built without --enable-clockctl or --enable-linuxcaps
-U Num updateinterval interval in seconds between scans for new or dropped interfaces
Str var make ARG an ntp variable (RW)
- may appear multiple times
- may appear multiple times
-x no slew Slew up to 600 seconds
opt version Output version information and exit
- -? no help Display usage information and exit
+ -? no help Display extended usage information and exit
-! no more-help Extended usage information passed thru pager
Options are specified by doubled hyphens and their name
-.TH NTPD 1 2009-11-20 "( 4.2.5p247-RC)" "Programmer's Manual"
+.TH NTPD 1 2009-11-26 "( 4.2.5p248-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpd.1)
.\"
-.\" It has been AutoGen-ed November 20, 2009 at 05:29:00 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 26, 2009 at 05:30:59 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 20, 2009 at 05:30:16 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:32:19 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.5p247-RC\n\
+"ntpdc - vendor-specific NTP query program - Ver. 4.2.5p248-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 20, 2009 at 05:30:16 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:32:18 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.5p247-RC"
-#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.5p247-RC"
+#define NTPDC_VERSION "4.2.5p248-RC"
+#define NTPDC_FULL_VERSION "ntpdc - vendor-specific NTP query program - Ver. 4.2.5p248-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 20, 2009 at 05:30:18 AM by AutoGen 5.10
+# It has been AutoGen-ed November 26, 2009 at 05:32:43 AM by AutoGen 5.10
# From the definitions ntpdc-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpdc - vendor-specific NTP query program - Ver. 4.2.5p242-RC
+ntpdc - vendor-specific NTP query program - Ver. 4.2.5p247-RC
USAGE: ntpdc [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
+ - prohibits these options:
+ ipv6
-6 no ipv6 Force IPv6 DNS name resolution
- - an alternate for ipv4
+ - prohibits these options:
+ ipv4
-c Str command run a command and exit
- may appear multiple times
-l no listpeers Print a list of the peers
- may appear multiple times
-n no numeric numeric host addresses
opt version Output version information and exit
- -? no help Display usage information and exit
+ -? no help Display extended usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
-< Str load-opts Load options from a config file
-.TH NTPDC 1 2009-11-20 "( 4.2.5p247-RC)" "Programmer's Manual"
+.TH NTPDC 1 2009-11-26 "( 4.2.5p248-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpdc.1)
.\"
-.\" It has been AutoGen-ed November 20, 2009 at 05:30:17 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 26, 2009 at 05:32:20 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 20, 2009 at 05:30:41 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:32:54 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.5p247-RC\n\
+"ntpq - standard NTP query program - Ver. 4.2.5p248-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 20, 2009 at 05:30:41 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:32:54 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.5p247-RC"
-#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.5p247-RC"
+#define NTPQ_VERSION "4.2.5p248-RC"
+#define NTPQ_FULL_VERSION "ntpq - standard NTP query program - Ver. 4.2.5p248-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 20, 2009 at 05:30:43 AM by AutoGen 5.10
+# It has been AutoGen-ed November 26, 2009 at 05:33:17 AM by AutoGen 5.10
# From the definitions ntpq-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpq - standard NTP query program - Ver. 4.2.5p242-RC
+ntpq - standard NTP query program - Ver. 4.2.5p247-RC
USAGE: ntpq [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... [ host ...]
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
-n no numeric numeric host addresses
no old-rv Always output status line with readvar
opt version Output version information and exit
- -? no help Display usage information and exit
+ -? no help Display extended usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
-< Str load-opts Load options from a config file
-.TH NTPQ 1 2009-11-20 "( 4.2.5p247-RC)" "Programmer's Manual"
+.TH NTPQ 1 2009-11-26 "( 4.2.5p248-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpq.1)
.\"
-.\" It has been AutoGen-ed November 20, 2009 at 05:30:42 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 26, 2009 at 05:32:55 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 20, 2009 at 05:31:04 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:33:32 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.5p247-RC\n\
+"ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p248-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 20, 2009 at 05:31:04 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:33:31 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.5p247-RC"
-#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p247-RC"
+#define NTPSNMPD_VERSION "4.2.5p248-RC"
+#define NTPSNMPD_FULL_VERSION "ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p248-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 20, 2009 at 05:31:06 AM by AutoGen 5.10
+# It has been AutoGen-ed November 26, 2009 at 05:33:43 AM by AutoGen 5.10
# From the definitions ntpsnmpd-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
-ntpsnmpd is unavailable - no --help
+ntpsnmpd - NTP SNMP MIB agent - Ver. 4.2.5p247-RC
+USAGE: ntpsnmpd [ -<flag> | --<name> ]...
+ Flg Arg Option-Name Description
+ -n no nofork Do not fork
+ -p no syslog Log to syslog()
+ opt version Output version information and exit
+ -? no help Display extended usage information and exit
+ -! no more-help Extended usage information passed thru pager
+ -> opt save-opts Save the option state to a config file
+ -< Str load-opts Load options from a config file
+ - disabled as --no-load-opts
+ - may appear multiple times
+
+Options are specified by doubled hyphens and their name
+or by a single hyphen and the flag character.
+
+The following option preset mechanisms are supported:
+ - reading file /users/stenn/.ntprc
+ - reading file /deacon/backroom/snaps/ntp-dev/ntpsnmpd/.ntprc
+ - examining environment variables named NTPSNMPD_*
+
+please send bug reports to: http://bugs.ntp.org, bugs@@ntp.org
@end example
@exampleindent 4
-.TH NTPSNMPD 1 2009-11-20 "( 4.2.5p247-RC)" "Programmer's Manual"
+.TH NTPSNMPD 1 2009-11-26 "( 4.2.5p248-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntpsnmpd.1)
.\"
-.\" It has been AutoGen-ed November 20, 2009 at 05:31:05 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 26, 2009 at 05:33:33 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=247
+point=248
# Special. Normally unused. A suffix.
#special=ag
special=
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.c)
*
- * It has been AutoGen-ed November 20, 2009 at 05:35:47 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:38:25 AM by AutoGen 5.10
* From the definitions sntp-opts.def
* and the template file options
*
*/
tSCC zPROGNAME[] = "SNTP";
tSCC zUsageTitle[] =
-"sntp - standard SNTP program - Ver. 4.2.5p247-RC\n\
-USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... ...\n";
+"sntp - standard SNTP program - Ver. 4.2.5p248-RC\n\
+USAGE: %s [ -<flag> [<val>] | --<name>[{=| }<val>] ]... hostname-or-IP ...\n";
tSCC zRcName[] = ".ntprc";
tSCC* apzHomeList[] = {
"$HOME",
#define zExplain NULL
tSCC zDetail[] = "\n\
.I sntp\n\
-can be used as a SNTP client to query a NTP or SNTP server and either display\n\
-the time or set the local system's time (given suitable privilege). It can be\n\
-run as an interactive command or in a\n\
+implements the Simple Network Time Protocol, and is used\n\
+to query an NTP or SNTP server and either\n\
+display the time\n\
+or\n\
+set the local system's time (given suitable privilege).\n\
+It can be\n\
+run interactively from the command line or as a\n\
.I cron\n\
-job.\n\
-NTP is the Network Time Protocol (RFC 1305) and SNTP is the\n\
-Simple Network Time Protocol (RFC 2030, which supersedes RFC 1769).\n";
+job.\n\n\
+NTP and SNTP are defined by draft-ietf-ntp-ntpv4-proto-11, which\n\
+obsoletes RFC 4330 and RFC 1305.\n";
tSCC zFullVersion[] = SNTP_FULL_VERSION;
/* extracted from /usr/local/gnu/share/autogen/optcode.tpl near line 495 */
/*
* EDIT THIS FILE WITH CAUTION (sntp-opts.h)
*
- * It has been AutoGen-ed November 20, 2009 at 05:35:47 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:38:25 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.5p247-RC"
-#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.5p247-RC"
+#define SNTP_VERSION "4.2.5p248-RC"
+#define SNTP_FULL_VERSION "sntp - standard SNTP program - Ver. 4.2.5p248-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 20, 2009 at 05:35:49 AM by AutoGen 5.10
+# It has been AutoGen-ed November 26, 2009 at 05:38:30 AM by AutoGen 5.10
# From the definitions sntp-opts.def
# and the template file aginfo.tpl
@end ignore
This program has no explanation.
.I sntp
-can be used as a SNTP client to query a NTP or SNTP server and either display
-the time or set the local system's time (given suitable privilege). It can be
-run as an interactive command or in a
+implements the Simple Network Time Protocol, and is used
+to query an NTP or SNTP server and either
+display the time
+or
+set the local system's time (given suitable privilege).
+It can be
+run interactively from the command line or as a
.I cron
job.
-NTP is the Network Time Protocol (RFC 1305) and SNTP is the
-Simple Network Time Protocol (RFC 2030, which supersedes RFC 1769).
+
+NTP and SNTP are defined by draft-ietf-ntp-ntpv4-proto-11, which
+obsoletes RFC 4330 and RFC 1305.
This section was generated by @strong{AutoGen},
the aginfo template and the option descriptions for the @command{sntp} program. It documents the sntp usage text and option meanings.
@exampleindent 0
@example
-sntp - standard SNTP program - Ver. 4.2.5p242-RC
+sntp - standard SNTP program - Ver. 4.2.5p247-RC
USAGE: sntp [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]... ...
Flg Arg Option-Name Description
-4 no ipv4 Force IPv4 DNS name resolution
+ - prohibits these options:
+ ipv6
-6 no ipv6 Force IPv6 DNS name resolution
- - an alternate for ipv4
+ - prohibits these options:
+ ipv4
-d no normalverbose Normal verbose
-K Str kod KoD history filename
-p no syslog Logging with syslog
-a Num authentication Enable authentication with the key keyno. This option is used as -a keyno
-k Str keyfile Specify a keyfile. SNTP will look in this file for the key specified with -a
opt version Output version information and exit
- -? no help Display usage information and exit
+ -? no help Display extended usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
-< Str load-opts Load options from a config file
A Key in a 1-to-8 character ASCII string.
M Key in a 1-to-8 character ASCII string using the MD5 authentication scheme.
-See more information see ntp.keys(5).
+For more information see ntp.keys(5).
-.TH SNTP 1 2009-11-20 "( 4.2.5p247-RC)" "Programmer's Manual"
+.TH SNTP 1 2009-11-26 "( 4.2.5p248-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (sntp.1)
.\"
-.\" It has been AutoGen-ed November 20, 2009 at 05:35:48 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 26, 2009 at 05:38:30 AM by AutoGen 5.10
.\" From the definitions sntp-opts.def
.\" and the template file agman1.tpl
.\"
.RB [ \-\fIflag\fP " [\fIvalue\fP]]... [" \--\fIopt-name\fP " [[=| ]\fIvalue\fP]]..."
.br
.in +8
-...
+hostname-or-IP ...
.SH "DESCRIPTION"
This manual page briefly documents the \fBsntp\fP command.
.I sntp
commands. For example:
.IP
.B sntp \-a ntpserver.somewhere
-.PP
-More information on how to use this utility is given in the
-.I README
-file in the distribution. In particular, this
-.I man
-page does not describe how to set it up as a server, which needs special care
-to avoid propagating misinformation.
.SH RETURN VALUE
-When used as a client in non-daemon mode, the program returns a zero exit
-status for success, and a non-zero one otherwise. When used as a daemon
-(either client or server), it does not return except after a serious error.
+The program returns a zero exit
+status for success, and a non-zero one otherwise.
.SH BUGS
-The program implements the SNTP protocol, and does not provide all NTP
-facilities. In particular, it contains no checks against any form of spoofing.
-If this is a serious concern, some network security mechanism (like a firewall
-or even just
-.IR tcpwrappers )
-should be installed.
-.PP
-There are some errors, ambiguities and inconsistencies in the RFCs, and this
-code may not interwork with all other NTP implementations. Any unreasonable
-restrictions should be reported as bugs to whoever is responsible. It may
-be difficult to find out who that is.
-.PP
-The program will stop as soon as it feels that things have got out of control.
-In client daemon mode, it will usually fail during an extended period of
-network or server inaccessibility or excessively slow performance, or when the
-local clock is reset by another process. It will then need restarting
-manually. Experienced system administrators can write a shell script, a
-.I cron
-job or put it in
-.IR inittab ,
-to do this automatically.
-.PP
-.SH AUTHOR
-.I sntp
+Please report bugs to http://bugs.ntp.org .
.SH OPTIONS
.TP
.BR \-4 ", " \--ipv4
A Key in a 1-to-8 character ASCII string.
M Key in a 1-to-8 character ASCII string using the MD5 authentication scheme.
-See more information see ntp.keys(5).
+For more information see ntp.keys(5).
.TP
.BR \-? , " \--help"
Display extended usage information and exit.
<title>Sntp User's Manual</title>
<meta http-equiv="Content-Type" content="text/html">
<meta name="description" content="Sntp User's Manual">
-<meta name="generator" content="makeinfo 4.11">
-<link title="Top" rel="top" href="#Top">
-<link href="http://www.gnu.org/software/texinfo/" rel="generator-home" title="Texinfo Homepage">
+<meta name="generator" content="makeinfo 4.6">
<meta http-equiv="Content-Style-Type" content="text/css">
<style type="text/css"><!--
pre.display { font-family:inherit }
pre.smallformat { font-family:inherit; font-size:smaller }
pre.smallexample { font-size:smaller }
pre.smalllisp { font-size:smaller }
- span.sc { font-variant:small-caps }
- span.roman { font-family:serif; font-weight:normal; }
- span.sansserif { font-family:sans-serif; font-weight:normal; }
--></style>
</head>
<body>
<h1 class="settitle">Sntp User's Manual</h1>
<div class="node">
<p><hr>
-<a name="Top"></a>
-Next: <a rel="next" accesskey="n" href="#sntp-Description">sntp Description</a>,
+Node: <a name="Top">Top</a>,
+Next: <a rel="next" accesskey="n" href="#sntp%20Description">sntp Description</a>,
Previous: <a rel="previous" accesskey="p" href="#dir">(dir)</a>,
Up: <a rel="up" accesskey="u" href="#dir">(dir)</a>
-
+<br>
</div>
<h2 class="unnumbered">Simple Network Time Protocol User Manual</h2>
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.5p247-RC of sntp.
+ <p>This document applies to version 4.2.5p248-RC of sntp.
<p>The program implements the SNTP protocol as defined by the draft NTPv4
IETF specification.
- <div class="shortcontents">
+
+<div class="shortcontents">
<h2>Short Contents</h2>
<ul>
<a href="#Top">Simple Network Time Protocol User Manual</a>
</div>
<ul class="menu">
-<li><a accesskey="1" href="#sntp-Description">sntp Description</a>: Description
-* sntp Invocation:: Invoking sntp
-<li><a accesskey="2" href="#Usage">Usage</a>: Usage
+<li><a accesskey="1" href="#sntp%20Description">sntp Description</a>: Description
+
+<p>* sntp Invocation:: Invoking sntp
+</p><li><a accesskey="2" href="#Usage">Usage</a>: Usage
</ul>
<div class="node">
<p><hr>
-<a name="sntp-Description"></a>
+Node: <a name="sntp%20Description">sntp Description</a>,
Next: <a rel="next" accesskey="n" href="#Usage">Usage</a>,
Previous: <a rel="previous" accesskey="p" href="#Top">Top</a>,
Up: <a rel="up" accesskey="u" href="#Top">Top</a>
-
+<br>
</div>
-<!-- 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
standard output in the format:
<pre class="example"> 1996 Oct 15 20:17:25.123 + 4.567 +/- 0.089 secs
-</pre>
+ </pre>
+
<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 -->
<div class="node">
<p><hr>
-<a name="Usage"></a>
-Previous: <a rel="previous" accesskey="p" href="#sntp-Description">sntp Description</a>,
+Node: <a name="Usage">Usage</a>,
+Previous: <a rel="previous" accesskey="p" href="#sntp%20Description">sntp Description</a>,
Up: <a rel="up" accesskey="u" href="#Top">Top</a>
-
+<br>
</div>
-<!-- node-name, next, previous, up -->
<h3 class="section">Usage</h3>
<p>The simplest use of this program is as an unprivileged command to
For example:
<pre class="example"> sntp ntpserver.somewhere
-</pre>
+ </pre>
+
<p>With suitable privilege, it can be run as a command or in a
<code>crom</code> job to reset the local clock from a reliable server, like
the <code>ntpdate</code> and <code>rdate</code> commands.
For example:
<pre class="example"> sntp -a ntpserver.somewhere
-</pre>
- </body></html>
+ </pre>
+ </body></html>
/*
* EDIT THIS FILE WITH CAUTION (ntp-keygen-opts.c)
*
- * It has been AutoGen-ed November 20, 2009 at 05:36:04 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:38:43 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.5p247-RC\n\
+"ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p248-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 20, 2009 at 05:36:04 AM by AutoGen 5.10
+ * It has been AutoGen-ed November 26, 2009 at 05:38:42 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.5p247-RC"
-#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p247-RC"
+#define NTP_KEYGEN_VERSION "4.2.5p248-RC"
+#define NTP_KEYGEN_FULL_VERSION "ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p248-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 20, 2009 at 05:36:06 AM by AutoGen 5.10
+# It has been AutoGen-ed November 26, 2009 at 05:38:56 AM by AutoGen 5.10
# From the definitions ntp-keygen-opts.def
# and the template file aginfo.tpl
@end ignore
@exampleindent 0
@example
Using OpenSSL version 90704f
-ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p242-RC
+ntp-keygen (ntp) - Create a NTP host key - Ver. 4.2.5p247-RC
USAGE: ntp-keygen [ -<flag> [<val>] | --<name>[@{=| @}<val>] ]...
Flg Arg Option-Name Description
-c Str certificate certificate scheme
-V Num mv-params generate <num> MV parameters
-v Num mv-keys update <num> MV keys
opt version Output version information and exit
- -? no help Display usage information and exit
+ -? no help Display extended usage information and exit
-! no more-help Extended usage information passed thru pager
-> opt save-opts Save the option state to a config file
-< Str load-opts Load options from a config file
-.TH NTP-KEYGEN 1 2009-11-20 "(ntp 4.2.5p247-RC)" "Programmer's Manual"
+.TH NTP-KEYGEN 1 2009-11-26 "(ntp 4.2.5p248-RC)" "Programmer's Manual"
.\" EDIT THIS FILE WITH CAUTION (ntp-keygen.1)
.\"
-.\" It has been AutoGen-ed November 20, 2009 at 05:36:05 AM by AutoGen 5.10
+.\" It has been AutoGen-ed November 26, 2009 at 05:38:44 AM by AutoGen 5.10
.\" From the definitions ntp-keygen-opts.def
.\" and the template file agman1.tpl
.\"