summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2006-01-19Do not attempt to listen on interfaces with a wildcard address; ok henning@Darren Tucker
2006-01-19Check SA_LEN(sa) after sa is checked for NULL. Pointed out by solar atDarren Tucker
2005-09-24Log source address for 'malformed packet' errors. ok henning@Darren Tucker
2005-09-06when running ntpd with "-s" as it's argument from /etc/rc.conf, make sure theWim Vandeputte
2005-08-11on writing, we actually can deal with ENOBUFS just as well as with EAGAINHenning Brauer
2005-08-11check for EINTR too after writev(), pt out by Alexander FarberHenning Brauer
2005-08-10Propogate server's leap indicator flags to clients; ok henning@Darren Tucker
2005-08-08with -s, do not wait if we don't have any peers at all.Henning Brauer
2005-07-22Skip invalid interfaces during 'listen on *'; ok henning@Darren Tucker
2005-07-15shrink read buffer size from 64k to 4k, this is not bgpd and we're dealingHenning Brauer
2005-07-15remove recently added "using privsep user X" message, spams console in -sHenning Brauer
2005-07-15fix a function name in an error messageHenning Brauer
2005-07-11More descriptive error if a signal causes the child to exit; ok henning@Darren Tucker
2005-07-11Print privsep user and dir when in debug mode; ok henning@Darren Tucker
2005-07-11Print actual error when in debug mode; ok henning@Darren Tucker
2005-07-06add another non-fatal error for recvfrom; ok henning@Darren Tucker
2005-07-05Save transmit time for each peer for later use as refid for SNTPv4Darren Tucker
2005-06-21we do not do -s in /etc/rc anymore. this is because, even if -s did try toTheo de Raadt
2005-06-19use a #define for the time to wait on -s and clarify a log msgHenning Brauer
2005-06-19use a little state engine to keep track of delayed dns lookups and such,Henning Brauer
2005-05-26Ensure previous adjust has completed before clearing alarm flag; ok henning@Darren Tucker
2005-05-24ifa->ifa_addr can be NULL in some cases, pt out by Kurt RoeckxHenning Brauer
2005-05-23no need for endpwent(0 here eitherHenning Brauer
2005-05-11don't touch *hn in failure case. no real change due to the way we use itHenning Brauer
2005-05-03setres[ug]id; ok deraadt@Damien Miller
2005-04-26unify shared code a bit again to make future syncs easierHenning Brauer
2005-04-19move the "reply from ... " log msg in -d mdoe uop a bit so it actuallyHenning Brauer
2005-04-18extra paranoia, from a discussion with joergHenning Brauer
2005-04-18correctness: only account for offset after settime in next and deadlineHenning Brauer
2005-04-18after setting the clock hard correct the "next" and "deadline" timestampsHenning Brauer
2005-04-18prevent replies with negative delay from being used, could happen with -sHenning Brauer
2005-03-31zap includes, grunkHenning Brauer
2005-03-31zap includes, Alexander von Gernler <grunk@pestilenz.org>Henning Brauer
2005-03-24one more fatal/fatalx, alexanderHenning Brauer
2005-03-24fatal vs fatalx, Alexander von GernlerHenning Brauer
2005-03-23remove now osolete comment, from a mail exchange withHenning Brauer
2005-03-23wpos in struct buf_read and datalen in imsg_get should be size_t and notHenning Brauer
2005-03-13Fixes in ntpd_settime (ie ntpd -s):Darren Tucker
2005-03-09nasty: host_dns used to run before forking and chrooting etc, so it wasHenning Brauer
2005-03-09when, after processing all complete imsgs we found in the buffer,Henning Brauer
2005-03-08when trying short-circuit the wait for the first reply for -s, onlyHenning Brauer
2005-03-08knfTheo de Raadt
2005-03-08from the "shut the fuck up, ntpd" department:Henning Brauer
2005-03-08missing break spotted by lintTheo de Raadt
2005-03-08from the "shut the fuck up, ntpd" department:Henning Brauer
2005-03-08let client_query return 0 if it requested dns resolutionHenning Brauer
2005-03-06fix error message, Benedikt Steinbusch <bsteinb@hamazone.de>Henning Brauer
2005-02-22when sending a query already returns a failure, we're not going to seeHenning Brauer
2005-02-21fix an error messageHenning Brauer
2005-02-03Implement simple duplicate suppression of peer errors; ok henning@Darren Tucker