315 Commits (ef0c7518c0a8c7676a3833bf8c98e5c1e1b1c0d0)

Author SHA1 Message Date
  ckuethe 5b4a0b0b28 This diff makes ntpd poll for sensors more aggressively when the use of 17 years ago
  jmc 14302f5699 convert to new .Dd format; 17 years ago
  henning f9096ad09f use __packed structs for the on-the-wire packets and just memcpy at once 17 years ago
  otto 8c79773d1d if resolving a name fails, be more aggressive retrying, but with care: 17 years ago
  deraadt c34c8f6d6a aggressive spelling fix, spotted by jbg 17 years ago
  otto 66f330d94f Normalize tv so that tv_usec is positive. The kernel also normalizes, 17 years ago
  ckuethe 67b5aa4d57 Increase sensor polling interval to 30s, just like ntp polls. This 17 years ago
  henning 0b2f522118 when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do not 17 years ago
  henning fcd399814f read buffer size must be >= max imsg size. 17 years ago
  otto 8609f91a61 xref adjfreq(2); from Igor Zinovik 17 years ago
  claudio 3b46e875e2 Typo in fatal() message found by dunceor @ gmail dot com 17 years ago
  henning 5a0d6270be the new sensors tre can give us the number of sensors per type. 17 years ago
  otto 1f8bd32eb8 Although Unix compilers accept more than one definition of a global 17 years ago
  otto 4116dad0a1 Esape from the Mouth of Madness by adjusting stored sensor offsets 17 years ago
  otto 7690556ff8 Add some comments on the expresssion which converts sensor timedeltas 17 years ago
  naddy 6c7f751ad1 forgot a dereference in the previous conversion; ok deraadt@ 18 years ago
  deraadt 44cfc5dfde adapt to new two-level sensor sysctl framework; by Constantine A. Murenin 18 years ago
  henning 0cb81b5488 let ntpd use sensors immediately after system boot by special casing 18 years ago
  ckuethe e0df755dbd Allow sensors in a sensors-only configuration to set the time at startup. 18 years ago
  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