346 Commits (ed8a0556b143d991f804f7145f293fa1dfecef84)

Author SHA1 Message Date
  henning a4d68a0292 with usig the meadian offset froma number of measurements the recording 18 years ago
  henning 4f07972cbe use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing 18 years ago
  henning f5c6db18a7 timedelta sensors are usually updated very often, but we used to query 18 years ago
  henning 9e886819ac in client_nextaddr, check fd != -1 before close, just nicer this way 18 years ago
  henning 431920cccf Found that even if client fd (i.e to NTP source) is set to 18 years ago
  henning 43bb2c0b5f when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETIC 18 years ago
  henning 8031d5c7e5 EADDRNOTAVAIL after connect is one of the soft errors where we don't abort 18 years ago
  henning 153642fa72 need to call adjtime once in a while here too, otherwise sensor-only 18 years ago
  henning 988040972e internally, ntpd doesn't work with absolute offsets to system time, but 18 years ago
  stevesk 70c89238ab use 'weight-value' vs. 'offset' for the weight argument; 18 years ago
  deraadt bcbd2043ec strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by pierre-yves@spootnik.org 18 years ago
  henning 031b227392 make sure updates from sensors have the "synced" flag set 18 years ago
  otto b10a9a26fe remove some unneeded includes; one found by vetinari 18 years ago
  deraadt 9801d84234 spaces 18 years ago
  otto 7c32f0a09d don't write anything to log until we are daemonized. spotted by 18 years ago
  otto 45a03a18d6 increase polling intervbal, but only after we are synced and have done 18 years ago
  otto 2e46737551 Reset adjtime() on startup; having an adjtime() active while starting 18 years ago
  otto 68bc275e60 Document /var/db/ntpd.drift; ok jmc@ 18 years ago
  otto 041bde21e5 Save the computed clock drift and use it on startup. ok deraadt@ 18 years ago
  otto 8746f65b53 avoid a race by installing SIGCHLD handler before fork() is called. 18 years ago
  otto 086410730e tsk, tsk, tsk... the rule is simple: any define consisting of 18 years ago
  otto abf6b82fcd Import frequency conrrection code from dragonfly, whith some changes: 18 years ago
  otto c01a2e9569 set session id and init logging in -s mode. tested by david@ and matthieu@; 18 years ago
  otto 24133ce79c simplify; ok henning@ 18 years ago
  otto 89f43414db Compensate old offsets with the amount of adjustment done, avoiding 18 years ago
  otto 24fa8ea878 Only invalidate stored replies if an adjustment was really made. 18 years ago
  henning 9be86cfc22 just ise "HARD" as refid with sensors for v3 clients 18 years ago
  henning 216ee11434 incredibly stupid typo 18 years ago
  otto fc47aa1fcc even though the bounds are long long having an upper bound of 18 years ago
  otto 5ca49f4a5e When expanding servers, do not forget to copy weight. ok henning@ 18 years ago
  henning 1110d359db urgs, other stuff snuck in 18 years ago
  henning 5a53deb317 do not use /dev/hotplug for now, only one reader supported yet 18 years ago
  henning baf806507d put back regular sensors scanning 18 years ago
  henning eea91760ae only actually run sensor_query when it is due, not every time poll returns 18 years ago
  ckuethe 9325c20f99 When ntpd backs off polling due to a negative delay, tell the user how long 18 years ago
  jmc 0d1cb4cfe1 better wording for the "weight" section; 18 years ago
  jmc 146a76e0cb document the optional "weight" keyword, and a little cleanup; 18 years ago
  henning d4fd11008a when we cannot open /dev/hotplug, donn't bail, just work without 18 years ago
  henning 52daf64bf5 allow for weight to be added to sensors or servers, so that one can 18 years ago
  henning 24755fb155 get clock src id from the timedelta sensor desc. 18 years ago
  henning 60325542b8 if sysctl gives ENOENT the sensor is gone and we remove it 18 years ago
  henning b2a25c5f18 let sensor_query handle removals itself 18 years ago
  henning 1314afba48 sensor_byid not needed any more 18 years ago
  henning 18724bbfff hotplug devid will go away in a minute, so don't use it here any longer 18 years ago
  henning 494460017f do not bother with rmeoval events, we remove sensors whoch vanished or 18 years ago
  jmc 405e658006 small grammar improvement; 18 years ago
  henning d5fece7cde DV_SENSORS is no more, plug workaround for the time to the real solution 18 years ago
  henning 790a2f0010 make use of the new hotplug events for sensors showing up or vanishing 18 years ago
  henning 54fb320578 add sensor_byid(), return sensor by its id 18 years ago
  henning d3875817fc stop passing the config around all time, just store one copy 18 years ago