[Ntp] draft-ietf-ntp-roughtime-05: tag change makes implementation more complex

JP Sugarbroad <taralx@gmail.com> Sun, 19 September 2021 19:22 UTC

Return-Path: <taralx@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 7128A3A38DA for <ntp@ietfa.amsl.com>; Sun, 19 Sep 2021 12:22:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.098
X-Spam-Level:
X-Spam-Status: No, score=-2.098 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] 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 olmHBCxRgrFv for <ntp@ietfa.amsl.com>; Sun, 19 Sep 2021 12:22:42 -0700 (PDT)
Received: from mail-pf1-x42a.google.com (mail-pf1-x42a.google.com [IPv6:2607:f8b0:4864:20::42a]) (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 4C9C83A38D9 for <ntp@ietf.org>; Sun, 19 Sep 2021 12:22:42 -0700 (PDT)
Received: by mail-pf1-x42a.google.com with SMTP id w19so14132337pfn.12 for <ntp@ietf.org>; Sun, 19 Sep 2021 12:22:42 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:from:date:message-id:subject:to; bh=Dt/UE+73sceo/qBC/0eFOVJ4WghHysKn50Vm66G1lIk=; b=UHL31AZF9T8SpKVl6Bs96LhzH5ZovBu+y6vaeXAbj+IO9GHAX9f1nCMpaVgHTVb5tr IicVKb1oM1GKcwzop61m9EH5ou8HSF32XUf4rkezmZjrYn9LDbTuo3b4KlqLyMIm+tdX 83p7YszA6171C4tZWBSbLru+T0KcUfF+oXS3G43J4GHWqfG+WHamIJW/crxN5MtJCMYa RxF3xzP9NABdcVnRI++ksjSaY96WuZ7+BqSuaBII/i4IRL48y8FDGBLUB82x5gv6GcJN uzJmURclKUazx19SrgIsP2Y50J3uIqGcT7XhA5INSTDd7YdwR9r7AxlKiAPflSlvQXOq uQ+g==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=Dt/UE+73sceo/qBC/0eFOVJ4WghHysKn50Vm66G1lIk=; b=A1qCjsZMqoLjVhLfACW3GuN5y1wBcaXB83l8CCuPIYfbz1Haiy22ziT9CLh8H6kqgt kdlsfi271VmNl8Xs9B5ATHdwMEDBP32D7kmZ1WQfH30OwdZzv974g0h7px45lInOG+ru RdFAHtgUBFXiob7HRKx5utmCJnRR6dqLx/DYw5yz3RGYZgI/Zqx4+ycDGYQSFNs+wT56 lFs6aICQNSlNh8lLubCFgMS06tkaK/ob45YwdOEICmFq4OJGgyfiLjfeznsfcuZyG+MY hRZFkrIlDD2w2d3iqAKMMxotoI8rA/yuLrwa3UMUOmr0CG1ybXUu7EFR6zHRyBnib9qL S/DA==
X-Gm-Message-State: AOAM5319YwI7wr0lWK9XquNKhgfMoZpSpcWe7ETkfWOHL+5nDsysusZB VReutaib2jsGI/JqUxcWz7nLjCrWVlgMBWbuomhU1Mc5Eeg=
X-Google-Smtp-Source: ABdhPJxd4MYkmlBZCEjHHaTIca6iQmzSzU0RZCeKurKvbKio67Hg0zE5hVEgH2oiL666EMBkeuRT9KyP6noASW0FDZk=
X-Received: by 2002:aa7:9094:0:b0:42a:ea30:5509 with SMTP id i20-20020aa79094000000b0042aea305509mr21895776pfa.30.1632079360664; Sun, 19 Sep 2021 12:22:40 -0700 (PDT)
MIME-Version: 1.0
From: JP Sugarbroad <taralx@gmail.com>
Date: Sun, 19 Sep 2021 12:22:29 -0700
Message-ID: <CAGZkp1-ZCuSvMyQyWCnE511O8-WL=OXfsTdraKsByMmWC3spVA@mail.gmail.com>
To: ntp@ietf.org
Content-Type: multipart/alternative; boundary="00000000000089a84f05cc5e162e"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/uejn3VAguTXp51htU7jlKg4T8Ic>
Subject: [Ntp] draft-ietf-ntp-roughtime-05: tag change makes implementation more complex
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Network Time Protocol <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: Sun, 19 Sep 2021 19:22:44 -0000

In the pre-ietf draft, short tags were padded with FF, putting them at the
end of the tag sequence. Now they're padded with 00, which puts them at the
start. So packets start with PAD rather than ending with it, noticeably
complicating packet construction.

-- 
JP Sugarbroad <taralx@gmail.com>
"Please let me know if there's any further trouble I can give you."
    -- Unknown