OpenBSD CVS

CVS log for src/usr.sbin/ntpd/ntpd.conf.5


[BACK] Up to [local] / src / usr.sbin / ntpd

Request diff between arbitrary revisions


Default branch: MAIN


Revision 1.49 / (download) - annotate - [select for diffs], Thu Mar 2 17:09:53 2023 UTC (15 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_5_BASE, OPENBSD_7_5, OPENBSD_7_4_BASE, OPENBSD_7_4, OPENBSD_7_3_BASE, OPENBSD_7_3, HEAD
Changes since 1.48: +3 -3 lines
Diff to previous 1.48 (colored)

improve the Nd lines such that the format is consistent for the
various *d, *conf, *ctl files (where relevant) and simple;

also makes "man -k routing" more useful;

help from claudio and florian
ok claudio florian millert

Revision 1.48 / (download) - annotate - [select for diffs], Thu Mar 31 17:27:30 2022 UTC (2 years, 2 months ago) by naddy
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1
Changes since 1.47: +3 -3 lines
Diff to previous 1.47 (colored)

man pages: add missing commas between subordinate and main clauses

jmc@ dislikes a comma before "then" in a conditional, so leave those
untouched.

ok jmc@

Revision 1.47 / (download) - annotate - [select for diffs], Wed Jan 6 13:03:13 2021 UTC (3 years, 4 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9
Changes since 1.46: +3 -3 lines
Diff to previous 1.46 (colored)

double word fix; from sean davies

Revision 1.46 / (download) - annotate - [select for diffs], Sat May 16 16:58:12 2020 UTC (4 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_8_BASE, OPENBSD_6_8
Changes since 1.45: +5 -5 lines
Diff to previous 1.45 (colored)

list example files in FILES with a short description: generally, "Example
configuration file.", but occasionally something else fit better; at the
same time, try to make the format for FILES more consistent;

original diff from clematis

Revision 1.45 / (download) - annotate - [select for diffs], Wed Feb 12 14:46:36 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.44: +5 -4 lines
Diff to previous 1.44 (colored)

Standardize argument naming for "sourceaddr" and unify the wording a bit,
similar to what deraadt@ recently did in other manual pages.

Revision 1.44 / (download) - annotate - [select for diffs], Mon Feb 10 13:18:21 2020 UTC (4 years, 3 months ago) by schwarze
Branch: MAIN
Changes since 1.43: +5 -3 lines
Diff to previous 1.43 (colored)

briefly mention /etc/examples/ in the FILES section of all the
manual pages that document the corresponding configuration files;
OK jmc@, and general direction discussed with many

Revision 1.43 / (download) - annotate - [select for diffs], Tue Nov 12 07:19:18 2019 UTC (4 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.42: +3 -3 lines
Diff to previous 1.42 (colored)

tweak previous; ok deraadt

Revision 1.42 / (download) - annotate - [select for diffs], Mon Nov 11 16:55:34 2019 UTC (4 years, 6 months ago) by schwarze
Branch: MAIN
Changes since 1.41: +2 -3 lines
Diff to previous 1.41 (colored)

tweak previous: delete stray .Pp

Revision 1.41 / (download) - annotate - [select for diffs], Mon Nov 11 16:41:29 2019 UTC (4 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.40: +12 -11 lines
Diff to previous 1.40 (colored)

trusted sub-option works on sensors also now; ok otto

Revision 1.40 / (download) - annotate - [select for diffs], Sun Nov 10 19:28:34 2019 UTC (4 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.39: +15 -2 lines
Diff to previous 1.39 (colored)

document server/servers "trusted" sub-option.  Indicates a particular
server is wired up such that non MITM attacks are possible, and NTP
packets can be trusted.  Therefore constraint validity is not required,
and during boot ntpd can spin-up correct time faster.
with otto, ok jmc schwarze

Revision 1.39 / (download) - annotate - [select for diffs], Sun Nov 10 18:46:53 2019 UTC (4 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.38: +27 -20 lines
Diff to previous 1.38 (colored)

alphatically order sub-options for sensors, and make the explanations
more similar
ok jmc schwarze

Revision 1.38 / (download) - annotate - [select for diffs], Wed Nov 6 13:35:25 2019 UTC (4 years, 6 months ago) by otto
Branch: MAIN
Changes since 1.37: +8 -3 lines
Diff to previous 1.37 (colored)

Allow the singular constraint clause to list multiple addresses;
ok deraadt@

Revision 1.37 / (download) - annotate - [select for diffs], Thu Aug 10 22:59:42 2017 UTC (6 years, 9 months ago) by job
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6, OPENBSD_6_5_BASE, OPENBSD_6_5, OPENBSD_6_4_BASE, OPENBSD_6_4, OPENBSD_6_3_BASE, OPENBSD_6_3, OPENBSD_6_2_BASE, OPENBSD_6_2
Changes since 1.36: +3 -3 lines
Diff to previous 1.36 (colored)

naddy@ reported confusion on why "query from" seemed to be ignored in
some cases.

OK naddy@ henning@

Revision 1.36 / (download) - annotate - [select for diffs], Wed May 31 06:23:19 2017 UTC (7 years ago) by jmc
Branch: MAIN
Changes since 1.35: +6 -5 lines
Diff to previous 1.35 (colored)

tweak previous;

Revision 1.35 / (download) - annotate - [select for diffs], Tue May 30 23:30:48 2017 UTC (7 years ago) by benno
Branch: MAIN
Changes since 1.34: +10 -2 lines
Diff to previous 1.34 (colored)

add option "query from <ip>" to ntpd.conf, to specify a local IP
address for outgoing ntp queries.
From Job Snijders, thanks!
with feedback and ok henning@

Revision 1.34 / (download) - annotate - [select for diffs], Fri Dec 30 10:24:15 2016 UTC (7 years, 5 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1
Changes since 1.33: +5 -4 lines
Diff to previous 1.33 (colored)

markup from jan stary;

Revision 1.33 / (download) - annotate - [select for diffs], Fri Oct 23 14:52:20 2015 UTC (8 years, 7 months ago) by phessler
Branch: MAIN
CVS Tags: OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.32: +4 -16 lines
Diff to previous 1.32 (colored)

Allowing upstream servers of ntp being in multiple routing tables is
non-sensical.  The dns lookups happened in the process routing table
(usually '0'), which is very likely to have different results from the
other routing domains.  If you do depend on having this behaviour,
you'll need to use pf to cross the rtable boundary.

"listen on * rtable X" is still supported.

Users of "server * rtable X" will need to switch to launching ntpd with
"route -T X exec /usr/sbin/ntpd"

OK deraadt@

Revision 1.32 / (download) - annotate - [select for diffs], Fri Aug 28 02:59:29 2015 UTC (8 years, 9 months ago) by deraadt
Branch: MAIN
Changes since 1.31: +3 -2 lines
Diff to previous 1.31 (colored)

Xr ntpctl; from Rob Pierce

Revision 1.31 / (download) - annotate - [select for diffs], Mon May 18 11:10:03 2015 UTC (9 years ago) by dtucker
Branch: MAIN
CVS Tags: OPENBSD_5_8_BASE, OPENBSD_5_8
Changes since 1.30: +3 -3 lines
Diff to previous 1.30 (colored)

Simplify example constraints URL to reduce load on the server side.
ok henning@, reyk@

Revision 1.30 / (download) - annotate - [select for diffs], Thu Mar 26 20:34:54 2015 UTC (9 years, 2 months ago) by jmc
Branch: MAIN
Changes since 1.29: +2 -3 lines
Diff to previous 1.29 (colored)

do not encourage random uppercasing;

Revision 1.29 / (download) - annotate - [select for diffs], Mon Feb 16 19:25:35 2015 UTC (9 years, 3 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7
Changes since 1.28: +7 -8 lines
Diff to previous 1.28 (colored)

some fixes from max fillinger, tweaked a little by myself;
ok reyk

Revision 1.28 / (download) - annotate - [select for diffs], Mon Feb 16 12:56:43 2015 UTC (9 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.27: +2 -2 lines
Diff to previous 1.27 (colored)

Fix example, syntax is "constraint from www.example.com" (with "from").

Reported by Stefan Wollny.

Revision 1.27 / (download) - annotate - [select for diffs], Tue Feb 10 19:21:16 2015 UTC (9 years, 3 months ago) by jmc
Branch: MAIN
Changes since 1.26: +3 -3 lines
Diff to previous 1.26 (colored)

tweak previous;

Revision 1.26 / (download) - annotate - [select for diffs], Tue Feb 10 07:19:52 2015 UTC (9 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.25: +44 -37 lines
Diff to previous 1.25 (colored)

Move the constraints in a new section and add a preamble to explain
the functionality.

Requested by henning@
OK beck@ deraadt@

Revision 1.25 / (download) - annotate - [select for diffs], Tue Feb 10 06:40:08 2015 UTC (9 years, 3 months ago) by reyk
Branch: MAIN
Changes since 1.24: +36 -2 lines
Diff to previous 1.24 (colored)

Add support for "constraints": when configured, ntpd(8) will query the
time from HTTPS servers, by parsing the Date: header, and use the
median constraint time as a boundary to verify NTP responses.  This
adds some level of authentication and protection against MITM attacks
while preserving the accuracy of the NTP protocol; without relying on
authentication options for NTP that are basically unavailable at
present.  This is an initial implementation and the semantics will be
improved once it is in the tree.

Discussed with deraadt@ and henning@
OK henning@

Revision 1.24 / (download) - annotate - [select for diffs], Thu Sep 20 12:43:16 2012 UTC (11 years, 8 months ago) by patrick
Branch: MAIN
CVS Tags: OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5, OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.23: +6 -2 lines
Diff to previous 1.23 (colored)

Allow ntpd.conf to assign a stratum to a sensor with the syntax stratum <level>.

OK markus@ henning@ phessler@ jmc@

Revision 1.23 / (download) - annotate - [select for diffs], Wed Sep 21 15:41:30 2011 UTC (12 years, 8 months ago) by phessler
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.22: +27 -5 lines
Diff to previous 1.22 (colored)

Add rdomain support to NTPd.

This basically adds the "rtable %d" keyword to "listen on", "server",
"servers" keywords, to specify which routing table to use.

OK henning@ claudio@ sthen@
manpage reviewed by jmc@

Revision 1.22 / (download) - annotate - [select for diffs], Mon May 18 20:08:24 2009 UTC (15 years ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0, OPENBSD_4_9_BASE, OPENBSD_4_9, OPENBSD_4_8_BASE, OPENBSD_4_8, OPENBSD_4_7_BASE, OPENBSD_4_7, OPENBSD_4_6_BASE, OPENBSD_4_6
Changes since 1.21: +13 -13 lines
Diff to previous 1.21 (colored)

move text on weight to where it is first referred to;
"fine by me. it's maybe not ideal, but it's better" jmc@

Revision 1.21 / (download) - annotate - [select for diffs], Fri Oct 10 12:17:09 2008 UTC (15 years, 7 months ago) by sthen
Branch: MAIN
CVS Tags: OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.20: +6 -6 lines
Diff to previous 1.20 (colored)

- use nmea(4) for general sensor example rather than udcf(4)
  which only works in w.europe
- use a more realistic value for udcf correction example
- use a GPS-only receiver for "refid GPS" example

suggested/ok mbalmer

Revision 1.20 / (download) - annotate - [select for diffs], Mon Jun 9 16:37:35 2008 UTC (15 years, 11 months ago) by ckuethe
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.19: +14 -1 lines
Diff to previous 1.19 (colored)

Allow outgoing replies from sensor-driven servers to have a
user-configurable reference ID, eg. "GPS" or "DCF"...
ok mbalmer

Revision 1.19 / (download) - annotate - [select for diffs], Thu Sep 13 07:28:32 2007 UTC (16 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.18: +2 -2 lines
Diff to previous 1.18 (colored)

one more missed change;

Revision 1.18 / (download) - annotate - [select for diffs], Thu Sep 13 05:17:24 2007 UTC (16 years, 8 months ago) by ckuethe
Branch: MAIN
Changes since 1.17: +3 -3 lines
Diff to previous 1.17 (colored)

Small style tweak, from jmc and Maurice Janssen

Revision 1.17 / (download) - annotate - [select for diffs], Wed Sep 12 21:08:45 2007 UTC (16 years, 8 months ago) by ckuethe
Branch: MAIN
Changes since 1.16: +11 -1 lines
Diff to previous 1.16 (colored)


Add a knob to compensate for a refclock that is early or late. Based on a
diff from Maurice Janssen. Manpage help from jmc and Maurice, other nits
from deraadt and otto.
ok deraadt, otto

Revision 1.16 / (download) - annotate - [select for diffs], Thu May 31 19:20:26 2007 UTC (17 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_2_BASE, OPENBSD_4_2
Changes since 1.15: +2 -2 lines
Diff to previous 1.15 (colored)

convert to new .Dd format;

Revision 1.15 / (download) - annotate - [select for diffs], Sun Oct 8 22:53:33 2006 UTC (17 years, 7 months ago) by stevesk
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.14: +4 -4 lines
Diff to previous 1.14 (colored)

use 'weight-value' vs. 'offset' for the weight argument;
ok jmc@ henning@

Revision 1.14 / (download) - annotate - [select for diffs], Mon May 29 20:39:41 2006 UTC (18 years ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.13: +6 -6 lines
Diff to previous 1.13 (colored)

better wording for the "weight" section;

Revision 1.13 / (download) - annotate - [select for diffs], Mon May 29 18:47:19 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.12: +28 -9 lines
Diff to previous 1.12 (colored)

document the optional "weight" keyword, and a little cleanup;
from henning and myself

Revision 1.12 / (download) - annotate - [select for diffs], Sun May 28 07:58:52 2006 UTC (18 years ago) by jmc
Branch: MAIN
Changes since 1.11: +2 -2 lines
Diff to previous 1.11 (colored)

small grammar improvement;

Revision 1.11 / (download) - annotate - [select for diffs], Sat May 27 17:01:36 2006 UTC (18 years ago) by henning
Branch: MAIN
Changes since 1.10: +24 -3 lines
Diff to previous 1.10 (colored)

document timedelat sensors. ok deraadt

Revision 1.10 / (download) - annotate - [select for diffs], Tue May 23 14:29:16 2006 UTC (18 years ago) by henning
Branch: MAIN
Changes since 1.9: +5 -1 lines
Diff to previous 1.9 (colored)

make listen on example idiot proof
suggested by "Karsten W. Rohrbach" <karsten@rohrbach.de>

Revision 1.9 / (download) - annotate - [select for diffs], Mon Nov 8 19:09:19 2004 UTC (19 years, 6 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8, OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.8: +5 -1 lines
Diff to previous 1.8 (colored)

Advice user to use multiple servers. Prodded by Daniel Polak, help and ok jmc@
ok henning@

Revision 1.8 / (download) - annotate - [select for diffs], Sun Nov 7 21:42:33 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.7: +11 -4 lines
Diff to previous 1.7 (colored)

document that keywords can be specified multiple times;
from otto and myself; prodded by henning;

Revision 1.7 / (download) - annotate - [select for diffs], Tue Jul 13 19:51:38 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_3_6_BASE, OPENBSD_3_6
Changes since 1.6: +7 -12 lines
Diff to previous 1.6 (colored)

tweaks; ok henning@

Revision 1.6 / (download) - annotate - [select for diffs], Fri Jul 9 14:56:57 2004 UTC (19 years, 10 months ago) by jaredy
Branch: MAIN
Changes since 1.5: +22 -15 lines
Diff to previous 1.5 (colored)

various cleanup:
- mention '#' comments
- fix macros for directives
- typos
- change list display
- ntp -> NTP
- slight rewording

help and ok jmc
ok henning otto

Revision 1.5 / (download) - annotate - [select for diffs], Fri Jul 9 10:56:35 2004 UTC (19 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.4: +26 -7 lines
Diff to previous 1.4 (colored)

document the "servers" keyword

Revision 1.4 / (download) - annotate - [select for diffs], Wed Jul 7 08:36:26 2004 UTC (19 years, 10 months ago) by jmc
Branch: MAIN
Changes since 1.3: +21 -13 lines
Diff to previous 1.3 (colored)

tweaks; ok henning@

Revision 1.3 / (download) - annotate - [select for diffs], Wed Jul 7 05:54:16 2004 UTC (19 years, 10 months ago) by henning
Branch: MAIN
Changes since 1.2: +5 -1 lines
Diff to previous 1.2 (colored)

document
listen on *

Revision 1.2 / (download) - annotate - [select for diffs], Wed Jul 7 02:16:07 2004 UTC (19 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.1: +3 -2 lines
Diff to previous 1.1 (colored)

servers can be given as hostnames now

Revision 1.1 / (download) - annotate - [select for diffs], Fri Jun 18 04:11:24 2004 UTC (19 years, 11 months ago) by henning
Branch: MAIN

bloody attempt at a manpage

This form allows you to request diff's between any two revisions of a file. You may select a symbolic revision name using the selection box or you may type in a numeric name using the type-in text box.