summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2018-07-19revert previous, something isn't quite right as clients see ntpdStuart Henderson
2018-07-12if we couldn't update the clock for ~1h due to lack of data from peers andHenning Brauer
2017-05-30add option "query from <ip>" to ntpd.conf, to specify a local IPSebastian Benoit
2017-01-20add logging messages to distinguish which safty check failedPeter Hessler
2016-09-26Teach ntpd(8) how to use socket status to shutdown the daemon. While atRafael Zalamena
2016-09-14Teach ntpd(8) how to fork+exec.Rafael Zalamena
2016-09-03Remove the oh so funny "LOSS OF MIND" from the diclaimer that was notReyk Floeter
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