summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2005-02-21fix an error messageHenning Brauer
2005-02-03Implement simple duplicate suppression of peer errors; ok henning@Darren Tucker
2005-02-02KNFHenning Brauer
2005-02-02buffer structs and API ssize_t -> size_t; from bgpdHenning Brauer
2005-02-02usage() is __deadHenning Brauer
2005-01-28Simplify interval scaling and randomize query intervals; ok henning@Darren Tucker
2005-01-28fatal() if daemon() fails, Alexander von Gernler <grunk@pestilenz.org>Henning Brauer
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-23KNFHenning Brauer
2004-12-22d can be negative, take that into account when comparing to the loggingHenning Brauer
2004-12-22Save original value returned by getifaddrs to free later; ok henning@Darren Tucker
2004-12-22if our first getpwnam(), testing for NTPD_USER, succeeded, but the secondHenning Brauer
2004-12-20some typos in log messages.Moritz Jodeit
2004-12-16Limit the number of addresses used by the 'servers' directive to 8; 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-14sendto() takes socklen_t as an argument; ok henning@Darren Tucker
2004-12-13Sanity check owner and permissions of privsep directory, like sshd does;Darren Tucker
2004-12-13Check for error status from poll() too; ok henning@Darren Tucker
2004-12-13Discard replies with alarm flag set or invalid stratum; ok henning@Darren Tucker
2004-12-10typos, then -> than, from Michael KnudsenJared Yanovich
2004-12-09define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ okMichael Shalayeff
2004-12-08use two tiny macros for copying fields out to simplify reading; henning@ okMichael Shalayeff
2004-12-08uniquely name members of s_fixedpt and l_fixedpt; henning@ okMichael Shalayeff
2004-12-07tweaks;Jason McIntyre
2004-12-06do not log tiny local clock drifts; w/ help from Joerg Sonnenberger <joerg@br...Michael Shalayeff
2004-12-06ensure the most excellent alignment in the structs; henning@ okMichael Shalayeff
2004-11-25fix "listen on hostname"Henning Brauer
2004-11-12some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>Henning Brauer
2004-11-10ntp_adjtime() -> priv_adjtime()Henning Brauer
2004-11-10const'ify conffileHenning Brauer
2004-11-08Advice user to use multiple servers. Prodded by Daniel Polak, help and ok jmc@Otto Moerbeek
2004-11-07document that keywords can be specified multiple times;Jason McIntyre
2004-11-05Use SA_LEN() instead of ss.ss_len. Evaluates to the same result but it'sDarren Tucker
2004-11-05memleaks in error pathes, patrick latifi, Thanks!Henning Brauer
2004-11-04use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILDHenning Brauer
2004-11-02superfluous comma, From: James Herbert <lists@artyzan.net>Henning Brauer
2004-10-27Calculate Hz and round up; ok henning@Darren Tucker
2004-10-27use clock_getres(3) and calculate precision from that, and fill theHenning Brauer
2004-10-22oupsHenning Brauer
2004-10-22in server mode reply with stratum from the peer that we currently preferHenning Brauer
2004-10-15Only set IPTOS_LOWDELAY on IPv4 interfaces; pointed out by phessler, ok henningDarren Tucker
2004-10-14Have ntpd use IPTOS_LOWDELAY; ok henning@Darren Tucker
2004-10-13set rootdelay in replies.Henning Brauer
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-13fall cleaningHenning Brauer