53 Commits (270c43464339b1982c1a337e6a2c2825ea2be7f3)

Author SHA1 Message Date
  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 20 years ago
  henning 6fe4af12fd wrap the heads for the linked list of addresses into a new ntp_addr_wrap 20 years ago
  henning 7253f8812f there are a few recvfrom(2) errors we do not want to panic on 20 years ago
  henning 08ac882ce0 query interval scaling, episode II 20 years ago
  henning 4a343adcd5 do not do the stratum guessing dance. 20 years ago
  alexander ce8c1ff72e Start collecting the remote server state along with the calculated 20 years ago
  henning d85732044e missing {} 20 years ago
  henning 042700aed2 check wether we have enough data to form a peer update on receiption 20 years ago
  henning b0438e2e01 oups 20 years ago
  henning d2decbe40d scale query interval based on local clock offset. tested by many 20 years ago
  henning cb18fdd6ed don't panic when sendto() fails; for the client part just re-schedule 20 years ago
  henning cf385f93cd rework dns handling with all its cosequences... 20 years ago
  henning b6bb1936a0 lof replies with log_debug so one gets increased verbosity when in 20 years ago
  alexander a8cb348cd7 RFC 2030 is incorrect with regards to the computation of the delay value 20 years ago
  henning d6f04943b0 don't log every single reply we receive and log local clock adjustemt nicer 20 years ago
  deraadt e21e9e7c5b knf! 20 years ago
  henning fd5d60e4e2 if the cookie in the received packet doesn't match discard it silently; 20 years ago
  henning ccb62d3811 keep a "trustlevel" per peer. loose credit for loosing a packet, loose 20 years ago
  henning 1bd657839e Implement the clock filter as descirbed by David Mills: 20 years ago
  henning 12fb5f8424 when we received a apcket with incorrect cookie log from whom as well 20 years ago
  jason 1694ed9e27 log host packet was received from (originally using a long convoluted 20 years ago
  naddy ca612edc92 initialize the variables that track the offset array; ok henning@ 20 years ago
  henning e490cc8936 keep last 8 offset,delay pairs - we'll need them for the clock filters later. 20 years ago
  henning 25baf3f656 delay, not error 20 years ago
  henning 43d3d7e70a put interval defines in ntpd.h and name them consistently 20 years ago
  henning d6fd2597f7 simplify slightly 20 years ago