summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
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
2006-06-09set session id and init logging in -s mode. tested by david@ and matthieu@;Otto Moerbeek
2006-06-08simplify; ok henning@Otto Moerbeek
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2006-06-04Only invalidate stored replies if an adjustment was really made.Otto Moerbeek
2006-06-02just ise "HARD" as refid with sensors for v3 clientsHenning Brauer
2006-06-02incredibly stupid typoHenning Brauer
2006-06-01even though the bounds are long long having an upper bound ofOtto Moerbeek
2006-06-01When expanding servers, do not forget to copy weight. ok henning@Otto Moerbeek
2006-06-01urgs, other stuff snuck inHenning Brauer
2006-06-01do not use /dev/hotplug for now, only one reader supported yetHenning Brauer
2006-06-01put back regular sensors scanningHenning Brauer
2006-05-31only actually run sensor_query when it is due, not every time poll returnsHenning Brauer
2006-05-29When ntpd backs off polling due to a negative delay, tell the user how longChris Kuethe
2006-05-29better wording for the "weight" section;Jason McIntyre
2006-05-29document the optional "weight" keyword, and a little cleanup;Jason McIntyre
2006-05-29when we cannot open /dev/hotplug, donn't bail, just work withoutHenning Brauer
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
2006-05-28get clock src id from the timedelta sensor desc.Henning Brauer
2006-05-28if sysctl gives ENOENT the sensor is gone and we remove itHenning Brauer
2006-05-28let sensor_query handle removals itselfHenning Brauer
2006-05-28sensor_byid not needed any moreHenning Brauer
2006-05-28hotplug devid will go away in a minute, so don't use it here any longerHenning Brauer
2006-05-28do not bother with rmeoval events, we remove sensors whoch vanished orHenning Brauer
2006-05-28small grammar improvement;Jason McIntyre
2006-05-28DV_SENSORS is no more, plug workaround for the time to the real solutionHenning Brauer
2006-05-28make use of the new hotplug events for sensors showing up or vanishingHenning Brauer
2006-05-27add sensor_byid(), return sensor by its idHenning Brauer
2006-05-27stop passing the config around all time, just store one copyHenning Brauer
2006-05-27factor out sensor_probe from sensor_scan so we can probe a sensors whenHenning Brauer