59 Commits (2d70ef1866384ba900511bea6b3e2d4ccbe37746)

Author SHA1 Message Date
  henning 2d70ef1866 shrink read buffer size from 64k to 4k, this is not bgpd and we're dealing 19 years ago
  dtucker f9299bb123 Save transmit time for each peer for later use as refid for SNTPv4 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
  henning 50e41e169b unify shared code a bit again to make future syncs easier 19 years ago
  henning e0f325591a wpos in struct buf_read and datalen in imsg_get should be size_t and not 19 years ago
  dtucker c1809222fb Implement simple duplicate suppression of peer errors; ok henning@ 20 years ago
  henning 5ab4c063ff buffer structs and API ssize_t -> size_t; from bgpd 20 years ago
  dtucker 21a049e79f Simplify interval scaling and randomize query intervals; 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 a5982aae18 Limit the number of addresses used by the 'servers' directive to 8; ok henning@ 20 years ago
  mickey a077b10ff0 define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ ok 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
  mickey f2f9840c04 ensure the most excellent alignment in the structs; henning@ ok 20 years ago
  henning b89628e731 some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de> 20 years ago
  henning b84ae4cbbe ntp_adjtime() -> priv_adjtime() 20 years ago
  henning 389962a6b2 const'ify conffile 20 years ago
  henning d94b864a67 in server mode reply with stratum from the peer that we currently prefer 20 years ago
  dtucker dcc316e5a2 Have ntpd use IPTOS_LOWDELAY; ok henning@ 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 25a5d7fd19 do not bother overallocating and shrinking the pfd and idx2peer arrays, 20 years ago
  henning 1952adadc6 the "type" param to imsg_compose and imsg_create is really an 20 years ago
  henning 7b3f946188 imsg framework cleanup: 20 years ago
  henning 364aac1c51 remove the unused variable/macro code, ok theo 20 years ago
  henning f5548494ff do not try to getaddrinfo() in the unprivileged process, send an imsg 20 years ago
  henning bbe549999c move memory allocation for new peers into a new function, makes ID allocation 20 years ago
  henning 285ef64de8 keep an ID per server we talk to 20 years ago
  henning 5512eb59e0 when a dns lookup fails at parse time, do not abort but try again 20 years ago
  henning 42d85772a9 remove unused function 20 years ago
  henning 6fe4af12fd wrap the heads for the linked list of addresses into a new ntp_addr_wrap 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 56d2eb7b65 Respond to client queries with better server statistics. We now output 20 years ago
  alexander ce8c1ff72e Start collecting the remote server state along with the calculated 20 years ago
  alexander 4a0548a461 KNF; ok henning@ 20 years ago
  alexander d1a5206262 short fixed point <-> double conversion routines; ok henning@ 20 years ago
  henning d2decbe40d scale query interval based on local clock offset. tested by many 20 years ago
  deraadt 6cdf6e9f4a make lint a wee bit happier 20 years ago
  henning cf385f93cd rework dns handling with all its cosequences... 20 years ago
  henning 7364dc1c59 remove all handling of netmasks/prefix lengths - we don't need that in ntpd. 20 years ago
  alexander 353bc5222d * Convert to use the new double-based time handling functions. 20 years ago
  henning e74cfb6cd2 do not listen anywhere by default. 20 years ago
  henning 05a94ce779 swicth all the host_* functions to work on a newly invented 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 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 7cb3db11e2 calculate the median offset from all servers we sync to and call 20 years ago