Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-18.txt

Watson Ladd <watson@cloudflare.com> Wed, 01 May 2019 17:33 UTC

Return-Path: <watson@cloudflare.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 E20C11200FE for <ntp@ietfa.amsl.com>; Wed, 1 May 2019 10:33:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.002
X-Spam-Level:
X-Spam-Status: No, score=-2.002 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_HIGH=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cloudflare.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 fbtXkY_FbPZR for <ntp@ietfa.amsl.com>; Wed, 1 May 2019 10:33:32 -0700 (PDT)
Received: from mail-qt1-x836.google.com (mail-qt1-x836.google.com [IPv6:2607:f8b0:4864:20::836]) (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 C5E191200F8 for <ntp@ietf.org>; Wed, 1 May 2019 10:33:31 -0700 (PDT)
Received: by mail-qt1-x836.google.com with SMTP id e2so20041322qtb.4 for <ntp@ietf.org>; Wed, 01 May 2019 10:33:31 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cloudflare.com; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=uLoL/2+viV8varcDYmUqz530gBpm5o2rsFCYvBM/iU8=; b=CvHMDb6c8JEj3VKM5UbbpJxIXENGn1KiLHjVMHgZEZPgeAzWk/XZl61xm70XZWtJBq +ejVZoLc+QcHULt4/mgFKvQdtY+al19ECHIJA+K6pEgqR0KQ/hp8VwzJeKKPn7LNrYby oEBZUu1HMEL1iNb60//kFtHPc6RHz4c+jhVeg=
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=uLoL/2+viV8varcDYmUqz530gBpm5o2rsFCYvBM/iU8=; b=QBAtibeLoC4qLQBlfxbN6vtA34/v7WkF+FONvXTVYNU8/p9kd9emZEZ0b6Yd5xjdUB Io0yiBDdneNnKse9iV4fZYmYFgzT4TQPBHL50Td5UX9XvdV8VItpDiHsPbHEWxFzpzfB oNNs4Ye4/nCzGKf06Vugfa6ldLEvshar3VD8B5vBgQZCSsAVWge1rUY+FG4tSCuQpfas i7ET6BJ+GlI/gsdWjT/7TWcunX1Iu26Q7qFHvu5vBOLbi6veGeXLAjJhPmyNQSLbsyfv uMSfhsPF+oPN+LwFeUod7zP2ALCqDPLc2cmmp5mRVQ8yq8VbRCppw/yPPfT/OZiMqvIM Xyvw==
X-Gm-Message-State: APjAAAXo0F+50CqjBtYaJEzMUarKnf/lfv9lvnrpVztd2y2dENX6jeq/ EQpPml1trLWsG0yXKm5BB8M9Y/JlBx1rZ/muRpKMZzPb/bQ=
X-Google-Smtp-Source: APXvYqxYYsMtcz+55+Yoo3dCpEKSgcyiJpBTVrom3WBtiJuMOePT4QXhEL6ikDlzWeaoOqadI892ggTOwfOd6fbeGp4=
X-Received: by 2002:ac8:925:: with SMTP id t34mr59684507qth.30.1556732010885; Wed, 01 May 2019 10:33:30 -0700 (PDT)
MIME-Version: 1.0
References: <20190422080620.6323340605C@ip-64-139-1-69.sjc.megapath.net> <9ae82731-6c9c-6c66-6088-2e2a760e6fdd@dansarie.se> <CAN2QdAHAoM01-typ5m+EP03c3dx5O1AEbda1t-t3iY5bvMLrgQ@mail.gmail.com> <55579214-0fc5-b608-5367-460a3bc5967c@dansarie.se>
In-Reply-To: <55579214-0fc5-b608-5367-460a3bc5967c@dansarie.se>
From: Watson Ladd <watson@cloudflare.com>
Date: Wed, 01 May 2019 10:33:20 -0700
Message-ID: <CAN2QdAHs=Nmpc1XJNEB0Za8CFP=kwPfnWDLb-HisOiC-P-U1VQ@mail.gmail.com>
To: Marcus Dansarie <marcus@dansarie.se>
Cc: "ntp@ietf.org" <ntp@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/yhZ1rmV-aJYVLMmzz_37DziGM6s>
Subject: Re: [Ntp] I-D Action: draft-ietf-ntp-using-nts-for-ntp-18.txt
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: Wed, 01 May 2019 17:33:34 -0000

On Wed, May 1, 2019 at 2:29 AM Marcus Dansarie <marcus@dansarie.se> wrote:
>
> On 2019-05-01 02:02, Watson Ladd wrote:
> > I do not read 5.7 as encouraging using multiple cookie placeholder
> > fields to send a single cookie back. I actually misread the
> > specification and thought it required the cookie extension to be
> > longer then the cookie sent in response. Perhaps this should be
> > rewarded to encourage the server to send the minimum of {1+cookies
> > requested, 1+number of cookies that fit in total length of cookie
> > placeholder fields}.
>
> You are right in not reading 5.7 that way. There's no wording in there
> suggesting that. What I described was a way that a client implementation
> could resolve the situation.
>
> What 5.7 currently says about this is "The number of NTS Cookie
> extension fields included SHOULD be equal to, and MUST NOT exceed, one
> plus the number of valid NTS Cookie Placeholder extension fields
> included in the request." I think this, in essence, is saying the same
> thing as what you suggest.

It certainly permits it, but it doesn't say you should include as many
cookies as you can without inflating the size. Maybe it should?
>
> Kind regards,
> Marcus
>
> _______________________________________________
> ntp mailing list
> ntp@ietf.org
> https://www.ietf.org/mailman/listinfo/ntp