summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2015-02-10Add support for "constraints": when configured, ntpd(8) will query theReyk Floeter
2015-02-10be more verbose when logging privsep errors.Brent Cook
2015-01-13prefer sizeof(thing) to sizeof(type)Brent Cook
2015-01-09remove excessive/wrong use of sys/param.hTheo de Raadt
2015-01-04use MAXIMUM as the canonical local MAX macro.Brent Cook
2015-01-04don't rely on sys/param.h having a MAX macro.Brent Cook
2015-01-04Remove the unused dns_pid variable.Brent Cook
2014-10-08easy realloc() -> reallocarray() which gives us mult int overflow checkingTheo de Raadt
2013-11-13from sthen: handle msgbuf_write() returning EAGAINSebastian Benoit
2013-10-04Add ntpctl(8), which allows us to query the locally running ntpd(8) processPeter Hessler
2013-09-28Resolve the uncertainty in the REFID assignment.Peter Hessler
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