summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2007-09-14Correctly assign a default weight of 1 to sensors and servers.Chris Kuethe
2007-09-13add -n to usage();Jason McIntyre
2007-09-13Provide the -n switch like in the other imsg daemons for testingPierre-Yves Ritschard
2007-09-13one more missed change;Jason McIntyre
2007-09-13Small style tweak, from jmc and Maurice JanssenChris Kuethe
2007-09-12Add a knob to compensate for a refclock that is early or late. Based on aChris Kuethe
2007-09-12default weight has to remain 1; seen by Maurice JanssenTheo de Raadt
2007-09-11this is where it all started, since future ntpd.conf commands will requireTheo de Raadt
2007-08-22Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUGChris Kuethe
2007-08-04This diff makes ntpd poll for sensors more aggressively when the use ofChris Kuethe
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-26use __packed structs for the on-the-wire packets and just memcpy at onceHenning Brauer
2007-05-01if resolving a name fails, be more aggressive retrying, but with care:Otto Moerbeek
2007-04-30aggressive spelling fix, spotted by jbgTheo de Raadt
2007-03-27Normalize tv so that tv_usec is positive. The kernel also normalizes,Otto Moerbeek
2007-03-23Increase sensor polling interval to 30s, just like ntp polls. ThisChris Kuethe
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
2007-03-01read buffer size must be >= max imsg size.Henning Brauer
2007-02-24xref adjfreq(2); from Igor ZinovikOtto Moerbeek
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2007-01-15the new sensors tre can give us the number of sensors per type.Henning Brauer
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
2007-01-14Esape from the Mouth of Madness by adjusting stored sensor offsetsOtto Moerbeek
2007-01-14Add some comments on the expresssion which converts sensor timedeltasOtto Moerbeek
2006-12-28forgot a dereference in the previous conversion; ok deraadt@Christian Weisgerber
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-20let ntpd use sensors immediately after system boot by special casingHenning Brauer
2006-11-30Allow sensors in a sensors-only configuration to set the time at startup.Chris Kuethe
2006-11-20with usig the meadian offset froma number of measurements the recordingHenning Brauer
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
2006-10-24timedelta sensors are usually updated very often, but we used to queryHenning Brauer
2006-10-21in client_nextaddr, check fd != -1 before close, just nicer this wayHenning Brauer
2006-10-21 Found that even if client fd (i.e to NTP source) is set toHenning Brauer
2006-10-21when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETICHenning Brauer
2006-10-21EADDRNOTAVAIL after connect is one of the soft errors where we don't abortHenning Brauer
2006-10-12need to call adjtime once in a while here too, otherwise sensor-onlyHenning Brauer
2006-10-12internally, ntpd doesn't work with absolute offsets to system time, butHenning Brauer
2006-10-08use 'weight-value' vs. 'offset' for the weight argument;Kevin Steves
2006-10-03strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by pierre-yve...Theo de Raadt
2006-08-19make sure updates from sensors have the "synced" flag setHenning Brauer
2006-07-01remove some unneeded includes; one found by vetinariOtto Moerbeek
2006-06-30spacesTheo de Raadt
2006-06-30don't write anything to log until we are daemonized. spotted byOtto Moerbeek
2006-06-26increase polling intervbal, but only after we are synced and have doneOtto Moerbeek
2006-06-26Reset adjtime() on startup; having an adjtime() active while startingOtto Moerbeek
2006-06-22Document /var/db/ntpd.drift; ok jmc@Otto Moerbeek
2006-06-22Save the computed clock drift and use it on startup. ok deraadt@Otto Moerbeek
2006-06-21avoid a race by installing SIGCHLD handler before fork() is called.Otto Moerbeek
2006-06-18tsk, tsk, tsk... the rule is simple: any define consisting ofOtto Moerbeek
2006-06-17Import frequency conrrection code from dragonfly, whith some changes:Otto Moerbeek