summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/client.c
AgeCommit message (Expand)Author
2004-10-13in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCsHenning Brauer
2004-10-13thinko, htonl() -> ntohl(). as we don't use the value in question effect zeroHenning Brauer
2004-10-08whitespace both in comment; from berndHenning Brauer
2004-10-05in client_addr_init() and client_nextaddr(), do not set up the socket andHenning Brauer
2004-09-30now that we connect() the client sockets we need to handle ECONNREFUSED asHenning Brauer
2004-09-24connect() the client-side sockets. idea & test & ok camield@Henning Brauer
2004-09-18add a new -s option, that tells ntpd to set the time using settimeofday()Henning Brauer
2004-09-14paranoia: reset query->fd to -1 after close, from canacar some time agoHenning 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-07-28when a dns lookup fails at parse time, do not abort but try againHenning 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-11Start collecting the remote server state along with the calculatedAlexander 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-09don't panic when sendto() fails; for the client part just re-scheduleHenning Brauer
2004-07-09rework dns handling with all its cosequences...Henning Brauer
2004-07-08lof replies with log_debug so one gets increased verbosity when inHenning Brauer
2004-07-07RFC 2030 is incorrect with regards to the computation of the delay valueAlexander Guy
2004-07-07don't log every single reply we receive and log local clock adjustemt nicerHenning Brauer
2004-07-07knf!Theo de Raadt
2004-07-07if the cookie in the received packet doesn't match discard it silently;Henning Brauer
2004-07-07keep a "trustlevel" per peer. loose credit for loosing a packet, looseHenning Brauer
2004-07-06Implement the clock filter as descirbed by David Mills:Henning Brauer
2004-07-06when we received a apcket with incorrect cookie log from whom as wellHenning Brauer
2004-07-06log host packet was received from (originally using a long convolutedJason Wright
2004-07-06initialize the variables that track the offset array; ok henning@Christian Weisgerber
2004-07-05keep last 8 offset,delay pairs - we'll need them for the clock filters later.Henning Brauer
2004-07-05delay, not errorHenning Brauer
2004-07-04put interval defines in ntpd.h and name them consistentlyHenning Brauer
2004-07-04simplify slightlyHenning Brauer
2004-07-04Compute the local clock offset from the server's response.Alexander Guy
2004-07-03wrong struct calloc'ed; ok henning@Alexander Guy
2004-06-17provide most of the client functionality.Henning Brauer