summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2008-04-13Use arc4random_buf() when requesting more than a single word of outputDamien Miller
2008-01-28Reconnect a client socket after three consecutive send failures.Marco Pfatschbacher
2007-12-27some fatal() calls that should be fatalx(); ok henning@Kevin Steves
2007-12-22just call getpwnam(NTPD_USER) once; ok henning@Kevin Steves
2007-10-15Allow ntpd to report the status of peers and sensors to syslog. ThisOtto Moerbeek
2007-08-04This diff makes ntpd poll for sensors more aggressively when the use ofChris Kuethe
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
2007-01-14Esape from the Mouth of Madness by adjusting stored sensor offsetsOtto Moerbeek
2006-12-20let ntpd use sensors immediately after system boot by special casingHenning Brauer
2006-11-30Allow sensors in a sensors-only configuration to set the time at startup.Chris Kuethe
2006-10-27use clock_gettime(CLOCK_MONOTONIC, ..) to get a monotonically increasingHenning Brauer
2006-10-24timedelta sensors are usually updated very often, but we used to queryHenning Brauer
2006-10-21 Found that even if client fd (i.e to NTP source) is set toHenning Brauer
2006-07-01remove some unneeded includes; one found by vetinariOtto Moerbeek
2006-06-30spacesTheo de Raadt
2006-06-26increase polling intervbal, but only after we are synced and have doneOtto Moerbeek
2006-06-21avoid a race by installing SIGCHLD handler before fork() is called.Otto Moerbeek
2006-06-17Import frequency conrrection code from dragonfly, whith some changes:Otto Moerbeek
2006-06-09set session id and init logging in -s mode. tested by david@ and matthieu@;Otto Moerbeek
2006-06-08simplify; ok henning@Otto Moerbeek
2006-06-07Compensate old offsets with the amount of adjustment done, avoidingOtto Moerbeek
2006-06-04Only invalidate stored replies if an adjustment was really made.Otto Moerbeek
2006-06-02incredibly stupid typoHenning Brauer
2006-06-01When expanding servers, do not forget to copy weight. ok henning@Otto Moerbeek
2006-06-01urgs, other stuff snuck inHenning Brauer
2006-06-01put back regular sensors scanningHenning Brauer
2006-05-31only actually run sensor_query when it is due, not every time poll returnsHenning Brauer
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