39 Commits (2d70ef1866384ba900511bea6b3e2d4ccbe37746)

Author SHA1 Message Date
  dtucker 98e724b50a More descriptive error if a signal causes the child to exit; ok henning@ 19 years ago
  henning a16f15c2c3 use a #define for the time to wait on -s and clarify a log msg 19 years ago
  henning ed37b625d3 use a little state engine to keep track of delayed dns lookups and such, 19 years ago
  dtucker f5ecdec08b Ensure previous adjust has completed before clearing alarm flag; ok henning@ 19 years ago
  henning 3ce098c434 extra paranoia, from a discussion with joerg 19 years ago
  henning 4395949868 zap includes, grunk 19 years ago
  henning 79255b7f6b fatal vs fatalx, Alexander von Gernler 19 years ago
  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 ab6444e263 from the "shut the fuck up, ntpd" department: 20 years ago
  henning 9f4b13fc3a usage() is __dead 20 years ago
  henning 81a717e58a fatal() if daemon() fails, Alexander von Gernler <grunk@pestilenz.org> 20 years ago
  henning d1e706f6f9 d can be negative, take that into account when comparing to the logging 20 years ago
  moritz d2089d6098 some typos in log messages. 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
  henning 389962a6b2 const'ify conffile 20 years ago
  henning e409afcfa7 use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILD 20 years ago
  henning 75dafda684 reset chld_pid to 0 when acting upon a SIGCHLD so we don't try to send it 20 years ago
  henning b676d8a001 jmc says S before s and not s before S, sssssssso we do. 20 years ago
  henning 8cf519f664 implement -S to override earlier -s, requested by theo 20 years ago
  henning 2f6447073a don't call settimeofday() when the offset is smaller than 180 seconds, 20 years ago
  henning 80548b0292 add a new -s option, that tells ntpd to set the time using settimeofday() 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 f5548494ff do not try to getaddrinfo() in the unprivileged process, send an imsg 20 years ago
  henning d593a89801 liek bgpd, use a socketpair(2) instead of a pipe(2) 20 years ago
  dtucker 45199b1095 Add missing newlines 20 years ago
  dtucker 4b7b3363bd Replace errx with equivalent fprintf+exit to make porting easier; ok henning@ 20 years ago
  deraadt bc46ad847f too chatty; ok henning 20 years ago
  henning 7d74cf41b4 remove leftover pieces of on-the-fly reconfig shitz that made ntpd exit on 20 years ago
  henning 693a157803 kill traces of on-the-fly reconfigure (from bgpd), not needed in ntpd 20 years ago
  henning d6f04943b0 don't log every single reply we receive and log local clock adjustemt nicer 20 years ago
  henning 7cb3db11e2 calculate the median offset from all servers we sync to and call 20 years ago
  henning ed86cbbedb provide most of the client functionality. 20 years ago
  henning a241c3837c first cut at config file parser 20 years ago
  henning 30613069fb allow ntpd to listen on nearly arbitary number of sockets (OPEN_MAX - 1 atm). 20 years ago
  henning ffc862704c fix usage() 20 years ago
  henning 4ad0cde98b initial cut at ntpd. 20 years ago