OpenBSD CVS

CVS log for src/usr.sbin/ntpd/ntpd.8


[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, 1 week 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], Sun Nov 6 09:12:03 2022 UTC (19 months ago) by ajacoutot
Branch: MAIN
Changes since 1.47: +2 -2 lines
Diff to previous 1.47 (colored)

typo: wlll -> will

Revision 1.47 / (download) - annotate - [select for diffs], Sun Nov 6 07:39:30 2022 UTC (19 months ago) by otto
Branch: MAIN
Changes since 1.46: +6 -4 lines
Diff to previous 1.46 (colored)

Reintroduce snippet describing startup behaviour to where it belongs. ok jmc@

Revision 1.46 / (download) - annotate - [select for diffs], Sun Nov 6 06:51:22 2022 UTC (19 months ago) by jmc
Branch: MAIN
Changes since 1.45: +1 -5 lines
Diff to previous 1.45 (colored)

remove the remnants of the old -s option, which was left stranded with poor,
innocent -n;

noticed by indivc on misc@

Revision 1.45 / (download) - annotate - [select for diffs], Mon Nov 11 17:42:28 2019 UTC (4 years, 6 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_7_2_BASE, OPENBSD_7_2, OPENBSD_7_1_BASE, OPENBSD_7_1, OPENBSD_7_0_BASE, OPENBSD_7_0, OPENBSD_6_9_BASE, OPENBSD_6_9, OPENBSD_6_8_BASE, OPENBSD_6_8, OPENBSD_6_7_BASE, OPENBSD_6_7
Changes since 1.44: +4 -4 lines
Diff to previous 1.44 (colored)

sensors can als be marked trusted; ok deraadt@

Revision 1.44 / (download) - annotate - [select for diffs], Mon Nov 11 01:05:30 2019 UTC (4 years, 6 months ago) by deraadt
Branch: MAIN
Changes since 1.43: +7 -12 lines
Diff to previous 1.43 (colored)

remove -s and -S documentation, and explain the boot-time startup mode
more clearly
ok ingo schwarze

Revision 1.43 / (download) - annotate - [select for diffs], Thu Jun 20 12:20:20 2019 UTC (4 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_6_6_BASE, OPENBSD_6_6
Changes since 1.42: +5 -6 lines
Diff to previous 1.42 (colored)

tweaks with help from jmc@

Revision 1.42 / (download) - annotate - [select for diffs], Thu Jun 20 08:26:13 2019 UTC (4 years, 11 months ago) by otto
Branch: MAIN
Changes since 1.41: +10 -4 lines
Diff to previous 1.41 (colored)

Tell a bit about automatic mode; ok jmc@

Revision 1.41 / (download) - annotate - [select for diffs], Wed Sep 6 19:43:46 2017 UTC (6 years, 9 months ago) by jmc
Branch: MAIN
CVS Tags: 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.40: +4 -5 lines
Diff to previous 1.40 (colored)

ntpd has been on by default for over two years now, so rework
the text about enabling it;

ok deraadt

Revision 1.40 / (download) - annotate - [select for diffs], Fri Oct 30 16:41:53 2015 UTC (8 years, 7 months ago) by reyk
Branch: MAIN
CVS Tags: OPENBSD_6_1_BASE, OPENBSD_6_1, OPENBSD_6_0_BASE, OPENBSD_6_0, OPENBSD_5_9_BASE, OPENBSD_5_9
Changes since 1.39: +2 -10 lines
Diff to previous 1.39 (colored)

Remove support for sending status reports to syslog on SIGINFO;
we have ntpctl now and ntpd doesn't need redundant/obsolete features.

Pointed out by naddy@, with input from zhuk@ (SIGINFO doesn't need SIG_IGN)
OK deraadt@

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

do not encourage random uppercasing;

Revision 1.38 / (download) - annotate - [select for diffs], Sat Mar 14 04:11:02 2015 UTC (9 years, 2 months ago) by deraadt
Branch: MAIN
Changes since 1.37: +6 -2 lines
Diff to previous 1.37 (colored)

mention TLS HTTPS here also; ok bcook

Revision 1.37 / (download) - annotate - [select for diffs], Wed Feb 12 15:45:52 2014 UTC (10 years, 3 months ago) by schwarze
Branch: MAIN
CVS Tags: OPENBSD_5_7_BASE, OPENBSD_5_7, OPENBSD_5_6_BASE, OPENBSD_5_6, OPENBSD_5_5_BASE, OPENBSD_5_5
Changes since 1.36: +7 -8 lines
Diff to previous 1.36 (colored)

Remove the bogus author "U. Delaware" from RFC 5905
as noticed by Arto Jonsson <ajonsson at kapsi dot fi>.
While here, give the full author names, which costs no additional work
because i had to cross-check against the original documents anyway.

Revision 1.36 / (download) - annotate - [select for diffs], Fri Oct 4 14:28:16 2013 UTC (10 years, 8 months ago) by phessler
Branch: MAIN
Changes since 1.35: +6 -2 lines
Diff to previous 1.35 (colored)

Add ntpctl(8), which allows us to query the locally running ntpd(8) process

diff from Mike Miller <mmiller mgm51 com> (many thanks!)

OK phessler@, henning@, todd@

Revision 1.35 / (download) - annotate - [select for diffs], Wed Aug 14 06:32:37 2013 UTC (10 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.34: +3 -3 lines
Diff to previous 1.34 (colored)

no longer any need to quote macro lines with >9 args;
From: Jan Stary

Revision 1.34 / (download) - annotate - [select for diffs], Wed Sep 26 16:19:45 2012 UTC (11 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_4_BASE, OPENBSD_5_4, OPENBSD_5_3_BASE, OPENBSD_5_3
Changes since 1.33: +4 -2 lines
Diff to previous 1.33 (colored)

last stage of rfc changes, using consistent Rs/Re blocks, and moving the
references into a STANDARDS section;

Revision 1.33 / (download) - annotate - [select for diffs], Wed Sep 19 16:30:39 2012 UTC (11 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.32: +2 -1 lines
Diff to previous 1.32 (colored)

clarify which process writes out stats upong SIGINFO reception.
pointed out by Frank Brodbeck <fab at guug.de>, actual change with & ok jmc

Revision 1.32 / (download) - annotate - [select for diffs], Thu Aug 30 06:48:33 2012 UTC (11 years, 9 months ago) by jmc
Branch: MAIN
Changes since 1.31: +13 -7 lines
Diff to previous 1.31 (colored)

rfc 5905 replaces rfc 2030; for now, the reference to 2030 in ntpd.conf
stays;

ok henning

Revision 1.31 / (download) - annotate - [select for diffs], Sat Sep 17 10:22:00 2011 UTC (12 years, 8 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_2_BASE, OPENBSD_5_2, OPENBSD_5_1_BASE, OPENBSD_5_1
Changes since 1.30: +4 -4 lines
Diff to previous 1.30 (colored)

tweak previous;

Revision 1.30 / (download) - annotate - [select for diffs], Sat Sep 17 09:53:21 2011 UTC (12 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.29: +8 -7 lines
Diff to previous 1.29 (colored)

improve -s description. the major points are set vs adjust and stay in
the forground until we receive a reply or hit the 15 second timeout.
with theo, evolved out of sth completely different

Revision 1.29 / (download) - annotate - [select for diffs], Fri Jul 8 07:00:30 2011 UTC (12 years, 11 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_5_0_BASE, OPENBSD_5_0
Changes since 1.28: +3 -3 lines
Diff to previous 1.28 (colored)

tweak previous;

Revision 1.28 / (download) - annotate - [select for diffs], Thu Jul 7 21:00:59 2011 UTC (12 years, 11 months ago) by deraadt
Branch: MAIN
Changes since 1.27: +2 -3 lines
Diff to previous 1.27 (colored)

timed's time is up.  use ntpd(8).  Even our own fossil developers
switched a while back.
ok miod, kettenis

Revision 1.27 / (download) - annotate - [select for diffs], Thu Feb 12 01:33:37 2009 UTC (15 years, 3 months ago) by stevesk
Branch: MAIN
CVS Tags: 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, OPENBSD_4_5_BASE, OPENBSD_4_5
Changes since 1.26: +4 -2 lines
Diff to previous 1.26 (colored)

-v logs debug adjtime calls also; ok henning@

Revision 1.26 / (download) - annotate - [select for diffs], Sat Jan 31 15:34:25 2009 UTC (15 years, 4 months ago) by stevesk
Branch: MAIN
Changes since 1.25: +3 -3 lines
Diff to previous 1.25 (colored)

adjtime has been logged at 32ms and greater for 2.5 years now.
ok henning@ jmc@

Revision 1.25 / (download) - annotate - [select for diffs], Sun Sep 28 20:19:51 2008 UTC (15 years, 8 months ago) by deraadt
Branch: MAIN
Changes since 1.24: +3 -5 lines
Diff to previous 1.24 (colored)

ntpd does not require you to run rdate -n before it -- it notices such an
event. so don't use the word "before" .. and leave the mention ambigious
ok henning

Revision 1.24 / (download) - annotate - [select for diffs], Fri May 16 06:13:24 2008 UTC (16 years ago) by ckuethe
Branch: MAIN
CVS Tags: OPENBSD_4_4_BASE, OPENBSD_4_4
Changes since 1.23: +3 -4 lines
Diff to previous 1.23 (colored)

Allow ntpd to step the time at startup, now matter how large or small the
offset. The 180s limit doesn't help very much these days.
ok otto@ mbalmer@

Revision 1.23 / (download) - annotate - [select for diffs], Tue Dec 11 11:26:27 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
CVS Tags: OPENBSD_4_3_BASE, OPENBSD_4_3
Changes since 1.22: +49 -50 lines
Diff to previous 1.22 (colored)

rearrange the page to read better; ok otto henning

Revision 1.22 / (download) - annotate - [select for diffs], Fri Dec 7 20:05:32 2007 UTC (16 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.21: +8 -2 lines
Diff to previous 1.21 (colored)

document adjfreq(2);
based on an initial diff from Simon Kuhnle,
and input from Joerg Sonnenberger;

ok otto

Revision 1.21 / (download) - annotate - [select for diffs], Mon Oct 15 06:59:32 2007 UTC (16 years, 7 months ago) by otto
Branch: MAIN
Changes since 1.20: +8 -2 lines
Diff to previous 1.20 (colored)

Allow ntpd to report the status of peers and sensors to syslog. This
happens when a SIGINFO is received, or when the majority of peers or
sensors is bad. The latter with a maximum of once per 24 hour.
ok henning@ ckuethe@ mbalmer@

Revision 1.20 / (download) - annotate - [select for diffs], Thu Sep 13 14:34:36 2007 UTC (16 years, 8 months ago) by pyr
Branch: MAIN
Changes since 1.19: +6 -3 lines
Diff to previous 1.19 (colored)

Provide the -n switch like in the other imsg daemons for testing
the configuration file.
"yes please, ok" henning@

Revision 1.19 / (download) - annotate - [select for diffs], Wed Aug 22 21:04:30 2007 UTC (16 years, 9 months ago) by ckuethe
Branch: MAIN
Changes since 1.18: +7 -3 lines
Diff to previous 1.18 (colored)

Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUG
priority.
ok gwk, mbalmer, weingart
"explicit non-ok from" henning

Revision 1.18 / (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.17: +2 -2 lines
Diff to previous 1.17 (colored)

convert to new .Dd format;

Revision 1.17 / (download) - annotate - [select for diffs], Sat Feb 24 14:59:32 2007 UTC (17 years, 3 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_1_BASE, OPENBSD_4_1
Changes since 1.16: +2 -1 lines
Diff to previous 1.16 (colored)

xref adjfreq(2); from Igor Zinovik

Revision 1.16 / (download) - annotate - [select for diffs], Thu Jun 22 11:11:53 2006 UTC (17 years, 11 months ago) by otto
Branch: MAIN
CVS Tags: OPENBSD_4_0_BASE, OPENBSD_4_0
Changes since 1.15: +6 -2 lines
Diff to previous 1.15 (colored)

Document /var/db/ntpd.drift; ok jmc@

Revision 1.15 / (download) - annotate - [select for diffs], Sat May 27 17:05:52 2006 UTC (18 years ago) by henning
Branch: MAIN
Changes since 1.14: +7 -5 lines
Diff to previous 1.14 (colored)

ntpd does timedelta sensors now too

Revision 1.14 / (download) - annotate - [select for diffs], Tue Jun 21 19:55:18 2005 UTC (18 years, 11 months ago) by deraadt
Branch: MAIN
CVS Tags: OPENBSD_3_9_BASE, OPENBSD_3_9, OPENBSD_3_8_BASE, OPENBSD_3_8
Changes since 1.13: +1 -13 lines
Diff to previous 1.13 (colored)

we do not do -s in /etc/rc anymore.  this is because, even if -s did try to
do it's job it would have to choose between two cases:
1. either it would take a very long time to get the correct adjustment, thus,
   if you are not currently on the net right, you wait a long time (or must
   type ^C, which is ridiculous)
2. ntpd could be modified to "abort early", but then would not meet the
   promise made by -s in the manual page (note: it does not say that it
   "tries")
therefore, -s and -S must become user choices.  Sorry.  This same choice is
made in lots of other places

Revision 1.13 / (download) - annotate - [select for diffs], Fri Dec 10 03:54:18 2004 UTC (19 years, 6 months ago) by jaredy
Branch: MAIN
CVS Tags: OPENBSD_3_7_BASE, OPENBSD_3_7
Changes since 1.12: +2 -2 lines
Diff to previous 1.12 (colored)

typos, then -> than, from Michael Knudsen

Revision 1.12 / (download) - annotate - [select for diffs], Tue Dec 7 10:06:12 2004 UTC (19 years, 6 months ago) by jmc
Branch: MAIN
Changes since 1.11: +5 -4 lines
Diff to previous 1.11 (colored)

tweaks;

Revision 1.11 / (download) - annotate - [select for diffs], Mon Dec 6 20:57:17 2004 UTC (19 years, 6 months ago) by mickey
Branch: MAIN
Changes since 1.10: +11 -1 lines
Diff to previous 1.10 (colored)

do not log tiny local clock drifts; w/ help from Joerg Sonnenberger <joerg@britannica.bec.de>; henning@ ok

Revision 1.10 / (download) - annotate - [select for diffs], Tue Nov 2 18:00:38 2004 UTC (19 years, 7 months ago) by henning
Branch: MAIN
Changes since 1.9: +2 -2 lines
Diff to previous 1.9 (colored)

superfluous comma, From: James Herbert <lists@artyzan.net>

Revision 1.9 / (download) - annotate - [select for diffs], Sat Sep 18 23:22:13 2004 UTC (19 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.8: +26 -7 lines
Diff to previous 1.8 (colored)

greatly improved by jmc with some tweaks by yours truly

Revision 1.8 / (download) - annotate - [select for diffs], Sat Sep 18 20:37:12 2004 UTC (19 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.7: +5 -2 lines
Diff to previous 1.7 (colored)

implement -S to override earlier -s, requested by theo

Revision 1.7 / (download) - annotate - [select for diffs], Sat Sep 18 20:31:46 2004 UTC (19 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.6: +4 -3 lines
Diff to previous 1.6 (colored)

say when we run settimeofday() with -s and when not, help from bob

Revision 1.6 / (download) - annotate - [select for diffs], Sat Sep 18 20:01:38 2004 UTC (19 years, 8 months ago) by henning
Branch: MAIN
Changes since 1.5: +10 -2 lines
Diff to previous 1.5 (colored)

add a new -s option, that tells ntpd to set the time using settimeofday()
once at startup. ntpd delays daemonizing until it has done the intial
time setting (or ran into the timeout) in this mode to make sure stuff started
later in rc is not subject to time jumps.
this eleminates the need to run rdate -n beforehands.
with some input from & ok ryan and bob, march music from mickey

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

tweaks; ok henning@

Revision 1.4 / (download) - annotate - [select for diffs], Fri Jul 9 19:33:09 2004 UTC (19 years, 11 months ago) by jmc
Branch: MAIN
Changes since 1.3: +4 -2 lines
Diff to previous 1.3 (colored)

make date(1), rdate(8), ntpd(8), and timed(8) .Xr themselves;
mostly from Andreas Kahari (PR #3846);

Revision 1.3 / (download) - annotate - [select for diffs], Fri Jul 9 10:59:15 2004 UTC (19 years, 11 months ago) by henning
Branch: MAIN
Changes since 1.2: +10 -3 lines
Diff to previous 1.2 (colored)

soem tweaks from the Frankfurt->Hamburg flight

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

add rdate(8) to SEE ALSO;

Revision 1.1 / (download) - annotate - [select for diffs], Mon May 31 13:59:55 2004 UTC (20 years ago) by henning
Branch: MAIN

initial cut 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.