45 Commits (4bcb70b1fc217a5ece21a73bcce4086cd2333af6)

Author SHA1 Message Date
  henning cd15a535c6 if our first getpwnam(), testing for NTPD_USER, succeeded, but the second 20 years ago
  dtucker 262fb1973f Sanity check owner and permissions of privsep directory, like sshd does; 20 years ago
  dtucker 9cb603051f Check for error status from poll() too; ok henning@ 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
  dtucker 348fc30c4d Calculate Hz and round up; ok henning@ 20 years ago
  henning cda611d670 use clock_getres(3) and calculate precision from that, and fill the 20 years ago
  henning d94b864a67 in server mode reply with stratum from the peer that we currently prefer 20 years ago
  henning a4e395e47f set rootdelay in replies. 20 years ago
  henning 7096d1be44 correctly set refid in replies with NTP protocol versions < 4. 20 years ago
  henning e310ae01b8 when we get back a IMSG_HOST_DNS message from the parent the peer ID within 20 years ago
  henning addeddaa0e do not take the average offset from all peers when calculating the total 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 7b3f946188 imsg framework cleanup: 20 years ago
  henning 1376183807 malloc the imsg buffers instead of having them statically, suggested by 20 years ago
  henning af877d3b2a unused variables, theo 20 years ago
  henning 3113a84826 missing include, from theo 20 years ago
  henning 436da7f7ee correctly track peer count. fixes a memory corruption. 20 years ago
  henning f5548494ff do not try to getaddrinfo() in the unprivileged process, send an imsg 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
  henning d2decbe40d scale query interval based on local clock offset. tested by many 20 years ago
  henning 3266f15dd7 don't try to update the clock when we have no data 20 years ago
  henning 645e5a78aa the child process needs to ignore SIGHUP for now, otto 20 years ago
  henning cf385f93cd rework dns handling with all its cosequences... 20 years ago
  henning 1aa4442f07 when calculating the timeout for poll() we need to take the deadlines for 20 years ago
  henning 9913070411 remove a bogus always-true test before adjtime() 20 years ago
  henning 23963e1ca9 log_debug() when a peer doesn't answer in time 20 years ago
  alexander 353bc5222d * Convert to use the new double-based time handling functions. 20 years ago
  henning 4a8fb608ce yuck, another bad sizeof(). again in code hacked on the Frankfurt->Montreal 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 7cb3db11e2 calculate the median offset from all servers we sync to and call 20 years ago
  alexander 62e55d8051 Precedence and type fix; ok henning@ 20 years ago
  henning c1beef1cf2 size struct pollfd and idx2peer dynamically instead of imposing an arbitary 20 years ago
  henning ed86cbbedb provide most of the client functionality. 20 years ago
  henning 44782aec16 prepare for client functionality 20 years ago
  henning a241c3837c first cut at config file parser 20 years ago
  henning 30613069fb allow ntpd to listen on nearly arbitary number of sockets (OPEN_MAX - 1 atm). 20 years ago
  henning 4859c5eae7 naming consistency 20 years ago
  henning 95c30e89c6 make my japanese friends happy by supporting IPv6 as well 20 years ago
  henning 4ad0cde98b initial cut at ntpd. 20 years ago