224 Commits (2d70ef1866384ba900511bea6b3e2d4ccbe37746)

Author SHA1 Message Date
  dtucker 0a9920c236 Fixes in ntpd_settime (ie ntpd -s): 19 years ago
  henning 62c3d341a1 nasty: host_dns used to run before forking and chrooting etc, so it was 20 years ago
  henning d40f766737 when, after processing all complete imsgs we found in the buffer, 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
  henning 9721a5431f from the "shut the fuck up, ntpd" department: 20 years ago
  deraadt 459c93ccc2 missing break spotted by lint 20 years ago
  henning ab6444e263 from the "shut the fuck up, ntpd" department: 20 years ago
  henning 6801136c41 let client_query return 0 if it requested dns resolution 20 years ago
  henning 1b0777efc4 fix error message, Benedikt Steinbusch <bsteinb@hamazone.de> 20 years ago
  henning 6d9ab8b66e when sending a query already returns a failure, we're not going to see 20 years ago
  henning 356208894f fix an error message 20 years ago
  dtucker c1809222fb Implement simple duplicate suppression of peer errors; ok henning@ 20 years ago
  henning 8f4f234d9b KNF 20 years ago
  henning 5ab4c063ff buffer structs and API ssize_t -> size_t; from bgpd 20 years ago
  henning 9f4b13fc3a usage() is __dead 20 years ago
  dtucker 21a049e79f Simplify interval scaling and randomize query intervals; ok henning@ 20 years ago
  henning 81a717e58a fatal() if daemon() fails, Alexander von Gernler <grunk@pestilenz.org> 20 years ago
  dtucker e0c54820e7 Make network unreachable errors non-fatal; 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 d1e706f6f9 d can be negative, take that into account when comparing to the logging 20 years ago
  dtucker 621223eef3 Save original value returned by getifaddrs to free later; ok henning@ 20 years ago
  henning cd15a535c6 if our first getpwnam(), testing for NTPD_USER, succeeded, but the second 20 years ago
  moritz d2089d6098 some typos in log messages. 20 years ago
  dtucker a5982aae18 Limit the number of addresses used by the 'servers' directive to 8; ok henning@ 20 years ago
  dtucker 890af70b55 Poll unsynchronized servers at the maximum interval and log a message about 20 years ago
  dtucker f8fddf9886 Factor out interval scaling code; ok henning@ 20 years ago
  dtucker ec912cc477 If polling a server results in an error, drop that server to the maximum 20 years ago
  dtucker 1cc3aedb19 sendto() takes socklen_t as an argument; ok henning@ 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
  dtucker 1bfbeb3ca8 Discard replies with alarm flag set or invalid stratum; ok henning@ 20 years ago
  jaredy 878f6487d6 typos, then -> than, from Michael Knudsen 20 years ago
  mickey a077b10ff0 define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ ok 20 years ago
  mickey 668e680350 use two tiny macros for copying fields out to simplify reading; henning@ ok 20 years ago
  mickey b521cde7ce uniquely name members of s_fixedpt and l_fixedpt; henning@ ok 20 years ago
  jmc 640288c410 tweaks; 20 years ago
  mickey 7d3cbb5271 do not log tiny local clock drifts; w/ help from Joerg Sonnenberger <joerg@britannica.bec.de>; henning@ ok 20 years ago
  mickey f2f9840c04 ensure the most excellent alignment in the structs; henning@ ok 20 years ago
  henning 6da6b1a6a2 fix "listen on hostname" 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
  henning 389962a6b2 const'ify conffile 20 years ago
  otto 3b81ab1b24 Advice user to use multiple servers. Prodded by Daniel Polak, help and ok jmc@ 20 years ago
  jmc 5bfffdca2a document that keywords can be specified multiple times; 20 years ago
  dtucker ceecbd1877 Use SA_LEN() instead of ss.ss_len. Evaluates to the same result but it's 20 years ago
  henning c31555e853 memleaks in error pathes, patrick latifi, Thanks! 20 years ago
  henning e409afcfa7 use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILD 20 years ago