125 Commits (016dfd7256ac425d185c75328b0e6b8fcceee96d)

Author SHA1 Message Date
  otto 016dfd7256 - validate sensor values against constraints 4 years ago
  deraadt e5e55cd690 When system calls indicate an error they return -1, not some arbitrary 5 years ago
  otto c47029baaf Allow logging to both stderr and syslog; don't reset the log level if 5 years ago
  otto 46a918abc5 Fix init of syslog for childs and teach dns process about synced state. 5 years ago
  otto 0225e4f1d7 Introducing autmatic settime mode: if some preconditions are met 5 years ago
  florian ea28228b66 Prevent multiple ntpds from tripping over each other. 5 years ago
  tedu d1794e488e update for libtls default cert changes. 5 years ago
  jsing 3fab6cbb08 Use TLS_CA_CERT_FILE instead of a separate define. 5 years ago
  deraadt 48ecc0761d the main process must chdir to /, since it cannot have daemon() do the 5 years ago
  deraadt a27b872488 ntpd unveils the cert.pem "r" file (which is passed-over-socket to the 5 years ago
  mestre 7b9d9ca1a6 Revert back previous commit, we have decided that socket files don't cause any 5 years ago
  mestre b448df251e ntpd(8) has logic in place to delete its control socket on shutdown, but it 5 years ago
  reyk 99d11625c1 Stop accessing verbose and debug variables from log.c directly. 7 years ago
  mestre 39fc6c9a98 Remove unused variable which was leaking memory, and while here remove 2 other 7 years ago
  rzalamena 4c66ab656c Teach ntpd(8) constraint process to use exec*() instead of just forking, 7 years ago
  rzalamena 4e462f2ebb Teach ntpd(8) how to use socket status to shutdown the daemon. While at 7 years ago
  rzalamena 1305c0d5de Teach ntpd(8) how to fork+exec. 7 years ago
  reyk 08ed721594 Remove the oh so funny "LOSS OF MIND" from the diclaimer that was not 7 years ago
  semarie 652935dc64 prepare userland for removing chroot(2) from allowed syscalls under pledge(2). 8 years ago
  sthen 4114667275 Remove setproctitle() for the parent process. Because rc.d(8) uses process 8 years ago
  reyk db00298111 Don't attempt to kill() the constraint in the wrong process. The 8 years ago
  bcook fade868be3 update ntpd log initialization to work like relayd, fix debug log levels 8 years ago
  deraadt 73313dce7f sneaky whitespace snuck in again 8 years ago
  millert e33f078c05 Don't assume fprintf() will set the FILE * error condition. 8 years ago
  reyk 97252e04ad Switch and sync to the log.c variant from httpd/relayd/iked/snmpd/vmd. 8 years ago
  claudio d6e39ab1f4 EAGAIN handling for imsg_read. OK henning@ benno@ 8 years ago
  deraadt 531d870924 Cache values from getpwnam() done at initialization, which need to be 8 years ago
  deraadt a4d91af57b Rather than re-opening the driftfile to write, keep it open; rewinding 8 years ago
  reyk 707f923fe3 Move execution of the constraints from the ntp to the parent process. 8 years ago
  deraadt 1ca43f2c14 Change all tame callers to namechange to pledge(2). 8 years ago
  deraadt af212fce6a In the ntpctl(1) case, after it has connect()'d to ntpd we can tame "stdio" 8 years ago
  bcook cdb73978a9 replace bzero with memset 9 years ago
  jmc c58d66510a -s is not optional, sadly; 9 years ago
  reyk 609076da6a Remove dead code (IMSG_HOST_DNS has been moved from the parent to 9 years ago
  reyk 2a9806d4a4 spacing 9 years ago
  reyk 65816fa1ac Don't show the subseconds when displaying the constraint offset. 9 years ago
  reyk 7433fa0bce Add support for "constraints": when configured, ntpd(8) will query the 9 years ago
  bcook dbf887d834 Fix deferred host DNS lookups. 9 years ago
  bcook 709567d845 Use initial assignment of action to check for errors. 9 years ago
  naddy 281ec163e9 Switch drift file format to ppm for compatibility with the ntp.org 9 years ago
  bcook 3f937ba631 bump failure to set the initial time from debug to warning 9 years ago
  bcook 70297880a3 fix some memory leaks in dns handling. 9 years ago
  deraadt eb02123984 remove excessive/wrong use of sys/param.h 9 years ago
  bcook e69bd15d31 sync log.c from smtpd. 9 years ago
  bcook 2b0bc47767 rename sockaddr_un variables from 'sun' to the more common 'sa'. 9 years ago
  bcook d33f0cc042 Add a missing include for time.h to get the definitions of clock_gettime and strftime. 9 years ago
  dtucker c438f027ad Run the serving and privileged ntpd processes at high priority and the 10 years ago
  sthen 8b3ce8e88e typo in errx() string 10 years ago
  benno a6df84bdf5 allow -s<abrev> in addition to -s <word> in ntpctl commandline, like 10 years ago
  deraadt 5d614be5df improve ntpctl usage so that the manual page does not need to be read 10 years ago