summaryrefslogtreecommitdiff
path: root/usr.sbin/ntpd
AgeCommit message (Expand)Author
2022-01-07If no date could be parsed, bail out early and fix an error return thatOtto Moerbeek
2021-12-13including sys/cdefs.h manually started as a result of netbsd trying toTheo de Raadt
2021-10-24For open/openat, if the flags parameter does not contain O_CREAT, theTheo de Raadt
2021-10-15Don't declare variables as "unsigned char *" that are passed toChristian Weisgerber
2021-07-16main proc doesn't speak with sockets during the main loop and setpriority plusRicardo Mestre
2021-07-16/etc/ssl/cert.pem is loaded into mem with tls_load_file(3) on local functionRicardo Mestre
2021-07-16Remove unneeded call to tls_init(3)kn
2021-07-12Change the error reporting pattern throughout the tree when unveilBob Beck
2021-04-21Improve ntpd offset handling. Call the index of the offset loopsAlexander Bluhm
2021-03-18Remove duplicate prototype.Alexander Bluhm
2021-03-18The ntpd client code corrects both T1 and T4 with the current offsetAlexander Bluhm
2021-01-06double word fix; from sean daviesJason McIntyre
2020-09-11If we get messages but they are not ntp replies (e.g. caused byOtto Moerbeek
2020-08-30If no replies are received for a while due to connectivity issuesOtto Moerbeek
2020-06-22When the main process exits, it closes the pipe so a read 0 occurs.Otto Moerbeek
2020-05-16list example files in FILES with a short description: generally, "ExampleJason McIntyre
2020-04-12If all addresses are numeric no use for dns probe; ok florian@ sthen@Otto Moerbeek
2020-04-11Zap double definition of conf and make ibuf_dns static to avoid doubleOtto Moerbeek
2020-02-20Typo in log messageOtto Moerbeek
2020-02-12If constraints are configured but do not work for whatever reason ntpdOtto Moerbeek
2020-02-12Standardize argument naming for "sourceaddr" and unify the wording a bit,Ingo Schwarze
2020-02-10briefly mention /etc/examples/ in the FILES section of all theIngo Schwarze
2020-01-30Properly determine era 0 or era 1, making it possible to move pastOtto Moerbeek
2019-11-12tweak previous; ok deraadtJason McIntyre
2019-11-11sensors can als be marked trusted; ok deraadt@Otto Moerbeek
2019-11-11tweak previous: delete stray .PpIngo Schwarze
2019-11-11trusted sub-option works on sensors also now; ok ottoTheo de Raadt
2019-11-11Also implement "trusted" for sensors; do not do constraint validationOtto Moerbeek
2019-11-11remove -s and -S documentation, and explain the boot-time startup modeTheo de Raadt
2019-11-11Disable -s and -S functionality. -s would force time using NTP packets withoutTheo de Raadt
2019-11-10document server/servers "trusted" sub-option. Indicates a particularTheo de Raadt
2019-11-10Introduce a "trusted" modifier, for peers that should be on a local netOtto Moerbeek
2019-11-10alphatically order sub-options for sensors, and make the explanationsTheo de Raadt
2019-11-10typoTheo de Raadt
2019-11-10- validate sensor values against constraintsOtto 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-07-10fix printing when the pool is specified as an IP address; reported by andOtto Moerbeek
2019-07-07proper level of two messages, prompted by deraadt@Otto Moerbeek
2019-07-07Sometimes ntp peers are unreliable (looking at you pool.ntp.org!)Otto Moerbeek
2019-07-03Forgotten va_copy/va_end; on some archs that is really needed. ok benno@Otto Moerbeek
2019-06-28When system calls indicate an error they return -1, not some arbitraryTheo de Raadt
2019-06-27Allow logging to both stderr and syslog; don't reset the log level ifOtto Moerbeek
2019-06-20tweaks with help from jmc@Otto Moerbeek
2019-06-20Tell a bit about automatic mode; ok jmc@Otto Moerbeek
2019-06-20Do a quick DNS probe to decide to stay in the forground and attemptOtto Moerbeek
2019-06-16Be more aggressive retrying dns while in settime mode. The constraintOtto Moerbeek
2019-06-12Fix init of syslog for childs and teach dns process about synced state.Otto Moerbeek
2019-06-09Introducing autmatic settime mode: if some preconditions are metOtto Moerbeek
2019-05-30Use proper algorithm for median computation; use fabs() for computingOtto Moerbeek