554 Commits (3eeb2e7bb16291505800e3ffa35f160a6a089d9d)

Author SHA1 Message Date
  reyk 707f923fe3 Move execution of the constraints from the ntp to the parent process. 9 years ago
  deraadt a131c912b6 pledge "dns rw" is not a reliable pattern. This means malloc() and other 9 years ago
  deraadt b8ed49dca0 the ntp engine can run with "stdio inet proc". For many reasons, 9 years ago
  deraadt b6f582f2a7 Once the constraint engine process is running, it only needs 9 years ago
  deraadt 1ca43f2c14 Change all tame callers to namechange to pledge(2). 9 years ago
  deraadt 8cf941abab this process deserves -fstack-protector-all 9 years ago
  deraadt 5138effbbd the ntp dns process only needs tame "dns rw" to operate. at least, 9 years ago
  deraadt af212fce6a In the ntpctl(1) case, after it has connect()'d to ntpd we can tame "stdio" 9 years ago
  beck 6cb36941d0 fix type and return check for tls_read/write. 9 years ago
  beck 2a9d7551ce fix after libtls api changes 9 years ago
  millert 3020bb1487 Fix memory leak in error path when max length exceeded. 9 years ago
  deraadt 89430ff568 Xr ntpctl; from Rob Pierce 9 years ago
  millert 52caae6b33 When checking whether we should scan the sensors again use <= rather 9 years ago
  bluhm 62105f16ea Handle short writes and TLS_{READ,WRITE}_AGAIN around tls_write(). 9 years ago
  bcook 1694f9ed82 prevent the tls constraint state machine from getting hung on STATE_INVALID 9 years ago
  bcook c723f066b5 replace _PATH_DEVNULL with "/dev/null", assume it will not move 9 years ago
  bcook cdb73978a9 replace bzero with memset 9 years ago
  deraadt e808a4913f detect crashes from constraint sub-processes, instead of ignoring them. 9 years ago
  deraadt ad4317f113 only scan sensors if they are configured 9 years ago
  reyk 49b66b5ec1 No need to call tzset() and log_init() in the forked constraint 9 years ago
  reyk 043d0938c2 Remove hotplug(4) sensor support: the code has been disabled by 9 years ago
  reyk 127f310cec Get the rdomain from the newly exposed ifi_rdomain field in if_data 9 years ago
  reyk aff57f6d18 Currently, after 4 failed constraint checks, we suspect the constraint 9 years ago
  dtucker 9ad1e9d76e Simplify example constraints URL to reduce load on the server side. 9 years ago
  reyk e89a826291 When resolving the "constraint" (singular), store all returned IP 9 years ago
  jsg 8e7b53106c fix a memory leak if tls_read() fails. ok henning@ 9 years ago
  bcook d72cee2563 Avoid overflow on 32-bit time_t systems converting timeval to NTP time. 9 years ago
  jmc 62357f829c do not encourage random uppercasing; 9 years ago
  henning 8abd0e066f instead of routing SIGHUP thru sighdlr_dns() which then ignores it, 10 years ago
  bcook 89c0900631 remove unused 'cause' string when checking child status 10 years ago
  deraadt a70498de55 mention TLS HTTPS here also; ok bcook 10 years ago
  jmc c58d66510a -s is not optional, sadly; 10 years ago
  bcook 8448b71210 remove unused variable 10 years ago
  jsing 33ac287472 Rename tls_config_insecure_noverifyhost() to 10 years ago
  jsing a2efc33261 Set the TLS ciphers to "compat" mode, restoring the previous behaviour. 10 years ago
  miod ac5112d544 Fix library ordering on the link line for the sake of static arches. It's, in 10 years ago
  jmc 5a29dde418 some fixes from max fillinger, tweaked a little by myself; 10 years ago
  reyk 19285c609b Fix example, syntax is "constraint from www.example.com" (with "from"). 10 years ago
  reyk 57c6dae142 Allow constraints URL without leading path (eg. "https://www.openbsd.org"). 10 years ago
  reyk 2c0d96f390 Use ntpd's deferred DNS resolving for constraints as well. This 10 years ago
  reyk 609076da6a Remove dead code (IMSG_HOST_DNS has been moved from the parent to 10 years ago
  reyk f80fe4f691 Be less chatty on constraint errors. 10 years ago
  jmc 4ea8526f95 tweak previous; 10 years ago
  reyk 2a9806d4a4 spacing 10 years ago
  reyk 61d9dff620 After successfully getting a constraint from an HTTPS server, there is 10 years ago
  reyk 65816fa1ac Don't show the subseconds when displaying the constraint offset. 10 years ago
  reyk 5f9d0ecf71 Move the constraints in a new section and add a preamble to explain 10 years ago
  reyk 7433fa0bce Add support for "constraints": when configured, ntpd(8) will query the 10 years ago
  bcook 3885488dfe be more verbose when logging privsep errors. 10 years ago
  bcook 948680b913 use correct formatters for s/size_t data types. 10 years ago