summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
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
2004-10-13correctly set refid in replies with NTP protocol versions < 4.Henning Brauer
2004-10-13when we get back a IMSG_HOST_DNS message from the parent the peer ID withinHenning 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-10-04do not take the average offset from all peers when calculating the totalHenning 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-23reset chld_pid to 0 when acting upon a SIGCHLD so we don't try to send itHenning Brauer
2004-09-18greatly improved by jmc with some tweaks by yours trulyHenning Brauer
2004-09-18jmc says S before s and not s before S, sssssssso we do.Henning Brauer
2004-09-18implement -S to override earlier -s, requested by theoHenning Brauer
2004-09-18say when we run settimeofday() with -s and when not, help from bobHenning Brauer
2004-09-18don't call settimeofday() when the offset is smaller than 180 seconds,Henning Brauer
2004-09-18add a new -s option, that tells ntpd to set the time using settimeofday()Henning Brauer
2004-09-18do not bother overallocating and shrinking the pfd and idx2peer arrays,Henning Brauer
2004-09-16the "type" param to imsg_compose and imsg_create is really anHenning Brauer
2004-09-16in imsg_compose:Henning Brauer
2004-09-16use imsg_add instead of the lower level buf_add in imsg_create; it alreadyHenning Brauer
2004-09-16ewps...Henning Brauer
2004-09-15need buf_free() to free buf, free() is not good enoughHenning Brauer
2004-09-15imsg framework cleanup:Henning Brauer
2004-09-15malloc the imsg buffers instead of having them statically, suggested byHenning Brauer
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