summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2008-03-02set the refid for v4 queries too. this allows sensor-driven ntpd to says itsChris Kuethe
2008-02-26Have popfile() also close the main config file,Marco Pfatschbacher
2008-01-28Reconnect a client socket after three consecutive send failures.Marco Pfatschbacher
2007-12-31we must reset the poll timeout to INFTIM when receiving the IMSG_SETTIMEHenning Brauer
2007-12-27some fatal() calls that should be fatalx(); ok henning@Kevin Steves
2007-12-23log a warning one time when we can't open or write the drift file;Kevin Steves
2007-12-23remove some unused #defines; ok henning@Kevin Steves
2007-12-22just call getpwnam(NTPD_USER) once; ok henning@Kevin Steves
2007-12-11rearrange the page to read better; ok otto henningJason McIntyre
2007-12-07document adjfreq(2);Jason McIntyre
2007-12-04revert SIGQUIT catching; requested by deraadtFederico G. Schwindt
2007-12-04catch SIGQUIT too. ckuethe@ and henning@ ok.Federico G. Schwindt
2007-11-22be a bit less aggressive retrying; this keeps the message queueOtto Moerbeek
2007-11-22if the drift file is missing, reset adjfreq to zero; iirc diff from GlaserOtto Moerbeek
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-19don't fill the logs; spotted by deraadt@ ok henning@Otto Moerbeek
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-15Allow ntpd to report the status of peers and sensors to syslog. ThisOtto Moerbeek
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-13add -n to usage();Jason McIntyre
2007-09-13Provide the -n switch like in the other imsg daemons for testingPierre-Yves Ritschard
2007-09-13one more missed change;Jason McIntyre
2007-09-13Small style tweak, from jmc and Maurice JanssenChris 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
2007-08-22Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUGChris Kuethe
2007-08-04This diff makes ntpd poll for sensors more aggressively when the use ofChris Kuethe
2007-05-31convert to new .Dd format;Jason McIntyre
2007-05-26use __packed structs for the on-the-wire packets and just memcpy at onceHenning Brauer
2007-05-01if resolving a name fails, be more aggressive retrying, but with care:Otto Moerbeek
2007-04-30aggressive spelling fix, spotted by jbgTheo de Raadt
2007-03-27Normalize tv so that tv_usec is positive. The kernel also normalizes,Otto Moerbeek
2007-03-23Increase sensor polling interval to 30s, just like ntp polls. ThisChris Kuethe
2007-03-19when our red/recv/recvmsg in imsg_read gives EINTR or EAGAIN, do notHenning Brauer
2007-03-01read buffer size must be >= max imsg size.Henning Brauer
2007-02-24xref adjfreq(2); from Igor ZinovikOtto Moerbeek
2007-01-23Typo in fatal() message found by dunceor @ gmail dot comClaudio Jeker
2007-01-15the new sensors tre can give us the number of sensors per type.Henning Brauer
2007-01-15Although Unix compilers accept more than one definition of a globalOtto Moerbeek
2007-01-14Esape from the Mouth of Madness by adjusting stored sensor offsetsOtto Moerbeek
2007-01-14Add some comments on the expresssion which converts sensor timedeltasOtto Moerbeek
2006-12-28forgot a dereference in the previous conversion; ok deraadt@Christian Weisgerber
2006-12-23adapt to new two-level sensor sysctl framework; by Constantine A. MureninTheo de Raadt
2006-12-20let ntpd use sensors immediately after system boot by special casingHenning Brauer