[Ntp] Re: Grease in Roughtime

David Venhoek <david@venhoek.nl> Thu, 26 September 2024 06:22 UTC

Return-Path: <david@venhoek.nl>
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 F088BC14F74E for <ntp@ietfa.amsl.com>; Wed, 25 Sep 2024 23:22:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.909
X-Spam-Level:
X-Spam-Status: No, score=-1.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=venhoek-nl.20230601.gappssmtp.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id oT2mGznK8q-8 for <ntp@ietfa.amsl.com>; Wed, 25 Sep 2024 23:22:54 -0700 (PDT)
Received: from mail-ej1-x632.google.com (mail-ej1-x632.google.com [IPv6:2a00:1450:4864:20::632]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 923C9C14F61F for <ntp@ietf.org>; Wed, 25 Sep 2024 23:22:53 -0700 (PDT)
Received: by mail-ej1-x632.google.com with SMTP id a640c23a62f3a-a8a7dddd2aaso8800266b.3 for <ntp@ietf.org>; Wed, 25 Sep 2024 23:22:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=venhoek-nl.20230601.gappssmtp.com; s=20230601; t=1727331772; x=1727936572; darn=ietf.org; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=0UH8cbgQX1nBNTKjw1jFrOKzEm+z/dgzaFVoY8XWe+g=; b=f1mwbjXYUUj6fUzalVqASTRWL3UXIj/NGhJHwvWifW+KLa/v4zcfyr1wOzvHvi7Xxy 9+IoEvX/HniePzzypI+c6ENtUTIH5Rhg8TD9mR5pdHNkYNGSq8V0rGnDZUs9BLnI6QF7 gfFA6IRBIdjP8ndJ8itJi6MEMu201lVxinXK1xYSZ1owINQAN5Jp6wG++GkBgzj/jqbE fiBsFgC5l7c2IE/2Un7GDe+yo9Is4uoq5hLTPq4qhrv7mbIZheZtwto60LW2W7A5N0zy TaBlMMmTOGT90WPORj+ecEOMmCbt17/ALCHsEI+B8y0hZRuuJ3Cw7UcMTQkfGYy1fAmO LHpA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1727331772; x=1727936572; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=0UH8cbgQX1nBNTKjw1jFrOKzEm+z/dgzaFVoY8XWe+g=; b=VWPmsBBrp3t5W+GADotqCcBK4YK8R6rFX8ze2n5JEtNyDmNIi1NqpEmdE1gAAogVwC VtxCav7u1iyuO9CIxiHaoH+eHf+J3/+n8GE423Yqbi+jNMrgb2Ftp3raqE39kylMD21O GnzOMQhYBuDafEx+mX1EAfpA6lLPO+0qFEXUdPyDmvmSEbeCay4BeRWgmEmrj363ZJAS szBn8Ry0tFiin4S8kYWW01PuisIdB+Mp4PkOxCjiNoL8a8gZKdDMpRuwdp7sTiCBEovO 6BY6YO8OgWAr20H4dGEVARuq4tM12JE8oEXsuqwbRXjY4V4l5j3FJsjYRomMRbGiFPch apwg==
X-Gm-Message-State: AOJu0YwsEcMB5TNQ+hs+zrHK1Jz15tZNsaZEVjg6lgchGbNsAjHf/mdv +AIPOpoNyEqmlTHhUU1+4sSDTorL4GST7Xxl0dEX0hHrzvAALN5OEvl+JeRPQFAmUEUBAy1SA+m a2fYFG/yyQGdI/6Y8MlmKUjGqQpRSkFwOhijfjg==
X-Google-Smtp-Source: AGHT+IElg1ni2TmrPgfOnf8czOuSGysvwjKu8SKhWZsGvJWyahrA+YrwlrpFgZu77aQI9dtq5nI1MmoVUN7YH6k9FQQ=
X-Received: by 2002:a17:907:7b9f:b0:a8d:2623:dd17 with SMTP id a640c23a62f3a-a93a066291dmr220392366b.12.1727331771491; Wed, 25 Sep 2024 23:22:51 -0700 (PDT)
MIME-Version: 1.0
References: <CAPz_-SUY9egByeG+cSHXFqbc6XzRmkpCF7Y4QS2ud0LmOjccAA@mail.gmail.com> <55dedf3b-04f7-4efe-bb8a-6aee9554e011@dansarie.se>
In-Reply-To: <55dedf3b-04f7-4efe-bb8a-6aee9554e011@dansarie.se>
From: David Venhoek <david@venhoek.nl>
Date: Thu, 26 Sep 2024 08:22:40 +0200
Message-ID: <CAPz_-SU7qf3dkvgQvG44knH6ZostdXY=_z-viBrCk-7gF1K4SQ@mail.gmail.com>
To: Marcus Dansarie <marcus@dansarie.se>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Message-ID-Hash: VYNTYZ2IAULA5W25MJGFA3624SSLFFUC
X-Message-ID-Hash: VYNTYZ2IAULA5W25MJGFA3624SSLFFUC
X-MailFrom: david@venhoek.nl
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ntp.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: ntp@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [Ntp] Re: Grease in Roughtime
List-Id: Network Time Protocol <ntp.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/L8x1szc-v7dbGsYQxLf5Qy1kxR0>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Owner: <mailto:ntp-owner@ietf.org>
List-Post: <mailto:ntp@ietf.org>
List-Subscribe: <mailto:ntp-join@ietf.org>
List-Unsubscribe: <mailto:ntp-leave@ietf.org>

Hi Marcus,

Apologies for taking some time on this. My concern here is that
suppose we go to a version 2 of roughtime in the future, clients may
for a while send out requests that are both valid as version 1 and
version 2 requests, accepting either response. If the server balks at
seeing version number 2 (because it doesn't exist according to it) and
thus would not, or not respond correctly to such packets, this would
make version negotiation really painfull. So servers in my view should
ignore version numbers they don't recognize in the VER tag, as long as
there is at least one they do know about.

I hope that clarifies.

Kind regards,
David Venhoek

On Mon, Sep 23, 2024 at 10:49 PM Marcus Dansarie <marcus@dansarie.se> wrote:
>
> Thanks for the comments!
>
> I just made a pull request on Github
> (https://github.com/ietf-wg-ntp/draft-roughtime/pull/4) that should
> clarify how grease is used in Roughtime. It also addresses most of
> Martin and Kristof's comments.
>
> On 2024-09-17 13:52, David Venhoek wrote:
> > First of all, regarding the ver tag, there is no requirement for
> > servers to ignore unknown versions in that tag. this means that
> > technically it is valid behavior right now for a server receiving
> > unknown versions to reject that packet, even if there is version
> > overlap. This seems highly undesirable
>
> I don't think I fully understand the problem you are describing here
> however. Could you give an example?
>
> Kind regards,
> Marcus
>
> _______________________________________________
> ntp mailing list -- ntp@ietf.org
> To unsubscribe send an email to ntp-leave@ietf.org