52 Commits (3cf6b014d3a9a13649b4019f822d6706be0c8083)

Author SHA1 Message Date
  reyk 08ed721594 Remove the oh so funny "LOSS OF MIND" from the diclaimer that was not 7 years ago
  guenther 2f48ecaf36 Pull in <sys/time.h> for struct timespec, timeval, or clockrate 7 years ago
  reyk 043d0938c2 Remove hotplug(4) sensor support: the code has been disabled by 9 years ago
  deraadt eb02123984 remove excessive/wrong use of sys/param.h 9 years ago
  bcook 950986b2ca use the correct format string for refid 9 years ago
  phessler 36ee6e401f Add ntpctl(8), which allows us to query the locally running ntpd(8) process 10 years ago
  patrick bb4b345cc6 Allow ntpd.conf to assign a stratum to a sensor with the syntax stratum <level>. 11 years ago
  deraadt 70f0799f54 Get rid of MAXSENSORDEVICES. Gaps in sensordev lists are now handled 14 years ago
  stevesk d3e46edd9e when using a timedelta sensor for -s, if the sensor is invalid during 15 years ago
  stevesk f5caca2fd9 spelling in comment 15 years ago
  stevesk 4e2022dc16 fix printf format specification to print max len 4 for refid, 15 years ago
  naddy 2e8579dfc0 return the correct refid for a sensor; ok henning@ 15 years ago
  naddy ca3fb2ec5f According to the latest SNTPv4 spec in RFC4330, secondary servers 16 years ago
  deraadt 52e9696746 rename refstr to refid since it is an int32; ok henning 16 years ago
  deraadt a18f78208a do not copy up to two garbage characters from a 1 char string into a 4 char 16 years ago
  deraadt 6b9dac3b42 spacing 16 years ago
  ckuethe e6e5dc66c8 Allow outgoing replies from sensor-driven servers to have a 16 years ago
  ckuethe d621e7cbdf set the refid for v4 queries too. this allows sensor-driven ntpd to says its 16 years ago
  ckuethe 4f75588722 Add a knob to compensate for a refclock that is early or late. Based on a 17 years ago
  ckuethe 5b4a0b0b28 This diff makes ntpd poll for sensors more aggressively when the use of 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 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@ 17 years ago
  deraadt 44cfc5dfde adapt to new two-level sensor sysctl framework; by Constantine A. Murenin 17 years ago
  henning a4d68a0292 with usig the meadian offset froma number of measurements the recording 17 years ago
  henning 4f07972cbe use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing 17 years ago
  henning f5c6db18a7 timedelta sensors are usually updated very often, but we used to query 17 years ago
  henning 153642fa72 need to call adjtime once in a while here too, otherwise sensor-only 17 years ago
  henning 988040972e internally, ntpd doesn't work with absolute offsets to system time, but 17 years ago
  henning 031b227392 make sure updates from sensors have the "synced" flag set 18 years ago
  deraadt 9801d84234 spaces 18 years ago
  henning 9be86cfc22 just ise "HARD" as refid with sensors for v3 clients 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 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
  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
  henning 66277ecc3d factor out sensor_probe from sensor_scan so we can probe a sensors when 18 years ago
  henning 1c3c1ca642 make ntpd listen on the hotplug socket and decode yadda yadda, because 18 years ago