174 Commits (4bcb70b1fc217a5ece21a73bcce4086cd2333af6)

Author SHA1 Message Date
  henning 2a5d85f042 greatly improved by jmc with some tweaks by yours truly 20 years ago
  henning b676d8a001 jmc says S before s and not s before S, sssssssso we do. 20 years ago
  henning 8cf519f664 implement -S to override earlier -s, requested by theo 20 years ago
  henning d756895955 say when we run settimeofday() with -s and when not, help from bob 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 19e1a3d9e7 in imsg_compose: 20 years ago
  henning 5d20af9c99 use imsg_add instead of the lower level buf_add in imsg_create; it already 20 years ago
  henning ca742b9675 ewps... 20 years ago
  henning 88ad9df9d9 need buf_free() to free buf, free() is not good enough 20 years ago
  henning 7b3f946188 imsg framework cleanup: 20 years ago
  henning 1376183807 malloc the imsg buffers instead of having them statically, suggested by 20 years ago
  henning 10cacbacd8 kill another unused function and two debugging printfs 20 years ago
  henning 364aac1c51 remove the unused variable/macro code, ok theo 20 years ago
  henning af877d3b2a unused variables, theo 20 years ago
  henning 3113a84826 missing include, from theo 20 years ago
  henning 062c33dcbf remove buf_write(), not used in ntpd. found by theo 20 years ago
  henning 372c584a99 paranoia: reset query->fd to -1 after close, from canacar some time ago 20 years ago
  henning 436da7f7ee correctly track peer count. fixes a memory corruption. 20 years ago
  henning 003e3aa51d ignore ntp_sendmsg()s return value in server_dispatch. could result in 20 years ago
  henning a8c5498014 don't forget to set *hn... theo ok 20 years ago
  deraadt 709ac609c7 skip early DNS lookups -- they are deferred to later; ok otto ho henning 20 years ago
  deraadt f66c7f6404 ENOBUFS, EHOSTUNREACH, ENETDOWN and EHOSTDOWN are bad reasons to log; ok otto henning 20 years ago
  henning f04f23feb6 don't fatal() if getaddrinfo() returns EAI_NONAME 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 8ff7717b78 order #includes, Brian Poole <raj@cerias.purdue.edu> 20 years ago
  henning 871e069b0d wrong sizeof; Brian Poole <raj@cerias.purdue.edu> 20 years ago
  henning 49770cb818 in the pool case ("servers somepool.somewhere"), we add new peers while 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 a155754361 prevent unresolvable hostnames in "listen on" statements 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 ccff097c6b no multiple free(); "John L. Scarfone" <j0@cox.net> 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
  jmc a509bb097c tweaks; ok henning@ 20 years ago
  alexander 56d2eb7b65 Respond to client queries with better server statistics. We now output 20 years ago
  alexander 6ea5a8e216 ignore obviously malformed queries; ok henning@ 20 years ago
  henning d593a89801 liek bgpd, use a socketpair(2) instead of a pipe(2) 20 years ago
  dtucker 45199b1095 Add missing newlines 20 years ago
  dtucker 4b7b3363bd Replace errx with equivalent fprintf+exit to make porting easier; ok henning@ 20 years ago
  dtucker e8355e306b Use SA_LEN(sa) instead of sa->sa_len; ok henning@ 20 years ago
  alexander ce8c1ff72e Start collecting the remote server state along with the calculated 20 years ago