summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
2006-05-28let sensor_query handle removals itselfHenning Brauer
2006-05-28DV_SENSORS is no more, plug workaround for the time to the real solutionHenning Brauer
2006-05-27stop passing the config around all time, just store one copyHenning Brauer
2006-05-27make ntpd listen on the hotplug socket and decode yadda yadda, becauseHenning Brauer
2006-05-27scan for new timedelta sensors every five minutes for now, ok deraadtHenning Brauer
2006-05-26add support for timedelta sensors, which pretty much means udcf(4) rightHenning Brauer
2006-05-25more bits from transatlanic flight:Henning Brauer
2006-05-25figure out the refid to send to NTP v3 clients early and store itHenning Brauer
2006-05-14PFD_MAX betterer than harcoded 1Henning Brauer
2005-08-10Propogate server's leap indicator flags to clients; ok henning@Darren Tucker
2005-08-08with -s, do not wait if we don't have any peers at all.Henning Brauer
2005-07-15remove recently added "using privsep user X" message, spams console in -sHenning Brauer
2005-07-15fix a function name in an error messageHenning Brauer
2005-07-11Print privsep user and dir when in debug mode; 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-05-26Ensure previous adjust has completed before clearing alarm flag; ok henning@Darren Tucker
2005-05-23no need for endpwent(0 here eitherHenning Brauer
2005-05-03setres[ug]id; ok deraadt@Damien Miller
2005-04-18correctness: only account for offset after settime in next and deadlineHenning Brauer
2005-04-18after setting the clock hard correct the "next" and "deadline" timestampsHenning Brauer
2005-03-24one more fatal/fatalx, alexanderHenning Brauer
2005-03-08when trying short-circuit the wait for the first reply for -s, onlyHenning Brauer
2005-03-08knfTheo de Raadt
2005-03-08missing break spotted by lintTheo de Raadt
2005-02-22when sending a query already returns a failure, we're not going to seeHenning Brauer
2005-02-02KNFHenning Brauer
2005-01-28Simplify interval scaling and randomize query intervals; 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-22if our first getpwnam(), testing for NTPD_USER, succeeded, but the secondHenning Brauer
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-11-12some missing includes, from Joerg Sonnenberger <joerg@britannica.bec.de>Henning Brauer
2004-11-10ntp_adjtime() -> priv_adjtime()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-22in server mode reply with stratum from the peer that we currently preferHenning Brauer
2004-10-13set rootdelay in replies.Henning 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-04do not take the average offset from all peers when calculating the totalHenning 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-15imsg framework cleanup:Henning Brauer
2004-09-15malloc the imsg buffers instead of having them statically, suggested byHenning Brauer
2004-09-15unused variables, theoHenning Brauer
2004-09-15missing include, from theoHenning Brauer