274 Commits (9cbd95d0148ce567cb5885f2999e6900eb37234a)

Author SHA1 Message Date
  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
  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
  henning c24767cca2 scan for new timedelta sensors every five minutes for now, ok deraadt 18 years ago
  henning 9bb919c475 ntpd does timedelta sensors now too 18 years ago
  henning fe9a290e7a document timedelat sensors. ok deraadt 18 years ago
  henning f687c4f193 config file bits for timedelta sensors, so one can specify which devices 18 years ago
  deraadt 1036a9d27a \<char> is <char> except for \<newline> -- no exceptions. much like how 18 years ago
  henning 21382f5e23 add support for timedelta sensors, which pretty much means udcf(4) right 18 years ago
  henning 1d2ad6e90a more bits from transatlanic flight: 18 years ago
  henning 309a243757 figure out the refid to send to NTP v3 clients early and store it 18 years ago
  henning 926119b732 make listen on example idiot proof 18 years ago
  henning a139e32a41 PFD_MAX betterer than harcoded 1 18 years ago
  stevesk b020f35b9f handle -1 return from host_dns(); ok henning@ 19 years ago
  dtucker a37ee71683 Do not attempt to listen on interfaces with a wildcard address; ok henning@ 19 years ago
  dtucker d71b0751da Check SA_LEN(sa) after sa is checked for NULL. Pointed out by solar at 19 years ago
  dtucker 73c6d5ec9f Log source address for 'malformed packet' errors. ok henning@ 19 years ago
  wvdputte 33dc34f1c7 when running ntpd with "-s" as it's argument from /etc/rc.conf, make sure the 19 years ago
  henning 04339771ec on writing, we actually can deal with ENOBUFS just as well as with EAGAIN 19 years ago
  henning 3b0d5b83e8 check for EINTR too after writev(), pt out by Alexander Farber 19 years ago
  dtucker f31cfdaa27 Propogate server's leap indicator flags to clients; ok henning@ 19 years ago
  henning 4cc3be5e18 with -s, do not wait if we don't have any peers at all. 19 years ago
  dtucker 020dd82b59 Skip invalid interfaces during 'listen on *'; ok henning@ 19 years ago