Age | Commit message (Collapse) | Author | |
---|---|---|---|
2004-12-23 | KNF | Henning Brauer | |
2004-12-22 | d can be negative, take that into account when comparing to the logging | Henning Brauer | |
threshold. spotted by Constantine Murenin <mureninc@gmail.com>, mickey ok | |||
2004-12-22 | Save original value returned by getifaddrs to free later; ok henning@ | Darren Tucker | |
2004-12-22 | if our first getpwnam(), testing for NTPD_USER, succeeded, but the second | Henning Brauer | |
returns NULL, we don't need loooong explanations, but at least some indicator what went wrong, From: Michael Knudsen <e@molioner.dk> | |||
2004-12-20 | some typos in log messages. | Moritz Jodeit | |
ok henning@ | |||
2004-12-16 | Limit the number of addresses used by the 'servers' directive to 8; ok henning@ | Darren Tucker | |
2004-12-15 | Poll unsynchronized servers at the maximum interval and log a message about | Darren Tucker | |
them when in debug mode; ok henning@ | |||
2004-12-15 | Factor out interval scaling code; ok henning@ | Darren Tucker | |
2004-12-14 | If polling a server results in an error, drop that server to the maximum | Darren Tucker | |
poll interval; ok henning@ | |||
2004-12-14 | sendto() takes socklen_t as an argument; ok henning@ | Darren Tucker | |
2004-12-13 | Sanity check owner and permissions of privsep directory, like sshd does; | Darren Tucker | |
ok henning@ | |||
2004-12-13 | Check for error status from poll() too; ok henning@ | Darren Tucker | |
2004-12-13 | Discard replies with alarm flag set or invalid stratum; ok henning@ | Darren Tucker | |
2004-12-10 | typos, then -> than, from Michael Knudsen | Jared Yanovich | |
2004-12-09 | define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ ok | Michael Shalayeff | |
2004-12-08 | use two tiny macros for copying fields out to simplify reading; henning@ ok | Michael Shalayeff | |
2004-12-08 | uniquely name members of s_fixedpt and l_fixedpt; henning@ ok | Michael Shalayeff | |
2004-12-07 | tweaks; | Jason McIntyre | |
2004-12-06 | do not log tiny local clock drifts; w/ help from Joerg Sonnenberger ↵ | Michael Shalayeff | |
<joerg@britannica.bec.de>; henning@ ok | |||
2004-12-06 | ensure the most excellent alignment in the structs; henning@ ok | Michael Shalayeff | |
2004-11-25 | fix "listen on hostname" | Henning Brauer | |
fallout from the deferred dns lookups noticed by dhartmei@ | |||
2004-11-12 | some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de> | Henning Brauer | |
2004-11-10 | ntp_adjtime() -> priv_adjtime() | Henning Brauer | |
ntp_settime() -> priv_settime() ntp_host_dns() -> priv_host_dns() | |||
2004-11-10 | const'ify conffile | Henning Brauer | |
From: Joerg Sonnenberger <joerg@britannica.bec.de> | |||
2004-11-08 | Advice user to use multiple servers. Prodded by Daniel Polak, help and ok jmc@ | Otto Moerbeek | |
ok henning@ | |||
2004-11-07 | document that keywords can be specified multiple times; | Jason McIntyre | |
from otto and myself; prodded by henning; | |||
2004-11-05 | Use SA_LEN() instead of ss.ss_len. Evaluates to the same result but it's | Darren Tucker | |
easier on portable. ok henning@ | |||
2004-11-05 | memleaks in error pathes, patrick latifi, Thanks! | Henning Brauer | |
2004-11-04 | use SIG_DFL instead of SIG_IGN when we are not interested in SIG_CHILD | Henning Brauer | |
anymore, same thing for us and it makes darren's life easier for the portable | |||
2004-11-02 | superfluous comma, From: James Herbert <lists@artyzan.net> | Henning Brauer | |
2004-10-27 | Calculate Hz and round up; ok henning@ | Darren Tucker | |
2004-10-27 | use clock_getres(3) and calculate precision from that, and fill the | Henning Brauer | |
precision field when we reply in server mode accordingly. from phessler | |||
2004-10-22 | oups | Henning Brauer | |
2004-10-22 | in server mode reply with stratum from the peer that we currently prefer | Henning Brauer | |
plus one | |||
2004-10-15 | Only set IPTOS_LOWDELAY on IPv4 interfaces; pointed out by phessler, ok henning | Darren Tucker | |
2004-10-14 | Have ntpd use IPTOS_LOWDELAY; ok henning@ | Darren Tucker | |
2004-10-13 | set rootdelay in replies. | Henning Brauer | |
inherit rootdelay from the delay from the last client update from the peer that we picked last time to adjust the local clock. in some cases we use the average offset between two peers' client updates, then use the average delay between the two as well. | |||
2004-10-13 | in struct ntp_msg, rename "distance" to "rootdelay" to closer match RFCs | Henning Brauer | |
and such | |||
2004-10-13 | thinko, htonl() -> ntohl(). as we don't use the value in question effect zero | Henning Brauer | |
2004-10-13 | fall cleaning | Henning Brauer | |
2004-10-13 | correctly set refid in replies with NTP protocol versions < 4. | Henning Brauer | |
code path for NTP4 remains unchanged, we already set refid correctly there. NTP3 and older uses an IPv4 address as refid. use the IP of the server we last synced to if it was a IPv4 one. sometimes we use the average offset between two, in that case just pick one for the IP. this scheme naturally fails when we query IPv6 servers and have to reply to IPv4 NTP3 (or even older NTP versions) clients - refid stays at 0 then. this is a protocol limitation, nothing we can do about it. | |||
2004-10-13 | when we get back a IMSG_HOST_DNS message from the parent the peer ID within | Henning Brauer | |
might have become invalid (because the peer showed up, dns request sent to parent, peer vanishes, and then the reply comes back), so do not fatal() in that case but just log_warnx(). provoked by brad | |||
2004-10-08 | whitespace both in comment; from bernd | Henning Brauer | |
2004-10-05 | in client_addr_init() and client_nextaddr(), do not set up the socket and | Henning Brauer | |
connect it, instead leave it at -1. in client_query, set up and connect the socket if it is -1. and, the real reason for this change: handle connect failures gracefully ok otto | |||
2004-10-04 | do not take the average offset from all peers when calculating the total | Henning Brauer | |
offset to correct the local clock, but use the median. given a reasonable sized set of servers this makes us nearly immune against outliers or flasetickers, without the need for a horribly complicated outliers detection which does not yield to better results anyway. test & ok otto | |||
2004-09-30 | now that we connect() the client sockets we need to handle ECONNREFUSED as | Henning Brauer | |
non-fatal too, from camield@ | |||
2004-09-24 | connect() the client-side sockets. idea & test & ok camield@ | Henning Brauer | |
2004-09-23 | reset chld_pid to 0 when acting upon a SIGCHLD so we don't try to send it | Henning Brauer | |
a kill then - tiny possible race there pointed out by Brian Poole <raj@cerias.purdue.edu> | |||
2004-09-18 | greatly improved by jmc with some tweaks by yours truly | Henning Brauer | |
2004-09-18 | jmc says S before s and not s before S, sssssssso we do. | Henning Brauer | |