]> git.ipfire.org Git - thirdparty/ntp.git/log
thirdparty/ntp.git
16 years agoMerge bk://www.ntp.org/ntp-dev
Dave Hart [Tue, 13 Apr 2010 04:43:28 +0000 (04:43 +0000)] 
Merge bk://www.ntp.org/ntp-dev
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518-20-22

bk: 4bc3f670HpBe-ltr0_tIcwKUn9xXEw

16 years agoaccopt.html: non-ntpport doc changes from Dave Mills
Harlan Stenn [Tue, 13 Apr 2010 04:31:34 +0000 (00:31 -0400)] 
accopt.html: non-ntpport doc changes from Dave Mills

bk: 4bc3f3a6cL-kj3WCq_EHKUGdpA86YA

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-doc
Dave Hart [Mon, 12 Apr 2010 06:51:05 +0000 (06:51 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-doc
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518-20-22

bk: 4bc2c2d9QLACZCUFFjBhQVbZXDfV7w

16 years agoHal Murray caught another html/manyopt.html typo.
Dave Hart [Mon, 12 Apr 2010 06:50:58 +0000 (06:50 +0000)] 
Hal Murray caught another html/manyopt.html typo.

bk: 4bc2c2d2Un7nuCdCn4KzT-hZ46ZSzg

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-doc
Dave Hart [Mon, 12 Apr 2010 06:18:32 +0000 (06:18 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-doc
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518-20-22

bk: 4bc2bb38AmQXsZBv9O_gUPpXV_sSxA

16 years agoRephrase awkward pool description, correct "descovery" typo.
Dave Hart [Mon, 12 Apr 2010 06:17:50 +0000 (06:17 +0000)] 
Rephrase awkward pool description, correct "descovery" typo.

bk: 4bc2bb0eh7BiBvd1k4fURQ3Dk611aA

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-doc
Dave Hart [Sun, 11 Apr 2010 23:14:51 +0000 (23:14 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-doc
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518-20-22

bk: 4bc257ebYVr1OZAQeurj75YOgPdT-g

16 years agoDocumentation updates for 4.2.7p22 changes and additions, updating
Dave Hart [Sun, 11 Apr 2010 23:13:44 +0000 (23:13 +0000)] 
Documentation updates for 4.2.7p22 changes and additions, updating
  ntpdc.html, ntpq.html, accopt.html, confopt.html, manyopt.html,
  miscopt.html, and miscopt.txt.
Modify full MRU list preemption when full to match "discard monitor"
  documentation, by removing exception for count == 1.

bk: 4bc257a8rNUmzaSA90ISm8cUxJ5Qmg

16 years ago[Bug 1520] '%u' formats for size_t gives warnings with 64-bit builds.
Dave Hart [Sat, 10 Apr 2010 03:55:22 +0000 (03:55 +0000)] 
[Bug 1520] '%u' formats for size_t gives warnings with 64-bit builds.

  applies to prior merge

bk: 4bbff6aaVeSN8-XmfHEkxemYDs49uA

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1520
Dave Hart [Sat, 10 Apr 2010 03:30:30 +0000 (03:30 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1520
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518-20-22

bk: 4bbff0d6EhrLMUQgmzbKngffrl24tQ

16 years ago[Bug 1518] Windows ntpd should lock to one processor more
Dave Hart [Sat, 10 Apr 2010 03:29:56 +0000 (03:29 +0000)] 
[Bug 1518] Windows ntpd should lock to one processor more
  conservatively.
[Bug 1522] Enable range syntax "trustedkey (301 ... 399)".

covers previous two merges

bk: 4bbff0b48O1ef16uYuf4Vpmi-KvyUQ

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518
Dave Hart [Sat, 10 Apr 2010 03:27:02 +0000 (03:27 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518-20-22

bk: 4bbff006mzJn1pCvHG6UAF9HwHnD7w

16 years agoMerge bk://ntp2.isc.org./ntp-dev
Dave Hart [Sat, 10 Apr 2010 03:09:26 +0000 (03:09 +0000)] 
Merge bk://ntp2.isc.org./ntp-dev
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1522

bk: 4bbfebe6EWR6otUSfBUwHUZBSqVA-A

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1522
Dave Hart [Sat, 10 Apr 2010 02:38:11 +0000 (02:38 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1522
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1522

bk: 4bbfe493UlYJIwkhqVhAJFf6mPuSsg

16 years ago[Bug 1522] Enable range syntax "trustedkey (301 ... 399)".
Dave Hart [Sat, 10 Apr 2010 02:26:43 +0000 (02:26 +0000)] 
[Bug 1522] Enable range syntax "trustedkey (301 ... 399)".

bk: 4bbfe1e3JlNIvwfsxzjIT-XCuAQ3cg

16 years agofixed minor format glitch in ntpd/ntpd.c
Juergen Perlinger [Fri, 9 Apr 2010 16:33:43 +0000 (12:33 -0400)] 
fixed minor format glitch in ntpd/ntpd.c

bk: 4bbf56e7GqnT8pOIpsbfqBYYAkwIqw

16 years agoMerge deacon.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Fri, 9 Apr 2010 09:34:26 +0000 (05:34 -0400)] 
Merge deacon.udel.edu:/deacon/backroom/ntp-stable
into  deacon.udel.edu:/deacon/backroom/ntp-dev

bk: 4bbef4a2vADKMNCV087MGkpmXKZi7g

16 years agoNTP_4_2_6P1
Harlan Stenn [Fri, 9 Apr 2010 08:15:04 +0000 (08:15 +0000)] 
NTP_4_2_6P1

bk: 4bbee208CuGfwJtjnP8kOC7D2fqyjA

16 years agoRelease ntp-4.2.6p1
Harlan Stenn [Fri, 9 Apr 2010 07:43:19 +0000 (03:43 -0400)] 
Release ntp-4.2.6p1

bk: 4bbeda97qqVAxJDx3JR9y7tNoYxV6g

16 years agofix format string warnings (64-bit); avoid (m)syslog format string attacks
Juergen Perlinger [Tue, 6 Apr 2010 17:08:47 +0000 (19:08 +0200)] 
fix format string warnings (64-bit); avoid (m)syslog format string attacks

bk: 4bbb6a9fTKndeJTmserGeo5Lit4FHw

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1518
Dave Hart [Tue, 6 Apr 2010 05:38:32 +0000 (05:38 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1518
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1518

bk: 4bbac8d8GxWQnGSh4m0h3PQPrVLJmQ

16 years ago[Bug 1518] Windows ntpd should lock to one processor more
Dave Hart [Tue, 6 Apr 2010 05:37:52 +0000 (05:37 +0000)] 
[Bug 1518] Windows ntpd should lock to one processor more
  conservatively.

bk: 4bbac8b0YW_JNdXaIZRn765iLmf6cg

16 years agoNTP_4_2_7P23
Harlan Stenn [Sun, 4 Apr 2010 10:09:44 +0000 (10:09 +0000)] 
NTP_4_2_7P23

bk: 4bb86568hjH5rUUG8zaRDY7iEspZ5A

16 years ago[Bug 1516] unpeer by IP address fails, DNS name works.
Dave Hart [Sun, 4 Apr 2010 04:07:40 +0000 (04:07 +0000)] 
[Bug 1516] unpeer by IP address fails, DNS name works.
[Bug 1517] ntpq and ntpdc should verify reverse DNS before use.
  ntpq and ntpdc now use the following format for showing purported
  DNS names from IP address "reverse" DNS lookups when the DNS name
  does not exist or does not include the original IP address among
  the results: "192.168.1.2 (fake.dns.local)".

bk: 4bb8108cauaG1mslKFv9Hy_H9hvGNg

16 years agoNTP_4_2_7P22
Harlan Stenn [Fri, 2 Apr 2010 02:08:59 +0000 (02:08 +0000)] 
NTP_4_2_7P22

bk: 4bb551bbxwxTzsX2aZATO2TnPE3RFQ

16 years agoMerge deacon.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Thu, 1 Apr 2010 07:34:33 +0000 (03:34 -0400)] 
Merge deacon.udel.edu:/deacon/backroom/ntp-stable
into  deacon.udel.edu:/deacon/backroom/ntp-dev

bk: 4bb44c89r9FTkMLtEmI1EQ5G19yfJg

16 years agolose whimsy from br-flock
Harlan Stenn [Thu, 1 Apr 2010 07:33:20 +0000 (03:33 -0400)] 
lose whimsy from br-flock

bk: 4bb44c40006i0X_Alq0enGEPf3qZtQ

16 years ago[Bug 1465] Make sure time from TS2100 is not invalid
Harlan Stenn [Thu, 1 Apr 2010 07:20:04 +0000 (03:20 -0400)] 
[Bug 1465] Make sure time from TS2100 is not invalid

bk: 4bb44924uzgElq5xzhuMdNoHSs0KDQ

16 years ago[Bug 1432] Don't set inheritable flag for linux capabilities
Harlan Stenn [Thu, 1 Apr 2010 07:13:14 +0000 (03:13 -0400)] 
[Bug 1432] Don't set inheritable flag for linux capabilities

bk: 4bb4478aP1hnbA6SexgjhAEnnP2Z4Q

16 years agoMerge bk://www.ntp.org/ntp-dev
Dave Hart [Wed, 31 Mar 2010 16:13:19 +0000 (16:13 +0000)] 
Merge bk://www.ntp.org/ntp-dev
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-dns

bk: 4bb3749fVMnpPL42jWcoj_zUdbT0cQ

16 years agoNTP_4_2_7P21
Harlan Stenn [Wed, 31 Mar 2010 09:16:48 +0000 (09:16 +0000)] 
NTP_4_2_7P21

bk: 4bb31300qGjNpApnaQh63rZn3LCXqQ

16 years agoMerge deacon.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Wed, 31 Mar 2010 09:04:34 +0000 (05:04 -0400)] 
Merge deacon.udel.edu:/deacon/backroom/ntp-stable
into  deacon.udel.edu:/deacon/backroom/ntp-dev

bk: 4bb31022ZomGIpbxJfAYbxQwupGHoA

16 years agoNTP_4_2_6P1_RC6
Harlan Stenn [Wed, 31 Mar 2010 08:45:31 +0000 (08:45 +0000)] 
NTP_4_2_6P1_RC6

bk: 4bb30bab_2BG-vBYgklIv8gTZtwxcA

16 years agoMerge deacon.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Wed, 31 Mar 2010 08:27:15 +0000 (04:27 -0400)] 
Merge deacon.udel.edu:/deacon/backroom/ntp-stable
into  deacon.udel.edu:/deacon/backroom/ntp-dev

bk: 4bb30763VAIboIM7i76vPwWpvWGQHg

16 years agoQuiet some trigger debugging
Harlan Stenn [Wed, 31 Mar 2010 08:14:28 +0000 (04:14 -0400)] 
Quiet some trigger debugging

bk: 4bb30464fCRxlD9P5H8i_zHQ96zF7w

16 years ago[Bug 1514] Typo in ntp_proto.c: fabs(foo < .4) should be fabs(foo) < .4
Harlan Stenn [Wed, 31 Mar 2010 08:11:55 +0000 (04:11 -0400)] 
[Bug 1514] Typo in ntp_proto.c: fabs(foo < .4) should be fabs(foo) < .4

bk: 4bb303cbX5SkdQd-X08kNf9XTZjJIQ

16 years agoMerge deacon.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Wed, 31 Mar 2010 07:20:35 +0000 (03:20 -0400)] 
Merge deacon.udel.edu:/deacon/backroom/ntp-stable
into  deacon.udel.edu:/deacon/backroom/ntp-dev

bk: 4bb2f7c3_M8Rg9hJYPfJjKtosZZIXg

16 years agotrigger cleanup
Harlan Stenn [Wed, 31 Mar 2010 07:17:27 +0000 (03:17 -0400)] 
trigger cleanup

bk: 4bb2f70768_CFE4aK5LBBF-KWjyJvg

16 years agotrigger cleanup
Harlan Stenn [Wed, 31 Mar 2010 07:13:36 +0000 (03:13 -0400)] 
trigger cleanup

bk: 4bb2f620AInuhOq_g7vCO3ooKuRzTA

16 years agoMerge deacon.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Wed, 31 Mar 2010 07:10:29 +0000 (03:10 -0400)] 
Merge deacon.udel.edu:/deacon/backroom/ntp-stable
into  deacon.udel.edu:/deacon/backroom/ntp-dev

bk: 4bb2f565JnBM6Hkq8whmh5dRdhD5xA

16 years agoWith the new bk, the trigger push needs the -q (quiet) flag
Harlan Stenn [Mon, 29 Mar 2010 09:16:32 +0000 (05:16 -0400)] 
With the new bk, the trigger push needs the -q (quiet) flag

bk: 4bb06ff08ZuB1RsyTHcPs_Zep6CjrA

16 years agowhitespace cleanup
Harlan Stenn [Fri, 26 Mar 2010 03:40:34 +0000 (23:40 -0400)] 
whitespace cleanup

bk: 4bac2cb2UNxCwi_sabHxtGCvgNOPkQ

16 years agontpq-subs.c:
Dave Hart [Thu, 25 Mar 2010 16:12:20 +0000 (16:12 +0000)] 
ntpq-subs.c:
  Add ntpq "mrulist limited" and "mrulist kod" support, equivalent to
    ntpq -c "mrulist resany=0x20" and ntpq -c "mrulist resany=0x400"
    respectively.
  Add "r" rate limiting column to mrulist output containing a period,
    or K for KoD sent in response to last packet, or L for no response
    to last packet due to rate limiting.  These are redundant with bits
    0x400 and 0x20 in the rstr column and treated differently than other
    restrict bits, reflecting not if the restriction bit is enabled for
    the remote address, but if RES_KOD or RES_LIMITED handling was
    triggered by the last packet from them.
    it.
ntp.h, ntpdc_ops.c, ntp_proto.c, ntp_config.c:
  rename RES_TIMEOUT to RES_FLAKE to reflect v4 use (as a flakeway which
    drops 10% of incoming packets from matching addresses).
ntp_intres.c:
  rename RES_TIMEOUT to RES_FLAKE to reflect v4 use (as a flakeway which
    drops 10% of incoming packets from matching addresses), eliminating
    conflict with RES_TIMEOUT provided by some systems DNS headers.

bk: 4bab8b64gZ0D42JzVbbuJCDOxIdD-A

16 years agontp_control.c:
Dave Hart [Thu, 25 Mar 2010 13:28:10 +0000 (13:28 +0000)] 
ntp_control.c:
  use ctl_putts() instead of handrolled equivalent for read_mru_list().

bk: 4bab64ea8EnQQ4par6IOvOc7_qR5Fg

16 years agossl_init.c:
Dave Hart [Thu, 25 Mar 2010 03:54:17 +0000 (03:54 +0000)] 
ssl_init.c:
  MAX_MAC_LEN will always be > sizeof(keyid_t) so make max_digest_len
    const u_long instead of u_long, initialize unconditionally.

bk: 4baade69qFdmemd-W2zjEPHt99fobQ

16 years agoMerge pogo:/usa/perlinger/ntp-dev-pointers
Dave Hart [Thu, 25 Mar 2010 03:43:58 +0000 (03:43 +0000)] 
Merge pogo:/usa/perlinger/ntp-dev-pointers
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-pool-dns

bk: 4baadbfeoj3FvDkB7Y1TVNRhyfTEIw

16 years agoChangeLog:
Dave Hart [Thu, 25 Mar 2010 01:42:06 +0000 (01:42 +0000)] 
ChangeLog:
  Catch up ChangeLog with several weeks' changes.
ntpq-subs.c, ntp_peer.c, ntp_io.c, ntp_proto.c:
  debug message cleanup for integration with ntp-dev

bk: 4baabf6emHlBCe-lQ3UpZxj_IPVb4Q

16 years agontpq.c:
Juergen Perlinger [Wed, 24 Mar 2010 21:46:41 +0000 (22:46 +0100)] 
ntpq.c:
  fix printf format warnings

bk: 4baa8841tBx9fUb-gdwSSGO0z-rnOg

16 years agossl_init.c:
Juergen Perlinger [Wed, 24 Mar 2010 19:04:35 +0000 (20:04 +0100)] 
ssl_init.c:
  cast size_t expressions to u_long in formatting

bk: 4baa6243XBN8_DGi6PsY1oDVOIGXZQ

16 years agossl_init.c:
Juergen Perlinger [Tue, 23 Mar 2010 21:05:52 +0000 (22:05 +0100)] 
ssl_init.c:
  fixed printf format warnings

bk: 4ba92d30Zk9xMNClV25xzrNsD4sFyg

16 years agontp_fp.h:
Juergen Perlinger [Tue, 23 Mar 2010 19:40:52 +0000 (20:40 +0100)] 
ntp_fp.h:
  fix prototype for 'dolfptoa'
dolfptoa.c:
  avoid pointer wrap-around warnings, fixed prototype,
  did some rework to make the implementation cleaner.

bk: 4ba91944mWTTZG0IzOcCwozfw5w-zQ

16 years agoremove unused PEVNT_TAI
Dave Hart [Fri, 19 Mar 2010 22:26:01 +0000 (22:26 +0000)] 
remove unused PEVNT_TAI

bk: 4ba3f9f9kbbzScCmqhOnH_B3qPK6aQ

16 years agoFine-tune "ntpq -c mrulimit" row limit backoff and growth after
Dave Hart [Fri, 19 Mar 2010 04:09:05 +0000 (04:09 +0000)] 
Fine-tune "ntpq -c mrulimit" row limit backoff and growth after
  testing over WiFi and a lossy go6.net UDP tunnel.

bk: 4ba2f8e1FmMPWvksME6yKwGxWZ7sNw

16 years agoadd "ntpq -c ifstats" modeled on "ntpdc -c ifstats"
Dave Hart [Fri, 12 Mar 2010 21:25:12 +0000 (21:25 +0000)] 
add "ntpq -c ifstats" modeled on "ntpdc -c ifstats"

bk: 4b9ab138sWDqEVsNaSOkLc-G0UeIhw

16 years agoFetch 32 rows initially in ntpq -cmrulist.
Dave Hart [Wed, 10 Mar 2010 03:02:42 +0000 (03:02 +0000)] 
Fetch 32 rows initially in ntpq -cmrulist.
Tweak runtime adjustment of limit in response to errors, now
  will grow number of rows 50% each success and cut it in
  half each failure.
Sleep 0.3s instead of 1s between requests in ntpq -cmrulist
  on platforms that have nanosleep() or similar.

bk: 4b970bd20R5FcHV52FEWxOnGj0F8iA

16 years agoadd "sort=count", "sort=-count" options to ntpq -c mrulist.
Dave Hart [Tue, 9 Mar 2010 15:32:25 +0000 (15:32 +0000)] 
add "sort=count", "sort=-count" options to ntpq -c mrulist.

bk: 4b966a09d_pgBvI1kjZgieYA-kxz3w

16 years agontpq-subs.c:
Dave Hart [Tue, 9 Mar 2010 15:11:28 +0000 (15:11 +0000)] 
ntpq-subs.c:
  use "sort=lstint" and "sort=-lstint" for default and reverse
    default sort order of "ntpq -c mrulist"
ntp_control.c:
  Attempt to enforce clients ignoring unknown tag=value pairs
    in CTL_OP_READ_MRU (ntpq -c mrulist) by including a randomly-
    named tag in the last row.

bk: 4b966520DUVSeFzO7mi-N4Z8LznF5g

16 years agoadd reverse sorting to ntpq -c mrulist, generalize.
Dave Hart [Tue, 9 Mar 2010 03:32:38 +0000 (03:32 +0000)] 
add reverse sorting to ntpq -c mrulist, generalize.

bk: 4b95c156cue_OOJfL6267lZwzCeSNg

16 years agoAdd "sort=avgint" option to mrulist: ntpq -c "mru sort=avgint".
Dave Hart [Tue, 9 Mar 2010 01:53:35 +0000 (01:53 +0000)] 
Add "sort=avgint" option to mrulist: ntpq -c "mru sort=avgint".
Add "sort=addr" option to mrulist to sort by remote address.
Remove check for qsort() using other than void *, ANSI C is
  required and it ensures void * for qsort().

bk: 4b95aa1fOMFPCGd0Zk9j24_ilbKz8Q

16 years agoadd support for filtering MRU list by interface (local addr):
Dave Hart [Mon, 8 Mar 2010 21:23:01 +0000 (21:23 +0000)] 
add support for filtering MRU list by interface (local addr):
  ntpq -c "mru laddr=192.168.1.1"

bk: 4b956ab5LUcxS_LyZM6oHwSpvCUQEA

16 years agoadd "ntpq -c sysstats" modeled on "ntpdc -c sysstats"
Dave Hart [Mon, 8 Mar 2010 10:44:22 +0000 (10:44 +0000)] 
add "ntpq -c sysstats" modeled on "ntpdc -c sysstats"

bk: 4b94d506NMbdTIgvUb44-OGNkA234Q

16 years agorate limit ntpdate packets to 2s interval per server to stay
Dave Hart [Sun, 7 Mar 2010 20:01:29 +0000 (20:01 +0000)] 
rate limit ntpdate packets to 2s interval per server to stay
  within the "restrict ... limited" default limit set by
  "discard minimum 1", plus 1s of enforcement slop.
Respect KoD rate-limiting responses from ntpd.

bk: 4b940619s_-nhP0lOxdfHzVzJKOvXg

16 years agontp_util.c:
Dave Hart [Sun, 7 Mar 2010 17:36:49 +0000 (17:36 +0000)] 
ntp_util.c:
  whitespace only
ntpq-subs.c:
  split mrulist() into mrulist() and collect_mru_list().
  adjust row limit based on success/failure of individual
    queries for collect_mru_list().
  revert to one MRU entry per IP address regardless of port.
ntp_monitor.c:
  correct MRU list preemption logic.
  revert to one MRU entry per IP address regardless of port.
ntp_control.h, ntp_control.c:
  add "kod_sent" non-default system variable for sys_kodsent.
config.h:
  #undef STRINGIZE after use to avoid accidentally using on
    Windows without noticing it's specific to Windows port.
ntpq.c, ntpq.h:
  move definitions to ntpq.h needed by mrulist code in
    ntpq-subs.h.

bk: 4b93e431N5hrcLho1Yq8lWTzexOhcg

16 years agontpq-subs.c:
Dave Hart [Fri, 5 Mar 2010 19:22:27 +0000 (19:22 +0000)] 
ntpq-subs.c:
  use ========= instead of --------- to separate column headings
    from rows in mrulist().
ntp_config.c:
  unpeer by hostname, needed to unpeer pool prototype
    assocations.

bk: 4b9159f3J1vR6hPKIDe47nwlXHnPqg

16 years agonew "ntpq -c mrulist" along lines of "ntpdc -c monlist" but
Dave Hart [Thu, 4 Mar 2010 17:17:47 +0000 (17:17 +0000)] 
new "ntpq -c mrulist" along lines of "ntpdc -c monlist" but
  without being limited to a single request response, and
  designed to work reliably even with an arbitrarily large
  MRU list.

bk: 4b8feb3bxh4b9cN0zMYjvGoJU59Wvw

16 years agontp_net.h:
Dave Hart [Tue, 2 Mar 2010 10:00:34 +0000 (10:00 +0000)] 
ntp_net.h:
  add ADDR_EQ_PORT() like SOCK_EQ() but testing port as well.
ntpq-subs.c, ntpq.c, ntpq.h:
  use associd_t for association IDs instead of int.
systime.c, ntp_fp.h:
  provide callback from step_systime() to allow ntpd to flush
    the MRU list when stepping the clock.
ntp_proto.c:
  use u_short for restrict_mask type in receive(), expand comment.
ntp_util.c:
  Use callback from step_systime() to flush the MRU list when
    stepping the clock.  Previously the MRU timestamps were in
    current_time units, which are monotonically increasing despite
    any steps of the system clock.  Now they are l_fp and subject
    to steps, so flush the MRU list when the clock is stepped to
    ensure all timestamps are comparable.
recvbuff.h:
  whitespace only
ntp_request.c:
  prepare for ntpq mrulist command by converting MRU entry timestamps
    from current_time (seconds) to l_fp (32:32 NTP standard).
  rename info_monitor, info_monitor_1 fields to reflect their
    use, lasttime -> avg_int and firsttime -> last_int.
ntp_iocompletionport.c:
  validate recv_srcadr_len against (now smaller) sockaddr_u size.
ntp_control.h:
  add CTL_OP_READMRU for ntpq mrulist
ntpd.h:
  add prototype for win_time_stepped(), previously called
    time_stepped().
ntp_control.c:
  add CTL_OP_READ_MRU for ntpq -c mrulist
layout.std, ntpdc_ops.c:
  rename info_monitor, info_monitor_1 fields to reflect their
    use, lasttime -> avg_int and firsttime -> last_int
ntp_restrict.c:
  wrap a long line
ntp_monitor.c, ntp.h:
  prepare for ntpq mrulist command by converting MRU entry timestamps
    from current_time (seconds) to l_fp (32:32 NTP standard).
ntp_request.h:
  rename info_monitor, info_monitor_1 fields to reflect their
    use, lasttime -> avg_int and firsttime -> last_int.
SetSystemTime.c, nt_clockstuff.c, clockstuff.h:
  rename time_stepped() callback to win_time_stepped(), move
    callback registration from Windows port to portable code
    now that ntpd/ntp_util.c is using it.

bk: 4b8ce1c2uT7_5oi08yQ_qEZ7pjFfZQ

16 years agodetermine MRU hash table size at runtime, attempting to
Dave Hart [Mon, 1 Mar 2010 12:47:33 +0000 (12:47 +0000)] 
determine MRU hash table size at runtime, attempting to
  average 8 entries per bucket at mru_maxdepth capacity.
adjust defaults for mru_maxdepth, mru_initmem.

bk: 4b8bb765jFJ2nntXTuNHNAOn4LO_xA

16 years agoremove bloated (128 byte on win32) sockaddr_storage from sockaddr_u
Dave Hart [Mon, 1 Mar 2010 09:20:28 +0000 (09:20 +0000)] 
remove bloated (128 byte on win32) sockaddr_storage from sockaddr_u
  union since the largest we use is sockaddr_in6 (28 bytes on win32).

bk: 4b8b86dcYNcwlt4ibwh4sK4Rk4-nGw

16 years agontp_proto.c:
Dave Hart [Sat, 27 Feb 2010 23:34:22 +0000 (23:34 +0000)] 
ntp_proto.c:
  broadcast demobilization fix from DLM

bk: 4b89abferhaAHSlCbOP8mLM9vGoQJw

16 years agoMany files:
Dave Hart [Sat, 27 Feb 2010 22:48:05 +0000 (22:48 +0000)] 
Many files:
  more MRU knobs
ntp_keyword.h, keyword-gen-utd:
  keyword-gen.c product
ntp_parser.h, ntp_parser.c:
  ntp_parser.y product
ntp_request.c:
  limit 'ntpdc -c monlist' response to most recent 600 entries, to
    be consistent with the historical maximum MRU list size.
ntpq-subs.c:
  read up to three named variables at once:
    ntpq -c "rv 0 version mru_depth mru_maxmem"

bk: 4b89a125iv8URwPu3FgcKpJt_BrQuQ

16 years agokeyword-gen.c:
Dave Hart [Sat, 27 Feb 2010 10:03:55 +0000 (10:03 +0000)] 
keyword-gen.c:
  include matching keyword prefix in ntp_keyword.h state entry comment.

bk: 4b88ee0bzbiUQxYwhXpVx5_j7X4S6Q

16 years agontp_parser.h, ntp_parser.c:
Dave Hart [Sat, 27 Feb 2010 08:47:04 +0000 (08:47 +0000)] 
ntp_parser.h, ntp_parser.c:
  product of ntp_parser.y
keyword-gen-utd:
  accompanies new keyword-gen.c and ntp_keyword.h
Many files:
  add MRU sizing knobs:
    mru mindepth 600 maxage 64 maxdepth 1024 maxmem 4096
  entries beyond 600 which are older than 64s are reclaimed,
    with a hard upper limit on the size of maxdepth (indirectly
    set by maxmem).
ntp.h, ntp_request.c:
  remove redundant storage of port in mon_entry, rmtadr has it.
ntp_keyword.h:
  product of keyword-gen.c

bk: 4b88dc08F3ke0xtpTMzSr0kydU6xPA

16 years agontp_config.c:
Dave Hart [Fri, 26 Feb 2010 22:59:36 +0000 (22:59 +0000)] 
ntp_config.c:
  Dr. Mills doesn't like depending on && not evaluating right side
    if left is false.
ntp_proto.c:
  timeout demobilizations don't seem to be working for preemptibles.

bk: 4b885258aOgRK6SKZyXjfSnoZvWRkA

16 years agontpq-subs.c:
Dave Hart [Fri, 26 Feb 2010 15:53:49 +0000 (15:53 +0000)] 
ntpq-subs.c:
  just the facts, ma'am
ntp_control.c:
  DLM changes via email notes
ntp_proto.c:
  DLM changes via email notes.
  remove "unlucky" experiment to track DLM changes.

bk: 4b87ee8d6f2aik0M_pzDp6hYVBbG-A

16 years agont_clockstuff.c:
Dave Hart [Thu, 25 Feb 2010 15:45:14 +0000 (15:45 +0000)] 
nt_clockstuff.c:
  suppress reports of interpolated clock "would have" gone backward
    for less than 10 usec.
ntp_proto.c:
  experiment with turning over 50% of preemptibles daily

bk: 4b869b0advNsoRFtTrlG7kbiJxysDA

16 years agontp_proto.c:
Dave Hart [Thu, 25 Feb 2010 06:34:58 +0000 (06:34 +0000)] 
ntp_proto.c:
  cull from preemptibles randomly as well as when unreachable
    long enough.
work_thread.c:
  increase blocking_workitems max queue depth to 128 on Windows
ntp_control.h:
  whitespace only
nt_clockstuff.c:
  expose performance counter drift as ctr_frequency sysvar.
ntp_intres.c, ntpd.h, ntp_config.c:
  add retry argument to getaddrinfo_sometime() so that pool lookups
    can be one-shot.
ntp_peer.c:
  test speer->flags not peer->flags for FLAG_PREEMPT

bk: 4b861a12h7tFiRIc2k_srJTxesIzbw

16 years agoThis is a group of 4 patches that
Reg Clemens [Thu, 25 Feb 2010 05:53:22 +0000 (00:53 -0500)] 
This is a group of 4 patches that
    (1) replace blanks with tabs in the source.
    (2) provide a cleaner solution to turning FLAG_PPS on/off in oncore_get_timestamp.
    (3) change LOG_INFO -> LOG_DEFAULT for one message, reducing the extraneous message
           in the messages log.
    (4) an implementation of [Bug1390] initially provided by Russell Yount, to turn the
        PPS signal on/off.  Note that this does NOT affect timekeeping.

bk: 4b8610526kPYvFKEO8Mw9trSoWU4ag

16 years agonew peer variable "srchost" shown instead of 0.0.0.0 srcadr in
Dave Hart [Wed, 24 Feb 2010 06:25:27 +0000 (06:25 +0000)] 
new peer variable "srchost" shown instead of 0.0.0.0 srcadr in
  ntpq peers billboard for .POOL. prototype associations.

bk: 4b84c657tSw91IXJKXR55Pg_1H9zxw

16 years ago"restrict source ..." to set restrictions for peers.
Dave Hart [Tue, 23 Feb 2010 09:47:25 +0000 (09:47 +0000)] 
"restrict source ..." to set restrictions for peers.
[Bug 1497] fudge is broken by getnetnum() change

bk: 4b83a42dPmB0ldadfm8M7WCyA4hcwA

16 years agonew pool implementation modeled on manycastclient.
Dave Hart [Sat, 20 Feb 2010 17:52:58 +0000 (17:52 +0000)] 
new pool implementation modeled on manycastclient.

bk: 4b80217a8GLtd9wVeaPobFKBXvyNWg

16 years ago[Bug 1483] AI_NUMERICSERV undefined in 4.2.7p20.
Dave Hart [Wed, 17 Feb 2010 09:54:32 +0000 (09:54 +0000)] 
[Bug 1483] AI_NUMERICSERV undefined in 4.2.7p20.
Maintain and use linked list of associations (struct peer) in ntpd,
  avoiding walking 128 hash table entries to iterate over peers.
Remove more workarounds unneeded since we require ISO C90 AKA ANSI C:
  - remove fallback implementations for memmove(), memset, strstr().
  - do not test for atexit() or memcpy().
Collapse a bunch of code duplication in ntpd/ntp_restrict.c added with
  support for IPv6.
Correct some corner case failures in automatically enabling the MRU
  list if any "restrict ... limited" is in effect, and in disabling MRU
  maintenance. (ntp_monitor.c, ntp_restrict.c)
Reverse the internal sort order of the address restriction lists, but
  preserve the same behavior.  This allows removal of special-case code
  related to the default restrictions and more straightforward lookups
  of restrictions for a given address (now, stop on first match).
Move ntp_restrict.c MRU doubly-linked list maintenance code into
  ntp_lists.h macros, allowing more duplicated source excision.
Correct Windows port's refclock_open() to return 0 on failure not -1.
Correct CHU, dumbclock, and WWVB drivers to check for 0 returned from
  refclock_open() on failure.
Repair ntpdate.c to handle no longer testing HAVE_TIMER_SETTIME.
Do not reference peer_node/unpeer_node after freeing when built with
  --disable-saveconfig and using DNS.

bk: 4b7bbcd8AnNbmEucQilwrg_T7vUtaw

16 years ago[Bug 1306] constant conditionals in audio_gain().
Dave Hart [Tue, 16 Feb 2010 09:40:11 +0000 (09:40 +0000)] 
[Bug 1306] constant conditionals in audio_gain().

bk: 4b7a67fbnD7FQZSFioA3HPAhqfaamg

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1464
Dave Hart [Tue, 16 Feb 2010 01:58:38 +0000 (01:58 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1464
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1464

bk: 4b79fbceG06wCTBWlsxzGgsrFlRDdg

16 years ago[Bug 1464] synchronization source wrong for refclocks ARCRON_MSF (27)
Dave Hart [Mon, 15 Feb 2010 23:19:19 +0000 (23:19 +0000)] 
[Bug 1464] synchronization source wrong for refclocks ARCRON_MSF (27)
  and SHM (28).
Correct Windows port's refclock_open() to return 0 on failure not -1.
Correct CHU, dumbclock, and WWVB drivers to check for 0 returned from
  refclock_open() on failure.
Correct "SIMUL=4 ./flock-build -1" to prioritize -1/--one.

bk: 4b79d677nCM0cZM7QfOXPN2qtirktA

16 years agoNTP_4_2_7P20
Harlan Stenn [Sat, 13 Feb 2010 11:56:48 +0000 (11:56 +0000)] 
NTP_4_2_7P20

bk: 4b769380dRJAug6PzMSk8OYb1lN2XA

16 years agoMerge bk://www.ntp.org/ntp-dev
Dave Hart [Tue, 9 Feb 2010 18:20:48 +0000 (18:20 +0000)] 
Merge bk://www.ntp.org/ntp-dev
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1483

bk: 4b71a780qGjdQD1VbB8YiHNtY1U3gA

16 years ago[Bug 1483] hostname in ntp.conf "restrict" parameter rejected.
Dave Hart [Tue, 9 Feb 2010 18:19:12 +0000 (18:19 +0000)] 
[Bug 1483] hostname in ntp.conf "restrict" parameter rejected.
Use all addresses for each restrict by hostname.
Use async DNS to resolve trap directive hostnames.

bk: 4b71a720C2RskVESWsb7TTBU3D5Gag

16 years agoNTP_4_2_7P19
Harlan Stenn [Tue, 9 Feb 2010 11:57:34 +0000 (11:57 +0000)] 
NTP_4_2_7P19

bk: 4b714daelgyqBFKqK342p_lRR1MZ_g

16 years agoNTP_4_2_6P1_RC5
Harlan Stenn [Tue, 9 Feb 2010 10:34:59 +0000 (10:34 +0000)] 
NTP_4_2_6P1_RC5

bk: 4b713a53H5tlWz94jV6DkFdSoEkQnQ

16 years agoMerge whimsy.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Tue, 9 Feb 2010 09:10:18 +0000 (04:10 -0500)] 
Merge whimsy.udel.edu:/deacon/backroom/ntp-stable
into  whimsy.udel.edu:/deacon/backroom/ntp-dev

bk: 4b71267aGDXHnHWv31q8FRpXaIkI0g

16 years ago[Bug 1438] Remove dead code from sntp/networking.c
Harlan Stenn [Tue, 9 Feb 2010 09:02:59 +0000 (04:02 -0500)] 
[Bug 1438] Remove dead code from sntp/networking.c

bk: 4b7124c3BdogadDEh4HiikkPs5sBJg

16 years ago[Bug 1338] Update the association type codes in ntpq.html.
Harlan Stenn [Tue, 9 Feb 2010 08:51:10 +0000 (03:51 -0500)] 
[Bug 1338] Update the association type codes in ntpq.html.

bk: 4b7121feooxMCYFzHWYAa_P4QxEJzQ

16 years agoMerge whimsy.udel.edu:/deacon/backroom/ntp-stable
Harlan Stenn [Tue, 9 Feb 2010 08:35:19 +0000 (03:35 -0500)] 
Merge whimsy.udel.edu:/deacon/backroom/ntp-stable
into  whimsy.udel.edu:/deacon/backroom/ntp-dev

bk: 4b711e47Yh6I4_P27L3Gu8D2ldwtFw

16 years agoMerge pogo:/usa/hart/ntp-dev-1478-79-84
Harlan Stenn [Tue, 9 Feb 2010 08:27:12 +0000 (03:27 -0500)] 
Merge pogo:/usa/hart/ntp-dev-1478-79-84
into  whimsy.udel.edu:/deacon/backroom/ntp-dev

bk: 4b711c60tPoPY-t9x3saQYG5vEHC7A

16 years agocleanup
Harlan Stenn [Tue, 9 Feb 2010 08:23:58 +0000 (03:23 -0500)] 
cleanup

bk: 4b711b9eqquKB8YwqSzbhQ-_aD2EaA

16 years agoMerge bk://maccarony/ntp-stable
Harlan Stenn [Tue, 9 Feb 2010 08:07:43 +0000 (03:07 -0500)] 
Merge bk://maccarony/ntp-stable
into  pogo.udel.edu:/pogo/users/hart/ntp-stable-1478-79-84

bk: 4b7117cfT7Ro1M0g8zke7Oby4A7Nlg

16 years ago[Bug 1140] Clean up debug.html, decode.html, and ntpq.html
Harlan Stenn [Tue, 9 Feb 2010 07:49:34 +0000 (02:49 -0500)] 
[Bug 1140] Clean up debug.html, decode.html, and ntpq.html

bk: 4b71138el36WUGb4JxmB8rmNoAAWMw

16 years agoMerge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1478-79-84
Dave Hart [Mon, 8 Feb 2010 14:23:53 +0000 (14:23 +0000)] 
Merge shiny.ad.hartbrothers.com:C:/ntp/ntp-stable-1478-79-84
into  shiny.ad.hartbrothers.com:C:/ntp/ntp-dev-1478-79-84

bk: 4b701e79zaPsJTape9VBp6Y4caCHYA

16 years ago[Bug 1478] linking fails with undefined reference EVP_MD_pkey_type.
Dave Hart [Mon, 8 Feb 2010 14:11:12 +0000 (14:11 +0000)] 
[Bug 1478] linking fails with undefined reference EVP_MD_pkey_type.
[Bug 1479] Compilation fails because of not finding readline headers.
[Bug 1484] ushort is not defined in QNX6.

bk: 4b701b808fXIxii9pLOj-55cwSWBXA

16 years agoNTP_4_2_7P18
Harlan Stenn [Sun, 7 Feb 2010 10:31:29 +0000 (10:31 +0000)] 
NTP_4_2_7P18

bk: 4b6e9681VuFcnt6XJkyUsZxCicdl_g