50 Commits (062f16708b796362ff60057edb10209113a07ab0)

Author SHA1 Message Date
  otto 062f16708b Typo in log message 4 years ago
  otto c1869dec59 If constraints are configured but do not work for whatever reason ntpd 4 years ago
  otto b6720974c4 1) Re-resolve and re-get constraints once the clock is synced. Constraints 5 years ago
  deraadt e5e55cd690 When system calls indicate an error they return -1, not some arbitrary 5 years ago
  otto 391b236846 Be more aggressive retrying dns while in settime mode. The constraint 5 years ago
  otto 0225e4f1d7 Introducing autmatic settime mode: if some preconditions are met 5 years ago
  otto 11942d45dc Use proper algorithm for median computation; use fabs() for computing 5 years ago
  otto 89bf75c4ef A step in solving the bootstrap problem in a dnssec environement. 5 years ago
  jsing 37b88a442e Improve logging for TLS certificate validity checking. 5 years ago
  jsing 64715c5af0 Explicitly check timegm() return value. 5 years ago
  jsing ec351717c5 Perform manual validity checking of the X.509 certificate for constraints. 5 years ago
  otto 7a31e61809 Don't use *a - *b as compare idiom, it does not work as expected for 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
  jsing cf2ba9bd55 Be stricter with TLS configuration for ntpd constraints. 5 years ago
  rzalamena 19841ef136 Use the stack to hold the constraint child process variables instead of 7 years ago
  rzalamena f8b06a2b6a Check for EAGAIN on imsg_flush() return otherwise we might be failing 7 years ago
  rzalamena f3735931aa Save the constraint process pid by getting the start_child() return value, 7 years ago
  rzalamena 4c66ab656c Teach ntpd(8) constraint process to use exec*() instead of just forking, 7 years ago
  reyk 5ec8dcba4c Add clarifications ("comments") to three places where it wasn't 7 years ago
  jsing 9801e4d851 Adjust existing tls_config_set_cipher() callers for TLS cipher group 8 years ago
  deraadt 4bee7f5ac6 ntpd is too aggressive about retrying constraint connections. This 8 years ago
  jsing f819d84119 Harden TLS for ntpd constraints - stop disabling server name verification, 8 years ago
  jsing 74da5f732a Unconfuse things by renaming variables to match their contents. 8 years ago
  naddy 4cf98f2633 According to RFC7231, section 7.1.1.1, the HTTP date header supports 8 years ago
  reyk db00298111 Don't attempt to kill() the constraint in the wrong process. The 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
  mmcc c3ad325375 Simplify all instances of get_string() and get_data() using malloc() and 8 years ago
  deraadt adcf1148c1 fix memory leak; from David CARLIER 8 years ago
  reyk 707f923fe3 Move execution of the constraints from the ntp to the parent process. 8 years ago
  deraadt b6f582f2a7 Once the constraint engine process is running, it only needs 8 years ago
  beck 6cb36941d0 fix type and return check for tls_read/write. 8 years ago
  beck 2a9d7551ce fix after libtls api changes 8 years ago
  millert 3020bb1487 Fix memory leak in error path when max length exceeded. 8 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
  deraadt e808a4913f detect crashes from constraint sub-processes, instead of ignoring them. 9 years ago
  reyk 49b66b5ec1 No need to call tzset() and log_init() in the forked constraint 9 years ago
  reyk aff57f6d18 Currently, after 4 failed constraint checks, we suspect the constraint 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 89c0900631 remove unused 'cause' string when checking child status 9 years ago
  jsing 33ac287472 Rename tls_config_insecure_noverifyhost() to 9 years ago
  jsing a2efc33261 Set the TLS ciphers to "compat" mode, restoring the previous behaviour. 9 years ago
  reyk 2c0d96f390 Use ntpd's deferred DNS resolving for constraints as well. This 9 years ago
  reyk f80fe4f691 Be less chatty on constraint errors. 9 years ago
  reyk 61d9dff620 After successfully getting a constraint from an HTTPS server, there is 9 years ago
  reyk 7433fa0bce Add support for "constraints": when configured, ntpd(8) will query the 9 years ago