Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-06-10 | For IPv6 addresses, return the first 32 bits of the MD5 hash of the | Christian Weisgerber | |
address as ref ID (RFC4330). ok henning@ | |||
2008-06-10 | According to the latest SNTPv4 spec in RFC4330, secondary servers | Christian Weisgerber | |
return the address of the synchronization source as reference identification. Remove the obsolete special casing specified in RFC2030. ok henning@ | |||
2008-01-28 | Reconnect a client socket after three consecutive send failures. | Marco Pfatschbacher | |
This allows recovery after an IP address change (e.g. on dialup links). Also move the update of "nextaction" timeout below the deadline check. OK henning@ | |||
2007-12-27 | some fatal() calls that should be fatalx(); ok henning@ | Kevin Steves | |
2007-11-22 | be a bit less aggressive retrying; this keeps the message queue | Otto Moerbeek | |
empty while in the -s period, so the poll timeout actually times out if there are no interfaces available. ok henning@ | |||
2007-05-01 | if resolving a name fails, be more aggressive retrying, but with care: | Otto Moerbeek | |
do not have more than one dns request outstanding per peer. resolves slow recovery when resolving fails initially, without clogging the pipe with lots of dns requests; tested by Jason George; ok deraadt@ | |||
2007-04-30 | aggressive spelling fix, spotted by jbg | Theo de Raadt | |
2006-10-27 | use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasing | Henning Brauer | |
time, and make ntpd use that to send the next uery to an ntp peer and the like. this has the advantage that changes to the clock do not interfere with the intervals. for example, when we start on machines without an RTC and the initial settime (-s) kicks in, intervals were strange. idea from amandal@entrisphere.com, this implementation by me tested ckuethe, phessler, mbalmer, ok mbalmer | |||
2006-10-21 | in client_nextaddr, check fd != -1 before close, just nicer this way | Henning Brauer | |
From: amandal@entrisphere.com | |||
2006-10-21 | when ntp_sendmsg fails, reset trustlevel to TRUSTLEVEL_PATHETIC | Henning Brauer | |
From: amandal@entrisphere.com | |||
2006-10-21 | EADDRNOTAVAIL after connect is one of the soft errors where we don't abort | Henning Brauer | |
too. from amandal@entrisphere.com | |||
2006-06-07 | Compensate old offsets with the amount of adjustment done, avoiding | Otto Moerbeek | |
overcompensating. From DragonFly, uses recent adjtime(2) changes, so you'll need a recent kernel. ok henning@ | |||
2006-06-04 | Only invalidate stored replies if an adjustment was really made. | Otto Moerbeek | |
ok henning@ | |||
2006-05-29 | When ntpd backs off polling due to a negative delay, tell the user how long | Chris Kuethe | |
it will wait until the next poll. ok henning@ | |||
2006-05-25 | figure out the refid to send to NTP v3 clients early and store it | Henning Brauer | |
first bits from a way to long flight | |||
2005-09-24 | Log source address for 'malformed packet' errors. ok henning@ | Darren Tucker | |
2005-08-10 | Propogate server's leap indicator flags to clients; ok henning@ | Darren Tucker | |
2005-07-11 | Print actual error when in debug mode; ok henning@ | Darren Tucker | |
2005-07-06 | add another non-fatal error for recvfrom; ok henning@ | Darren Tucker | |
2005-07-05 | Save transmit time for each peer for later use as refid for SNTPv4 | Darren Tucker | |
replies. ok henning@ | |||
2005-06-19 | use a little state engine to keep track of delayed dns lookups and such, | Henning Brauer | |
eases things tested by Jason Ackley <jason@ackley.net> Matthias Kilian <kili@outback.escape.de> Stephen Marley <stephen@marley.org.uk> sturm@ theo ok | |||
2005-04-19 | move the "reply from ... " log msg in -d mdoe uop a bit so it actually | Henning Brauer | |
comes before the "adjusting local clock by..." one, joerg | |||
2005-04-18 | prevent replies with negative delay from being used, could happen with -s | Henning Brauer | |
From: Joerg Sonnenberger <joerg@britannica.bec.de> of dragonfly | |||
2005-03-08 | let client_query return 0 if it requested dns resolution | Henning Brauer | |
2005-02-21 | fix an error message | Henning Brauer | |
2005-02-03 | Implement simple duplicate suppression of peer errors; ok henning@ | Darren Tucker | |
2005-01-28 | Simplify interval scaling and randomize query intervals; ok henning@ | Darren Tucker | |
2005-01-28 | Make network unreachable errors non-fatal; ok henning@ | Darren Tucker | |
2005-01-27 | Scale query interval by the overall offset not per-peer offset, so we | Darren Tucker | |
don't query outliers more often than any other server. ok henning@ | |||
2005-01-27 | Delay before retrying a query on timeout; 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-13 | Discard replies with alarm flag set or invalid stratum; ok henning@ | Darren Tucker | |
2004-12-09 | define TRUSTLEVEL_MAX for the trustedlevel value of 10; henning@ ok | Michael Shalayeff | |
2004-12-08 | uniquely name members of s_fixedpt and l_fixedpt; henning@ ok | Michael Shalayeff | |
2004-11-10 | ntp_adjtime() -> priv_adjtime() | Henning Brauer | |
ntp_settime() -> priv_settime() ntp_host_dns() -> priv_host_dns() | |||
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-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 | 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-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-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-18 | add a new -s option, that tells ntpd to set the time using settimeofday() | Henning Brauer | |
once at startup. ntpd delays daemonizing until it has done the intial time setting (or ran into the timeout) in this mode to make sure stuff started later in rc is not subject to time jumps. this eleminates the need to run rdate -n beforehands. with some input from & ok ryan and bob, march music from mickey | |||
2004-09-14 | paranoia: reset query->fd to -1 after close, from canacar some time ago | Henning Brauer | |
2004-08-16 | Be more careful setting next and deadline, they should not both be != 0 | Otto Moerbeek | |
at the same time. ok henning@ |