65 Commits (f31cfdaa2742aebbcba132af501fbf25da2c081d)

Author SHA1 Message Date
  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@ 20 years ago
  dtucker b5f096de27 add another non-fatal error for recvfrom; ok henning@ 20 years ago
  dtucker f9299bb123 Save transmit time for each peer for later use as refid for SNTPv4 20 years ago
  henning ed37b625d3 use a little state engine to keep track of delayed dns lookups and such, 20 years ago
  henning f2765f2a2f move the "reply from ... " log msg in -d mdoe uop a bit so it actually 20 years ago
  henning 7082200ffe prevent replies with negative delay from being used, could happen with -s 20 years ago
  henning 6801136c41 let client_query return 0 if it requested dns resolution 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
  dtucker 21a049e79f Simplify interval scaling and randomize query intervals; ok henning@ 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
  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
  henning 0d2f286428 thinko, htonl() -> ntohl(). as we don't use the value in question effect zero 20 years ago
  henning 0cd13f252a whitespace both in comment; from bernd 20 years ago
  henning abc9700cfb in client_addr_init() and client_nextaddr(), do not set up the socket and 20 years ago
  henning c25a5d5725 now that we connect() the client sockets we need to handle ECONNREFUSED as 20 years ago
  henning 944ef50b12 connect() the client-side sockets. idea & test & ok camield@ 20 years ago
  henning 80548b0292 add a new -s option, that tells ntpd to set the time using settimeofday() 20 years ago
  henning 372c584a99 paranoia: reset query->fd to -1 after close, from canacar some time ago 20 years ago
  otto 3fa78249ed Be more careful setting next and deadline, they should not both be != 0 20 years ago
  otto daecdacb15 Reset deadline on failed transmit. Avoids a spinning process if 20 years ago
  henning f5548494ff do not try to getaddrinfo() in the unprivileged process, send an imsg 20 years ago
  henning 5512eb59e0 when a dns lookup fails at parse time, do not abort but try again 21 years ago
  henning 6fe4af12fd wrap the heads for the linked list of addresses into a new ntp_addr_wrap 21 years ago
  henning 7253f8812f there are a few recvfrom(2) errors we do not want to panic on 21 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 ce8c1ff72e Start collecting the remote server state along with the calculated 21 years ago
  henning d85732044e missing {} 21 years ago
  henning 042700aed2 check wether we have enough data to form a peer update on receiption 21 years ago
  henning b0438e2e01 oups 21 years ago
  henning d2decbe40d scale query interval based on local clock offset. tested by many 21 years ago
  henning cb18fdd6ed don't panic when sendto() fails; for the client part just re-schedule 21 years ago
  henning cf385f93cd rework dns handling with all its cosequences... 21 years ago
  henning b6bb1936a0 lof replies with log_debug so one gets increased verbosity when in 21 years ago
  alexander a8cb348cd7 RFC 2030 is incorrect with regards to the computation of the delay value 21 years ago