summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2015-12-19Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.Reyk Floeter
2015-12-05EAGAIN handling for imsg_read. OK henning@ benno@Claudio Jeker
2015-10-30Remove support for sending status reports to syslog on SIGINFO;Reyk Floeter
2015-10-23Allowing upstream servers of ntp being in multiple routing tables isPeter Hessler
2015-10-12Move execution of the constraints from the ntp to the parent process.Reyk Floeter
2015-10-09the ntp engine can run with "stdio inet proc". For many reasons,Theo de Raadt
2015-08-14When checking whether we should scan the sensors again use <= ratherTodd C. Miller
2015-07-18replace _PATH_DEVNULL with "/dev/null", assume it will not moveBrent Cook
2015-07-18replace bzero with memsetBrent Cook
2015-05-25only scan sensors if they are configuredTheo de Raadt
2015-05-20Remove hotplug(4) sensor support: the code has been disabled byReyk Floeter
2015-03-02remove unused variableBrent Cook
2015-02-12Use ntpd's deferred DNS resolving for constraints as well. ThisReyk Floeter
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