summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd/parse.y
AgeCommit message (Expand)Author
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
2006-05-28allow for weight to be added to sensors or servers, so that one canHenning Brauer
2006-05-27config file bits for timedelta sensors, so one can specify which devicesHenning Brauer
2006-05-26\<char> is <char> except for \<newline> -- no exceptions. much like howTheo de Raadt
2005-06-19use a little state engine to keep track of delayed dns lookups and such,Henning Brauer
2004-11-25fix "listen on hostname"Henning Brauer
2004-11-10const'ify conffileHenning Brauer
2004-11-05memleaks in error pathes, patrick latifi, Thanks!Henning Brauer
2004-09-15kill another unused function and two debugging printfsHenning Brauer
2004-09-15remove the unused variable/macro code, ok theoHenning Brauer
2004-08-10in the pool case ("servers somepool.somewhere"), we add new peers whileHenning Brauer
2004-08-10move memory allocation for new peers into a new function, makes ID allocationHenning Brauer
2004-07-29keep an ID per server we talk toHenning Brauer
2004-07-28prevent unresolvable hostnames in "listen on" statementsHenning Brauer
2004-07-28when a dns lookup fails at parse time, do not abort but try againHenning Brauer
2004-07-21no multiple free(); "John L. Scarfone" <j0@cox.net>Henning Brauer
2004-07-20wrap the heads for the linked list of addresses into a new ntp_addr_wrapHenning Brauer
2004-07-12Replace errx with equivalent fprintf+exit to make porting easier; ok henning@Darren Tucker
2004-07-09Do not forget to initialize head. ok henning@Otto Moerbeek
2004-07-09rework dns handling with all its cosequences...Henning Brauer
2004-07-08kill traces of on-the-fly reconfigure (from bgpd), not needed in ntpdHenning Brauer
2004-07-08remove all handling of netmasks/prefix lengths - we don't need that in ntpd.Henning Brauer
2004-07-07knf!Theo de Raadt
2004-07-07do not listen anywhere by default.Henning Brauer
2004-07-07swicth all the host_* functions to work on a newly inventedHenning Brauer
2004-07-06sizeof(wrong struct) in calloc == bad. ^$&(#^$%&#*)!Henning Brauer
2004-07-05don't limit to one remote server any moreHenning Brauer
2004-06-17provide most of the client functionality.Henning Brauer
2004-06-01first cut at config file parserHenning Brauer