89 Commits (a9366630a791066495181a974857bfcb954a4bf2)

Author SHA1 Message Date
  phessler a32e45b068 Add rdomain support to NTPd. 13 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@ 17 years ago
  otto 2dc039e348 be a bit less aggressive retrying; this keeps the message queue 17 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 18 years ago
  henning 9e886819ac in client_nextaddr, check fd != -1 before close, just nicer this way 18 years ago
  henning 43bb2c0b5f when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETIC 18 years ago
  henning 8031d5c7e5 EADDRNOTAVAIL after connect is one of the soft errors where we don't abort 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
  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@ 19 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
  dtucker b5f096de27 add another non-fatal error for recvfrom; ok henning@ 19 years ago
  dtucker f9299bb123 Save transmit time for each peer for later use as refid for SNTPv4 19 years ago
  henning ed37b625d3 use a little state engine to keep track of delayed dns lookups and such, 19 years ago
  henning f2765f2a2f move the "reply from ... " log msg in -d mdoe uop a bit so it actually 19 years ago
  henning 7082200ffe prevent replies with negative delay from being used, could happen with -s 19 years ago
  henning 6801136c41 let client_query return 0 if it requested dns resolution 19 years ago
  henning 356208894f fix an error message 19 years ago
  dtucker c1809222fb Implement simple duplicate suppression of peer errors; ok henning@ 19 years ago
  dtucker 21a049e79f Simplify interval scaling and randomize query intervals; ok henning@ 19 years ago
  dtucker e0c54820e7 Make network unreachable errors non-fatal; ok henning@ 19 years ago
  dtucker 270c434643 Scale query interval by the overall offset not per-peer offset, so we 19 years ago
  dtucker 5d09ee1c02 Delay before retrying a query on timeout; ok henning@ 19 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 1bfbeb3ca8 Discard replies with alarm flag set or invalid stratum; ok henning@ 20 years ago
  mickey a077b10ff0 define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ ok 20 years ago
  mickey b521cde7ce uniquely name members of s_fixedpt and l_fixedpt; henning@ ok 20 years ago
  henning b84ae4cbbe ntp_adjtime() -> priv_adjtime() 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 d94b864a67 in server mode reply with stratum from the peer that we currently prefer 20 years ago
  dtucker 3b0155d86c Only set IPTOS_LOWDELAY on IPv4 interfaces; pointed out by phessler, ok henning 20 years ago
  dtucker dcc316e5a2 Have ntpd use IPTOS_LOWDELAY; ok henning@ 20 years ago
  henning 0fe5ca5a17 in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCs 20 years ago