summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2004-09-15kill another unused function and two debugging printfsHenning Brauer
2004-09-15remove the unused variable/macro code, ok theoHenning Brauer
2004-09-15unused variables, theoHenning Brauer
2004-09-15missing include, from theoHenning Brauer
2004-09-15remove buf_write(), not used in ntpd. found by theoHenning Brauer
2004-09-14paranoia: reset query->fd to -1 after close, from canacar some time agoHenning Brauer
2004-09-09correctly track peer count. fixes a memory corruption.Henning Brauer
2004-09-07ignore ntp_sendmsg()s return value in server_dispatch. could result inHenning Brauer
2004-08-30don't forget to set *hn... theo okHenning Brauer
2004-08-30skip early DNS lookups -- they are deferred to later; ok otto ho henningTheo de Raadt
2004-08-30ENOBUFS, EHOSTUNREACH, ENETDOWN and EHOSTDOWN are bad reasons to log; ok otto...Theo de Raadt
2004-08-24don't fatal() if getaddrinfo() returns EAI_NONAMEHenning Brauer
2004-08-16Be more careful setting next and deadline, they should not both be != 0Otto Moerbeek
2004-08-13Reset deadline on failed transmit. Avoids a spinning process ifOtto Moerbeek
2004-08-12do not try to getaddrinfo() in the unprivileged process, send an imsgHenning Brauer
2004-08-10order #includes, Brian Poole <raj@cerias.purdue.edu>Henning Brauer
2004-08-10wrong sizeof; Brian Poole <raj@cerias.purdue.edu>Henning Brauer
2004-08-10in the pool case ("servers somepool.somewhere"), we add new peers whileHenning Brauer
2004-08-10move memory allocation for new peers into a new function, makes ID allocationHenning Brauer
2004-07-29keep an ID per server we talk toHenning Brauer
2004-07-28prevent unresolvable hostnames in "listen on" statementsHenning Brauer
2004-07-28when a dns lookup fails at parse time, do not abort but try againHenning Brauer
2004-07-25remove unused functionHenning Brauer
2004-07-21no multiple free(); "John L. Scarfone" <j0@cox.net>Henning Brauer
2004-07-20wrap the heads for the linked list of addresses into a new ntp_addr_wrapHenning Brauer
2004-07-18there are a few recvfrom(2) errors we do not want to panic onHenning Brauer
2004-07-18query interval scaling, episode IIHenning Brauer
2004-07-14do not do the stratum guessing dance.Henning Brauer
2004-07-13tweaks; ok henning@Jason McIntyre
2004-07-13Respond to client queries with better server statistics. We now outputAlexander Guy
2004-07-13ignore obviously malformed queries; ok henning@Alexander Guy
2004-07-13liek bgpd, use a socketpair(2) instead of a pipe(2)Henning Brauer
2004-07-12Add missing newlinesDarren Tucker
2004-07-12Replace errx with equivalent fprintf+exit to make porting easier; ok henning@Darren Tucker
2004-07-11Use SA_LEN(sa) instead of sa->sa_len; ok henning@Darren Tucker
2004-07-11Start collecting the remote server state along with the calculatedAlexander Guy
2004-07-10KNF; ok henning@Alexander Guy
2004-07-10short fixed point <-> double conversion routines; ok henning@Alexander Guy
2004-07-10correct leap indicator mask; ok henning@Alexander Guy
2004-07-10missing {}Henning Brauer
2004-07-10check wether we have enough data to form a peer update on receiptionHenning Brauer
2004-07-10oupsHenning Brauer
2004-07-10scale query interval based on local clock offset. tested by manyHenning Brauer
2004-07-09make lint a wee bit happierTheo de Raadt
2004-07-09make date(1), rdate(8), ntpd(8), and timed(8) .Xr themselves;Jason McIntyre
2004-07-09Do not forget to initialize head. ok henning@Otto Moerbeek
2004-07-09too chatty; ok henningTheo de Raadt
2004-07-09don't panic when sendto() fails; for the client part just re-scheduleHenning Brauer
2004-07-09don't try to update the clock when we have no dataHenning Brauer
2004-07-09various cleanup:Jared Yanovich