summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/client.c
AgeCommit message (Expand)Author
2013-10-21remove the IPv4-only check for rdomains, allows IPv6 to use themPeter Hessler
2013-10-04Add ntpctl(8), which allows us to query the locally running ntpd(8) processPeter Hessler
2013-04-30Remove unused function argument variables 'len' and 'auth' fromMarcus Glocker
2011-09-21Add rdomain support to NTPd.Peter Hessler
2009-06-24recvmsg ENOENT noncritical tooHenning Brauer
2009-06-17ENOPROTOOPT is non-fatal on recvfrom, can apparently happen with ipvshitHenning Brauer
2009-05-31use the SCM_TIMESTAMP socket option to get the time we received theHenning Brauer
2009-04-22ignore replies with timestamps after 2030 to prevent time_t / tv_sec wrapsHenning Brauer
2009-03-04I should know outside data must be vis(3)'d.Kevin Steves
2009-03-04received refid should not be converted to host byte order; ok henning@Kevin Steves
2009-03-04log reason when not synced; ok henning@Kevin Steves
2008-06-10For IPv6 addresses, return the first 32 bits of the MD5 hash of theChristian Weisgerber
2008-06-10According to the latest SNTPv4 spec in RFC4330, secondary serversChristian Weisgerber
2008-01-28Reconnect a client socket after three consecutive send failures.Marco Pfatschbacher
2007-12-27some fatal() calls that should be fatalx(); ok henning@Kevin Steves
2007-11-22be a bit less aggressive retrying; this keeps the message queueOtto Moerbeek
2007-05-01if resolving a name fails, be more aggressive retrying, but with care:Otto Moerbeek
2007-04-30aggressive spelling fix, spotted by jbgTheo de Raadt
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
2006-10-21in client_nextaddr, check fd != -1 before close, just nicer this wayHenning Brauer
2006-10-21when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETICHenning Brauer
2006-10-21EADDRNOTAVAIL after connect is one of the soft errors where we don't abortHenning Brauer
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2006-06-04Only invalidate stored replies if an adjustment was really made.Otto Moerbeek
2006-05-29When ntpd backs off polling due to a negative delay, tell the user how longChris Kuethe
2006-05-25figure out the refid to send to NTP v3 clients early and store itHenning Brauer
2005-09-24Log source address for 'malformed packet' errors. ok henning@Darren Tucker
2005-08-10Propogate server's leap indicator flags to clients; 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-19use a little state engine to keep track of delayed dns lookups and such,Henning Brauer
2005-04-19move the "reply from ... " log msg in -d mdoe uop a bit so it actuallyHenning Brauer
2005-04-18prevent replies with negative delay from being used, could happen with -sHenning Brauer
2005-03-08let client_query return 0 if it requested dns resolutionHenning Brauer
2005-02-21fix an error messageHenning Brauer
2005-02-03Implement simple duplicate suppression of peer errors; ok henning@Darren Tucker
2005-01-28Simplify interval scaling and randomize query intervals; ok henning@Darren Tucker
2005-01-28Make network unreachable errors non-fatal; ok henning@Darren Tucker
2005-01-27Scale query interval by the overall offset not per-peer offset, so weDarren Tucker
2005-01-27Delay before retrying a query on timeout; ok henning@Darren Tucker
2004-12-15Poll unsynchronized servers at the maximum interval and log a message aboutDarren Tucker
2004-12-15Factor out interval scaling code; ok henning@Darren Tucker
2004-12-14If polling a server results in an error, drop that server to the maximumDarren Tucker
2004-12-13Discard replies with alarm flag set or invalid stratum; ok henning@Darren Tucker
2004-12-09define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ okMichael Shalayeff
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-11-10ntp_adjtime() -> priv_adjtime()Henning Brauer
2004-11-05Use SA_LEN() instead of ss.ss_len. Evaluates to the same result but it'sDarren Tucker
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer