75 Commits (21c48e24ae1e73d79edb559379c81ad6ca32a1dc)

Author SHA1 Message Date
  otto 21c48e24ae Introduce a "trusted" modifier, for peers that should be on a local net 4 years ago
  otto df4870ab11 Allow the singular constraint clause to list multiple addresses; 4 years ago
  otto b6720974c4 1) Re-resolve and re-get constraints once the clock is synced. Constraints 5 years ago
  otto 46a918abc5 Fix init of syslog for childs and teach dns process about synced state. 5 years ago
  deraadt 247cc87989 (unsigned) means (unsigned int) which on ptrdiff_t or size_t or other 5 years ago
  sashan 6d2498c22d - odd condition/test in PF lexer 5 years ago
  krw b977896d36 No need to mention which memory allocation entry point failed (malloc, 6 years ago
  krw 81de90466c Be consistent in warn() and log_warn() usage when 6 years ago
  naddy 8082e34065 zero out sockaddr_in before use; fixes use of stack garbage as port number 6 years ago
  benno 184c157e2f add option "query from <ip>" to ntpd.conf, to specify a local IP 7 years ago
  naddy 0c7a1d49ed fully revert some parts introduced with the original server rtable support, 8 years ago
  phessler e4a72ca09e Allowing upstream servers of ntp being in multiple routing tables is 8 years ago
  bcook cdb73978a9 replace bzero with memset 9 years ago
  reyk e89a826291 When resolving the "constraint" (singular), store all returned IP 9 years ago
  reyk 57c6dae142 Allow constraints URL without leading path (eg. "https://www.openbsd.org"). 9 years ago
  reyk 2c0d96f390 Use ntpd's deferred DNS resolving for constraints as well. This 9 years ago
  reyk 2a9806d4a4 spacing 9 years ago
  reyk 7433fa0bce Add support for "constraints": when configured, ntpd(8) will query the 9 years ago
  tedu ff1d6653e1 don't check for a return value that host() doesn't return, so future 9 years ago
  bcook e69bd15d31 sync log.c from smtpd. 9 years ago
  jsg 7f4721fbaf Don't allow embedded nul characters in strings. 9 years ago
  doug 146b86bde3 Add gcc printf format attributes to yyerror() in parse.y files. 9 years ago
  bluhm 0f1121e6f9 Convert the logic in yyerror(). Instead of creating a temporary 9 years ago
  benno bbbe1469c8 use u_char for buffers in yylex, for ctype calls 10 years ago
  phessler 590be54dcd remove the IPv4-only check for rdomains, allows IPv6 to use them 10 years ago
  patrick bb4b345cc6 Allow ntpd.conf to assign a stratum to a sensor with the syntax stratum <level>. 11 years ago
  phessler b318654d5a only add the rdomain for hostname lookups, when we have a hostname to lookup. 12 years ago
  phessler a32e45b068 Add rdomain support to NTPd. 12 years ago
  henning 029fb73afa fix linecount bug with comments spanning multiple lines 14 years ago
  tobias 1a4725225f Fixed memory leaks which would occur if the second of two memory 15 years ago
  henning 6d35b226f2 bring in findeol() fix from pfctl 15 years ago
  deraadt 2d91cee4c2 do not leak memory on failure in refid production; ok ckuethe henning 16 years ago
  ckuethe e6e5dc66c8 Allow outgoing replies from sensor-driven servers to have a 16 years ago
  mpf 41c955e769 Have popfile() also close the main config file, 16 years ago
  mpf e2f849e9a7 Remove space/tab compression function from lgetc() and replace 16 years ago
  pyr bf599d131d ntpd and bgpd's turn to behave like the others. 16 years ago
  mpf e2ae46bb11 Allow '=' to end a number in all lexers. 16 years ago
  deraadt 2c7a142792 in the lex... even inside quotes, a \ followed by space or tab should 16 years ago
  deraadt b30a9ec75b in all these programs using the same pfctl-derived parse.y, re-unify the 16 years ago
  deraadt 708686ed78 next step in the yylex unification: handle quoted strings in a nicer fashion 16 years ago
  deraadt 464e8d28dd use a setup function for options, cleaner; ok cloder 17 years ago
  ckuethe 89d498e9d8 Correctly assign a default weight of 1 to sensors and servers. 17 years ago
  ckuethe 4f75588722 Add a knob to compensate for a refclock that is early or late. Based on a 17 years ago
  deraadt a345b0c863 default weight has to remain 1; seen by Maurice Janssen 17 years ago
  deraadt 17638a8659 this is where it all started, since future ntpd.conf commands will require 17 years ago
  deraadt bcbd2043ec strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by pierre-yves@spootnik.org 17 years ago
  otto fc47aa1fcc even though the bounds are long long having an upper bound of 18 years ago
  henning 52daf64bf5 allow for weight to be added to sensors or servers, so that one can 18 years ago
  henning f687c4f193 config file bits for timedelta sensors, so one can specify which devices 18 years ago
  deraadt 1036a9d27a \<char> is <char> except for \<newline> -- no exceptions. much like how 18 years ago