summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/ntp.c
AgeCommit message (Expand)Author
2022-03-24Plus a small leak found by jmatthew; ok millert@Otto Moerbeek
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2020-09-11If we get messages but they are not ntp replies (e.g. caused byOtto Moerbeek
2020-08-30If no replies are received for a while due to connectivity issuesOtto Moerbeek
2020-06-22When the main process exits, it closes the pipe so a read 0 occurs.Otto Moerbeek
2020-04-11Zap double definition of conf and make ibuf_dns static to avoid doubleOtto Moerbeek
2020-02-12If constraints are configured but do not work for whatever reason ntpdOtto Moerbeek
2019-11-11Also implement "trusted" for sensors; do not do constraint validationOtto Moerbeek
2019-11-10Introduce a "trusted" modifier, for peers that should be on a local netOtto Moerbeek
2019-11-10- validate sensor values against constraintsOtto Moerbeek
2019-07-161) Re-resolve and re-get constraints once the clock is synced. ConstraintsOtto Moerbeek
2019-07-07Sometimes ntp peers are unreliable (looking at you pool.ntp.org!)Otto Moerbeek
2019-06-27Allow logging to both stderr and syslog; don't reset the log level ifOtto Moerbeek
2019-06-20Do a quick DNS probe to decide to stay in the forground and attemptOtto Moerbeek
2019-06-16Be more aggressive retrying dns while in settime mode. The constraintOtto Moerbeek
2019-06-12Fix init of syslog for childs and teach dns process about synced state.Otto Moerbeek
2019-06-09Introducing autmatic settime mode: if some preconditions are metOtto Moerbeek
2019-05-30Use proper algorithm for median computation; use fabs() for computingOtto Moerbeek
2019-05-29If a DBS resolve was done with the Checking Disabled flag, re-resolveOtto Moerbeek
2019-05-28A step in solving the bootstrap problem in a dnssec environement.Otto Moerbeek
2019-01-07log dns failures, even if temporary. ok bennoTed Unangst
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