xref: /freebsd/contrib/ntp/ntpdc/ntpdc-opts.def (revision a466cc55373fc3cf86837f09da729535b57e69a1)
1ea906c41SOllivier Robert/* -*- Mode: Text -*- */
2ea906c41SOllivier Robert
3ea906c41SOllivier Robertautogen definitions options;
4ea906c41SOllivier Robert
52b15cb3dSCy Schubert#include autogen-version.def
62b15cb3dSCy Schubert#include copyright.def
72b15cb3dSCy Schubert
8ea906c41SOllivier Robertprog-name      = "ntpdc";
92b15cb3dSCy Schubertprog-title     = "vendor-specific NTPD control program";
10ea906c41SOllivier Robertargument       = '[ host ...]';
11ea906c41SOllivier Robert
12ea906c41SOllivier Robert#include homerc.def
13ea906c41SOllivier Robert
14ea906c41SOllivier Robertflag = {
15ea906c41SOllivier Robert    name      = ipv4;
16ea906c41SOllivier Robert    value     = 4;
172b15cb3dSCy Schubert    flags-cant = ipv6;
18ea906c41SOllivier Robert    descrip   = "Force IPv4 DNS name resolution";
19ea906c41SOllivier Robert    doc = <<-  _EndOfDoc_
20ea906c41SOllivier Robert	Force DNS resolution of following host names on the command line
21ea906c41SOllivier Robert	to the IPv4 namespace.
22ea906c41SOllivier Robert	_EndOfDoc_;
23ea906c41SOllivier Robert};
24ea906c41SOllivier Robert
25ea906c41SOllivier Robertflag = {
26ea906c41SOllivier Robert    name      = ipv6;
27ea906c41SOllivier Robert    value     = 6;
282b15cb3dSCy Schubert    flags-cant = ipv4;
29ea906c41SOllivier Robert    descrip   = "Force IPv6 DNS name resolution";
30ea906c41SOllivier Robert    doc = <<-  _EndOfDoc_
31ea906c41SOllivier Robert	Force DNS resolution of following host names on the command line
32ea906c41SOllivier Robert	to the IPv6 namespace.
33ea906c41SOllivier Robert	_EndOfDoc_;
34ea906c41SOllivier Robert};
35ea906c41SOllivier Robert
36ea906c41SOllivier Robertflag = {
37ea906c41SOllivier Robert    name      = command;
38ea906c41SOllivier Robert    value     = c;
39ea906c41SOllivier Robert    arg-type  = string;
40ea906c41SOllivier Robert    descrip   = "run a command and exit";
41ea906c41SOllivier Robert    max       = NOLIMIT;
42ea906c41SOllivier Robert    arg-name  = cmd;
43ea906c41SOllivier Robert    stack-arg;
44ea906c41SOllivier Robert    doc = <<-  _EndOfDoc_
45ea906c41SOllivier Robert	The following argument is interpreted as an interactive format command
46ea906c41SOllivier Robert	and is added to the list of commands to be executed on the specified
47ea906c41SOllivier Robert	host(s).
48ea906c41SOllivier Robert	_EndOfDoc_;
49ea906c41SOllivier Robert};
50ea906c41SOllivier Robert
512b15cb3dSCy Schubert#include debug-opt.def
522b15cb3dSCy Schubert
532b15cb3dSCy Schubertflag = {
542b15cb3dSCy Schubert    name      = interactive;
552b15cb3dSCy Schubert    value     = i;
562b15cb3dSCy Schubert    flags-cant = command, listpeers, peers, showpeers;
572b15cb3dSCy Schubert    descrip   = "Force ntpq to operate in interactive mode";
582b15cb3dSCy Schubert    doc = <<-  _EndOfDoc_
592b15cb3dSCy Schubert	Force ntpq to operate in interactive mode.  Prompts will be written
602b15cb3dSCy Schubert	to the standard output and commands read from the standard input.
612b15cb3dSCy Schubert	_EndOfDoc_;
622b15cb3dSCy Schubert};
632b15cb3dSCy Schubert
64ea906c41SOllivier Robertflag = {
65ea906c41SOllivier Robert    name      = listpeers;
66ea906c41SOllivier Robert    value     = l;
67ea906c41SOllivier Robert    descrip   = "Print a list of the peers";
68ea906c41SOllivier Robert    flags-cant = command;
69ea906c41SOllivier Robert    doc = <<-  _EndOfDoc_
70ea906c41SOllivier Robert	Print a list of the peers known to the server as well as a summary of
71ea906c41SOllivier Robert	their state. This is equivalent to the 'listpeers' interactive command.
72ea906c41SOllivier Robert	_EndOfDoc_;
73ea906c41SOllivier Robert};
74ea906c41SOllivier Robert
75ea906c41SOllivier Robertflag = {
762b15cb3dSCy Schubert    name      = numeric;
772b15cb3dSCy Schubert    value     = n;
782b15cb3dSCy Schubert    descrip   = "numeric host addresses";
792b15cb3dSCy Schubert    doc = <<-  _EndOfDoc_
802b15cb3dSCy Schubert	Output all host addresses in dotted-quad numeric format rather than
812b15cb3dSCy Schubert	converting to the canonical host names.
822b15cb3dSCy Schubert	_EndOfDoc_;
832b15cb3dSCy Schubert};
842b15cb3dSCy Schubert
852b15cb3dSCy Schubertflag = {
86ea906c41SOllivier Robert    name      = peers;
87ea906c41SOllivier Robert    value     = p;
88ea906c41SOllivier Robert    descrip   = "Print a list of the peers";
89ea906c41SOllivier Robert    flags-cant = command;
90ea906c41SOllivier Robert    doc = <<-  _EndOfDoc_
91ea906c41SOllivier Robert	Print a list of the peers known to the server as well as a summary
92ea906c41SOllivier Robert	of their state. This is equivalent to the 'peers' interactive command.
93ea906c41SOllivier Robert	_EndOfDoc_;
94ea906c41SOllivier Robert};
95ea906c41SOllivier Robert
96ea906c41SOllivier Robertflag = {
97ea906c41SOllivier Robert    name      = showpeers;
98ea906c41SOllivier Robert    value     = s;
99ea906c41SOllivier Robert    descrip   = "Show a list of the peers";
100ea906c41SOllivier Robert    flags-cant = command;
101ea906c41SOllivier Robert    doc = <<-  _EndOfDoc_
102ea906c41SOllivier Robert	Print a list of the peers known to the server as well as a summary
103ea906c41SOllivier Robert	of their state. This is equivalent to the 'dmpeers' interactive command.
104ea906c41SOllivier Robert	_EndOfDoc_;
105ea906c41SOllivier Robert};
106ea906c41SOllivier Robert
107*a466cc55SCy Schubertflag = {
108*a466cc55SCy Schubert    name      = unconnected;
109*a466cc55SCy Schubert    value     = u;
110*a466cc55SCy Schubert    descrip   = "Use unconnected UDP to communicate with ntpd (default on Windows)";
111*a466cc55SCy Schubert    doc = <<-  _EndOfDoc_
112*a466cc55SCy Schubert	Open an unconnected UDP association to ntpd (the default
113*a466cc55SCy Schubert	on Windows).
114*a466cc55SCy Schubert	_EndOfDoc_;
115*a466cc55SCy Schubert};
116*a466cc55SCy Schubert
1172b15cb3dSCy Schubert/* explain: Additional information whenever the usage routine is invoked */
1182b15cb3dSCy Schubertexplain = <<- _END_EXPLAIN
1192b15cb3dSCy Schubert	_END_EXPLAIN;
120ea906c41SOllivier Robert
1212b15cb3dSCy Schubertdoc-section	= {
1222b15cb3dSCy Schubert  ds-type	= 'DESCRIPTION';
1232b15cb3dSCy Schubert  ds-format	= 'mdoc';
1242b15cb3dSCy Schubert  ds-text	= <<-  _END_PROG_MDOC_DESCRIP
1252b15cb3dSCy Schubert.Nm
1262b15cb3dSCy Schubertis deprecated.
1272b15cb3dSCy SchubertPlease use
1282b15cb3dSCy Schubert.Xr ntpq 1ntpqmdoc instead - it can do everything
1292b15cb3dSCy Schubert.Nm
1302b15cb3dSCy Schubertused to do, and it does so using a much more sane interface.
1312b15cb3dSCy Schubert.Pp
1322b15cb3dSCy Schubert.Nm
1332b15cb3dSCy Schubertis a utility program used to query
1342b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
1352b15cb3dSCy Schubertabout its
136ea906c41SOllivier Robertcurrent state and to request changes in that state.
137ea906c41SOllivier RobertIt uses NTP mode 7 control message formats described in the source code.
138ea906c41SOllivier RobertThe program may
139ea906c41SOllivier Robertbe run either in interactive mode or controlled using command line
140ea906c41SOllivier Robertarguments.
141ea906c41SOllivier RobertExtensive state and statistics information is available
142ea906c41SOllivier Robertthrough the
1432b15cb3dSCy Schubert.Nm
144ea906c41SOllivier Robertinterface.
145ea906c41SOllivier RobertIn addition, nearly all the
146ea906c41SOllivier Robertconfiguration options which can be specified at startup using
147ea906c41SOllivier Robertntpd's configuration file may also be specified at run time using
1482b15cb3dSCy Schubert.Nm .
1492b15cb3dSCy Schubert	_END_PROG_MDOC_DESCRIP;
1502b15cb3dSCy Schubert};
151ea906c41SOllivier Robert
152ea906c41SOllivier Robert
1532b15cb3dSCy Schubertdoc-section	= {
1542b15cb3dSCy Schubert  ds-type	= 'USAGE';
1552b15cb3dSCy Schubert  ds-format     = 'mdoc';
1562b15cb3dSCy Schubert  ds-text       = <<-  _END_MDOC_USAGE
1572b15cb3dSCy SchubertIf one or more request options are included on the command line
1582b15cb3dSCy Schubertwhen
1592b15cb3dSCy Schubert.Nm
1602b15cb3dSCy Schubertis executed, each of the requests will be sent
1612b15cb3dSCy Schubertto the NTP servers running on each of the hosts given as command
1622b15cb3dSCy Schubertline arguments, or on localhost by default.
1632b15cb3dSCy SchubertIf no request options
1642b15cb3dSCy Schubertare given,
1652b15cb3dSCy Schubert.Nm
1662b15cb3dSCy Schubertwill attempt to read commands from the
1672b15cb3dSCy Schubertstandard input and execute these on the NTP server running on the
1682b15cb3dSCy Schubertfirst host given on the command line, again defaulting to localhost
1692b15cb3dSCy Schubertwhen no other host is specified.
1702b15cb3dSCy SchubertThe
1712b15cb3dSCy Schubert.Nm
1722b15cb3dSCy Schubertutility will prompt for
1732b15cb3dSCy Schubertcommands if the standard input is a terminal device.
1742b15cb3dSCy Schubert.Pp
1752b15cb3dSCy SchubertThe
1762b15cb3dSCy Schubert.Nm
1772b15cb3dSCy Schubertutility uses NTP mode 7 packets to communicate with the
1782b15cb3dSCy SchubertNTP server, and hence can be used to query any compatible server on
1792b15cb3dSCy Schubertthe network which permits it.
1802b15cb3dSCy SchubertNote that since NTP is a UDP protocol
1812b15cb3dSCy Schubertthis communication will be somewhat unreliable, especially over
1822b15cb3dSCy Schubertlarge distances in terms of network topology.
1832b15cb3dSCy SchubertThe
1842b15cb3dSCy Schubert.Nm
1852b15cb3dSCy Schubertutility makes
1862b15cb3dSCy Schubertno attempt to retransmit requests, and will time requests out if
1872b15cb3dSCy Schubertthe remote host is not heard from within a suitable timeout
1882b15cb3dSCy Schuberttime.
1892b15cb3dSCy Schubert.Pp
1902b15cb3dSCy SchubertThe operation of
1912b15cb3dSCy Schubert.Nm
1922b15cb3dSCy Schubertare specific to the particular
1932b15cb3dSCy Schubertimplementation of the
1942b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
1952b15cb3dSCy Schubertdaemon and can be expected to
1962b15cb3dSCy Schubertwork only with this and maybe some previous versions of the daemon.
1972b15cb3dSCy SchubertRequests from a remote
1982b15cb3dSCy Schubert.Nm
1992b15cb3dSCy Schubertutility which affect the
2002b15cb3dSCy Schubertstate of the local server must be authenticated, which requires
2012b15cb3dSCy Schubertboth the remote program and local server share a common key and key
2022b15cb3dSCy Schubertidentifier.
2032b15cb3dSCy Schubert.Pp
2042b15cb3dSCy SchubertNote that in contexts where a host name is expected, a
2052b15cb3dSCy Schubert.Fl 4
2062b15cb3dSCy Schubertqualifier preceding the host name forces DNS resolution to the IPv4 namespace,
2072b15cb3dSCy Schubertwhile a
2082b15cb3dSCy Schubert.Fl 6
2092b15cb3dSCy Schubertqualifier forces DNS resolution to the IPv6 namespace.
2102b15cb3dSCy SchubertSpecifying a command line option other than
2112b15cb3dSCy Schubert.Fl i
2122b15cb3dSCy Schubertor
2132b15cb3dSCy Schubert.Fl n
2142b15cb3dSCy Schubertwill cause the specified query (queries) to be sent to
2152b15cb3dSCy Schubertthe indicated host(s) immediately.
2162b15cb3dSCy SchubertOtherwise,
2172b15cb3dSCy Schubert.Nm
2182b15cb3dSCy Schubertwill
2192b15cb3dSCy Schubertattempt to read interactive format commands from the standard
2202b15cb3dSCy Schubertinput.
2212b15cb3dSCy Schubert.Ss "Interactive Commands"
2222b15cb3dSCy SchubertInteractive format commands consist of a keyword followed by zero
2232b15cb3dSCy Schubertto four arguments.
2242b15cb3dSCy SchubertOnly enough characters of the full keyword to
2252b15cb3dSCy Schubertuniquely identify the command need be typed.
2262b15cb3dSCy SchubertThe output of a
2272b15cb3dSCy Schubertcommand is normally sent to the standard output, but optionally the
2282b15cb3dSCy Schubertoutput of individual commands may be sent to a file by appending a
2292b15cb3dSCy Schubert.Ql \&> ,
2302b15cb3dSCy Schubertfollowed by a file name, to the command line.
2312b15cb3dSCy Schubert.Pp
2322b15cb3dSCy SchubertA number of interactive format commands are executed entirely
2332b15cb3dSCy Schubertwithin the
2342b15cb3dSCy Schubert.Nm
2352b15cb3dSCy Schubertutility itself and do not result in NTP
2362b15cb3dSCy Schubertmode 7 requests being sent to a server.
2372b15cb3dSCy SchubertThese are described
2382b15cb3dSCy Schubertfollowing.
2392b15cb3dSCy Schubert.Bl -tag -width indent
2402b15cb3dSCy Schubert.It Ic \&? Ar command_keyword
2412b15cb3dSCy Schubert.It Ic help Ar command_keyword
2422b15cb3dSCy SchubertA
2432b15cb3dSCy Schubert.Sq Ic \&?
2442b15cb3dSCy Schubertwill print a list of all the command
2452b15cb3dSCy Schubertkeywords known to this incarnation of
2462b15cb3dSCy Schubert.Nm .
2472b15cb3dSCy SchubertA
2482b15cb3dSCy Schubert.Sq Ic \&?
2492b15cb3dSCy Schubertfollowed by a command keyword will print function and usage
2502b15cb3dSCy Schubertinformation about the command.
2512b15cb3dSCy SchubertThis command is probably a better
2522b15cb3dSCy Schubertsource of information about
2532b15cb3dSCy Schubert.Xr ntpq 1ntpqmdoc
2542b15cb3dSCy Schubertthan this manual
2552b15cb3dSCy Schubertpage.
2562b15cb3dSCy Schubert.It Ic delay Ar milliseconds
2572b15cb3dSCy SchubertSpecify a time interval to be added to timestamps included in
2582b15cb3dSCy Schubertrequests which require authentication.
2592b15cb3dSCy SchubertThis is used to enable
2602b15cb3dSCy Schubert(unreliable) server reconfiguration over long delay network paths
2612b15cb3dSCy Schubertor between machines whose clocks are unsynchronized.
2622b15cb3dSCy SchubertActually the
2632b15cb3dSCy Schubertserver does not now require timestamps in authenticated requests,
2642b15cb3dSCy Schubertso this command may be obsolete.
2652b15cb3dSCy Schubert.It Ic host Ar hostname
2662b15cb3dSCy SchubertSet the host to which future queries will be sent.
2672b15cb3dSCy SchubertHostname may
2682b15cb3dSCy Schubertbe either a host name or a numeric address.
2692b15cb3dSCy Schubert.It Ic hostnames Op Cm yes | Cm no
2702b15cb3dSCy SchubertIf
2712b15cb3dSCy Schubert.Cm yes
2722b15cb3dSCy Schubertis specified, host names are printed in
2732b15cb3dSCy Schubertinformation displays.
2742b15cb3dSCy SchubertIf
2752b15cb3dSCy Schubert.Cm no
2762b15cb3dSCy Schubertis specified, numeric
2772b15cb3dSCy Schubertaddresses are printed instead.
2782b15cb3dSCy SchubertThe default is
2792b15cb3dSCy Schubert.Cm yes ,
2802b15cb3dSCy Schubertunless
2812b15cb3dSCy Schubertmodified using the command line
2822b15cb3dSCy Schubert.Fl n
2832b15cb3dSCy Schubertswitch.
2842b15cb3dSCy Schubert.It Ic keyid Ar keyid
2852b15cb3dSCy SchubertThis command allows the specification of a key number to be
2862b15cb3dSCy Schubertused to authenticate configuration requests.
2872b15cb3dSCy SchubertThis must correspond
2882b15cb3dSCy Schubertto a key number the server has been configured to use for this
2892b15cb3dSCy Schubertpurpose.
2902b15cb3dSCy Schubert.It Ic quit
2912b15cb3dSCy SchubertExit
2922b15cb3dSCy Schubert.Nm .
2932b15cb3dSCy Schubert.It Ic passwd
2942b15cb3dSCy SchubertThis command prompts you to type in a password (which will not
2952b15cb3dSCy Schubertbe echoed) which will be used to authenticate configuration
2962b15cb3dSCy Schubertrequests.
2972b15cb3dSCy SchubertThe password must correspond to the key configured for
2982b15cb3dSCy Schubertuse by the NTP server for this purpose if such requests are to be
2992b15cb3dSCy Schubertsuccessful.
3002b15cb3dSCy Schubert.It Ic timeout Ar milliseconds
3012b15cb3dSCy SchubertSpecify a timeout period for responses to server queries.
3022b15cb3dSCy SchubertThe
3032b15cb3dSCy Schubertdefault is about 8000 milliseconds.
3042b15cb3dSCy SchubertNote that since
3052b15cb3dSCy Schubert.Nm
3062b15cb3dSCy Schubertretries each query once after a timeout, the total waiting time for
3072b15cb3dSCy Schuberta timeout will be twice the timeout value set.
3082b15cb3dSCy Schubert.El
3092b15cb3dSCy Schubert.Ss "Control Message Commands"
3102b15cb3dSCy SchubertQuery commands result in NTP mode 7 packets containing requests for
3112b15cb3dSCy Schubertinformation being sent to the server.
3122b15cb3dSCy SchubertThese are read-only commands
3132b15cb3dSCy Schubertin that they make no modification of the server configuration
3142b15cb3dSCy Schubertstate.
3152b15cb3dSCy Schubert.Bl -tag -width indent
3162b15cb3dSCy Schubert.It Ic listpeers
3172b15cb3dSCy SchubertObtains and prints a brief list of the peers for which the
3182b15cb3dSCy Schubertserver is maintaining state.
3192b15cb3dSCy SchubertThese should include all configured
3202b15cb3dSCy Schubertpeer associations as well as those peers whose stratum is such that
3212b15cb3dSCy Schubertthey are considered by the server to be possible future
3222b15cb3dSCy Schubertsynchronization candidates.
3232b15cb3dSCy Schubert.It Ic peers
3242b15cb3dSCy SchubertObtains a list of peers for which the server is maintaining
3252b15cb3dSCy Schubertstate, along with a summary of that state.
3262b15cb3dSCy SchubertSummary information
3272b15cb3dSCy Schubertincludes the address of the remote peer, the local interface
3282b15cb3dSCy Schubertaddress (0.0.0.0 if a local address has yet to be determined), the
3292b15cb3dSCy Schubertstratum of the remote peer (a stratum of 16 indicates the remote
3302b15cb3dSCy Schubertpeer is unsynchronized), the polling interval, in seconds, the
3312b15cb3dSCy Schubertreachability register, in octal, and the current estimated delay,
3322b15cb3dSCy Schubertoffset and dispersion of the peer, all in seconds.
3332b15cb3dSCy Schubert.Pp
3342b15cb3dSCy SchubertThe character in the left margin indicates the mode this peer
3352b15cb3dSCy Schubertentry is operating in.
3362b15cb3dSCy SchubertA
3372b15cb3dSCy Schubert.Ql \&+
3382b15cb3dSCy Schubertdenotes symmetric active, a
3392b15cb3dSCy Schubert.Ql \&-
3402b15cb3dSCy Schubertindicates symmetric passive, a
3412b15cb3dSCy Schubert.Ql \&=
3422b15cb3dSCy Schubertmeans the
3432b15cb3dSCy Schubertremote server is being polled in client mode, a
3442b15cb3dSCy Schubert.Ql \&^
3452b15cb3dSCy Schubertindicates that the server is broadcasting to this address, a
3462b15cb3dSCy Schubert.Ql \&~
3472b15cb3dSCy Schubertdenotes that the remote peer is sending broadcasts and a
3482b15cb3dSCy Schubert.Ql \&~
3492b15cb3dSCy Schubertdenotes that the remote peer is sending broadcasts and a
3502b15cb3dSCy Schubert.Ql \&*
3512b15cb3dSCy Schubertmarks the peer the server is currently synchronizing
3522b15cb3dSCy Schubertto.
3532b15cb3dSCy Schubert.Pp
3542b15cb3dSCy SchubertThe contents of the host field may be one of four forms.
3552b15cb3dSCy SchubertIt may
3562b15cb3dSCy Schubertbe a host name, an IP address, a reference clock implementation
3572b15cb3dSCy Schubertname with its parameter or
3582b15cb3dSCy Schubert.Fn REFCLK "implementation_number" "parameter" .
3592b15cb3dSCy SchubertOn
3602b15cb3dSCy Schubert.Ic hostnames
3612b15cb3dSCy Schubert.Cm no
3622b15cb3dSCy Schubertonly IP-addresses
3632b15cb3dSCy Schubertwill be displayed.
3642b15cb3dSCy Schubert.It Ic dmpeers
3652b15cb3dSCy SchubertA slightly different peer summary list.
3662b15cb3dSCy SchubertIdentical to the output
3672b15cb3dSCy Schubertof the
3682b15cb3dSCy Schubert.Ic peers
3692b15cb3dSCy Schubertcommand, except for the character in the
3702b15cb3dSCy Schubertleftmost column.
3712b15cb3dSCy SchubertCharacters only appear beside peers which were
3722b15cb3dSCy Schubertincluded in the final stage of the clock selection algorithm.
3732b15cb3dSCy SchubertA
3742b15cb3dSCy Schubert.Ql \&.
3752b15cb3dSCy Schubertindicates that this peer was cast off in the falseticker
3762b15cb3dSCy Schubertdetection, while a
3772b15cb3dSCy Schubert.Ql \&+
3782b15cb3dSCy Schubertindicates that the peer made it
3792b15cb3dSCy Schubertthrough.
3802b15cb3dSCy SchubertA
3812b15cb3dSCy Schubert.Ql \&*
3822b15cb3dSCy Schubertdenotes the peer the server is currently
3832b15cb3dSCy Schubertsynchronizing with.
3842b15cb3dSCy Schubert.It Ic showpeer Ar peer_address Oo Ar ... Oc
3852b15cb3dSCy SchubertShows a detailed display of the current peer variables for one
3862b15cb3dSCy Schubertor more peers.
3872b15cb3dSCy SchubertMost of these values are described in the NTP
3882b15cb3dSCy SchubertVersion 2 specification.
3892b15cb3dSCy Schubert.It Ic pstats Ar peer_address Oo Ar ... Oc
3902b15cb3dSCy SchubertShow per-peer statistic counters associated with the specified
3912b15cb3dSCy Schubertpeer(s).
3922b15cb3dSCy Schubert.It Ic clockstat Ar clock_peer_address Oo Ar ... Oc
3932b15cb3dSCy SchubertObtain and print information concerning a peer clock.
3942b15cb3dSCy SchubertThe
3952b15cb3dSCy Schubertvalues obtained provide information on the setting of fudge factors
3962b15cb3dSCy Schubertand other clock performance information.
3972b15cb3dSCy Schubert.It Ic kerninfo
3982b15cb3dSCy SchubertObtain and print kernel phase-lock loop operating parameters.
3992b15cb3dSCy SchubertThis information is available only if the kernel has been specially
4002b15cb3dSCy Schubertmodified for a precision timekeeping function.
4012b15cb3dSCy Schubert.It Ic loopinfo Op Cm oneline | Cm multiline
4022b15cb3dSCy SchubertPrint the values of selected loop filter variables.
4032b15cb3dSCy SchubertThe loop
4042b15cb3dSCy Schubertfilter is the part of NTP which deals with adjusting the local
4052b15cb3dSCy Schubertsystem clock.
4062b15cb3dSCy SchubertThe
4072b15cb3dSCy Schubert.Sq offset
4082b15cb3dSCy Schubertis the last offset given to the
4092b15cb3dSCy Schubertloop filter by the packet processing code.
4102b15cb3dSCy SchubertThe
4112b15cb3dSCy Schubert.Sq frequency
4122b15cb3dSCy Schubertis the frequency error of the local clock in parts-per-million
4132b15cb3dSCy Schubert(ppm).
4142b15cb3dSCy SchubertThe
4152b15cb3dSCy Schubert.Sq time_const
4162b15cb3dSCy Schubertcontrols the stiffness of the
4172b15cb3dSCy Schubertphase-lock loop and thus the speed at which it can adapt to
4182b15cb3dSCy Schubertoscillator drift.
4192b15cb3dSCy SchubertThe
4202b15cb3dSCy Schubert.Sq watchdog timer
4212b15cb3dSCy Schubertvalue is the number
4222b15cb3dSCy Schubertof seconds which have elapsed since the last sample offset was
4232b15cb3dSCy Schubertgiven to the loop filter.
4242b15cb3dSCy SchubertThe
4252b15cb3dSCy Schubert.Cm oneline
4262b15cb3dSCy Schubertand
4272b15cb3dSCy Schubert.Cm multiline
4282b15cb3dSCy Schubertoptions specify the format in which this
4292b15cb3dSCy Schubertinformation is to be printed, with
4302b15cb3dSCy Schubert.Cm multiline
4312b15cb3dSCy Schubertas the
4322b15cb3dSCy Schubertdefault.
4332b15cb3dSCy Schubert.It Ic sysinfo
4342b15cb3dSCy SchubertPrint a variety of system state variables, i.e., state related
4352b15cb3dSCy Schubertto the local server.
4362b15cb3dSCy SchubertAll except the last four lines are described
4372b15cb3dSCy Schubertin the NTP Version 3 specification, RFC-1305.
4382b15cb3dSCy Schubert.Pp
4392b15cb3dSCy SchubertThe
4402b15cb3dSCy Schubert.Sq system flags
4412b15cb3dSCy Schubertshow various system flags, some of
4422b15cb3dSCy Schubertwhich can be set and cleared by the
4432b15cb3dSCy Schubert.Ic enable
4442b15cb3dSCy Schubertand
4452b15cb3dSCy Schubert.Ic disable
4462b15cb3dSCy Schubertconfiguration commands, respectively.
4472b15cb3dSCy SchubertThese are
4482b15cb3dSCy Schubertthe
4492b15cb3dSCy Schubert.Cm auth ,
4502b15cb3dSCy Schubert.Cm bclient ,
4512b15cb3dSCy Schubert.Cm monitor ,
4522b15cb3dSCy Schubert.Cm pll ,
4532b15cb3dSCy Schubert.Cm pps
4542b15cb3dSCy Schubertand
4552b15cb3dSCy Schubert.Cm stats
4562b15cb3dSCy Schubertflags.
4572b15cb3dSCy SchubertSee the
4582b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
4592b15cb3dSCy Schubertdocumentation for the meaning of these flags.
4602b15cb3dSCy SchubertThere
4612b15cb3dSCy Schubertare two additional flags which are read only, the
4622b15cb3dSCy Schubert.Cm kernel_pll
4632b15cb3dSCy Schubertand
4642b15cb3dSCy Schubert.Cm kernel_pps .
4652b15cb3dSCy SchubertThese flags indicate
4662b15cb3dSCy Schubertthe synchronization status when the precision time kernel
4672b15cb3dSCy Schubertmodifications are in use.
4682b15cb3dSCy SchubertThe
4692b15cb3dSCy Schubert.Sq kernel_pll
4702b15cb3dSCy Schubertindicates that
4712b15cb3dSCy Schubertthe local clock is being disciplined by the kernel, while the
4722b15cb3dSCy Schubert.Sq kernel_pps
4732b15cb3dSCy Schubertindicates the kernel discipline is provided by the PPS
4742b15cb3dSCy Schubertsignal.
4752b15cb3dSCy Schubert.Pp
4762b15cb3dSCy SchubertThe
4772b15cb3dSCy Schubert.Sq stability
4782b15cb3dSCy Schubertis the residual frequency error remaining
4792b15cb3dSCy Schubertafter the system frequency correction is applied and is intended for
4802b15cb3dSCy Schubertmaintenance and debugging.
4812b15cb3dSCy SchubertIn most architectures, this value will
4822b15cb3dSCy Schubertinitially decrease from as high as 500 ppm to a nominal value in
4832b15cb3dSCy Schubertthe range .01 to 0.1 ppm.
4842b15cb3dSCy SchubertIf it remains high for some time after
4852b15cb3dSCy Schubertstarting the daemon, something may be wrong with the local clock,
4862b15cb3dSCy Schubertor the value of the kernel variable
4872b15cb3dSCy Schubert.Va kern.clockrate.tick
4882b15cb3dSCy Schubertmay be
4892b15cb3dSCy Schubertincorrect.
4902b15cb3dSCy Schubert.Pp
4912b15cb3dSCy SchubertThe
4922b15cb3dSCy Schubert.Sq broadcastdelay
4932b15cb3dSCy Schubertshows the default broadcast delay,
4942b15cb3dSCy Schubertas set by the
4952b15cb3dSCy Schubert.Ic broadcastdelay
4962b15cb3dSCy Schubertconfiguration command.
4972b15cb3dSCy Schubert.Pp
4982b15cb3dSCy SchubertThe
4992b15cb3dSCy Schubert.Sq authdelay
5002b15cb3dSCy Schubertshows the default authentication delay,
5012b15cb3dSCy Schubertas set by the
5022b15cb3dSCy Schubert.Ic authdelay
5032b15cb3dSCy Schubertconfiguration command.
5042b15cb3dSCy Schubert.It Ic sysstats
5052b15cb3dSCy SchubertPrint statistics counters maintained in the protocol
5062b15cb3dSCy Schubertmodule.
5072b15cb3dSCy Schubert.It Ic memstats
5082b15cb3dSCy SchubertPrint statistics counters related to memory allocation
5092b15cb3dSCy Schubertcode.
5102b15cb3dSCy Schubert.It Ic iostats
5112b15cb3dSCy SchubertPrint statistics counters maintained in the input-output
5122b15cb3dSCy Schubertmodule.
5132b15cb3dSCy Schubert.It Ic timerstats
5142b15cb3dSCy SchubertPrint statistics counters maintained in the timer/event queue
5152b15cb3dSCy Schubertsupport code.
5162b15cb3dSCy Schubert.It Ic reslist
5172b15cb3dSCy SchubertObtain and print the server's restriction list.
5182b15cb3dSCy SchubertThis list is
5192b15cb3dSCy Schubert(usually) printed in sorted order and may help to understand how
5202b15cb3dSCy Schubertthe restrictions are applied.
5212b15cb3dSCy Schubert.It Ic monlist Op Ar version
5222b15cb3dSCy SchubertObtain and print traffic counts collected and maintained by the
5232b15cb3dSCy Schubertmonitor facility.
5242b15cb3dSCy SchubertThe version number should not normally need to be
5252b15cb3dSCy Schubertspecified.
5262b15cb3dSCy Schubert.It Ic clkbug Ar clock_peer_address Oo Ar ... Oc
5272b15cb3dSCy SchubertObtain debugging information for a reference clock driver.
5282b15cb3dSCy SchubertThis
5292b15cb3dSCy Schubertinformation is provided only by some clock drivers and is mostly
5302b15cb3dSCy Schubertundecodable without a copy of the driver source in hand.
5312b15cb3dSCy Schubert.El
5322b15cb3dSCy Schubert.Ss "Runtime Configuration Requests"
5332b15cb3dSCy SchubertAll requests which cause state changes in the server are
5342b15cb3dSCy Schubertauthenticated by the server using a configured NTP key (the
5352b15cb3dSCy Schubertfacility can also be disabled by the server by not configuring a
5362b15cb3dSCy Schubertkey).
5372b15cb3dSCy SchubertThe key number and the corresponding key must also be made
5382b15cb3dSCy Schubertknown to
5392b15cb3dSCy Schubert.Nm .
5402b15cb3dSCy SchubertThis can be done using the
5412b15cb3dSCy Schubert.Ic keyid
5422b15cb3dSCy Schubertand
5432b15cb3dSCy Schubert.Ic passwd
5442b15cb3dSCy Schubertcommands, the latter of which will prompt at the terminal for a
5452b15cb3dSCy Schubertpassword to use as the encryption key.
5462b15cb3dSCy SchubertYou will also be prompted
5472b15cb3dSCy Schubertautomatically for both the key number and password the first time a
5482b15cb3dSCy Schubertcommand which would result in an authenticated request to the
5492b15cb3dSCy Schubertserver is given.
5502b15cb3dSCy SchubertAuthentication not only provides verification that
5512b15cb3dSCy Schubertthe requester has permission to make such changes, but also gives
5522b15cb3dSCy Schubertan extra degree of protection again transmission errors.
5532b15cb3dSCy Schubert.Pp
5542b15cb3dSCy SchubertAuthenticated requests always include a timestamp in the packet
5552b15cb3dSCy Schubertdata, which is included in the computation of the authentication
5562b15cb3dSCy Schubertcode.
5572b15cb3dSCy SchubertThis timestamp is compared by the server to its receive time
5582b15cb3dSCy Schubertstamp.
5592b15cb3dSCy SchubertIf they differ by more than a small amount the request is
5602b15cb3dSCy Schubertrejected.
5612b15cb3dSCy SchubertThis is done for two reasons.
5622b15cb3dSCy SchubertFirst, it makes simple
5632b15cb3dSCy Schubertreplay attacks on the server, by someone who might be able to
5642b15cb3dSCy Schubertoverhear traffic on your LAN, much more difficult.
5652b15cb3dSCy SchubertSecond, it makes
5662b15cb3dSCy Schubertit more difficult to request configuration changes to your server
5672b15cb3dSCy Schubertfrom topologically remote hosts.
5682b15cb3dSCy SchubertWhile the reconfiguration facility
5692b15cb3dSCy Schubertwill work well with a server on the local host, and may work
5702b15cb3dSCy Schubertadequately between time-synchronized hosts on the same LAN, it will
5712b15cb3dSCy Schubertwork very poorly for more distant hosts.
5722b15cb3dSCy SchubertAs such, if reasonable
5732b15cb3dSCy Schubertpasswords are chosen, care is taken in the distribution and
5742b15cb3dSCy Schubertprotection of keys and appropriate source address restrictions are
5752b15cb3dSCy Schubertapplied, the run time reconfiguration facility should provide an
5762b15cb3dSCy Schubertadequate level of security.
5772b15cb3dSCy Schubert.Pp
5782b15cb3dSCy SchubertThe following commands all make authenticated requests.
5792b15cb3dSCy Schubert.Bl -tag -width indent
5802b15cb3dSCy Schubert.It Xo Ic addpeer Ar peer_address
5812b15cb3dSCy Schubert.Op Ar keyid
5822b15cb3dSCy Schubert.Op Ar version
5832b15cb3dSCy Schubert.Op Cm prefer
5842b15cb3dSCy Schubert.Xc
5852b15cb3dSCy SchubertAdd a configured peer association at the given address and
5862b15cb3dSCy Schubertoperating in symmetric active mode.
5872b15cb3dSCy SchubertNote that an existing
5882b15cb3dSCy Schubertassociation with the same peer may be deleted when this command is
5892b15cb3dSCy Schubertexecuted, or may simply be converted to conform to the new
5902b15cb3dSCy Schubertconfiguration, as appropriate.
5912b15cb3dSCy SchubertIf the optional
5922b15cb3dSCy Schubert.Ar keyid
5932b15cb3dSCy Schubertis a
5942b15cb3dSCy Schubertnonzero integer, all outgoing packets to the remote server will
5952b15cb3dSCy Schuberthave an authentication field attached encrypted with this key.
5962b15cb3dSCy SchubertIf
5972b15cb3dSCy Schubertthe value is 0 (or not given) no authentication will be done.
5982b15cb3dSCy SchubertThe
5992b15cb3dSCy Schubert.Ar version
6002b15cb3dSCy Schubertcan be 1, 2 or 3 and defaults to 3.
6012b15cb3dSCy SchubertThe
6022b15cb3dSCy Schubert.Cm prefer
6032b15cb3dSCy Schubertkeyword indicates a preferred peer (and thus will
6042b15cb3dSCy Schubertbe used primarily for clock synchronisation if possible).
6052b15cb3dSCy SchubertThe
6062b15cb3dSCy Schubertpreferred peer also determines the validity of the PPS signal - if
6072b15cb3dSCy Schubertthe preferred peer is suitable for synchronisation so is the PPS
6082b15cb3dSCy Schubertsignal.
6092b15cb3dSCy Schubert.It Xo Ic addserver Ar peer_address
6102b15cb3dSCy Schubert.Op Ar keyid
6112b15cb3dSCy Schubert.Op Ar version
6122b15cb3dSCy Schubert.Op Cm prefer
6132b15cb3dSCy Schubert.Xc
6142b15cb3dSCy SchubertIdentical to the addpeer command, except that the operating
6152b15cb3dSCy Schubertmode is client.
6162b15cb3dSCy Schubert.It Xo Ic broadcast Ar peer_address
6172b15cb3dSCy Schubert.Op Ar keyid
6182b15cb3dSCy Schubert.Op Ar version
6192b15cb3dSCy Schubert.Op Cm prefer
6202b15cb3dSCy Schubert.Xc
6212b15cb3dSCy SchubertIdentical to the addpeer command, except that the operating
6222b15cb3dSCy Schubertmode is broadcast.
6232b15cb3dSCy SchubertIn this case a valid key identifier and key are
6242b15cb3dSCy Schubertrequired.
6252b15cb3dSCy SchubertThe
6262b15cb3dSCy Schubert.Ar peer_address
6272b15cb3dSCy Schubertparameter can be the broadcast
6282b15cb3dSCy Schubertaddress of the local network or a multicast group address assigned
6292b15cb3dSCy Schubertto NTP.
6302b15cb3dSCy SchubertIf a multicast address, a multicast-capable kernel is
6312b15cb3dSCy Schubertrequired.
6322b15cb3dSCy Schubert.It Ic unconfig Ar peer_address Oo Ar ... Oc
6332b15cb3dSCy SchubertThis command causes the configured bit to be removed from the
6342b15cb3dSCy Schubertspecified peer(s).
6352b15cb3dSCy SchubertIn many cases this will cause the peer
6362b15cb3dSCy Schubertassociation to be deleted.
6372b15cb3dSCy SchubertWhen appropriate, however, the
6382b15cb3dSCy Schubertassociation may persist in an unconfigured mode if the remote peer
6392b15cb3dSCy Schubertis willing to continue on in this fashion.
6402b15cb3dSCy Schubert.It Xo Ic fudge Ar peer_address
6412b15cb3dSCy Schubert.Op Cm time1
6422b15cb3dSCy Schubert.Op Cm time2
6432b15cb3dSCy Schubert.Op Ar stratum
6442b15cb3dSCy Schubert.Op Ar refid
6452b15cb3dSCy Schubert.Xc
6462b15cb3dSCy SchubertThis command provides a way to set certain data for a reference
6472b15cb3dSCy Schubertclock.
6482b15cb3dSCy SchubertSee the source listing for further information.
6492b15cb3dSCy Schubert.It Xo Ic enable
6502b15cb3dSCy Schubert.Oo
6512b15cb3dSCy Schubert.Cm auth | Cm bclient |
6522b15cb3dSCy Schubert.Cm calibrate | Cm kernel |
6532b15cb3dSCy Schubert.Cm monitor | Cm ntp |
6542b15cb3dSCy Schubert.Cm pps | Cm stats
6552b15cb3dSCy Schubert.Oc
6562b15cb3dSCy Schubert.Xc
6572b15cb3dSCy Schubert.It Xo Ic disable
6582b15cb3dSCy Schubert.Oo
6592b15cb3dSCy Schubert.Cm auth | Cm bclient |
6602b15cb3dSCy Schubert.Cm calibrate | Cm kernel |
6612b15cb3dSCy Schubert.Cm monitor | Cm ntp |
6622b15cb3dSCy Schubert.Cm pps | Cm stats
6632b15cb3dSCy Schubert.Oc
6642b15cb3dSCy Schubert.Xc
6652b15cb3dSCy SchubertThese commands operate in the same way as the
6662b15cb3dSCy Schubert.Ic enable
6672b15cb3dSCy Schubertand
6682b15cb3dSCy Schubert.Ic disable
6692b15cb3dSCy Schubertconfiguration file commands of
6702b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc .
6712b15cb3dSCy Schubert.Bl -tag -width indent
6722b15cb3dSCy Schubert.It Cm auth
6732b15cb3dSCy SchubertEnables the server to synchronize with unconfigured peers only
6742b15cb3dSCy Schubertif the peer has been correctly authenticated using either public key
6752b15cb3dSCy Schubertor private key cryptography.
6762b15cb3dSCy SchubertThe default for this flag is enable.
6772b15cb3dSCy Schubert.It Cm bclient
6782b15cb3dSCy SchubertEnables the server to listen for a message from a broadcast or
6792b15cb3dSCy Schubertmulticast server, as in the multicastclient command with
6802b15cb3dSCy Schubertdefault address.
6812b15cb3dSCy SchubertThe default for this flag is disable.
6822b15cb3dSCy Schubert.It Cm calibrate
6832b15cb3dSCy SchubertEnables the calibrate feature for reference clocks.
6842b15cb3dSCy SchubertThe default for this flag is disable.
6852b15cb3dSCy Schubert.It Cm kernel
6862b15cb3dSCy SchubertEnables the kernel time discipline, if available.
6872b15cb3dSCy SchubertThe default for this flag is enable if support is available, otherwise disable.
6882b15cb3dSCy Schubert.It Cm monitor
6892b15cb3dSCy SchubertEnables the monitoring facility.
6902b15cb3dSCy SchubertSee the documentation here about the
6912b15cb3dSCy Schubert.Cm monlist
6922b15cb3dSCy Schubertcommand or further information.
6932b15cb3dSCy SchubertThe default for this flag is enable.
6942b15cb3dSCy Schubert.It Cm ntp
6952b15cb3dSCy SchubertEnables time and frequency discipline.
6962b15cb3dSCy SchubertIn effect, this switch opens and closes the feedback loop,
6972b15cb3dSCy Schubertwhich is useful for testing.
6982b15cb3dSCy SchubertThe default for this flag is enable.
6992b15cb3dSCy Schubert.It Cm pps
7002b15cb3dSCy SchubertEnables the pulse-per-second (PPS) signal when frequency
7012b15cb3dSCy Schubertand time is disciplined by the precision time kernel modifications.
7022b15cb3dSCy SchubertSee the
7032b15cb3dSCy Schubert.Qq A Kernel Model for Precision Timekeeping
7042b15cb3dSCy Schubert(available as part of the HTML documentation
7052b15cb3dSCy Schubertprovided in
7062b15cb3dSCy Schubert.Pa /usr/share/doc/ntp )
7072b15cb3dSCy Schubertpage for further information.
7082b15cb3dSCy SchubertThe default for this flag is disable.
7092b15cb3dSCy Schubert.It Cm stats
7102b15cb3dSCy SchubertEnables the statistics facility.
7112b15cb3dSCy SchubertSee the
7122b15cb3dSCy Schubert.Sx Monitoring Options
7132b15cb3dSCy Schubertsection of
7142b15cb3dSCy Schubert.Xr ntp.conf 5
7152b15cb3dSCy Schubertfor further information.
7162b15cb3dSCy SchubertThe default for this flag is disable.
7172b15cb3dSCy Schubert.El
7182b15cb3dSCy Schubert.It Xo Ic restrict Ar address Ar mask
7192b15cb3dSCy Schubert.Ar flag Oo Ar ... Oc
7202b15cb3dSCy Schubert.Xc
7212b15cb3dSCy SchubertThis command operates in the same way as the
7222b15cb3dSCy Schubert.Ic restrict
7232b15cb3dSCy Schubertconfiguration file commands of
7242b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc .
7252b15cb3dSCy Schubert.It Xo Ic unrestrict Ar address Ar mask
7262b15cb3dSCy Schubert.Ar flag Oo Ar ... Oc
7272b15cb3dSCy Schubert.Xc
7282b15cb3dSCy SchubertUnrestrict the matching entry from the restrict list.
7292b15cb3dSCy Schubert.It Xo Ic delrestrict Ar address Ar mask
7302b15cb3dSCy Schubert.Op Cm ntpport
7312b15cb3dSCy Schubert.Xc
7322b15cb3dSCy SchubertDelete the matching entry from the restrict list.
7332b15cb3dSCy Schubert.It Ic readkeys
7342b15cb3dSCy SchubertCauses the current set of authentication keys to be purged and
7352b15cb3dSCy Schuberta new set to be obtained by rereading the keys file (which must
7362b15cb3dSCy Schuberthave been specified in the
7372b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
7382b15cb3dSCy Schubertconfiguration file).
7392b15cb3dSCy SchubertThis
7402b15cb3dSCy Schubertallows encryption keys to be changed without restarting the
7412b15cb3dSCy Schubertserver.
7422b15cb3dSCy Schubert.It Ic trustedkey Ar keyid Oo Ar ... Oc
7432b15cb3dSCy Schubert.It Ic untrustedkey Ar keyid Oo Ar ... Oc
7442b15cb3dSCy SchubertThese commands operate in the same way as the
7452b15cb3dSCy Schubert.Ic trustedkey
7462b15cb3dSCy Schubertand
7472b15cb3dSCy Schubert.Ic untrustedkey
7482b15cb3dSCy Schubertconfiguration file
7492b15cb3dSCy Schubertcommands of
7502b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc .
7512b15cb3dSCy Schubert.It Ic authinfo
7522b15cb3dSCy SchubertReturns information concerning the authentication module,
7532b15cb3dSCy Schubertincluding known keys and counts of encryptions and decryptions
7542b15cb3dSCy Schubertwhich have been done.
7552b15cb3dSCy Schubert.It Ic traps
7562b15cb3dSCy SchubertDisplay the traps set in the server.
7572b15cb3dSCy SchubertSee the source listing for
7582b15cb3dSCy Schubertfurther information.
7592b15cb3dSCy Schubert.It Xo Ic addtrap Ar address
7602b15cb3dSCy Schubert.Op Ar port
7612b15cb3dSCy Schubert.Op Ar interface
7622b15cb3dSCy Schubert.Xc
7632b15cb3dSCy SchubertSet a trap for asynchronous messages.
7642b15cb3dSCy SchubertSee the source listing
7652b15cb3dSCy Schubertfor further information.
7662b15cb3dSCy Schubert.It Xo Ic clrtrap Ar address
7672b15cb3dSCy Schubert.Op Ar port
7682b15cb3dSCy Schubert.Op Ar interface
7692b15cb3dSCy Schubert.Xc
7702b15cb3dSCy SchubertClear a trap for asynchronous messages.
7712b15cb3dSCy SchubertSee the source listing
7722b15cb3dSCy Schubertfor further information.
7732b15cb3dSCy Schubert.It Ic reset
7742b15cb3dSCy SchubertClear the statistics counters in various modules of the server.
7752b15cb3dSCy SchubertSee the source listing for further information.
7762b15cb3dSCy Schubert.El
7772b15cb3dSCy Schubert	_END_MDOC_USAGE;
7782b15cb3dSCy Schubert};
7792b15cb3dSCy Schubert
7802b15cb3dSCy Schubert
7812b15cb3dSCy Schubertdoc-section	= {
7822b15cb3dSCy Schubert  ds-type	= 'SEE ALSO';
7832b15cb3dSCy Schubert  ds-format     = 'mdoc';
7842b15cb3dSCy Schubert  ds-text       = <<-  _END_MDOC_SEEALSO
7852b15cb3dSCy Schubert.Xr ntp.conf 5 ,
7862b15cb3dSCy Schubert.Xr ntpd 1ntpdmdoc
7872b15cb3dSCy Schubert.Rs
7882b15cb3dSCy Schubert.%A David L. Mills
7892b15cb3dSCy Schubert.%T Network Time Protocol (Version 3)
7902b15cb3dSCy Schubert.%O RFC1305
7912b15cb3dSCy Schubert.Re
7922b15cb3dSCy Schubert	_END_MDOC_SEEALSO;
7932b15cb3dSCy Schubert};
7942b15cb3dSCy Schubert
7952b15cb3dSCy Schubert
7962b15cb3dSCy Schubertdoc-section	= {
7972b15cb3dSCy Schubert  ds-type	= 'AUTHORS';
7982b15cb3dSCy Schubert  ds-format     = 'mdoc';
7992b15cb3dSCy Schubert  ds-text       = <<-  _END_MDOC_AUTHORS
8002b15cb3dSCy SchubertThe formatting directives in this document came from FreeBSD.
8012b15cb3dSCy Schubert	_END_MDOC_AUTHORS;
8022b15cb3dSCy Schubert};
8032b15cb3dSCy Schubert
8042b15cb3dSCy Schubert
8052b15cb3dSCy Schubertdoc-section	= {
8062b15cb3dSCy Schubert  ds-type	= 'BUGS';
8072b15cb3dSCy Schubert  ds-format     = 'mdoc';
8082b15cb3dSCy Schubert  ds-text       = <<-  _END_MDOC_BUGS
8092b15cb3dSCy SchubertThe
8102b15cb3dSCy Schubert.Nm
8112b15cb3dSCy Schubertutility is a crude hack.
8122b15cb3dSCy SchubertMuch of the information it shows is
8132b15cb3dSCy Schubertdeadly boring and could only be loved by its implementer.
8142b15cb3dSCy SchubertThe
8152b15cb3dSCy Schubertprogram was designed so that new (and temporary) features were easy
8162b15cb3dSCy Schubertto hack in, at great expense to the program's ease of use.
8172b15cb3dSCy SchubertDespite
8182b15cb3dSCy Schubertthis, the program is occasionally useful.
8192b15cb3dSCy Schubert.Pp
8202b15cb3dSCy SchubertPlease report bugs to http://bugs.ntp.org .
8212b15cb3dSCy Schubert	_END_MDOC_BUGS;
8222b15cb3dSCy Schubert};
823