[chrony-dev] [GIT] chrony/chrony.git branch master updated. 4.1-57-g219085b

[ Thread Index | Date Index | More chrony.tuxfamily.org/chrony-dev Archives ]


This is an automated email from git. It was generated because a ref
change was pushed to the "chrony/chrony.git" repository.

The branch, master has been updated
       via  219085b8f67e019cf483d18d98ced07c4457d1d5 (commit)
       via  2319f72b29a97059c759902bab410a425a9035e9 (commit)
       via  72f7d09f58cbd869e022dca38a9a68a5f8091ef8 (commit)
       via  0bf39c0ab93f0ed4a9b235b1187762586d24b688 (commit)
       via  2e126ed2b53bab906c315b5f3e144b29f203d2f4 (commit)
       via  a652ce7d0efaa0074dc52b857de7a9b3cb6eea96 (commit)
       via  a97ca73704c3add23e52fafe0fa87aca7aaa254e (commit)
       via  125d7a5c320c58429586135dab393767f5375917 (commit)
       via  36356ef03392a4f09cbbec448c7233b656574ee0 (commit)
      from  a2d1569455aa10a273e41eba5f79ca6210934d68 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------
commit 219085b8f67e019cf483d18d98ced07c4457d1d5
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Nov 15 10:11:03 2021 +0100

    test: add 144-exp1 test

commit 2319f72b29a97059c759902bab410a425a9035e9
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Nov 15 10:08:34 2021 +0100

    ntp: add client support for experimental extension field
    
    Add "extfield F323" option to include the new extension field in
    requests. If the server responds with this field, use the root
    delay/dispersion and monotonic timestamp. Accumulate changes in the
    offset between the monotonic and real-time receive timestamps and use
    it for the correction of previous offsets in sourcestats. In the
    interleaved mode, cancel out the latest change in the offset in
    timestamps of the previous request and response, which were captured
    before the change actually happened.

commit 72f7d09f58cbd869e022dca38a9a68a5f8091ef8
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Nov 10 15:34:26 2021 +0100

    sourcestats: add function to correct accumulated offsets
    
    This will be needed to follow server time corrections in order to
    better estimate frequency.

commit 0bf39c0ab93f0ed4a9b235b1187762586d24b688
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Nov 10 14:56:31 2021 +0100

    ntp: add server support for experimental extension field
    
    Maintain a server monotonic timescale needed for the experimental
    extension field. It follows the best estimate of frequency without
    time corrections. Implement it as an offset relative to the NTP time,
    starting at zero, using a slew handler to cancel time corrections of the
    NTP clock. The 32-bit epoch ID is set to a random value on start and
    every step of the system clock.

commit 2e126ed2b53bab906c315b5f3e144b29f203d2f4
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Nov 15 10:25:35 2021 +0100

    util: add functions for converting new root delay/dispersion

commit a652ce7d0efaa0074dc52b857de7a9b3cb6eea96
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Nov 10 14:28:53 2021 +0100

    util: add function to subtract NTP timestamps
    
    This will be needed to work with monotonic timestamps, which don't have
    a stable epoch and cannot be converted to timespec.

commit a97ca73704c3add23e52fafe0fa87aca7aaa254e
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Wed Nov 10 14:52:04 2021 +0100

    ntp: add pre-NTPv5 experimental extension field
    
    Add an experimental extension field for some features that were proposed
    for NTPv5. Higher-resolution root delay and dispersion (using 28-bit
    fraction) are added. A monotonic receive timestamp will allow a
    frequency transfer between the server and client. The client will be
    able to separate the server's time corrections from frequency
    corrections by tracking the offset between the real-time and monotonic
    receive timestamps.
    
    The field has a type of 0xF323 from the new experimental range proposed
    by the NTP working group. Include a magic 32-bit value in the field to
    avoid interoperability issues if a different implementation choses the
    same type for its own experimental field. The value will be changed on
    incompatible changes to avoid issues between two different chrony
    versions.

commit 125d7a5c320c58429586135dab393767f5375917
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Nov 8 16:35:47 2021 +0100

    ntp: prepare for non-authentication extension fields
    
    Add a new variable to the packet info structure with flags for extension
    fields included in received packets and add a new parameter to
    transmit_packet() to add the fields to transmitted packets.

commit 36356ef03392a4f09cbbec448c7233b656574ee0
Author: Miroslav Lichvar <mlichvar@xxxxxxxxxx>
Date:   Mon Nov 8 16:06:03 2021 +0100

    ntp: move initial packet parsing from ntp_auth to ntp_core
    
    Since commit fdfcabd79bd3 ("ntp: drop support for long NTPv4 MACs"), the
    parser doesn't need to check validify of MACs in NTPv4 packets to
    distinguish them from extension fields. Move the parser to ntp_core to
    avoid having a separate iteration looking for non-authentication
    extension fields.

-----------------------------------------------------------------------

Summary of changes:
 candm.h                     |   1 +
 client.c                    |   1 +
 cmdmon.c                    |   2 +
 cmdparse.c                  |  12 ++
 doc/chrony.conf.adoc        |  19 +++
 ntp.h                       |  25 ++++
 ntp_auth.c                  | 109 -----------------
 ntp_auth.h                  |   3 -
 ntp_core.c                  | 283 +++++++++++++++++++++++++++++++++++++++++---
 nts_ntp.h                   |   5 -
 nts_ntp_client.c            |   2 +-
 nts_ntp_server.c            |   2 +-
 sourcestats.c               |  16 +++
 sourcestats.h               |   4 +
 srcparams.h                 |   1 +
 test/simulation/144-exp1    |  55 +++++++++
 test/simulation/test.common |   4 +-
 test/unit/ntp_auth.c        |  14 +--
 test/unit/ntp_core.c        |  93 ++++++++++++++-
 test/unit/util.c            |  18 ++-
 util.c                      |  41 +++++++
 util.h                      |   6 +
 22 files changed, 570 insertions(+), 146 deletions(-)
 create mode 100755 test/simulation/144-exp1


hooks/post-receive
-- 
chrony/chrony.git

-- 
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble?  Email listmaster@xxxxxxxxxxxxxxxxxxxx.


Mail converted by MHonArc 2.6.19+ http://listengine.tuxfamily.org/