Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-17 | bring in findeol() fix from pfctl | Henning Brauer | |
2008-10-10 | - use nmea(4) for general sensor example rather than udcf(4) | Stuart Henderson | |
which only works in w.europe - use a more realistic value for udcf correction example - use a GPS-only receiver for "refid GPS" example suggested/ok mbalmer | |||
2008-10-02 | in priv_settime(), we must not adjust the 'next' timestamps on their for | Henning Brauer | |
the offset since we use monotime for these for some time now, and monotime is not affected by system time changes (like, duh, that was the reason for the change). PR5927 | |||
2008-09-28 | ntpd does not require you to run rdate -n before it -- it notices such an | Theo de Raadt | |
event. so don't use the word "before" .. and leave the mention ambigious ok henning | |||
2008-09-12 | move dns lookups to its own (privilege revoking, not chrooting) process. | Henning Brauer | |
reason: the parent process must never ever block, but the dns routines can. last not least this fixes ntpd -s 'hanging' for a long time. tested by a couple of people | |||
2008-07-19 | Use errx instead of fprintf, exit combo. | Claudio Jeker | |
Diff from Gleydson Soares gsoares (at) gmail (dot) com OK henning@ | |||
2008-06-10 | For IPv6 addresses, return the first 32 bits of the MD5 hash of the | Christian Weisgerber | |
address as ref ID (RFC4330). ok henning@ | |||
2008-06-10 | According to the latest SNTPv4 spec in RFC4330, secondary servers | Christian Weisgerber | |
return the address of the synchronization source as reference identification. Remove the obsolete special casing specified in RFC2030. ok henning@ | |||
2008-06-09 | rename refstr to refid since it is an int32; ok henning | Theo de Raadt | |
2008-06-09 | do not copy up to two garbage characters from a 1 char string into a 4 char | Theo de Raadt | |
output buffer; ok henning | |||
2008-06-09 | do not leak memory on failure in refid production; ok ckuethe henning | Theo de Raadt | |
2008-06-09 | spacing | Theo de Raadt | |
2008-06-09 | Allow outgoing replies from sensor-driven servers to have a | Chris Kuethe | |
user-configurable reference ID, eg. "GPS" or "DCF"... ok mbalmer | |||
2008-06-08 | Don't ignore a slightly unresponsive server for an hour, 5 minutes is enough. | Chris Kuethe | |
comments & ok henning@ | |||
2008-05-16 | Allow ntpd to step the time at startup, now matter how large or small the | Chris Kuethe | |
offset. The 180s limit doesn't help very much these days. ok otto@ mbalmer@ | |||
2008-05-14 | ntpd missed the argument check sweep. | Pierre-Yves Ritschard | |
2008-04-13 | Use arc4random_buf() when requesting more than a single word of output | Damien Miller | |
Use arc4random_uniform() when the desired random number upper bound is not a power of two ok deraadt@ millert@ | |||
2008-03-02 | set the refid for v4 queries too. this allows sensor-driven ntpd to says its | Chris Kuethe | |
reference is "HARD" (or "GPS", "UMBG", "UDCF" ... in theory) rather than "^@^@^@^@" "why not" henning@ | |||
2008-02-26 | Have popfile() also close the main config file, | Marco Pfatschbacher | |
but only do the final popfile call after yyparse() is done. This also fixes config reload on SIGHUP for some daemons. Spotted by otto@. OK deraadt@ | |||
2008-01-28 | Reconnect a client socket after three consecutive send failures. | Marco Pfatschbacher | |
This allows recovery after an IP address change (e.g. on dialup links). Also move the update of "nextaction" timeout below the deadline check. OK henning@ | |||
2007-12-31 | we must reset the poll timeout to INFTIM when receiving the IMSG_SETTIME | Henning Brauer | |
because otherwise the poll timeout will stay at SETTIME_TIMEOUT (15s) forever unless we time out waiting for the first reply with -s spotted by Aaron Riekenberg <aaron.riekenberg@gmail.com> | |||
2007-12-27 | some fatal() calls that should be fatalx(); ok henning@ | Kevin Steves | |
2007-12-23 | log a warning one time when we can't open or write the drift file; | Kevin Steves | |
also add "(no drift file)" to the adjfreq log message on failure; ok henning@ | |||
2007-12-23 | remove some unused #defines; ok henning@ | Kevin Steves | |
2007-12-22 | just call getpwnam(NTPD_USER) once; ok henning@ | Kevin Steves | |
2007-12-11 | rearrange the page to read better; ok otto henning | Jason McIntyre | |
2007-12-07 | document adjfreq(2); | Jason McIntyre | |
based on an initial diff from Simon Kuhnle, and input from Joerg Sonnenberger; ok otto | |||
2007-12-04 | revert SIGQUIT catching; requested by deraadt | Federico G. Schwindt | |
2007-12-04 | catch SIGQUIT too. ckuethe@ and henning@ ok. | Federico G. Schwindt | |
2007-11-22 | be a bit less aggressive retrying; this keeps the message queue | Otto Moerbeek | |
empty while in the -s period, so the poll timeout actually times out if there are no interfaces available. ok henning@ | |||
2007-11-22 | if the drift file is missing, reset adjfreq to zero; iirc diff from Glaser | Otto Moerbeek | |
from a long time ago. ok ckuethe@ | |||
2007-11-12 | Remove space/tab compression function from lgetc() and replace | Marco Pfatschbacher | |
it with a simple filter in the yylex() loop. The compression in lgetc() didn't happen for quoted strings, thus creating a regression when tabs were used in variables. Some testing by todd@ and pyr@ OK deraadt@ | |||
2007-10-20 | ntpd and bgpd's turn to behave like the others. | Pierre-Yves Ritschard | |
ok henning@ | |||
2007-10-19 | don't fill the logs; spotted by deraadt@ ok henning@ | Otto Moerbeek | |
2007-10-16 | Allow '=' to end a number in all lexers. | Marco Pfatschbacher | |
Requested and OK deraadt@ | |||
2007-10-16 | in the lex... even inside quotes, a \ followed by space or tab should | Theo de Raadt | |
expand to space or tab, and a \ followed by newline should be ignored (as a line continuation). compatible with the needs of hoststated (which has the most strict quoted string requirements), and ifstated (where one commonly does line continuations in strings). pointed out by mpf, discussed with pyr | |||
2007-10-15 | Allow ntpd to report the status of peers and sensors to syslog. This | Otto Moerbeek | |
happens when a SIGINFO is received, or when the majority of peers or sensors is bad. The latter with a maximum of once per 24 hour. ok henning@ ckuethe@ mbalmer@ | |||
2007-10-13 | in all these programs using the same pfctl-derived parse.y, re-unify the | Theo de Raadt | |
yylex implementation and the code which interacts with yylex. this also brings the future potential for include support to all of the parsers. in the future please do not silly modifications to one of these files without checking if you are de-unifying the code. checked by developers in all these areas. | |||
2007-10-11 | next step in the yylex unification: handle quoted strings in a nicer fashion | Theo de Raadt | |
as found in hoststated, and make all the code diff as clean as possible. a few issues remain mostly surrounding include support, which will likely be added to more of the grammers soon. ok norby pyr, others | |||
2007-09-14 | use a setup function for options, cleaner; ok cloder | Theo de Raadt | |
2007-09-14 | Correctly assign a default weight of 1 to sensors and servers. | Chris Kuethe | |
ok beck | |||
2007-09-13 | add -n to usage(); | Jason McIntyre | |
2007-09-13 | Provide the -n switch like in the other imsg daemons for testing | Pierre-Yves Ritschard | |
the configuration file. "yes please, ok" henning@ | |||
2007-09-13 | one more missed change; | Jason McIntyre | |
2007-09-13 | Small style tweak, from jmc and Maurice Janssen | Chris Kuethe | |
2007-09-12 | Add a knob to compensate for a refclock that is early or late. Based on a | Chris Kuethe | |
diff from Maurice Janssen. Manpage help from jmc and Maurice, other nits from deraadt and otto. ok deraadt, otto | |||
2007-09-12 | default weight has to remain 1; seen by Maurice Janssen | Theo de Raadt | |
2007-09-11 | this is where it all started, since future ntpd.conf commands will require | Theo de Raadt | |
negative parameters. extend lex to spot numbers in the stream. as well, make it easier to add parameters on command line in any order later ok otto ckuethe | |||
2007-08-22 | Allow ntpd to log sensor offsets and adjtime calls to syslog at LOG_DEBUG | Chris Kuethe | |
priority. ok gwk, mbalmer, weingart "explicit non-ok from" henning | |||
2007-08-04 | This diff makes ntpd poll for sensors more aggressively when the use of | Chris Kuethe | |
sensors is requested, but no sensors are found. ok henning |