244 Commits (c24767cca22f84ffb0acbd01eadfeaa6b5d143fb)

Author SHA1 Message Date
  dtucker 73c6d5ec9f Log source address for 'malformed packet' errors. ok henning@ 19 years ago
  wvdputte 33dc34f1c7 when running ntpd with "-s" as it's argument from /etc/rc.conf, make sure the 19 years ago
  henning 04339771ec on writing, we actually can deal with ENOBUFS just as well as with EAGAIN 19 years ago
  henning 3b0d5b83e8 check for EINTR too after writev(), pt out by Alexander Farber 19 years ago
  dtucker f31cfdaa27 Propogate server's leap indicator flags to clients; ok henning@ 19 years ago
  henning 4cc3be5e18 with -s, do not wait if we don't have any peers at all. 19 years ago
  dtucker 020dd82b59 Skip invalid interfaces during 'listen on *'; ok henning@ 19 years ago
  henning 2d70ef1866 shrink read buffer size from 64k to 4k, this is not bgpd and we're dealing 19 years ago
  henning b315af7289 remove recently added "using privsep user X" message, spams console in -s 19 years ago
  henning 015104437f fix a function name in an error message 19 years ago
  dtucker 98e724b50a More descriptive error if a signal causes the child to exit; ok henning@ 19 years ago
  dtucker c6fbdd6b60 Print privsep user and dir when in debug mode; ok henning@ 19 years ago
  dtucker 4eaa821e76 Print actual error when in debug mode; ok henning@ 19 years ago
  dtucker b5f096de27 add another non-fatal error for recvfrom; ok henning@ 19 years ago
  dtucker f9299bb123 Save transmit time for each peer for later use as refid for SNTPv4 19 years ago
  deraadt f107efab9c we do not do -s in /etc/rc anymore. this is because, even if -s did try to 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
  dtucker f5ecdec08b Ensure previous adjust has completed before clearing alarm flag; ok henning@ 19 years ago
  henning e7bcb5fe62 ifa->ifa_addr can be NULL in some cases, pt out by Kurt Roeckx 19 years ago
  henning 8f835e4902 no need for endpwent(0 here either 19 years ago
  henning 708d2e7376 don't touch *hn in failure case. no real change due to the way we use it 19 years ago
  djm 5a26462171 setres[ug]id; ok deraadt@ 19 years ago
  henning 50e41e169b unify shared code a bit again to make future syncs easier 19 years ago
  henning f2765f2a2f move the "reply from ... " log msg in -d mdoe uop a bit so it actually 19 years ago
  henning 3ce098c434 extra paranoia, from a discussion with joerg 19 years ago
  henning 90903372f9 correctness: only account for offset after settime in next and deadline 19 years ago
  henning d2787fa263 after setting the clock hard correct the "next" and "deadline" timestamps 19 years ago
  henning 7082200ffe prevent replies with negative delay from being used, could happen with -s 19 years ago
  henning 4395949868 zap includes, grunk 20 years ago
  henning b7d0279fa2 zap includes, Alexander von Gernler <grunk@pestilenz.org> 20 years ago
  henning de27be63ae one more fatal/fatalx, alexander 20 years ago
  henning 79255b7f6b fatal vs fatalx, Alexander von Gernler 20 years ago
  henning a71057c067 remove now osolete comment, from a mail exchange with 20 years ago
  henning e0f325591a wpos in struct buf_read and datalen in imsg_get should be size_t and not 20 years ago
  dtucker 0a9920c236 Fixes in ntpd_settime (ie ntpd -s): 20 years ago
  henning 62c3d341a1 nasty: host_dns used to run before forking and chrooting etc, so it was 20 years ago
  henning d40f766737 when, after processing all complete imsgs we found in the buffer, 20 years ago
  henning de3d9906a7 when trying short-circuit the wait for the first reply for -s, only 20 years ago
  deraadt 0539953c14 knf 20 years ago
  henning 9721a5431f from the "shut the fuck up, ntpd" department: 20 years ago
  deraadt 459c93ccc2 missing break spotted by lint 20 years ago
  henning ab6444e263 from the "shut the fuck up, ntpd" department: 20 years ago
  henning 6801136c41 let client_query return 0 if it requested dns resolution 20 years ago
  henning 1b0777efc4 fix error message, Benedikt Steinbusch <bsteinb@hamazone.de> 20 years ago
  henning 6d9ab8b66e when sending a query already returns a failure, we're not going to see 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
  henning 8f4f234d9b KNF 20 years ago
  henning 5ab4c063ff buffer structs and API ssize_t -> size_t; from bgpd 20 years ago