65 Commits (b315af728954acf8f99c329a9d689473c5923ee2)

Author SHA1 Message Date
  dtucker f5ecdec08b Ensure previous adjust has completed before clearing alarm flag; ok henning@ 20 years ago
  henning 8f835e4902 no need for endpwent(0 here either 20 years ago
  djm 5a26462171 setres[ug]id; ok deraadt@ 20 years ago
  henning 90903372f9 correctness: only account for offset after settime in next and deadline 20 years ago
  henning d2787fa263 after setting the clock hard correct the "next" and "deadline" timestamps 20 years ago
  henning de27be63ae one more fatal/fatalx, alexander 20 years ago
  henning de3d9906a7 when trying short-circuit the wait for the first reply for -s, only 20 years ago
  deraadt 0539953c14 knf 20 years ago
  deraadt 459c93ccc2 missing break spotted by lint 20 years ago
  henning 6d9ab8b66e when sending a query already returns a failure, we're not going to see 20 years ago
  henning 8f4f234d9b KNF 20 years ago
  dtucker 21a049e79f Simplify interval scaling and randomize query intervals; ok henning@ 20 years ago
  dtucker 270c434643 Scale query interval by the overall offset not per-peer offset, so we 20 years ago
  dtucker 5d09ee1c02 Delay before retrying a query on timeout; ok henning@ 20 years ago
  henning 2c91c74b88 KNF 20 years ago
  henning cd15a535c6 if our first getpwnam(), testing for NTPD_USER, succeeded, but the second 20 years ago
  dtucker 262fb1973f Sanity check owner and permissions of privsep directory, like sshd does; 20 years ago
  dtucker 9cb603051f Check for error status from poll() too; ok henning@ 20 years ago
  henning b89628e731 some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de> 20 years ago
  henning b84ae4cbbe ntp_adjtime() -> priv_adjtime() 20 years ago
  dtucker 348fc30c4d Calculate Hz and round up; ok henning@ 20 years ago
  henning cda611d670 use clock_getres(3) and calculate precision from that, and fill the 20 years ago
  henning d94b864a67 in server mode reply with stratum from the peer that we currently prefer 20 years ago
  henning a4e395e47f set rootdelay in replies. 20 years ago
  henning 7096d1be44 correctly set refid in replies with NTP protocol versions < 4. 20 years ago
  henning e310ae01b8 when we get back a IMSG_HOST_DNS message from the parent the peer ID within 20 years ago
  henning addeddaa0e do not take the average offset from all peers when calculating the total 20 years ago
  henning 80548b0292 add a new -s option, that tells ntpd to set the time using settimeofday() 20 years ago
  henning 25a5d7fd19 do not bother overallocating and shrinking the pfd and idx2peer arrays, 20 years ago
  henning 7b3f946188 imsg framework cleanup: 20 years ago
  henning 1376183807 malloc the imsg buffers instead of having them statically, suggested by 20 years ago
  henning af877d3b2a unused variables, theo 20 years ago
  henning 3113a84826 missing include, from theo 20 years ago
  henning 436da7f7ee correctly track peer count. fixes a memory corruption. 20 years ago
  henning f5548494ff do not try to getaddrinfo() in the unprivileged process, send an imsg 20 years ago
  henning 08ac882ce0 query interval scaling, episode II 21 years ago
  henning 4a343adcd5 do not do the stratum guessing dance. 21 years ago
  alexander 56d2eb7b65 Respond to client queries with better server statistics. We now output 21 years ago
  henning d2decbe40d scale query interval based on local clock offset. tested by many 21 years ago
  henning 3266f15dd7 don't try to update the clock when we have no data 21 years ago
  henning 645e5a78aa the child process needs to ignore SIGHUP for now, otto 21 years ago
  henning cf385f93cd rework dns handling with all its cosequences... 21 years ago
  henning 1aa4442f07 when calculating the timeout for poll() we need to take the deadlines for 21 years ago
  henning 9913070411 remove a bogus always-true test before adjtime() 21 years ago
  henning 23963e1ca9 log_debug() when a peer doesn't answer in time 21 years ago
  alexander 353bc5222d * Convert to use the new double-based time handling functions. 21 years ago
  henning 4a8fb608ce yuck, another bad sizeof(). again in code hacked on the Frankfurt->Montreal 21 years ago
  henning ccb62d3811 keep a "trustlevel" per peer. loose credit for loosing a packet, loose 21 years ago
  henning 1bd657839e Implement the clock filter as descirbed by David Mills: 21 years ago
  henning e490cc8936 keep last 8 offset,delay pairs - we'll need them for the clock filters later. 21 years ago