Commit Graph

  • acec7d0e28 clientlog: use token buckets for response rate limiting Miroslav Lichvar 2015-12-16 16:22:01 +01:00
  • a4c89e5bbe clientlog: refactor updating of record data Miroslav Lichvar 2015-12-14 17:05:02 +01:00
  • c5265f6070 doc: update description of -u option and user directive Miroslav Lichvar 2015-12-10 15:22:55 +01:00
  • 0a10df1cf5 sys_linux: keep CAP_NET_BIND_SERVICE only if NTP port can be opened Miroslav Lichvar 2015-12-10 14:26:16 +01:00
  • 30f2a2003c sys: remove unused code Miroslav Lichvar 2015-12-10 12:54:34 +01:00
  • 67b108d1ce sys_solaris: add support for dropping root privileges Miroslav Lichvar 2015-12-10 11:39:40 +01:00
  • 8a95631e39 sys_solaris: fix building with current timex driver Miroslav Lichvar 2015-12-10 11:58:57 +01:00
  • 82510e6b1f sys_netbsd: add support for dropping root privileges on FreeBSD Miroslav Lichvar 2015-12-10 09:33:56 +01:00
  • 12ee4bf6ac sys_timex: add support for ntp_adjtime() via privops Miroslav Lichvar 2015-12-09 18:15:46 +01:00
  • 3cb0351aff privops: add support for privileged ntp_adjtime() Miroslav Lichvar 2015-12-09 18:11:09 +01:00
  • d5bc4e92e6 sys_timex: move inclusion of sys/timex.h to sysincl.h Miroslav Lichvar 2015-12-10 10:53:45 +01:00
  • 8e327bb0a3 privops: ignore signals in helper Miroslav Lichvar 2015-12-10 16:10:31 +01:00
  • fbf170a6c2 privops: compile only required helper functions Miroslav Lichvar 2015-12-10 08:44:05 +01:00
  • cd472e6aaf privops: return from PRV functions with helper response code Miroslav Lichvar 2015-12-09 17:41:48 +01:00
  • e9487b1a1a privops: make naming of fields and functions more consistent Miroslav Lichvar 2015-12-09 15:37:47 +01:00
  • 3cf6acdf24 util: add function for dropping root privileges Miroslav Lichvar 2015-12-08 17:16:45 +01:00
  • 334ac06102 main: initialise privops sooner Miroslav Lichvar 2015-12-09 14:59:12 +01:00
  • 2d9486ec7c sys_macosx: fix adjustment correction after step Bryan Christianson 2015-12-09 20:11:06 +13:00
  • fe502128b8 main: fix compiler warning Miroslav Lichvar 2015-12-08 17:37:01 +01:00
  • 46f0ad6b53 sys_netbsd: use privileged helper for socket binding Miroslav Lichvar 2015-12-08 17:19:33 +01:00
  • fedc605956 configure: rework setting of privops macros Miroslav Lichvar 2015-12-08 16:43:08 +01:00
  • d44e26ba22 configure: fix check of date output Miroslav Lichvar 2015-12-08 12:55:05 +01:00
  • 610f234043 privops: refactor initialisation/finalisation Miroslav Lichvar 2015-12-08 14:10:29 +01:00
  • aa9a4c697c privops: wait for helper pid Miroslav Lichvar 2015-12-08 16:09:02 +01:00
  • 1b8ee3259e privops: stop helper on exit Miroslav Lichvar 2015-12-08 11:10:52 +01:00
  • c7ae4940c3 privops: split send_to_helper() Miroslav Lichvar 2015-12-08 15:54:43 +01:00
  • aa4bf41400 privops: use SOCK_SEQPACKET sockets when supported Miroslav Lichvar 2015-12-08 10:20:20 +01:00
  • 4e32de09a2 sys_linux: allow mremap in seccomp filter Miroslav Lichvar 2015-12-04 12:51:28 +01:00
  • 86e0399ea9 sys_macosx: synchronise RTC from system time Bryan Christianson 2015-12-04 00:15:49 +13:00
  • 302abf8480 client: print invalid intervals as dash Miroslav Lichvar 2015-12-02 18:21:07 +01:00
  • f50b520557 sourcestats: use maximum value as invalid age in source report Miroslav Lichvar 2015-12-02 18:10:22 +01:00
  • d4074c7993 clientlog: fix counting of command drops Miroslav Lichvar 2015-12-02 19:14:19 +01:00
  • d3096c3b5e clientlog: save time of last hit with sub-second resolution Miroslav Lichvar 2015-12-02 17:49:40 +01:00
  • 98947a4e52 conf: inline one-line parse_* functions Miroslav Lichvar 2015-12-02 12:51:15 +01:00
  • bafb434f06 main: assert supported integer size, representation and conversion Miroslav Lichvar 2015-12-02 12:18:01 +01:00
  • 8e71a46173 fix undefined shift operations on signed integers Miroslav Lichvar 2015-12-02 12:06:01 +01:00
  • 934df19c52 array: always return non-NULL pointer from ARR_GetElements() Miroslav Lichvar 2015-12-01 14:24:36 +01:00
  • 024842a38b contrib: update chronylogrotate.sh script Bryan Christianson 2015-11-30 10:13:03 +13:00
  • 657929f8ec cmdmon: update CLIENT_ACCESSES_BY_INDEX command Miroslav Lichvar 2015-11-27 15:25:24 +01:00
  • b506594c2d clientlog: limit response rate Miroslav Lichvar 2015-11-25 13:23:52 +01:00
  • 830135edea clientlog: measure request rates Miroslav Lichvar 2015-11-25 09:57:12 +01:00
  • 464cdbbb6e clientlog: store records in hash table instead of tree Miroslav Lichvar 2015-11-24 14:51:15 +01:00
  • 086e886d1e clientlog: reduce amount of logged information Miroslav Lichvar 2015-11-23 15:53:45 +01:00
  • f2b82c1e1d conf: don't allow disabling clientloglimit Miroslav Lichvar 2015-11-24 12:30:54 +01:00
  • 801830df57 util: add macros for maximum, minimum and clamp Miroslav Lichvar 2015-11-27 11:03:16 +01:00
  • 8b235297a5 util: add function for IP address hashing Miroslav Lichvar 2015-11-23 15:24:33 +01:00
  • 59a3140621 cmdmon: tidy up declarations in read_from_cmd_socket() Miroslav Lichvar 2015-11-26 10:08:49 +01:00
  • 16bd56ae7e sys_macosx: tidy up includes Bryan Christianson 2015-11-24 22:07:58 +13:00
  • 750d82f1d1 sys_macosx: drop root privileges Bryan Christianson 2015-11-24 21:01:59 +13:00
  • 139fc667aa add support for privilege separation Bryan Christianson 2015-11-20 23:43:19 +13:00
  • f21e5f6cc5 sys_linux: allow ioctl(TCGETS) in seccomp filter Miroslav Lichvar 2015-11-18 12:42:38 +01:00
  • f660aa9d7a conf: don't allow invalid last refclock option Miroslav Lichvar 2015-11-18 12:21:23 +01:00
  • d28d644b04 ntp: ignore poll in KoD RATE packets Miroslav Lichvar 2015-11-16 15:21:32 +01:00
  • a634fd3a2d doc: update description of offline command Miroslav Lichvar 2015-11-16 14:50:57 +01:00
  • 045794df4c ntp: adjust initial delay for polling interval Miroslav Lichvar 2015-11-16 12:28:42 +01:00
  • dfc96e4702 sched: update timeout randomization Miroslav Lichvar 2015-11-13 16:08:02 +01:00
  • 8225bf01f7 ntp: don't reveal local clock in client packets Miroslav Lichvar 2015-11-10 17:59:49 +01:00
  • 116c697282 util: rework timestamp fuzzing Miroslav Lichvar 2015-11-10 17:26:59 +01:00
  • 6199a89170 util: add function to generate random bytes Miroslav Lichvar 2015-11-10 16:46:40 +01:00
  • cbd77c9752 ntp: don't keep client sockets open for longer than necessary Miroslav Lichvar 2015-11-05 16:43:40 +01:00
  • df9b5d8c22 ntp: check remote interval in client mode Miroslav Lichvar 2015-11-04 15:47:40 +01:00
  • 66d534417b sched: use shorter data type for timeout IDs Miroslav Lichvar 2015-11-05 13:14:57 +01:00
  • 8803ab27c6 sched: don't allow SCH_RemoveTimeout() with invalid non-zero ID Miroslav Lichvar 2015-11-10 14:29:52 +01:00
  • 38910424f2 sched: don't return currently used timeout ID Miroslav Lichvar 2015-11-10 14:41:19 +01:00
  • 0076458e9d sched: always return non-zero timeout ID Miroslav Lichvar 2015-11-05 14:29:11 +01:00
  • bdb1650ed8 sys_linux: allow more syscalls in seccomp filter Miroslav Lichvar 2015-11-04 14:53:00 +01:00
  • a030ed4f39 doc: update NEWS 2.2 Miroslav Lichvar 2015-10-19 11:17:16 +02:00
  • 9fc15394de configure: disable scfilter by default Miroslav Lichvar 2015-10-19 11:16:45 +02:00
  • 34ea8770d0 client: add debug message for recv() error Miroslav Lichvar 2015-10-15 11:57:54 +02:00
  • a5897840a0 doc: add minimum recommended configuration to FAQ Miroslav Lichvar 2015-10-14 16:44:06 +02:00
  • 59087dd0ff doc: include chrony version in manual title Miroslav Lichvar 2015-10-14 14:43:47 +02:00
  • 1924481077 doc: update comparison with ntpd Miroslav Lichvar 2015-10-14 14:08:21 +02:00
  • da1f7563e9 doc: remove obsolete section on contributing Miroslav Lichvar 2015-10-14 13:52:35 +02:00
  • 7496a14d2d doc: improve maxdistance description Miroslav Lichvar 2015-10-14 13:51:19 +02:00
  • 6e6dead680 logging: don't ignore message severity with debug support Miroslav Lichvar 2015-10-12 13:16:04 +02:00
  • 55dbbab5eb configure: check for struct in_pktinfo with ipi_spec_dst Miroslav Lichvar 2015-10-12 11:44:21 +02:00
  • d6b6461658 configure: improve description of struct in6_pktinfo check Miroslav Lichvar 2015-10-12 11:29:13 +02:00
  • 85f7a4054d configure: include IPV6_PKTINFO in struct in6_pktinfo check Miroslav Lichvar 2015-10-12 11:22:27 +02:00
  • 01965d147a doc: update NEWS 2.2-pre2 Miroslav Lichvar 2015-10-09 13:36:59 +02:00
  • 6a84126c28 examples: use one-second check interval in chrony-wait.service Miroslav Lichvar 2015-10-09 13:36:02 +02:00
  • 32f8bec92d configure: make default hwclockfile configurable Miroslav Lichvar 2015-10-08 10:44:23 +02:00
  • 00a6394b48 rtc: improve logging Miroslav Lichvar 2015-10-08 10:18:34 +02:00
  • ca5a791d09 client: make waitsync check interval configurable Miroslav Lichvar 2015-10-07 12:44:25 +02:00
  • 6a9c756cf0 rtc: restore time from driftfile if later than RTC time Miroslav Lichvar 2015-10-06 15:52:36 +02:00
  • 1714d3e8ae rtc: don't run time_init function if pre_init failed Miroslav Lichvar 2015-10-06 13:23:14 +02:00
  • 25b7d47b34 doc: reduce makestep threshold in examples to 1 second Miroslav Lichvar 2015-10-05 10:12:50 +02:00
  • 9e8b4bae11 sys_linux: abort when loading seccomp rules fails Miroslav Lichvar 2015-10-05 09:56:58 +02:00
  • a466395a19 doc: update NEWS 2.2-pre1 Miroslav Lichvar 2015-10-01 18:06:44 +02:00
  • a3cb3fc490 doc: update README Miroslav Lichvar 2015-10-01 13:25:40 +02:00
  • 3396778061 update copyright years Miroslav Lichvar 2015-10-01 14:23:32 +02:00
  • 01cef64070 client: remove unreachable code Miroslav Lichvar 2015-10-01 09:26:34 +02:00
  • a9bfaf9e54 client: don't try sending request with invalid socket Miroslav Lichvar 2015-09-30 14:58:17 +02:00
  • cec7c44f61 client: don't shorten default timeout with ASYNCDNS Miroslav Lichvar 2015-09-30 14:20:49 +02:00
  • 38ac2b39ce stubs: add NSR_RefreshAddresses() Miroslav Lichvar 2015-09-30 13:33:06 +02:00
  • 967e358dbc stubs: don't call DNS_Name2IPAddress handler directly Miroslav Lichvar 2015-09-29 17:39:27 +02:00
  • 60721d2cc1 client: improve signal handling Miroslav Lichvar 2015-09-29 17:11:38 +02:00
  • b698184939 doc: document refresh command Miroslav Lichvar 2015-09-29 16:27:38 +02:00
  • c6c833fb9c client: update help text Miroslav Lichvar 2015-09-29 16:18:06 +02:00
  • 3eb43f4619 cmdmon: add refresh command Gautier PHILIPPON 2015-09-29 16:08:43 +02:00
  • 440c159217 client: fix compiler warning on extra printf argument Miroslav Lichvar 2015-09-29 10:07:26 +02:00