Re: [Ntp] An RFC6921-compliant NTP implementation

Daniel Franke <dfoxfranke@gmail.com> Thu, 01 April 2021 15:05 UTC

Return-Path: <dfoxfranke@gmail.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2ABEB3A1712 for <ntp@ietfa.amsl.com>; Thu, 1 Apr 2021 08:05:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1Zo8EWCq_8q8 for <ntp@ietfa.amsl.com>; Thu, 1 Apr 2021 08:04:58 -0700 (PDT)
Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DB6B13A170D for <ntp@ietf.org>; Thu, 1 Apr 2021 08:04:58 -0700 (PDT)
Received: by mail-pj1-x102c.google.com with SMTP id k23-20020a17090a5917b02901043e35ad4aso3226635pji.3 for <ntp@ietf.org>; Thu, 01 Apr 2021 08:04:58 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=6OYeGNWIGCIyL9cvkfiPhO8ui2FfirBhPqZH3H2t85o=; b=F/hXP5nrMW04jd9e0CQRgSJJmX1o6uO03MVZ58OFAXX79GX/aCGgADSWUqCIF9zx0C GaDpw1goA+TLjSZkU1ERs1PYLFWa/fTBxZET1ovoDF7yQmq4vGGe7GeJRmE2+X4dPrV3 oILguCkOu3xh/UOif6r5jb5vo2bOpW06cENapp0m3lpvCoMPIl+TjeMaplCBUIOKY0Pi IDMeOD4b357ho7MNvPElbApQaSSfg8PlmW43vNvCcFH0YJb8sYp62F1sRy2Wudxgl7H3 cq8TnUtL60RgB1rMRXNmuXyPCJAN3zBdvChozLu5GPXfAOZMr9TcMZE7b+d5Guia0cP1 4ZAQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=6OYeGNWIGCIyL9cvkfiPhO8ui2FfirBhPqZH3H2t85o=; b=nbGYzUes52ABMh2QwA2lgJh3k/DfJrCCx5fGo7D7cBDP4TJ5JJRMyONuzdldCNLXzJ G1z0B4G42/RXSZr81OTG7nANA+F+Bx3mYKCQHdiVTHRepetxeWB1l3XKBFEPKYv1xxWz IsmKdNocWe7lmKlHRZxw5vOhsmfF3x61CkeP4nIJ5pCBMtvX5+db2k1GJMB3KNhvSN5j baASBxpSgBK6su5YRcY7yX5q5VyIARMiIgoYPk9TGP+MVyWRUFc9pSHLA4zGRrWafQia sJaIYiorOChf6UV0hqH+QH/KgQfwLTx5dF9k/vfLVUHHlj1ogiDdLS1VpMiXbpKk/yYj vwkA==
X-Gm-Message-State: AOAM532YvxUauYh3LgZS7X/lzPtGbZk5zgh6TmO1uDKkhMqnILVi/ajv 1E0nVGyBuasGDvvKGugFQxaS+7lZeePdNvP6/LA=
X-Google-Smtp-Source: ABdhPJz0RhCgiJs6Ei2lXZkXaG3n/LpGgEKE74dJao9fxXzCzrv602ZcDXSIewdg2XvZCzNto6IRCMyR6CV7JlRpsc8=
X-Received: by 2002:a17:902:e312:b029:e7:3f29:c06d with SMTP id q18-20020a170902e312b02900e73f29c06dmr8409430plc.85.1617289497108; Thu, 01 Apr 2021 08:04:57 -0700 (PDT)
MIME-Version: 1.0
References: <CAJm83bAQgRKNEdaOcNvSkL1OF-xOd8T_5AYfwJCXtpZifUAVSQ@mail.gmail.com> <71a20585-797d-f0a2-11b2-7770adc317bd@meinberg.de>
In-Reply-To: <71a20585-797d-f0a2-11b2-7770adc317bd@meinberg.de>
From: Daniel Franke <dfoxfranke@gmail.com>
Date: Thu, 01 Apr 2021 11:04:46 -0400
Message-ID: <CAJm83bBst6mMqY72gwaj5Xq++GD9qPMRL7b+2+fGuq9qQ1BCnA@mail.gmail.com>
To: Martin Burnicki <martin.burnicki@meinberg.de>
Cc: NTP WG <ntp@ietf.org>, bob.hinden@gmail.com
Content-Type: multipart/alternative; boundary="000000000000f9633005beea8d08"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/Tn0AX07uvAU7v3yXS3aWviphfC8>
Subject: Re: [Ntp] An RFC6921-compliant NTP implementation
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 01 Apr 2021 15:05:04 -0000

FTL is an annoyance for NTS if you have a common reference frame, and a
disaster if you don't. Suppose you have a client and server that are 25
light-milliseconds apart. If you get a response back 60 milliseconds after
you send your request, then in a subluminal universe you can deduce that
you're getting an error of at most 5ms on account of network asymmetry (I
don't think any NTP implementation supports this optimization, but byztimed
does). With no speed limit on communication, this trick doesn't work any
more and the error could be up to 30ms. With time travel, you can't bound
your error at all, because latencies can be negative.

On Thu, Apr 1, 2021 at 5:39 AM Martin Burnicki <martin.burnicki@meinberg.de>
wrote:

> Hi,
>
> On 2021-04-01 02:00 Daniel Franke wrote:
> > Building on the groundbreaking results from CERN's OPERA experiment
> > showing that neutrinos can be accelerated to superluminal speeds merely
> > by loosening the contacts on a transmission cable, I'm pleased to report
> > a mostly-successful experiment building an RFC6921 ("Design
> > Considerations for Faster-Than-Light (FTL) Communication") compliant
> > implementation of NTP.
>  > [...]
>
> This sounds like a real cool improvement.
>
> I can imagine that "bad guys" will try to spoof this. Will it be
> possible to use NTS to avoid that? ;-)
>
> Martin
> --
> Martin Burnicki
>
> Senior Software Engineer
>
> MEINBERG Funkuhren GmbH & Co. KG
> Email: martin.burnicki@meinberg.de
> Phone: +49 5281 9309-414
> Linkedin: https://www.linkedin.com/in/martinburnicki/
>
> Lange Wand 9, 31812 Bad Pyrmont, Germany
> Amtsgericht Hannover 17HRA 100322
> Geschäftsführer/Managing Directors: Günter Meinberg, Werner Meinberg,
> Andre Hartmann, Heiko Gerstung
> Websites: https://www.meinberg.de  https://www.meinbergglobal.com
> Training: https://www.meinberg.academy
>