113 Commits (master)

Author SHA1 Message Date
  otto 0e2d622180 Properly determine era 0 or era 1, making it possible to move past 4 years ago
  otto 21c48e24ae Introduce a "trusted" modifier, for peers that should be on a local net 4 years ago
  deraadt 434126328c typo 4 years ago
  otto 4faedbcd1c Sometimes ntp peers are unreliable (looking at you pool.ntp.org!) 4 years ago
  otto 6f5c796c99 Do a quick DNS probe to decide to stay in the forground and attempt 5 years ago
  otto 391b236846 Be more aggressive retrying dns while in settime mode. The constraint 5 years ago
  otto 0225e4f1d7 Introducing autmatic settime mode: if some preconditions are met 5 years ago
  otto 349011c612 If a DBS resolve was done with the Checking Disabled flag, re-resolve 5 years ago
  benno 184c157e2f add option "query from <ip>" to ntpd.conf, to specify a local IP 7 years ago
  reyk 08ed721594 Remove the oh so funny "LOSS OF MIND" from the diclaimer that was not 7 years ago
  phessler e4a72ca09e Allowing upstream servers of ntp being in multiple routing tables is 8 years ago
  bcook cdb73978a9 replace bzero with memset 9 years ago
  bcook d72cee2563 Avoid overflow on 32-bit time_t systems converting timeval to NTP time. 9 years ago
  reyk 2c0d96f390 Use ntpd's deferred DNS resolving for constraints as well. This 9 years ago
  reyk 7433fa0bce Add support for "constraints": when configured, ntpd(8) will query the 9 years ago
  bcook 709567d845 Use initial assignment of action to check for errors. 9 years ago
  bcook e32816bab7 return -1 on host() address parsing failure, not 1. 9 years ago
  deraadt eb02123984 remove excessive/wrong use of sys/param.h 9 years ago
  bcook f04311c2a3 use MAXIMUM as the canonical local MAX macro. 9 years ago
  bcook 63d93971e4 don't rely on sys/param.h having a MAX macro. 9 years ago
  miod 65ef63a7ad Fix format strings involving time_t arguments, fixes `ntpd -d' on sparc (and 10 years ago
  phessler 590be54dcd remove the IPv4-only check for rdomains, allows IPv6 to use them 10 years ago
  phessler 36ee6e401f Add ntpctl(8), which allows us to query the locally running ntpd(8) process 10 years ago
  mglocker 27f85bb7b7 Remove unused function argument variables 'len' and 'auth' from 11 years ago
  phessler a32e45b068 Add rdomain support to NTPd. 12 years ago
  henning f4727d5d25 recvmsg ENOENT noncritical too 15 years ago
  henning c9840c00e0 ENOPROTOOPT is non-fatal on recvfrom, can apparently happen with ipvshit 15 years ago
  henning eac29aab5e use the SCM_TIMESTAMP socket option to get the time we received the 15 years ago
  henning d56fbb72de ignore replies with timestamps after 2030 to prevent time_t / tv_sec wraps 15 years ago
  stevesk 00ae9b8707 I should know outside data must be vis(3)'d. 15 years ago
  stevesk 5181f4815e received refid should not be converted to host byte order; ok henning@ 15 years ago
  stevesk 41d74ba791 log reason when not synced; ok henning@ 15 years ago
  naddy c102a69a3a For IPv6 addresses, return the first 32 bits of the MD5 hash of the 16 years ago
  naddy ca3fb2ec5f According to the latest SNTPv4 spec in RFC4330, secondary servers 16 years ago
  mpf 18c1f831f0 Reconnect a client socket after three consecutive send failures. 16 years ago
  stevesk 14460a3689 some fatal() calls that should be fatalx(); ok henning@ 16 years ago
  otto 2dc039e348 be a bit less aggressive retrying; this keeps the message queue 16 years ago
  otto 8c79773d1d if resolving a name fails, be more aggressive retrying, but with care: 17 years ago
  deraadt c34c8f6d6a aggressive spelling fix, spotted by jbg 17 years ago
  henning 4f07972cbe use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing 17 years ago
  henning 9e886819ac in client_nextaddr, check fd != -1 before close, just nicer this way 17 years ago
  henning 43bb2c0b5f when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETIC 17 years ago
  henning 8031d5c7e5 EADDRNOTAVAIL after connect is one of the soft errors where we don't abort 17 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
  ckuethe 9325c20f99 When ntpd backs off polling due to a negative delay, tell the user how long 18 years ago
  henning 309a243757 figure out the refid to send to NTP v3 clients early and store it 18 years ago
  dtucker 73c6d5ec9f Log source address for 'malformed packet' errors. ok henning@ 18 years ago
  dtucker f31cfdaa27 Propogate server's leap indicator flags to clients; ok henning@ 19 years ago
  dtucker 4eaa821e76 Print actual error when in debug mode; ok henning@ 19 years ago