summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2011-09-21Add rdomain support to NTPd.Peter Hessler
2011-06-17close pipe_prnt[0] earlier, foremost before forking the dns processHenning Brauer
2011-06-16clamp stratum to NTP_MAXSTRATUM. lingering in my tree for ages. someone likelyHenning Brauer
2009-06-11effectively un-do r1.111, it fucks machines with bad clocks royally.Henning Brauer
2009-06-06If ntpd decides the clock has become unsynced, reset the number of savedChris Kuethe
2009-06-06make ntpd imsg-in-a-lib ready as well. extensive testing done, noPierre-Yves Ritschard
2009-06-04After calling adjfreq to correct the clock's rate, measure and fix the clockChris Kuethe
2009-01-26use monotime instead of wallclock for the report thing as wellHenning Brauer
2008-12-10Correctly skip the internal fd when checking the server sockets. Use PFD_MAXClaudio Jeker
2008-10-02in priv_settime(), we must not adjust the 'next' timestamps on their forHenning Brauer
2008-09-12move dns lookups to its own (privilege revoking, not chrooting) process.Henning Brauer
2008-06-10According to the latest SNTPv4 spec in RFC4330, secondary serversChristian Weisgerber
2008-06-08Don't ignore a slightly unresponsive server for an hour, 5 minutes is enough.Chris Kuethe
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