summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/parse.y
AgeCommit message (Expand)Author
2021-10-15Don't declare variables as "unsigned char *" that are passed toChristian Weisgerber
2020-04-11Zap double definition of conf and make ibuf_dns static to avoid doubleOtto Moerbeek
2019-11-11Also implement "trusted" for sensors; do not do constraint validationOtto Moerbeek
2019-11-10Introduce a "trusted" modifier, for peers that should be on a local netOtto Moerbeek
2019-11-06Allow the singular constraint clause to list multiple addresses;Otto Moerbeek
2019-07-161) Re-resolve and re-get constraints once the clock is synced. ConstraintsOtto Moerbeek
2019-06-12Fix init of syslog for childs and teach dns process about synced state.Otto Moerbeek
2019-02-13(unsigned) means (unsigned int) which on ptrdiff_t or size_t or otherTheo de Raadt
2018-11-01- odd condition/test in PF lexerAlexandr Nedvedicky
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-08-11zero out sockaddr_in before use; fixes use of stack garbage as port numberChristian Weisgerber
2017-05-30add option "query from <ip>" to ntpd.conf, to specify a local IPSebastian Benoit
2015-10-31fully revert some parts introduced with the original server rtable support,Christian Weisgerber
2015-10-23Allowing upstream servers of ntp being in multiple routing tables isPeter Hessler
2015-07-18replace bzero with memsetBrent Cook
2015-05-17When resolving the "constraint" (singular), store all returned IPReyk Floeter
2015-02-12Allow constraints URL without leading path (eg. "https://www.openbsd.org").Reyk Floeter
2015-02-12Use ntpd's deferred DNS resolving for constraints as well. ThisReyk Floeter
2015-02-10spacingReyk Floeter
2015-02-10Add support for "constraints": when configured, ntpd(8) will query theReyk Floeter
2015-01-10don't check for a return value that host() doesn't return, so futureTed Unangst
2015-01-08sync log.c from smtpd.Brent Cook
2014-11-20Don't allow embedded nul characters in strings.Jonathan Gray
2014-11-14Add gcc printf format attributes to yyerror() in parse.y files.Doug Hogan
2014-11-03Convert the logic in yyerror(). Instead of creating a temporaryAlexander Bluhm
2013-11-25use u_char for buffers in yylex, for ctype callsSebastian Benoit
2013-10-21remove the IPv4-only check for rdomains, allows IPv6 to use themPeter Hessler
2012-09-20Allow ntpd.conf to assign a stratum to a sensor with the syntax stratum <level>.Patrick Wildt
2011-12-28only add the rdomain for hostname lookups, when we have a hostname to lookup.Peter Hessler
2011-09-21Add rdomain support to NTPd.Peter Hessler
2010-08-03fix linecount bug with comments spanning multiple linesHenning Brauer
2009-03-31Fixed memory leaks which would occur if the second of two memoryTobias Stoeckmann
2008-10-17bring in findeol() fix from pfctlHenning Brauer
2008-06-09do not leak memory on failure in refid production; ok ckuethe henningTheo de Raadt
2008-06-09Allow outgoing replies from sensor-driven servers to have aChris Kuethe
2008-02-26Have popfile() also close the main config file,Marco Pfatschbacher
2007-11-12Remove space/tab compression function from lgetc() and replaceMarco Pfatschbacher
2007-10-20ntpd and bgpd's turn to behave like the others.Pierre-Yves Ritschard
2007-10-16Allow '=' to end a number in all lexers.Marco Pfatschbacher
2007-10-16in the lex... even inside quotes, a \ followed by space or tab shouldTheo de Raadt
2007-10-13in all these programs using the same pfctl-derived parse.y, re-unify theTheo de Raadt
2007-10-11next step in the yylex unification: handle quoted strings in a nicer fashionTheo de Raadt
2007-09-14use a setup function for options, cleaner; ok cloderTheo de Raadt
2007-09-14Correctly assign a default weight of 1 to sensors and servers.Chris Kuethe
2007-09-12Add a knob to compensate for a refclock that is early or late. Based on aChris Kuethe
2007-09-12default weight has to remain 1; seen by Maurice JanssenTheo de Raadt
2007-09-11this is where it all started, since future ntpd.conf commands will requireTheo de Raadt
2006-10-03strtonum() with INT_MAX intead of LONG_MAX, problem pointed out by pierre-yve...Theo de Raadt
2006-06-01even though the bounds are long long having an upper bound ofOtto Moerbeek