summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2018-09-07Make host_*() AF-agnostickn
2018-08-31the main process must chdir to /, since it cannot have daemon() do theTheo de Raadt
2018-08-08ntpd unveils the cert.pem "r" file (which is passed-over-socket to theTheo de Raadt
2018-08-04Revert back previous commit, we have decided that socket files don't cause anyRicardo Mestre
2018-08-02ntpd(8) has logic in place to delete its control socket on shutdown, but itRicardo Mestre
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
2018-07-09No need to mention which memory allocation entry point failed (malloc,Kenneth R Westerback
2018-07-08Be consistent in warn() and log_warn() usage whenKenneth R Westerback
2017-09-06ntpd has been on by default for over two years now, so reworkJason McIntyre
2017-08-11zero out sockaddr_in before use; fixes use of stack garbage as port numberChristian Weisgerber
2017-08-10naddy@ reported confusion on why "query from" seemed to be ignored injob
2017-05-31tweak previous;Jason McIntyre
2017-05-30add option "query from <ip>" to ntpd.conf, to specify a local IPSebastian Benoit
2017-04-17don't manipulate hdr.len, it's used internally by libutil now; ok florian@Otto Moerbeek
2017-03-21From a syslog perspective it does not make sense to log fatal andAlexander Bluhm
2017-03-01*nargv[] holds an array of pointers, so it should beGleydson Soares
2017-01-20add logging messages to distinguish which safty check failedPeter Hessler
2017-01-09Stop accessing verbose and debug variables from log.c directly.Reyk Floeter
2017-01-09Replace hand-rolled for(;;) traversal of ctl_conns TAILQ withKenneth R Westerback
2017-01-08Sync log.c with the latest version from vmd/log.c that preserves errnoReyk Floeter
2016-12-30markup from jan stary;Jason McIntyre
2016-12-05Use the stack to hold the constraint child process variables instead ofRafael Zalamena
2016-12-01Remove unused variable which was leaking memory, and while here remove 2 otherRicardo Mestre
2016-10-18Check for EAGAIN on imsg_flush() return otherwise we might be failingRafael Zalamena
2016-10-18Save the constraint process pid by getting the start_child() return value,Rafael Zalamena
2016-10-12copy updated log.c from vmd: for correctness, save errno when doingReyk Floeter
2016-10-03Fix a possible bug that will happen with dup2() when oldd == newd. In thatRafael Zalamena
2016-09-26Teach ntpd(8) constraint process to use exec*() instead of just forking,Rafael Zalamena
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-14Add clarifications ("comments") to three places where it wasn'tReyk Floeter
2016-09-14Fix copyright disclaimer in util.c.Reyk Floeter
2016-09-03Remove the oh so funny "LOSS OF MIND" from the diclaimer that was notReyk Floeter
2016-08-27Pull in <sys/time.h> for struct timespec, timeval, or clockratePhilip Guenther
2016-07-13Adjust existing tls_config_set_cipher() callers for TLS cipher groupJoel Sing
2016-06-01ntpd is too aggressive about retrying constraint connections. ThisTheo de Raadt
2016-05-21Harden TLS for ntpd constraints - stop disabling server name verification,Joel Sing
2016-05-06Unconfuse things by renaming variables to match their contents.Joel Sing
2016-05-02prepare userland for removing chroot(2) from allowed syscalls under pledge(2).Sebastien Marie
2016-03-27Rename session_socket_blockmode() to session_socket_nonblockmode(),Kenneth R Westerback
2016-03-05According to RFC7231, section 7.1.1.1, the HTTP date header supportsChristian Weisgerber
2016-02-02Remove setproctitle() for the parent process. Because rc.d(8) uses processStuart Henderson
2016-01-27Don't attempt to kill() the constraint in the wrong process. TheReyk Floeter
2016-01-27update ntpd log initialization to work like relayd, fix debug log levelsBrent Cook
2016-01-11sneaky whitespace snuck in againTheo de Raadt
2015-12-29Don't assume fprintf() will set the FILE * error condition.Todd C. Miller
2015-12-19No need for an extra log.hReyk Floeter
2015-12-19Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd.Reyk Floeter
2015-12-19Move log_sockaddr() to from log.c to util.c as it is a local additionReyk Floeter