
From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  1 02:05:47 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A710C1B3E17 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 02:05:47 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 YjRralH65jSE for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 02:05:46 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 51E7F1B3CCE for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 02:05:46 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4820B86DBCC for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 10:05:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 22CC386D643 for <ntpwg@lists.ntp.org>; Tue,  1 Mar 2016 09:06:18 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <internet-drafts@ietf.org>) id 1aagFu-000OwJ-SV for ntpwg@lists.ntp.org; Tue, 01 Mar 2016 09:06:18 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7794B1B3642; Tue,  1 Mar 2016 01:06:10 -0800 (PST)
MIME-Version: 1.0
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.15.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160301090610.22952.39142.idtracker@ietfa.amsl.com>
Date: Tue, 01 Mar 2016 01:06:10 -0800
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: internet-drafts@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol of the IETF.

        Title           : UDP Checksum Complement in the Network Time Protocol (NTP)
        Author          : Tal Mizrahi
	Filename        : draft-ietf-ntp-checksum-trailer-05.txt
	Pages           : 13
	Date            : 2016-03-01

Abstract:
   The Network Time Protocol (NTP) allows clients to synchronize to a
   time server using timestamped protocol messages. To facilitate
   accurate timestamping, some implementations use hardware-based
   timestamping engines that integrate the accurate transmission time
   into every outgoing NTP packet during transmission. Since these
   packets are transported over UDP, the UDP checksum field is then
   updated to reflect this modification. This document proposes an
   extension field that includes a 2-octet Checksum Complement, allowing
   timestamping engines to reflect the checksum modification in the last
   2 octets of the packet rather than in the UDP checksum field. The
   behavior defined in this document is interoperable with existing NTP
   implementations.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-ietf-ntp-checksum-trailer-05

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-checksum-trailer-05


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  1 04:35:14 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 471C21B2B33 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 04:35:14 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 tsLNvZCqLLPT for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 04:35:12 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 2B3191B2B3B for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 04:35:11 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0851686DBCF for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 12:35:10 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id EE6FF86D55E for <ntpwg@lists.ntp.org>; Tue,  1 Mar 2016 11:40:12 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aaiey-0004p0-E0 for ntpwg@lists.ntp.org; Tue, 01 Mar 2016 11:40:12 +0000
From: Harlan Stenn <stenn@ntp.org>
To: ntpwg@lists.ntp.org
In-reply-to: <20160301090610.22952.39142.idtracker@ietfa.amsl.com>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com>
Comments: In-reply-to internet-drafts@ietf.org message dated "Tue, 01 Mar 2016 01:06:10 -0800."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 01 Mar 2016 11:40:12 +0000
Message-Id: <E1aaiey-0004p0-E0@stenn.ntp.org>
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

I have some recommendations on changes I'd like to see in this document:

- The extension header Field Type should be: 0x2005
  This follows the convention of using the high-order bits as flag bits
  and low-order bits as the opcode.  In this case the 0x2000 bit means
  "This extension field does not require a subsequent MAC".
  This is important because we want to make it easy for a client that
  does not know about this extension field to know that the subsequent
  MAC is not needed.  The unknown (to an older client) extension field
  can be safely ignored in this case.

- the extension field length should not be specified at this time.
  There are enough ways to tell the difference between an old-style
  MAC and this extension field, and there are cases where 28 bytes
  will conflict with an old-style MAC.

- I propose an *additional* implementation using the same Field Type, in
which:

- - the Accurate Timestamp Engine does not touch the original content of
the packet at all, so the NTP packet using this method  MAY contain a MAC.

- - the Accurate Timestamp Engine adds the described extension field,
consisting of:
- - - the Field Type (0x2005)
- - - the packet length
- - - 4 octets of an unsigned fractional NTP timestamp containing the
accurate timestamp correction offset
- - - any 0x00 padding octets
- - - the checksum complement

The reasoning for this alternative implementation is that while the
original proposal is backward compatible, it PROHIBITS the use of
authentication.  While this may be tolerable in some environments, it is
not tolerable in others.

With my alternative, the original packet is unchanged so a MAC is
allowed.  To benefit from the accurate timestamp engine either updated
client software will be required or hardware on the receiving side will
need to update the incoming packet to adjust the base packet header.

-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  1 04:36:19 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EE5881B2B4E for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 04:36:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 CrMpDCf9FUHx for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 04:36:17 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 4472E1B2B4B for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 04:36:15 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3FA0F86DBC6 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 12:36:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5B0EA86D55E for <ntpwg@lists.ntp.org>; Tue,  1 Mar 2016 11:43:59 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aaiiV-00067a-PX for ntpwg@lists.ntp.org; Tue, 01 Mar 2016 11:43:59 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id C6515C0005D1 for <ntpwg@lists.ntp.org>; Tue,  1 Mar 2016 11:43:50 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u21BhnZJ031859 for <ntpwg@lists.ntp.org>; Tue, 1 Mar 2016 06:43:50 -0500
Date: Tue, 1 Mar 2016 12:43:48 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: ntpwg@lists.ntp.org
Message-ID: <20160301114348.GA12938@localhost>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Tue, Mar 01, 2016 at 06:36:13AM +0000, Karen O'Donoghue wrote:
> This email starts a three week working group last call on the three documents that comprise the Network Time Security effort. Please review and send any comments to the mailing list including your assessment of whether these documents are mature enough to proceed or not. Please send all comments in by Wednesday 23 March 2016. 

It's nice to see the progress that has been made. I'm not familiar
with all details yet, but to me it looks like I could start working on
an implementation of the protocol. I've few questions on some issues
that I think were brought up before, but don't seem to be addressed
yet.

> Using the Network Time Security Specification to Secure the Network Time Protocol
> draft-ietf-ntp-using-nts-for-ntp-04
> https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/

Shouldn't there be a description of how NTS works in symmetric
associations? Peering is a major part of the NTP RFC. When I asked
about it before there was some agreement [1] it should start as a
client/server association to obtain the NTS data and switch to the
symmetric mode for the time_request and time_response messages.

Is it expected that NTP packets with extension fields which include
singed data and certificates may exceed the MTU and need IP
fragmentation? Do we need a specification which would allow large
extension fields to be split across several NTP packets?

[1] http://lists.ntp.org/pipermail/ntpwg/2015-September/002344.html

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  1 07:23:27 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 70C161B2CFC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 07:23:27 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 fuVGJ8tq49o0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  1 Mar 2016 07:23:25 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id DA8021B2D03 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 07:23:25 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CDA3086DB3F for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  1 Mar 2016 15:23:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1753986DB17 for <ntpwg@lists.ntp.org>; Mon, 29 Feb 2016 18:49:33 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <barryleiba@computer.org>) id 1aaSsn-000NAn-9A for ntpwg@lists.ntp.org; Mon, 29 Feb 2016 18:49:33 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 3B6B11B39E3; Mon, 29 Feb 2016 10:49:24 -0800 (PST)
MIME-Version: 1.0
From: "Barry Leiba" <barryleiba@computer.org>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.15.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160229184924.29900.85912.idtracker@ietfa.amsl.com>
Date: Mon, 29 Feb 2016 10:49:24 -0800
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: barryleiba@computer.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Tue, 01 Mar 2016 14:20:26 +0000
Subject: [ntpwg] Barry Leiba's No Objection on draft-ietf-ntp-checksum-trailer-04: (with COMMENT)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntp-chairs@ietf.org, draft-ietf-ntp-checksum-trailer@ietf.org, ntpwg@lists.ntp.org, odonoghue@isoc.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Barry Leiba has entered the following ballot position for
draft-ietf-ntp-checksum-trailer-04: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

-- Section 3.2 --

     The extension field includes 22 octets of padding. This field
     SHOULD be set to 0, and SHOULD be ignored by the recipient.

Why are these "SHOULD"?  Under what conditions might a sender not set
them to zero?  Under what conditions might a recipient not ignore it, and
what might it do if it doesn't ignore it?


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  2 05:28:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C6FA91A6F0B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 05:28:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 zJU8CeQQbj5Z for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 05:28:15 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C238B1A6EFE for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  2 Mar 2016 05:28:15 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8672286DC0B for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  2 Mar 2016 13:28:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 6BEAD86D73C for <ntpwg@lists.ntp.org>; Wed,  2 Mar 2016 13:08:50 +0000 (UTC)
Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <talmi@marvell.com>) id 1ab6WA-000ARN-Va for ntpwg@lists.ntp.org; Wed, 02 Mar 2016 13:08:50 +0000
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.15.0.59/8.15.0.59) with SMTP id u22D55KM008616; Wed, 2 Mar 2016 05:08:31 -0800
Received: from il-exch01.marvell.com ([199.203.130.101]) by mx0b-0016f401.pphosted.com with ESMTP id 21deq5us9w-1 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Wed, 02 Mar 2016 05:08:31 -0800
Received: from IL-EXCH01.marvell.com (10.4.102.220) by IL-EXCH01.marvell.com (10.4.102.220) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Wed, 2 Mar 2016 15:08:28 +0200
Received: from IL-EXCH01.marvell.com ([fe80::5d63:81cd:31e2:fc36]) by IL-EXCH01.marvell.com ([fe80::5d63:81cd:31e2:fc36%20]) with mapi id 15.00.1104.000; Wed, 2 Mar 2016 15:08:28 +0200
From: Tal Mizrahi <talmi@marvell.com>
To: Benoit Claise <bclaise@cisco.com>, The IESG <iesg@ietf.org>
Thread-Topic: Benoit Claise's No Record on draft-ietf-ntp-checksum-trailer-05: (with COMMENT)
Thread-Index: AQHRc9Ki5PeBlGSXnUGR/Yp/4JJcuJ9GIEuA
Date: Wed, 2 Mar 2016 13:08:28 +0000
Message-ID: <29a37d915ac349bc9f316658a13de36b@IL-EXCH01.marvell.com>
References: <20160301155424.22273.5925.idtracker@ietfa.amsl.com>
In-Reply-To: <20160301155424.22273.5925.idtracker@ietfa.amsl.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.102.210]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-03-02_05:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1603020245
X-SA-Exim-Connect-IP: 67.231.156.173
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: talmi@marvell.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Benoit Claise's No Record on draft-ietf-ntp-checksum-trailer-05: (with COMMENT)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntp-chairs@ietf.org" <ntp-chairs@ietf.org>, "draft-ietf-ntp-checksum-trailer@ietf.org" <draft-ietf-ntp-checksum-trailer@ietf.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "odonoghue@isoc.org" <odonoghue@isoc.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hi Benoit,

Thanks for the comments.

>     As described in Section 1, an intermediate entity that updates the
>     timestamp in the NTP packet can use the Checksum Complement in
>     order to maintain the correctness of the UDP checksum field.
>
>I'm wondering about the "can use" here.
>What is the alternative? Correct the UDP checksum field, which is
>incompatible with your use case (hardware timestamping)?

Right. The alternative is to correct the UDP checksum field. While this is significantly more difficult to implement, it is not impossible, and therefore some vendors may choose this approach.

>Isn't more like this?
>     As described in Section 1, an intermediate entity that updates the
>     timestamp with hardware timestamping in the NTP packet MUST use
>     the Checksum Complement in order to maintain the correctness of the
>
>     UDP checksum field.

Since it is possible to perform hardware timestamping without the Checksum Complement (although more difficult to implement), it would be best if we didn't mandate the use of the Checksum Complement.

I would suggest to change the current phrasing from a 'can' (which may be a bit unclear) to a 'MAY'.

Regards,
Tal.


>-----Original Message-----
>From: Benoit Claise [mailto:bclaise@cisco.com]
>Sent: Tuesday, March 01, 2016 5:54 PM
>To: The IESG
>Cc: draft-ietf-ntp-checksum-trailer@ietf.org; Karen O'Donoghue; ntp-
>chairs@ietf.org; odonoghue@isoc.org; ntpwg@lists.ntp.org
>Subject: Benoit Claise's No Record on draft-ietf-ntp-checksum-trailer-05:
>(with COMMENT)
>
>Benoit Claise has entered the following ballot position for
>draft-ietf-ntp-checksum-trailer-05: No Record
>
>When responding, please keep the subject line intact and reply to all email
>addresses included in the To and CC lines. (Feel free to cut this introductory
>paragraph, however.)
>
>
>Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
>for more information about IESG DISCUSS and COMMENT positions.
>
>
>The document, along with other ballot positions, can be found here:
>https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/
>
>
>
>----------------------------------------------------------------------
>COMMENT:
>----------------------------------------------------------------------
>
>Question:
>
>     As described in Section 1, an intermediate entity that updates the
>     timestamp in the NTP packet can use the Checksum Complement in
>     order to maintain the correctness of the UDP checksum field.
>
>I'm wondering about the "can use" here.
>What is the alternative? Correct the UDP checksum field, which is
>incompatible with your use case (hardware timestamping)?
>Or use the zero checksum (not possible for IPv6)?
>
>Isn't more like this?
>     As described in Section 1, an intermediate entity that updates the
>     timestamp with hardware timestamping in the NTP packet MUST use
>     the Checksum Complement in order to maintain the correctness of the
>
>     UDP checksum field.
>
>And, for the record, I agree with Barry's questions.
>

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  2 18:55:20 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4FA181B3A05 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 18:55:20 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 ryHGL7ZbZS-a for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 18:55:19 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 0F3B21B3A04 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  2 Mar 2016 18:55:19 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E0EB086DC01 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 02:55:18 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 857B686DAD1 for <ntpwg@lists.ntp.org>; Tue,  1 Mar 2016 15:54:28 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <bclaise@cisco.com>) id 1aamd1-000AAs-9J for ntpwg@lists.ntp.org; Tue, 01 Mar 2016 15:54:28 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7CA231B2E04; Tue,  1 Mar 2016 07:54:24 -0800 (PST)
MIME-Version: 1.0
From: "Benoit Claise" <bclaise@cisco.com>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.15.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160301155424.22273.5925.idtracker@ietfa.amsl.com>
Date: Tue, 01 Mar 2016 07:54:24 -0800
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: bclaise@cisco.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 03 Mar 2016 02:32:19 +0000
Subject: [ntpwg] Benoit Claise's No Record on draft-ietf-ntp-checksum-trailer-05: (with COMMENT)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntp-chairs@ietf.org, draft-ietf-ntp-checksum-trailer@ietf.org, ntpwg@lists.ntp.org, odonoghue@isoc.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Benoit Claise has entered the following ballot position for
draft-ietf-ntp-checksum-trailer-05: No Record

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Question:
 
     As described in Section 1, an intermediate entity that updates the
     timestamp in the NTP packet can use the Checksum Complement in
     order to maintain the correctness of the UDP checksum field.

I'm wondering about the "can use" here.
What is the alternative? Correct the UDP checksum field, which is
incompatible with your use case (hardware timestamping)? 
Or use the zero checksum (not possible for IPv6)?

Isn't more like this? 
     As described in Section 1, an intermediate entity that updates the
     timestamp with hardware timestamping in the NTP packet MUST use 
     the Checksum Complement in order to maintain the correctness of the

     UDP checksum field.

And, for the record, I agree with Barry's questions.


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  2 18:57:31 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3809E1B3A15 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 18:57:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.796
X-Spam-Level:
X-Spam-Status: No, score=-6.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006, T_DKIM_INVALID=0.01] autolearn=unavailable
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 Bb7SUJy9SAC8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 18:57:30 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 8AB191B3A18 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  2 Mar 2016 18:57:29 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7ED1586DC4F for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 02:57:29 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D5C8F86DABC for <ntpwg@lists.ntp.org>; Wed,  2 Mar 2016 13:44:36 +0000 (UTC)
Received: from aer-iport-4.cisco.com ([173.38.203.54]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <bclaise@cisco.com>) id 1ab74m-000B8F-3B for ntpwg@lists.ntp.org; Wed, 02 Mar 2016 13:44:36 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=3403; q=dns/txt; s=iport; t=1456926268; x=1458135868; h=subject:to:references:cc:from:message-id:date: mime-version:in-reply-to:content-transfer-encoding; bh=hKRgqu7Xc9HLopbKTnD1kSLApXXCFUBlCLIhVkGi92Y=; b=hmAOp11+IWC7G/NKJyWSRvsb1++J2U6UHA9k4FQ6OB81i5kO8jNp1VXg imIy3ZiwBMBfaOvfAL8oa0Xk9E4KyQOOlV5Vwx6wK9dk+2a78zG5tzN6x zzik/TRdV/X+bwrJRj3KnCNRYcyN4JB7oDCYnyXsv95WKdC2aqlKxBXCh I=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: =?us-ascii?q?A0CtBACl7dZW/xbLJq1ehAxtvBsXCoVyA?= =?us-ascii?q?oIPAQEBAQEBZSeEQQEBAQQBAiAVQAEMBAsRBAEBAwIFFggDAgIJAwIBAgEWHgk?= =?us-ascii?q?IBgEMBgIBAReIBg6peY8cAQEBAQEBAQEBAQEBAQEBAQEBAQEBEQR7hReEOoQFE?= =?us-ascii?q?QGDHoE6AQSHWI86hVqCb4IygmiBYIREgwKFUI5MYoIwgTU7LgGHLYEyAQEB?=
X-IronPort-AV: E=Sophos;i="5.22,528,1449532800"; d="scan'208";a="635849578"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 02 Mar 2016 13:44:25 +0000
Received: from [10.60.67.85] (ams-bclaise-8914.cisco.com [10.60.67.85]) by aer-core-2.cisco.com (8.14.5/8.14.5) with ESMTP id u22DiP4V012900; Wed, 2 Mar 2016 13:44:25 GMT
To: Tal Mizrahi <talmi@marvell.com>, The IESG <iesg@ietf.org>
References: <20160301155424.22273.5925.idtracker@ietfa.amsl.com> <29a37d915ac349bc9f316658a13de36b@IL-EXCH01.marvell.com>
From: Benoit Claise <bclaise@cisco.com>
Message-ID: <56D6EE39.7000501@cisco.com>
Date: Wed, 2 Mar 2016 14:44:25 +0100
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.1
MIME-Version: 1.0
In-Reply-To: <29a37d915ac349bc9f316658a13de36b@IL-EXCH01.marvell.com>
X-SA-Exim-Connect-IP: 173.38.203.54
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: bclaise@cisco.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 03 Mar 2016 02:32:19 +0000
Subject: Re: [ntpwg] Benoit Claise's No Record on draft-ietf-ntp-checksum-trailer-05: (with COMMENT)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntp-chairs@ietf.org" <ntp-chairs@ietf.org>, "draft-ietf-ntp-checksum-trailer@ietf.org" <draft-ietf-ntp-checksum-trailer@ietf.org>, "odonoghue@isoc.org" <odonoghue@isoc.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Transfer-Encoding: 7bit
Content-Type: text/plain; charset="us-ascii"; Format="flowed"
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Thanks Tal,

I believe that a few words about the trade-offs of the different 
solutions would be beneficial to the readers.

Regards, Benoit
> Hi Benoit,
>
> Thanks for the comments.
>
>>      As described in Section 1, an intermediate entity that updates the
>>      timestamp in the NTP packet can use the Checksum Complement in
>>      order to maintain the correctness of the UDP checksum field.
>>
>> I'm wondering about the "can use" here.
>> What is the alternative? Correct the UDP checksum field, which is
>> incompatible with your use case (hardware timestamping)?
> Right. The alternative is to correct the UDP checksum field. While this is significantly more difficult to implement, it is not impossible, and therefore some vendors may choose this approach.
>
>> Isn't more like this?
>>      As described in Section 1, an intermediate entity that updates the
>>      timestamp with hardware timestamping in the NTP packet MUST use
>>      the Checksum Complement in order to maintain the correctness of the
>>
>>      UDP checksum field.
> Since it is possible to perform hardware timestamping without the Checksum Complement (although more difficult to implement), it would be best if we didn't mandate the use of the Checksum Complement.
>
> I would suggest to change the current phrasing from a 'can' (which may be a bit unclear) to a 'MAY'.
>
> Regards,
> Tal.
>
>
>> -----Original Message-----
>> From: Benoit Claise [mailto:bclaise@cisco.com]
>> Sent: Tuesday, March 01, 2016 5:54 PM
>> To: The IESG
>> Cc: draft-ietf-ntp-checksum-trailer@ietf.org; Karen O'Donoghue; ntp-
>> chairs@ietf.org; odonoghue@isoc.org; ntpwg@lists.ntp.org
>> Subject: Benoit Claise's No Record on draft-ietf-ntp-checksum-trailer-05:
>> (with COMMENT)
>>
>> Benoit Claise has entered the following ballot position for
>> draft-ietf-ntp-checksum-trailer-05: No Record
>>
>> When responding, please keep the subject line intact and reply to all email
>> addresses included in the To and CC lines. (Feel free to cut this introductory
>> paragraph, however.)
>>
>>
>> Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
>> for more information about IESG DISCUSS and COMMENT positions.
>>
>>
>> The document, along with other ballot positions, can be found here:
>> https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/
>>
>>
>>
>> ----------------------------------------------------------------------
>> COMMENT:
>> ----------------------------------------------------------------------
>>
>> Question:
>>
>>      As described in Section 1, an intermediate entity that updates the
>>      timestamp in the NTP packet can use the Checksum Complement in
>>      order to maintain the correctness of the UDP checksum field.
>>
>> I'm wondering about the "can use" here.
>> What is the alternative? Correct the UDP checksum field, which is
>> incompatible with your use case (hardware timestamping)?
>> Or use the zero checksum (not possible for IPv6)?
>>
>> Isn't more like this?
>>      As described in Section 1, an intermediate entity that updates the
>>      timestamp with hardware timestamping in the NTP packet MUST use
>>      the Checksum Complement in order to maintain the correctness of the
>>
>>      UDP checksum field.
>>
>> And, for the record, I agree with Barry's questions.
>>

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  2 18:58:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AC5D91B3A19 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 18:58:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.904
X-Spam-Level:
X-Spam-Status: No, score=-1.904 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 NCtPxeHzP-EO for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 18:58:25 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7A9521B3A15 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  2 Mar 2016 18:58:25 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 76B3286DBE2 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 02:58:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 2E06A86DAE1 for <ntpwg@lists.ntp.org>; Wed,  2 Mar 2016 22:26:44 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <spencerdawkins.ietf@gmail.com>) id 1abFEB-000JNF-9f for ntpwg@lists.ntp.org; Wed, 02 Mar 2016 22:26:44 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DD881B32FF; Wed,  2 Mar 2016 14:26:43 -0800 (PST)
MIME-Version: 1.0
From: "Spencer Dawkins" <spencerdawkins.ietf@gmail.com>
To: "The IESG" <iesg@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.15.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160302222643.23587.57535.idtracker@ietfa.amsl.com>
Date: Wed, 02 Mar 2016 14:26:43 -0800
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: spencerdawkins.ietf@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 03 Mar 2016 02:32:45 +0000
Subject: [ntpwg] Spencer Dawkins' No Objection on draft-ietf-ntp-checksum-trailer-05: (with COMMENT)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntp-chairs@ietf.org, draft-ietf-ntp-checksum-trailer@ietf.org, ntpwg@lists.ntp.org, odonoghue@isoc.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Spencer Dawkins has entered the following ballot position for
draft-ietf-ntp-checksum-trailer-05: No Objection

When responding, please keep the subject line intact and reply to all
email addresses included in the To and CC lines. (Feel free to cut this
introductory paragraph, however.)


Please refer to https://www.ietf.org/iesg/statement/discuss-criteria.html
for more information about IESG DISCUSS and COMMENT positions.


The document, along with other ballot positions, can be found here:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/



----------------------------------------------------------------------
COMMENT:
----------------------------------------------------------------------

Thanks for synchronizing this with the IPPM checksum trailer draft!


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  2 22:30:05 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F82B1B3EBA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 22:30:05 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 wTK9DMO7Vdcn for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  2 Mar 2016 22:30:03 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id AE8311B3EB9 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  2 Mar 2016 22:30:03 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5184E86DBC2 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 06:30:03 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 0F23886DAEA for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 06:12:15 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1abMUh-0007lW-Hl; Thu, 03 Mar 2016 06:12:15 +0000
From: Harlan Stenn <stenn@ntp.org>
To: ntpwg@lists.ntp.org
In-reply-to: <E1aaiey-0004p0-E0@stenn.ntp.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org>
Comments: In-reply-to Harlan Stenn <stenn@ntp.org> message dated "Tue, 01 Mar 2016 11:40:12 +0000."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 03 Mar 2016 06:12:15 +0000
Message-Id: <E1abMUh-0007lW-Hl@stenn.ntp.org>
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: stenn@nwtime.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Upon further reflection, I'd like to clarify my last message on this topic.

I request the following advice to be given to IANA:

 - The extension header Field Type should be: 0x2005
   This follows the convention of using the high-order bits as flag bits
   and low-order bits as the opcode.  In this case the 0x2000 bit means
   "This extension field does not require a subsequent MAC".
   This is important because we want to make it easy for a client that
   does not know about this extension field to know that the subsequent
   MAC is not needed.  The unknown (to an older client) extension field
   can be safely ignored in this case.

I recommend the following, and if it is difficult to accomplish at this
stage then don't worry about it:

 - the extension field length should not be specified.
   There are enough ways to tell the difference between an old-style
   MAC and this extension field, and there are cases where 28 bytes
   will conflict with an old-style MAC.

This is an experimental RFC, and as such the document is fine.

If this proposal is to advance beyond the experimental stage, I'd like
the other points I raised to be part of that future discussion.
-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 00:14:55 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A51EB1A03AA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 00:14:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.905
X-Spam-Level:
X-Spam-Status: No, score=-6.905 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 lrHF_cqMYtSM for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 00:14:53 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 6BC1F1A03AB for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 00:14:53 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6011E86DC12 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 08:14:53 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3C0FD86DB94 for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 07:56:38 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1abO7Y-0002GE-Vt for ntpwg@lists.ntp.org; Thu, 03 Mar 2016 07:56:38 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u237uQbR032642-u237uQbT032642 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 3 Mar 2016 08:56:26 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 79D7332C01; Thu,  3 Mar 2016 08:56:26 +0100 (CET)
In-Reply-To: <20160301114348.GA12938@localhost>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org> <20160301114348.GA12938@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>
MIME-Version: 1.0
Message-ID: <OF1B7A5F71.4D85393A-ONC1257F6B.002B2AE6-C1257F6B.002B9E0B@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 3 Mar 2016 08:56:24 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============3873979762031952622=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============3873979762031952622==
Content-Type: multipart/alternative; boundary="=_alternative 002B9E03C1257F6B_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 002B9E03C1257F6B_=
Content-Type: text/plain; charset="US-ASCII"

Hi Miroslav,

thank you for the comments and feedback, we appreciate it.
We have put a clarifying section about symmetric mode on the to-do list 
(for the NTS-4-NTP document).

Best regards,
Kristof


"ntpwg" <ntpwg-bounces+kristof.teichel=ptb.de@lists.ntp.org> schrieb am 
01.03.2016 12:43:48:

> Von: Miroslav Lichvar <mlichvar@redhat.com>
> An: ntpwg@lists.ntp.org
> Datum: 01.03.2016 13:36
> Betreff: Re: [ntpwg] WGLC on Network Time Security documents (3 
documents)
> Gesendet von: "ntpwg" 
<ntpwg-bounces+kristof.teichel=ptb.de@lists.ntp.org>
> 
> On Tue, Mar 01, 2016 at 06:36:13AM +0000, Karen O'Donoghue wrote:
> > This email starts a three week working group last call on the 
> three documents that comprise the Network Time Security effort. 
> Please review and send any comments to the mailing list including 
> your assessment of whether these documents are mature enough to 
> proceed or not. Please send all comments in by Wednesday 23 March 2016. 
> 
> It's nice to see the progress that has been made. I'm not familiar
> with all details yet, but to me it looks like I could start working on
> an implementation of the protocol. I've few questions on some issues
> that I think were brought up before, but don't seem to be addressed
> yet.
> 
> > Using the Network Time Security Specification to Secure the 
> Network Time Protocol
> > draft-ietf-ntp-using-nts-for-ntp-04
> > https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/
> 
> Shouldn't there be a description of how NTS works in symmetric
> associations? Peering is a major part of the NTP RFC. When I asked
> about it before there was some agreement [1] it should start as a
> client/server association to obtain the NTS data and switch to the
> symmetric mode for the time_request and time_response messages.
> 
> Is it expected that NTP packets with extension fields which include
> singed data and certificates may exceed the MTU and need IP
> fragmentation? Do we need a specification which would allow large
> extension fields to be split across several NTP packets?
> 
> [1] http://lists.ntp.org/pipermail/ntpwg/2015-September/002344.html
> 
> -- 
> Miroslav Lichvar
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg

--=_alternative 002B9E03C1257F6B_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>Hi Miroslav,</font></tt>
<br>
<br><tt><font size=2>thank you for the comments and feedback, we appreciate
it.</font></tt>
<br><tt><font size=2>We have put a clarifying section about symmetric mode
on the to-do list (for the NTS-4-NTP document).</font></tt>
<br>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
<br>
<br>
<br><tt><font size=2>&quot;ntpwg&quot; &lt;ntpwg-bounces+kristof.teichel=ptb.de@lists.ntp.org&gt;
schrieb am 01.03.2016 12:43:48:<br>
<br>
&gt; Von: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;</font></tt>
<br><tt><font size=2>&gt; An: ntpwg@lists.ntp.org</font></tt>
<br><tt><font size=2>&gt; Datum: 01.03.2016 13:36</font></tt>
<br><tt><font size=2>&gt; Betreff: Re: [ntpwg] WGLC on Network Time Security
documents (3 documents)</font></tt>
<br><tt><font size=2>&gt; Gesendet von: &quot;ntpwg&quot; &lt;ntpwg-bounces+kristof.teichel=ptb.de@lists.ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; On Tue, Mar 01, 2016 at 06:36:13AM +0000, Karen O'Donoghue wrote:<br>
&gt; &gt; This email starts a three week working group last call on the
<br>
&gt; three documents that comprise the Network Time Security effort. <br>
&gt; Please review and send any comments to the mailing list including
<br>
&gt; your assessment of whether these documents are mature enough to <br>
&gt; proceed or not. Please send all comments in by Wednesday 23 March
2016. <br>
&gt; <br>
&gt; It's nice to see the progress that has been made. I'm not familiar<br>
&gt; with all details yet, but to me it looks like I could start working
on<br>
&gt; an implementation of the protocol. I've few questions on some issues<br>
&gt; that I think were brought up before, but don't seem to be addressed<br>
&gt; yet.<br>
&gt; <br>
&gt; &gt; Using the Network Time Security Specification to Secure the <br>
&gt; Network Time Protocol<br>
&gt; &gt; draft-ietf-ntp-using-nts-for-ntp-04<br>
&gt; &gt; </font></tt><a href="https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/"><tt><font size=2>https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; Shouldn't there be a description of how NTS works in symmetric<br>
&gt; associations? Peering is a major part of the NTP RFC. When I asked<br>
&gt; about it before there was some agreement [1] it should start as a<br>
&gt; client/server association to obtain the NTS data and switch to the<br>
&gt; symmetric mode for the time_request and time_response messages.<br>
&gt; <br>
&gt; Is it expected that NTP packets with extension fields which include<br>
&gt; singed data and certificates may exceed the MTU and need IP<br>
&gt; fragmentation? Do we need a specification which would allow large<br>
&gt; extension fields to be split across several NTP packets?</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; [1] </font></tt><a href="http://lists.ntp.org/pipermail/ntpwg/2015-September/002344.html"><tt><font size=2>http://lists.ntp.org/pipermail/ntpwg/2015-September/002344.html</font></tt></a><tt><font size=2><br>
&gt; <br>
&gt; -- <br>
&gt; Miroslav Lichvar<br>
&gt; _______________________________________________<br>
&gt; ntpwg mailing list<br>
&gt; ntpwg@lists.ntp.org<br>
&gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 002B9E03C1257F6B_=--

--===============3873979762031952622==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============3873979762031952622==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 10:46:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 76BED1B3257 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 10:46:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 31BrFXMizlEB for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 10:46:24 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 419BC1B31EA for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 10:46:24 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1C0B386DC39 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 18:46:23 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id E6A0A86DABB for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 18:02:57 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1abXaT-0008P9-3o; Thu, 03 Mar 2016 18:02:57 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160301114348.GA12938@localhost>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org> <20160301114348.GA12938@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Tue, 01 Mar 2016 12:43:48 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 03 Mar 2016 18:02:57 +0000
Message-Id: <E1abXaT-0008P9-3o@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
>> Using the Network Time Security Specification to Secure the Network
>> Time Protocol draft-ietf-ntp-using-nts-for-ntp-04
>> https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/
> 
> Shouldn't there be a description of how NTS works in symmetric
> associations? Peering is a major part of the NTP RFC. ...

We discussed this issue in our NTS implementation call today.

We're pretty comfortable saying the following:

An established NTS association WILL have enough information to
authenticate/authorize one side as a server and the other side as a
client.  This allows either client/server associations or active/passive
peer associations.

An established NTS association MAY have enough information to
authenticate/authorize both sides as servers.  This allows
client/server, active/passive peer, or active/active peer associations.

The draft will be augmented to better describe this situation.

> Is it expected that NTP packets with extension fields which include
> signed data and certificates may exceed the MTU and need IP
> fragmentation? Do we need a specification which would allow large
> extension fields to be split across several NTP packets?

We did not discuss this issue in the call.  I believe we're currently
letting IP fragmentation handle this.
-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 12:22:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90B051B4336 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 12:22:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 VOAtqUrtChTL for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 12:22:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 163281B4335 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 12:22:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CFD4A86DC0A for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 20:22:26 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 348B886DAB9 for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 19:19:56 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@pdmconsulting.net>) id 1abYmn-000HEl-57 for ntpwg@lists.ntp.org; Thu, 03 Mar 2016 19:19:56 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id B13CDB82A for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 19:19:44 +0000 (UTC)
Received: from [10.2.64.200] (unknown [198.22.153.36]) by chessie.everett.org (Postfix) with ESMTPSA id 13547B80E; Thu,  3 Mar 2016 19:19:43 +0000 (UTC)
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>, ntpwg@lists.ntp.org
From: Danny Mayer <mayer@pdmconsulting.net>
Message-ID: <56D88E4E.4090408@pdmconsulting.net>
Date: Thu, 3 Mar 2016 14:19:42 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1abMUh-0007lW-Hl@stenn.ntp.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Mar  3 19:19:44 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d88e50829932141117169
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@pdmconsulting.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@pdmconsulting.net
Cc: stenn@nwtime.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/3/2016 1:12 AM, Harlan Stenn wrote:
> Upon further reflection, I'd like to clarify my last message on this topic.
> 
> I request the following advice to be given to IANA:
> 
>  - The extension header Field Type should be: 0x2005
>    This follows the convention of using the high-order bits as flag bits
>    and low-order bits as the opcode.  In this case the 0x2000 bit means
>    "This extension field does not require a subsequent MAC".
>    This is important because we want to make it easy for a client that
>    does not know about this extension field to know that the subsequent
>    MAC is not needed.  The unknown (to an older client) extension field
>    can be safely ignored in this case.
> 
> I recommend the following, and if it is difficult to accomplish at this
> stage then don't worry about it:
> 
>  - the extension field length should not be specified.

The extension field length MUST be specified. That's not an option.

Danny

>    There are enough ways to tell the difference between an old-style
>    MAC and this extension field, and there are cases where 28 bytes
>    will conflict with an old-style MAC.
> 
> This is an experimental RFC, and as such the document is fine.
> 
> If this proposal is to advance beyond the experimental stage, I'd like
> the other points I raised to be part of that future discussion.
> 


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 12:23:36 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8DF3C1B4344 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 12:23:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 v1VbpXIcf3XG for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 12:23:35 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 43D161B433E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 12:23:35 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 40B1086DCA7 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 20:23:35 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9EDB486D831 for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 19:43:51 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1abZ9y-000HSj-Gw for ntpwg@lists.ntp.org; Thu, 03 Mar 2016 19:43:51 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 3C18BB82C for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 19:43:42 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id B03C8B82A; Thu,  3 Mar 2016 19:43:41 +0000 (UTC)
To: mayer@pdmconsulting.net, Harlan Stenn <stenn@ntp.org>, ntpwg@lists.ntp.org
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56D89442.8060104@nwtime.org>
Date: Thu, 3 Mar 2016 11:45:06 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56D88E4E.4090408@pdmconsulting.net>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Mar  3 19:43:41 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d893ed829932091718214
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/3/16 11:19 AM, Danny Mayer wrote:
> On 3/3/2016 1:12 AM, Harlan Stenn wrote:
>> Upon further reflection, I'd like to clarify my last message on this topic.
>>
>> I request the following advice to be given to IANA:
>>
>>  - The extension header Field Type should be: 0x2005
>>    This follows the convention of using the high-order bits as flag bits
>>    and low-order bits as the opcode.  In this case the 0x2000 bit means
>>    "This extension field does not require a subsequent MAC".
>>    This is important because we want to make it easy for a client that
>>    does not know about this extension field to know that the subsequent
>>    MAC is not needed.  The unknown (to an older client) extension field
>>    can be safely ignored in this case.
>>
>> I recommend the following, and if it is difficult to accomplish at this
>> stage then don't worry about it:
>>
>>  - the extension field length should not be specified.
> 
> The extension field length MUST be specified. That's not an option.

The extension field length must exist.

There is no need to require it to be 28 octets.

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 13:23:25 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1517A1B2B8B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 13:23:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.795
X-Spam-Level:
X-Spam-Status: No, score=-1.795 tagged_above=-999 required=5 tests=[BAD_ENC_HEADER=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.006, T_DKIM_INVALID=0.01] autolearn=no
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 EIus4BN-JTHV for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 13:23:23 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id CFFCE1B2B89 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 13:23:23 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CA50586DC45 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 21:23:23 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 35ACD86D831 for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 20:25:04 +0000 (UTC)
Received: from mail-bn1bon0079.outbound.protection.outlook.com ([157.56.111.79] helo=na01-bn1-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <Greg.Dowd@microsemi.com>) id 1abZns-000IDn-1A for ntpwg@lists.ntp.org; Thu, 03 Mar 2016 20:25:04 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=L/zi8RgUbRI3In4ZRXLYpmQCn+U5tOc1D/66yg59iDc=; b=d8c6ERLLUvuYBs9Z95vyy2ZAoCwGNZP54VDUuUHcYHSGgcvk9WikQMYVnxpYpcPmiast6vjTBEoYHo6kd3EhgI4YuswrzGjx94LSNcU67fzLkMnwB1oJ1HKIZMS4b3V05/x0AgQJtd6WvTZYQYF+lyJwiW5Z18eC2Msn2tVUJ7U=
Received: from BY2PR02CA0078.namprd02.prod.outlook.com (10.242.32.36) by BY2PR02MB203.namprd02.prod.outlook.com (10.242.232.25) with Microsoft SMTP Server (TLS) id 15.1.415.20; Thu, 3 Mar 2016 20:24:54 +0000
Received: from BN1AFFO11FD045.protection.gbl (2a01:111:f400:7c10::187) by BY2PR02CA0078.outlook.office365.com (2a01:111:e400:2c2a::36) with Microsoft SMTP Server (TLS) id 15.1.415.20 via Frontend Transport; Thu, 3 Mar 2016 20:24:53 +0000
Authentication-Results: spf=none (sender IP is 208.19.100.20) smtp.mailfrom=microsemi.com; lists.ntp.org; dkim=none (message not signed) header.d=none;lists.ntp.org; dmarc=none action=none header.from=microsemi.com;
Received-SPF: None (protection.outlook.com: microsemi.com does not designate permitted sender hosts)
Received: from avsrvexchhts2.microsemi.net (208.19.100.20) by BN1AFFO11FD045.mail.protection.outlook.com (10.58.53.60) with Microsoft SMTP Server (TLS) id 15.1.427.7 via Frontend Transport; Thu, 3 Mar 2016 20:24:53 +0000
Received: from SJSRVEXCHHTS1.microsemi.net (10.241.34.105) by avsrvexchhts2.microsemi.net (10.100.34.106) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 3 Mar 2016 12:24:52 -0800
Received: from SJSRVEXCHMBX2.microsemi.net ([fe80::6da0:6f9d:d5d1:3d5d]) by sjsrvexchhts1.microsemi.net ([::1]) with mapi id 14.03.0266.001; Thu, 3 Mar 2016 12:24:51 -0800
From: Greg Dowd <Greg.Dowd@microsemi.com>
To: "mayer@pdmconsulting.net" <mayer@pdmconsulting.net>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Thread-Topic: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
Thread-Index: AQHRc6Htf+GnZC15E0+dPktwNwwckp9E/RMAgALJCYCAANwCAP//i7kg
Date: Thu, 3 Mar 2016 20:24:51 +0000
Message-ID: <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net>
In-Reply-To: <56D88E4E.4090408@pdmconsulting.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.241.128.92]
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:208.19.100.20; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(377454003)(13464003)(189002)(24454002)(199003)(479174004)(230783001)(5250100002)(93886004)(86362001)(2501003)(2950100001)(23726003)(19580395003)(586003)(97756001)(102836003)(1720100001)(53416004)(5004730100002)(6116002)(87936001)(19580405001)(1220700001)(3846002)(46406003)(1096002)(101416001)(11100500001)(106116001)(5003600100002)(105586002)(16796002)(2900100001)(76176999)(106466001)(50986999)(33656002)(50466002)(54356999)(561944003)(5001770100001)(47776003)(5008740100001)(6806005)(55846006)(4326007)(15975445007)(2920100001)(92566002)(189998001)(2906002)(81166005); DIR:OUT; SFP:1101; SCL:1; SRVR:BY2PR02MB203; H:avsrvexchhts2.microsemi.net; FPR:; SPF:None; MLV:sfv; MX:1; A:1; LANG:en; 
X-Microsoft-Exchange-Diagnostics: 1; BN1AFFO11FD045; 1:SIqwHQ9lfeppUIJnC+Fadvytmk+YGxxTCQIwfAT2yv5k7SZu7X5AxdogSIE+EHjNMK8zUYYSUVVN77hPeeYmK8YX17KKW20aHlfU55c01WEf300X5YG/5UNSCbFNlInzt/CDcMKqtxAbuE1j8yFaKVdoLyMbtX/+U/bYtjlIGP+QdSa3dfWbOF57h0RzY2KR9I339sNZbcvTxRp59WF9hjIU6yhxk0OI4hTKuz3F4jk9jrKUZwvIzMGa7b7pqJnfCjAT92O84LMG+48hhEQaL8NR4Y6WWlSzrEJSom+IhVyiggTP3DRMVo2GwWOV2OjNaWJtxq+wZXfv1gcmzzeP3VdWUDNOOKHN634p7tWIkwSIdQfDPR+2Sbk4ZKOO41S+N1SwimxEVfZ2lTfmeAoOs8m/xQBqd89xj/m6Nqfqb8iUukTPnxLGnHcJ/tauKCSQ
X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB203; 2:BGJDkB8hql3V64nNgvb5brp1wA43nWvNYewcoVMPl16u1UGWdROJ0Ufa2r/CdEqzGjnlhLA26YPYHZRddThKHSP22V6FqutwS9Je8di8gjOAj7WRg03uwOazoX3ncn9h5wLkoPH1wqm/EBcicPEojg==; 3:6zHJxcTa6eGOSIKWt50rgjIxUtpe/XJQpFgB3bM6Os0eYQ+kfjeOQr1VGihdzjulUFxSxo/cBBmz4bNkHfUthibH1BWl8DVagLeMiITTCcZlUoVOLfTD3rboMil3rCIIlbdkgy3E0F09KRU+fHKkRmJfnOXdmBtFlqqwIlSqKMBtlwRnqSodiKkXn6YqWEv8slovQs1IDtzgb5futvxx/OnWszEWbQ7EKS0OJdofi9g=; 25:87tkzOTsRsTOjEUgk0QrKpIAqt7QBL42D9S5sG+8yJKG3kBjZYWTnfzn6r/E1Mao/gyxUXTX5f6YzNAfdyblvX1wyOEQ7yQaRM6G7TCNh3dEKsU0dbPS3NMxP3K1vld6eRJi635c4o1651KwrRjbIgw2Heb4GPbzN4HHuG+zbyrt3TyrMuKVw4DOdChZenB7+jfaRdXak861/fxExDWR3rPK3hl6QTwoaiNdF59SNj6/J4MJcnxMkyS3gGWbHRoM8Q+m6AcGip0kvu1c9QurdDro2DXImzGR+l9m64uzhx/MKxuAN905KgqbDpHlJ2tcgfBRdB8pS/2/TKIsBRnWBA==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BY2PR02MB203;
X-MS-Office365-Filtering-Correlation-Id: 1174f688-31a9-44e3-fda7-08d343a1e11f
X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB203; 20:ttV9D5OC43P6Bz8HVpOrPGOiHAcnkQslJRWl17WbI1Xf6jzhY58/1ZO6qjt62lT8lW30g3uox7qTs1FJvsAejJN4HWAnmYtCYjsFSk/SXS+X3VmQvfq6BjpGOeATdmzWpSBEysVlH7eG+5oXp6MerXRTnDke2w+zo598OJQwK0oISlYe/ktpLODmSc+9BHuQA5rkHhwTrxPBT5ITMn+3yIKwyDOFjNLWdJOe1Uo9l3yAUsLeME38R7HJrjtNVUSyyTZX94YzvRGLKXQAbeaN/Qi+gitcWMMYfivhWnowYtqZrnusg8cngJVaF1CDQUDZArDXStw3FwN6UVj0RketVGfb8J8GMxHLDe1M5XDGfb9LU+2FoR2V91lfyk4pWUdfZ58C5RhT6orB8b6pPaBS+wa1Ef6F90W9/tM3bB4p5B1OHGEz7zSksZmvs5z1rG2oz0NVDipEr4GoCECJ4eSfXf32N0ct4UVPnbnDzgKn8jX5W/5cTjgwDJjySZkxDBV2; 4:OFZNJFw+1JJUaeYJ2g2Vc5oV8rOwIkHeSZJ3llB/YFT6fps74tHqKoRmQ9vCKjm7rQrBF/RiN7V0YdFlDlZ2EW2tDYSeWIV/38bgTBKG8xJqDNZ0rS7POO1ZO6UInFxjaZHiy/aj59Pau5x3DJVqP+H8sdG5/nRJyGThCEISNmKSC8ePpNIW0nxDvqG0e5m69FV8Nq7aIszHxFuUZ2unfW4Sgafqx2ogNe16FFYIGpRqdYX3S8Ift6UI/Bh7jghKec36oRJOp+hjk47XkPTmBdTnQOQGZx1cveBwAbmoqqdf9vvgFcXzUDaioA2+QMaZ06RyvqpjcWXnHyTPaCV7v5r6uhNyHwVjLcVTkadUSSA5rUUlh5+CQmKNdqhcHtH8SLTjKfX6VqqQbM2roKogxapnQaR7JBNgdbF5EuG0p2VJsyrnPIcSdob9v0CVbLhk
X-Microsoft-Antispam-PRVS: <BY2PR02MB203C7FD75801662F301A022FCBD0@BY2PR02MB203.namprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(13018025)(13016025)(13024025)(13023025)(8121501046)(3002001)(10201501046); SRVR:BY2PR02MB203; BCL:0; PCL:0; RULEID:; SRVR:BY2PR02MB203; 
X-Forefront-PRVS: 0870212862
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BY2PR02MB203; 23:L6FAyZVMaKs0pfSXMahit6yHyJ3BHJKs35OGPLE+ei?= =?us-ascii?Q?gLQRoeoiPlpm3an7cnMYbJhIWYr0O/DPWcblkdnWaWS3jMTpOL6sS/eOmhoN?= =?us-ascii?Q?tipYkY5WCUoDYONRayHt+mVBwYVVlZ+d/7Zfjrtw2GFFVOfu2CR6xb93aMbt?= =?us-ascii?Q?xBFGGX7kCamxPzzI6tKgvsWJ2CQnKKmFR0eSISZ1q/g5CGwW7tIOa7Sd9nlo?= =?us-ascii?Q?Im9AwXfZXhcibieVKblU5OAiFShqgMfSikMT3xGNPcSfCRp1qUCepSy4U4Zo?= =?us-ascii?Q?h6WehslPIDEwKwURcFwFxJsyk4L2h7xWHl70Kb9TI2qAqMR85crlP89+wvJA?= =?us-ascii?Q?FvJGldOGxqoGyPVmySQE2f1ejzWfEI0Z2qB4v3Kh363c+Z0WP8mGLwmvEFco?= =?us-ascii?Q?8ngwMIY174F/AiN3Lr8BxDkhOuLG9g+Hun4r0GQ55DxpOCPxQI7PbRYq3t0f?= =?us-ascii?Q?2kQoYaNRSHc8PMHtfW7qlksVLo7gYLOpcnC9PpqQBASiB25mnneki+f3R3t5?= =?us-ascii?Q?hvlu7KEELxXXOsEReVrMaqhDU9ZEM+/KpRWh+QRdlFEfc+gmRgJroceX19Q+?= =?us-ascii?Q?tHhVG/jCZqXx13d8lH7zX1zBI8DXaI05OUukjX5jygg39k6NQaFthJFDDf/B?= =?us-ascii?Q?lp4327LyjG8gOv1sEypWyINDPGHZAE53JhrBwPmZ3zbVlgs2rrnNe9/xE1Zj?= =?us-ascii?Q?bcfkr0uH/oGMcECfQGWu6D/Qgdr9N75RCQrCtzv0qWogvemP8Ul7BXhW9iCC?= =?us-ascii?Q?bzBObsfzjvdpP12f+es9DbIlVoNqfyY/Cy0mXnr/CoObm9L5ruDVrxOf3q23?= =?us-ascii?Q?nu5d929NlXegjpuyw239utEnDNs6hX3CHDYnX7QYmx55o/7/rnEx3wg/knaS?= =?us-ascii?Q?9sQQ2dBX88mqWqksJLS0YbuZpmgg4HMZYwElfJjTzCWD1vdxr7P/DlqFpICg?= =?us-ascii?Q?9TmKyL2ri0MRMljL6fIXoYFgtD5L8qwHXTlhyRkh6DHMlSs/+DQiNeouraPF?= =?us-ascii?Q?u45MQlR5YNE2V3S5DV03P9PyEnblQTRZfkwZ+a+1W/Zd6NLt/WyreT+mE9y5?= =?us-ascii?Q?SaoH57TJw4YFTQnyYXRd/6OJU/+q04di6vnjbwSJe57Du2HFrLy+DH0du8hk?= =?us-ascii?Q?gQo6IHA5YSVSccbGvDNGEHx7ZMAd6L3bixeOu1nPRKPIMVqW6whRskqDrJxe?= =?us-ascii?Q?Q+xOVrcYHkR/dbNFSqCfRyF9OWpcrWBtJAUoRXDXtBgEyVLCFV1k7Gmxiu4x?= =?us-ascii?Q?U+bW5kp1YPB4aRmj5SiDt1IZSRwpNGTTcU69lFNRFj2ppyoGqlWQAlETUHxB?= =?us-ascii?Q?/CRCUCMssiWhydxETvBEeiWYiMKaLUlY4QM9vGoagK5VixvxfdBb/4vsPT6i?= =?us-ascii?Q?HVFje9W+pyi2twsob/G3szv0LRwTEgdY8DxNNWQ8xUS77jTHNkYKmy0Piruz?= =?us-ascii?Q?BQ7mkFog=3D=3D?=
X-Microsoft-Exchange-Diagnostics: 1; BY2PR02MB203; 5:bPrat2pWypBNHPE0fUfEBHHZtg2MULzY0Uo14Pu4hgf1WECN/rrgfEpfqrK6oo/vH2xQ3Pc71xpJL5UW9cQEWQi6oq9eLCJB3sVyvwVW5CBdgZpqQ1xsP1X7EcJKVs19I3Ye0esPvQucjZcSvZH4aw==; 24:/B3IrD9CBat6g7nbGWtOSTRQ+W0Y9mketlfaxLZ0zMtFqvx0Hbr/UVCHqYWlXoHqa/AqKoBdzLladgJPc/EVcRBnEyqbV3Ixk6o3XpYa4qs=
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: microsemi.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2016 20:24:53.1861 (UTC)
X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.20]; Helo=[avsrvexchhts2.microsemi.net]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY2PR02MB203
X-SA-Exim-Connect-IP: 157.56.111.79
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: Greg.Dowd@microsemi.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "stenn@nwtime.org" <stenn@nwtime.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

I have to admit I haven't reread the draft lately so it may be an ignorant question but why does IANA need to record/specify the length?  If it is a TLV, the type is specified but the length is in the object.  I understand constraints (like must be greater than x and less the y) but why IANA controlled?


-----Original Message-----
From: ntpwg [mailto:ntpwg-bounces+greg.dowd=microsemi.com@lists.ntp.org] On Behalf Of Danny Mayer
Sent: Thursday, March 03, 2016 11:20 AM
To: Harlan Stenn; ntpwg@lists.ntp.org
Cc: stenn@nwtime.org
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt

EXTERNAL EMAIL


On 3/3/2016 1:12 AM, Harlan Stenn wrote:
> Upon further reflection, I'd like to clarify my last message on this topic.
>
> I request the following advice to be given to IANA:
>
>  - The extension header Field Type should be: 0x2005
>    This follows the convention of using the high-order bits as flag bits
>    and low-order bits as the opcode.  In this case the 0x2000 bit means
>    "This extension field does not require a subsequent MAC".
>    This is important because we want to make it easy for a client that
>    does not know about this extension field to know that the subsequent
>    MAC is not needed.  The unknown (to an older client) extension field
>    can be safely ignored in this case.
>
> I recommend the following, and if it is difficult to accomplish at 
> this stage then don't worry about it:
>
>  - the extension field length should not be specified.

The extension field length MUST be specified. That's not an option.

Danny

>    There are enough ways to tell the difference between an old-style
>    MAC and this extension field, and there are cases where 28 bytes
>    will conflict with an old-style MAC.
>
> This is an experimental RFC, and as such the document is fine.
>
> If this proposal is to advance beyond the experimental stage, I'd like 
> the other points I raised to be part of that future discussion.
>


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 14:07:39 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1AD661B2D02 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 14:07:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 7E0_ZK54G5T7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 14:07:37 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 4D7921B2CB5 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 14:07:37 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4AE9E86DC77 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 22:07:37 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B43A086DB86 for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 21:52:00 +0000 (UTC)
Received: from [198.22.153.36] (helo=[10.2.64.200]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1abbA6-000Job-ET; Thu, 03 Mar 2016 21:51:59 +0000
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net>
To: Greg Dowd <Greg.Dowd@microsemi.com>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
From: Danny Mayer <mayer@ntp.org>
Organization: NTP
Message-ID: <56D8B1FD.7050108@ntp.org>
Date: Thu, 3 Mar 2016 16:51:57 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net>
X-SA-Exim-Connect-IP: 198.22.153.36
X-SA-Exim-Rcpt-To: stenn@nwtime.org, ntpwg@lists.ntp.org, stenn@ntp.org, Greg.Dowd@microsemi.com
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "stenn@nwtime.org" <stenn@nwtime.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/3/2016 3:24 PM, Greg Dowd wrote:
> I have to admit I haven't reread the draft lately so it may be an ignorant question but why does IANA need to record/specify the length?  If it is a TLV, the type is specified but the length is in the object.  I understand constraints (like must be greater than x and less the y) but why IANA controlled?
> 

The extension field length is in the extension field. That has nothing
to do with IANA. Maybe I misunderstood your question?

Danny
> 
> -----Original Message-----
> From: ntpwg [mailto:ntpwg-bounces+greg.dowd=microsemi.com@lists.ntp.org] On Behalf Of Danny Mayer
> Sent: Thursday, March 03, 2016 11:20 AM
> To: Harlan Stenn; ntpwg@lists.ntp.org
> Cc: stenn@nwtime.org
> Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
> 
> EXTERNAL EMAIL
> 
> 
> On 3/3/2016 1:12 AM, Harlan Stenn wrote:
>> Upon further reflection, I'd like to clarify my last message on this topic.
>>
>> I request the following advice to be given to IANA:
>>
>>  - The extension header Field Type should be: 0x2005
>>    This follows the convention of using the high-order bits as flag bits
>>    and low-order bits as the opcode.  In this case the 0x2000 bit means
>>    "This extension field does not require a subsequent MAC".
>>    This is important because we want to make it easy for a client that
>>    does not know about this extension field to know that the subsequent
>>    MAC is not needed.  The unknown (to an older client) extension field
>>    can be safely ignored in this case.
>>
>> I recommend the following, and if it is difficult to accomplish at 
>> this stage then don't worry about it:
>>
>>  - the extension field length should not be specified.
> 
> The extension field length MUST be specified. That's not an option.
> 
> Danny
> 
>>    There are enough ways to tell the difference between an old-style
>>    MAC and this extension field, and there are cases where 28 bytes
>>    will conflict with an old-style MAC.
>>
>> This is an experimental RFC, and as such the document is fine.
>>
>> If this proposal is to advance beyond the experimental stage, I'd like 
>> the other points I raised to be part of that future discussion.
>>
> 
> 
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> 
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 15:07:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 65E1A1B2F5A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 15:07:26 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.796
X-Spam-Level:
X-Spam-Status: No, score=-1.796 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.006, T_DKIM_INVALID=0.01] autolearn=no
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 QQuYX9LBS_Ha for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 15:07:24 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id BA7E41B2F58 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 15:07:24 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8EB5F86DC67 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 23:07:24 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 0604D86DBFE for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 22:37:51 +0000 (UTC)
Received: from mail-by2on0097.outbound.protection.outlook.com ([207.46.100.97] helo=na01-by2-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <odonoghue@isoc.org>) id 1abbsJ-000KNI-SR for ntpwg@lists.ntp.org; Thu, 03 Mar 2016 22:37:50 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.onmicrosoft.com;  s=selector1-isoc-org; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=cM7U/fURgWF0e86ZYnq27AH8vwOqz82J2Iyn20a0tYo=; b=ZeuWtpAWPP8XQvK9gBZGgYjz3siqoU1hY73A346rwlq5GMRkqKqAMJzUMrtkCJlI6LbChvJCB3H+/tnMuGjWbJX/cVbYzXG4DcHUmrb0eFPClbeDn+nf1mBmSTA73SZgadAC3Hz3b9ivT18tVOZsfoet0HVTlkKWtOGLGg5dUuM=
Received: from DM2PR0601MB1118.namprd06.prod.outlook.com (10.160.218.139) by DM2PR0601MB1117.namprd06.prod.outlook.com (10.160.218.13) with Microsoft SMTP Server (TLS) id 15.1.415.20; Thu, 3 Mar 2016 22:37:37 +0000
Received: from DM2PR0601MB1118.namprd06.prod.outlook.com ([10.160.218.139]) by DM2PR0601MB1118.namprd06.prod.outlook.com ([10.160.218.139]) with mapi id 15.01.0415.024; Thu, 3 Mar 2016 22:37:37 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: Joint NTP/TICTOC WG virtual interim - Thursday, 10 March 2016, 11:30 am EST / 16:30 UTC
Thread-Index: AQHRdZ1Ju+ALaJiJUkmXlsXyHN4gyw==
Date: Thu, 3 Mar 2016 22:37:37 +0000
Message-ID: <BC5013B6-3F1E-4F0A-96A0-E4968844D9EA@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: lists.ntp.org; dkim=none (message not signed) header.d=none; lists.ntp.org; dmarc=none action=none header.from=isoc.org; 
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [74.214.42.47]
x-microsoft-exchange-diagnostics: 1; DM2PR0601MB1117; 5:U9IGiNA1papgxvie883tmK5wpCrTfEfox6WZhCTJ9r6l/doUap1txoKpDc1/3P+vPL8jleZuYTJ93VdBvZvVKoSwMsVokOVi0Yf576/GGC3eP0aBJfmc21HUPmhvpFpA6Pa+lKdlNYfjbivkYXzexw==; 24:0+7ABdVQNAB4Gyy0jB0A0MMFv5vjVkXniwIXjCopg1ox3+M7HgLe7joS+Mad0NWNcoJRnt6nqyJpQA/m/rxIZ4hPa9xxczL1FxqXhvOv6xM=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0601MB1117;
x-ms-office365-filtering-correlation-id: ae5962ce-7827-46ad-81d7-08d343b46c4b
x-microsoft-antispam-prvs: <DM2PR0601MB1117E640957CBBD7A48FD703C2BD0@DM2PR0601MB1117.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(5005006)(8121501046)(3002001)(10201501046); SRVR:DM2PR0601MB1117; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0601MB1117; 
x-forefront-prvs: 0870212862
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(377454003)(4326007)(54356999)(122556002)(3846002)(102836003)(6116002)(77096005)(2906002)(3280700002)(99286002)(40100003)(3660700001)(5008740100001)(5001770100001)(86362001)(92566002)(10400500002)(5002640100001)(5004730100002)(189998001)(50986999)(81166005)(586003)(11100500001)(36756003)(82746002)(1220700001)(2900100001)(66066001)(83716003)(87936001)(106116001)(2501003)(229853001)(33656002)(551544002)(1096002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0601MB1117; H:DM2PR0601MB1118.namprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-ID: <75ADA2738514E24989BE1847EA5E6CB7@namprd06.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-originalarrivaltime: 03 Mar 2016 22:37:37.4960 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0601MB1117
X-SA-Exim-Connect-IP: 207.46.100.97
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: odonoghue@isoc.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Joint NTP/TICTOC WG virtual interim - Thursday, 10 March 2016, 11:30 am EST / 16:30 UTC
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "iesg-secretary@ietf.org" <iesg-secretary@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Folks,

We will have another interim virtual joint meeting of the NTP and TICTOC working groups. 
This meeting is scheduled for Thursday, 10 March 2016, 11:30 am EST / 16:30 UTC

Topics for the agenda include: 
- WG status updates
- NTS WGLC status 
- NTP implementation reports
- NTP BCP progress 
- Discussion of proposed charter updates
- AOB

Below are the webex details for the meeting. 

IETF NTP/TICTOC WG Joint Virtual Interim Meeting
Thursday, March 10, 2016
11:30 am  |  Eastern Standard Time (New York, GMT-05:00)  |  1 hr 30 mins
 
Join WebEx meeting
Meeting number:	924 547 137
Meeting password:	timesynch
 
Join by phone
1-877-668-4493 Call-in toll-free number (US/Canada)
1-650-479-3208 Call-in toll number (US/Canada)
Access code: 924 547 137
Global call-in numbers  |  Toll-free calling restrictions
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 15:07:36 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 943F21B2F25 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 15:07:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.795
X-Spam-Level:
X-Spam-Status: No, score=-1.795 tagged_above=-999 required=5 tests=[BAD_ENC_HEADER=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, RP_MATCHES_RCVD=-0.006, T_DKIM_INVALID=0.01] autolearn=no
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 6kGoIPu6OIjZ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 15:07:35 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id E97861B2F5C for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 15:07:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E72CB86DC9B for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 23:07:34 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E969986DBFE for <ntpwg@lists.ntp.org>; Thu,  3 Mar 2016 22:50:11 +0000 (UTC)
Received: from mail-bn1bon0078.outbound.protection.outlook.com ([157.56.111.78] helo=na01-bn1-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <Greg.Dowd@microsemi.com>) id 1abc4H-000Ke9-Qv for ntpwg@lists.ntp.org; Thu, 03 Mar 2016 22:50:11 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=soy38OcrHAJ/JMZmacOXnG1CmoDSsdutLMBSRHWCTZA=; b=Pdf0VgPyIJbid5bLmSuP8ganKlP/AtdflRkMUqPaITSgrEVrVY8Y+0ALe9om1rpMZZCbt3LF5z8YPLPEnpX+psgkBUfyhorxPjOK9SUMCNr6qUgxP6ZM6Sei4j6dp5CQ6fhOGiHHgvWoV0ePf85X6tKcfc5QBpVNzuCXilq/078=
Received: from BY2PR02CA0059.namprd02.prod.outlook.com (10.141.216.49) by CY1PR0201MB1081.namprd02.prod.outlook.com (10.161.214.17) with Microsoft SMTP Server (TLS) id 15.1.427.16; Thu, 3 Mar 2016 22:50:00 +0000
Received: from BN1BFFO11FD048.protection.gbl (2a01:111:f400:7c10::1:111) by BY2PR02CA0059.outlook.office365.com (2a01:111:e400:2c40::49) with Microsoft SMTP Server (TLS) id 15.1.415.20 via Frontend Transport; Thu, 3 Mar 2016 22:49:59 +0000
Authentication-Results: spf=none (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; lists.ntp.org; dkim=none (message not signed) header.d=none;lists.ntp.org; dmarc=none action=none header.from=microsemi.com;
Received-SPF: None (protection.outlook.com: microsemi.com does not designate permitted sender hosts)
Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BN1BFFO11FD048.mail.protection.outlook.com (10.58.145.3) with Microsoft SMTP Server (TLS) id 15.1.427.7 via Frontend Transport; Thu, 3 Mar 2016 22:49:59 +0000
Received: from SJSRVEXCHHTS1.microsemi.net (10.241.34.105) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 3 Mar 2016 14:49:58 -0800
Received: from SJSRVEXCHMBX2.microsemi.net ([fe80::6da0:6f9d:d5d1:3d5d]) by sjsrvexchhts1.microsemi.net ([::1]) with mapi id 14.03.0266.001; Thu, 3 Mar 2016 14:49:57 -0800
From: Greg Dowd <Greg.Dowd@microsemi.com>
To: "mayer@ntp.org" <mayer@ntp.org>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Thread-Topic: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
Thread-Index: AQHRc6Htf+GnZC15E0+dPktwNwwckp9E/RMAgALJCYCAANwCAP//i7kggACe0YD//3rTkA==
Date: Thu, 3 Mar 2016 22:49:57 +0000
Message-ID: <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org>
In-Reply-To: <56D8B1FD.7050108@ntp.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.241.128.92]
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(24454002)(199003)(377454003)(13464003)(479174004)(189002)(54356999)(5008740100001)(97756001)(23726003)(6806005)(5250100002)(2501003)(230783001)(189998001)(1220700001)(1096002)(5003600100002)(2920100001)(33656002)(46406003)(53416004)(16796002)(5001770100001)(50466002)(2950100001)(55846006)(86362001)(2900100001)(101416001)(586003)(1720100001)(5004730100002)(47776003)(11100500001)(6116002)(106466001)(105586002)(87936001)(4326007)(50986999)(19580405001)(15975445007)(2906002)(102836003)(561944003)(93886004)(92566002)(106116001)(3846002)(19580395003)(81166005)(76176999); DIR:OUT; SFP:1101; SCL:1; SRVR:CY1PR0201MB1081; H:avsrvexchhts1.microsemi.net; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; 
X-Microsoft-Exchange-Diagnostics: 1; BN1BFFO11FD048; 1:DN0MfFxRGKHlsEkoW3l0WtPAqy6qIB+gIosd7VHM2pAq/5hSYLtexVnAHAw8cfMDHkt2XDuAr+SeYAzOsPUcCSsXC2YkeoSdEYSNnHOJeSIWzuRrm6HQGqOgpqsimZVogXQt3EZEN3BB0lVlsOJMieeTfapP28Ofaizu3WKpRi6FwwU5+hIGyiXd3vs9qkgdeNzNQ326VsFcEDkqN1k/GHHFOwSUxFAm36bL514mQiWAzq9y8kM3m94TF5QbPclO+M/Sd+FowrtjFM5rJbI2vu0vKZp7rx7yBzILNWMH4CP23EMiYpgcLIuOMeEizqF2Uo28TpB1bfRTUp+BJJK1/U+PeA3LgsEc8wR1+qbKcNxT/UcNKn7x2OcT1j5Hws3oadNFpSlx85yc9FD+9PpwZWmI5QyTYOnrTfIMId8bJSaTMwcvfrs0YfcTB4wzRZSkW24RFGt6euTS69fRrk7Bsw==
X-MS-Office365-Filtering-Correlation-Id: 470cbd6b-3e92-4909-b199-08d343b62667
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1081; 2:GQMCVdEGYoFSJ4IXIPSoqRL3jmBczRmTjlNWiD5CaKuz+y0pW35KDsC0SwyQJY2bjX3wI/7dgejZZfV1GblzEYBqxlwjn8YBu2QjuKOa2qXLOJiQcu8ZEFbAfB7GWiaVaxxKoH/BLj+u+xVmTMB/SsP68bKWPFqkOKbN2dvIo3GWpYvRbXNKvFbaqZZkRZ+6; 3:+DZJVOlnHqEyPZwKoQKFXD1ihup1EvkWybOV19OUlf2yQ5OpXzAH+ZTSl8PUryEmMS4BUu+F5pd9nPVybSAIfwHSMhCTxCId0kiRV/yCdYvqiVoxeW0XqbiEdOWtpracnFiY3kRfiut9NFpdLKFTAZGBU6uanY/h/klj4A5+C4nNa2KFpHpwIrgZ8SIkwdXg4Af0Em+s6kZlyt/i6VrVrKo+YF8n1udW8f2Qps3WKS4=; 25:24xwPaLDZvLTIzzMWpmgeIQ/dlEQ6EKvcKY74XUdK4Iwxudz6PrpLVWBffyconaDt7oiXM5U+hpYDvrb3JqhWXtJRtPcOK+7jm8VzDueWP1hK7Z70SjZFD+zpC/MQZiT9k2vvnUtznWshL5Zr7nr+/gECEZtuDte25yT5k8qeJvX9JzyjoRWEoewR9HMKRi/Q/WF3bTgAUsW8iCfHwZ4nZQ5H5CoS6hYOjdt1pjBWpieGvqilAKwQ+vM7EVpuBVcRcudkLCLv8fMDOuDS6Q97UWkTDS/NBUAvZGSlYS2eBh3sB2Npnnhc5vnHbKf+H1BndXJoJzARekvJ7i5p73d3w==
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:CY1PR0201MB1081;
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1081; 20:wS+AYUgVLW0Pyw/aLGFapGzRidJSJe318XZuvh5pD0INogZGrzue9JdoHOslTlhgGYENw75T07Xo+ZeUOZA35+hKiogZk6HV9S5cFeC6b37W5HwUasNQJ7TPzWagspEUoO0L+EquuhQXAR3ol4Xx6f8nyErrIPXJcwJqf1Div6tULBrvAsJnWCe66Ja+VBn+u0wrqmunrkorbRLPoaQsNk9neAWCbvt43OfyAPkIoEQiJN5ws1DJ0azpOSpU4Ko4jW1GX96h3jNUL+Z9ByfwQAsyexlpBdn3uXgDAU19nqHIG0lZNdlbyKncwtaw2k6XkG/bnjA8K6T1T4DIH3h1honiHd66/3SF3M6Geva1rj+g75h1pc6dYV3SQYz9NY8pRQkqBqLRPRkh5KpHzNvgqs9uyiZuKB/Dgr+7IPJ9BukSlvax5ZQSBkcx+FeqtIXn4W4ghWGDSqogdOGOv/AqBAtQslJY1pG37Y4riB4775/ZZYK+IhmETwH1mrEe4tC7
X-Microsoft-Antispam-PRVS: <CY1PR0201MB108113D3571684D5577D3F4CFCBD0@CY1PR0201MB1081.namprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(13015025)(13017025)(13023025)(13024025)(5005006)(8121501046)(13018025)(3002001)(10201501046); SRVR:CY1PR0201MB1081; BCL:0; PCL:0; RULEID:; SRVR:CY1PR0201MB1081; 
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1081; 4:o3u39lnKWOfL+JkIEbWOW63HJgVbpy6B6DLNA9ZkuBLxpmFayqnwnwsO5rSBvjZ8GynVpnSeMp/2A3UwlTjF+FgvOM72zksyp5hyC/iXJ8Auh0dKuzY+PoEhbCKd/cjffy1bvgLWQH0LvYEcvSalZvw+MAjG1jCsZscYydMIlNYtOW8co2pnD3s6q3lSxxgx1/PcKypUl+9YKSY4Vf4B4+jJa+3emhtlth8RZzR11dlpGrA6tyx9P/3qzZssCxEciAzGMpjm0z3tJHDLwWG92yO/aYF+ZEiuYLmb2Bjoeb7wSNzKcf04b/XDkyQRTuiJTl+X/fEcE7vDPaZEziyOcKLHsWxrWJgjpPMShYNfejPhU/WBozM0JEA+LhgI82BoqyAgv+xkLwWyiWbFxbuWTDrW0KHcNPoOffyjWQuhn5gEyNXA0BPXkuj9dnvR2sSw64v22UfUdCQyOCL9IX7rJQ==
X-Forefront-PRVS: 0870212862
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; CY1PR0201MB1081; 23:IZ6p6quhRNtGZLd1emAaqwwICiZn8VXtxWscuTg?= =?us-ascii?Q?KVOYEg37aOIiGXbyG0Spzx0uGoMI5MPkBHJ7gePciUxxri1kRoOCyoxZjVWk?= =?us-ascii?Q?R23mTmruEyxlgI+p9Quw6YzXs5gwOQyMSJ2i6Mnma0qaG0e9+hLpfwTN/ys8?= =?us-ascii?Q?tCyKeceWS/404ZqDZudZlDwZqLfrXxmxFpSFN3FwsTYvSRlU2KOhf9XCnrdu?= =?us-ascii?Q?MeYrutDRJRW3yj2CWzQFnyWpVilaFFitr5IcEcpLLvuTcwL7sr6FRozfi+3c?= =?us-ascii?Q?lZPXeO93gHCFivPggeXghxwhtkBKFbXqdJwRFpk2VLAxCIlYjLF+arRvUKGw?= =?us-ascii?Q?N0+EbiJpbA8O1T8DmWrsg4PMkwCs5tNH+SO5/txrerwH621ocJnLEjIBOInj?= =?us-ascii?Q?K1CQsR8EI7VSMle+5hQkTFPbgMXoEUVMa2tVyu4tmvd/5wI9nMHeri4dVTy9?= =?us-ascii?Q?vf4pn59sKay1SzzJv1WlHddB8bQEyJHuBvoRq06990huYNdWUSrKfq3tq1Dx?= =?us-ascii?Q?TY1cvxa/lXgtkTrULDtzkeF0kbr+eZ9vucXC2/Q5rWCSsDldN5znhxr3SC5d?= =?us-ascii?Q?waBJsKtzZtvZrasMaBkOkKXYf1nfqpBrFsUVQJc4jVEBXRyHxzgrOGuJ1Wr+?= =?us-ascii?Q?kA0X1P2fqsg4n2YFIdUf9taafCsfO6fD1OInf/1lEvqmcB4cla8TgGSci24i?= =?us-ascii?Q?lTW4cSH7eX4Ph3ffFkJk/CNRFXUa2BIqpYNwb9fpT8zdaQjmJf5XhN2v3AKt?= =?us-ascii?Q?illfaM1G3iL0UupbZMMQgaOB/gqx92edK5KDcue8cTTJ3eY5if/ndLwb1B+R?= =?us-ascii?Q?3xz/fVfOXjxUuhEtqhTBUZKBkD0TPPIGkasbRXhINFbdHiM38PWHGuaqTt6S?= =?us-ascii?Q?cCWB+79ajz742XfrfdNuxFZbwDB8MHxuPLOzGZAVaMefxfnv3rLBhUhqN5ik?= =?us-ascii?Q?V2w6y8eCQm1pJeBgEhP2EX3wTwEhCq1+mNRE27LIhHAhHTJUE1e40hQ+kxOu?= =?us-ascii?Q?+96Qx1LoEAdFudBgcWuKRthSJGihH3seBgI44mXgjW859LN5iPPZBr9V83Y3?= =?us-ascii?Q?5NzYSHR7apUM/yXDNhq9CrlK+VyhHbCHmpokfkCMVxoKvj44mqSv/Nea7P2D?= =?us-ascii?Q?E4vYpOHJ5rDa2WDhVDuoa1tS1BHN36oz1v77meg96hcP9fpV/2GsGIyziB5x?= =?us-ascii?Q?zOCzSKwyEr9aPnVlU+gwbRttQbRf5GQKcL/8J69kDwFkSiRx5ma8hW1MKlF6?= =?us-ascii?Q?mLaHNdtIWnyWPYax7qgQ9ifSLf4gEd2/+vlDQfOjznm6CZP/SCJ25mG/bIeE?= =?us-ascii?Q?z6renWdFwD0nV9fuUdsu6PJk+mS9rUk5uR7yI2LTs/P4YOX+aWGSnwkv7/MM?= =?us-ascii?Q?UP9jj+AY1u+33PS3g5Q81VMbnk8rXFBTFHo5q+3mEwkTbNqkidwhNDticOa4?= =?us-ascii?Q?6KwU1oIJUbA=3D=3D?=
X-Microsoft-Exchange-Diagnostics: 1; CY1PR0201MB1081; 5:IpB2tHhys+QBXeRALrf2D0eYyvJVqE0DMnpt3Rh1Ey+H8mY0Dv7XETvl6bUIKPtXv2KorAHj51N/TMvqa3OYAhh0ncGfbdt7Ezr1huj3KGFlC9cTEEFBEntc4tJfJMsqgljAFLmj10GLkdVyFfG0xg==; 24:dGpfqdrEbLRSlDL5JFXn2RE/ZtTBBrXl3WvRZHzIvp1ELtHPbX1ZJ0rUFJiCLyLe4dGhHe96yefgWOgs38hHLTimr3RNA7kjmcBhDgdp6uA=
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: microsemi.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 03 Mar 2016 22:49:59.3222 (UTC)
X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.21]; Helo=[avsrvexchhts1.microsemi.net]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: CY1PR0201MB1081
X-SA-Exim-Connect-IP: 157.56.111.78
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: Greg.Dowd@microsemi.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "stenn@nwtime.org" <stenn@nwtime.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Let me restate my question.  I will assume I misread Harlan's post and that his two declarations were independent.  The first targeting IANA and the second targeting the draft itself?  So I will remove IANA from my question.  The current proposal proposes a length of 28 octets although only 16 bits are necessary.  Actually, all of this is a little fuzzy to me.  Probably because there is this chicken and egg problem.

5905 says minimum extension size is 16 bytes.  That is because 5905 states that extensions MUST be followed by a MAC.  This is all normative.

Draft-ietf-ntp-entension-field-07 says that extensions do NOT have to be followed by a MAC.  Having been involved in the process, I would kind of debate that the language in 5905 was accidental or in error at the time but whatever.  Has an errata been filed against 5905 to fix up these issues?  This draft also says that an extension that does NOT have a following MAC MUST be at least 28 bytes so that it can be distinguished.

The checksum-trailer draft says it MUST be EXACTLY 28 bytes.  But that isn't required by this functionality.  Basically, this draft wants to define a 16 bit value and encode it in a TLV style extension that meets the requirements of extensions as defined by the relevant protocol docs.

Can you clarify what you mean by extension field length must be defined in the checksum trailer draft?  My main reason for asking is that the concept of a TLV seems to be taking a bit of a beating.  And in the very first draft of something different than autokey :-)  First, we've got Harlan talking about using the high order bit of the type field to distinguish MAC or non-MAC following and now you talking about hardcoding the length.  If that is the case, the value of using a TLV is diminishing more quickly than I had hoped.

That is why I echo Harlan's sentiment on length as I understood it.  Basically, I would lean towards IANA registration of a Type value.  Then, an extension defined with the length = 16 bits plus enough padding to create a valid extension.

Now, on the offhand statement that the high order bit of the type value could be used to distinguish MAC or non-MAC.  I don't see that in the ntp-extension draft.  So, is it necessary or not?  If it is, then we should probably include that in the ntp-extension draft.  Then, either IANA only controls 15 bits or the checksum-trailer draft should request BOTH versions, MAC and non-MAC.

Because the checksum-trailer is manipulating timestamps, these may absolutely need to have a MAC.  Whether that is practical currently is not the issue but it needs to be allowed.  

I'm fully supportive of all the technology but the paperwork seems a little fuzzy.








-----Original Message-----
From: Danny Mayer [mailto:mayer@ntp.org] 
Sent: Thursday, March 03, 2016 1:52 PM
To: Greg Dowd; Harlan Stenn; ntpwg@lists.ntp.org
Cc: stenn@nwtime.org
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt

EXTERNAL EMAIL


On 3/3/2016 3:24 PM, Greg Dowd wrote:
> I have to admit I haven't reread the draft lately so it may be an ignorant question but why does IANA need to record/specify the length?  If it is a TLV, the type is specified but the length is in the object.  I understand constraints (like must be greater than x and less the y) but why IANA controlled?
>

The extension field length is in the extension field. That has nothing to do with IANA. Maybe I misunderstood your question?

Danny
>
> -----Original Message-----
> From: ntpwg 
> [mailto:ntpwg-bounces+greg.dowd=microsemi.com@lists.ntp.org] On Behalf 
> Of Danny Mayer
> Sent: Thursday, March 03, 2016 11:20 AM
> To: Harlan Stenn; ntpwg@lists.ntp.org
> Cc: stenn@nwtime.org
> Subject: Re: [ntpwg] I-D Action: 
> draft-ietf-ntp-checksum-trailer-05.txt
>
> EXTERNAL EMAIL
>
>
> On 3/3/2016 1:12 AM, Harlan Stenn wrote:
>> Upon further reflection, I'd like to clarify my last message on this topic.
>>
>> I request the following advice to be given to IANA:
>>
>>  - The extension header Field Type should be: 0x2005
>>    This follows the convention of using the high-order bits as flag bits
>>    and low-order bits as the opcode.  In this case the 0x2000 bit means
>>    "This extension field does not require a subsequent MAC".
>>    This is important because we want to make it easy for a client that
>>    does not know about this extension field to know that the subsequent
>>    MAC is not needed.  The unknown (to an older client) extension field
>>    can be safely ignored in this case.
>>
>> I recommend the following, and if it is difficult to accomplish at 
>> this stage then don't worry about it:
>>
>>  - the extension field length should not be specified.
>
> The extension field length MUST be specified. That's not an option.
>
> Danny
>
>>    There are enough ways to tell the difference between an old-style
>>    MAC and this extension field, and there are cases where 28 bytes
>>    will conflict with an old-style MAC.
>>
>> This is an experimental RFC, and as such the document is fine.
>>
>> If this proposal is to advance beyond the experimental stage, I'd 
>> like the other points I raised to be part of that future discussion.
>>
>
>
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
>
>

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 17:37:09 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 360E21B3205 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 17:37:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 sRzbqs_P0LvF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 17:37:06 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id BA3AE1B3204 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 17:37:06 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B244586DC74 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 01:37:06 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B888D86D60E for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 01:18:17 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1abeNc-000Mov-Jb for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 01:18:16 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 51902B82C for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 01:18:08 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id A76A1B80E; Fri,  4 Mar 2016 01:18:07 +0000 (UTC)
To: Greg Dowd <Greg.Dowd@microsemi.com>, "mayer@ntp.org" <mayer@ntp.org>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56D8E2A4.2020704@nwtime.org>
Date: Thu, 3 Mar 2016 17:19:32 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Mar  4 01:18:08 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d8e250829938968118954
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/3/16 2:49 PM, Greg Dowd wrote:
> Let me restate my question.  I will assume I misread Harlan's post
> and that his two declarations were independent.

Those two declarations were independent.

> The first targeting
> IANA and the second targeting the draft itself?

Yes.

> So I will remove
> IANA from my question.  The current proposal proposes a length of 28
> octets although only 16 bits are necessary.  Actually, all of this is
> a little fuzzy to me.  Probably because there is this chicken and egg
> problem.

My understanding is that Tal chose a length of 28 octets to make sure
this extension field could not be confused with a MAC.  I believe:

- that is not really correct - I believe an SHA1 MAC will be 28 bytes long

- it doesn't matter:
- - there are other ways to determine if data after the base packet is
    an extension field or a MAC.
- - the *worst* case is that this data matches both a MAC and this new
    extension field.

If it's really just a MAC then we don't care if it matches this
extension field.  If it's really just an extension field and it also
matches a MAC then it's up to the implementation to decide what to do if
that "sham" MAC matched a valid symmetric key (it can't be autokey if
the payload is really just a checksum complement) or it didn't.

This is pretty much why I think it's wrong to mandate a 28-byte length
for this EXPERIMENTAL RFC.  It can be as long as anybody wants it to be,
as the sole purpose of it is to be a checksum complement.

> 5905 says minimum extension size is 16 bytes.  That is because 5905
> states that extensions MUST be followed by a MAC.  This is all
> normative.

I'll re-read this, too.  I think the shortest extension field would be
4 bytes long, especially since I'm about to submit a proposal that says
the 4-byte CRYPTO-NAK is an extension field where the field type is
0x0000 and the length is 0x0000 instead of the expected 0x0004.

Again, I'll be reading 5906 tonight to get a better understanding.

I may dig in to more of Greg's comments below later tonight.

H
--

> Draft-ietf-ntp-entension-field-07 says that extensions do NOT have to
> be followed by a MAC.  Having been involved in the process, I would
> kind of debate that the language in 5905 was accidental or in error
> at the time but whatever.  Has an errata been filed against 5905 to
> fix up these issues?  This draft also says that an extension that
> does NOT have a following MAC MUST be at least 28 bytes so that it
> can be distinguished.

> The checksum-trailer draft says it MUST be EXACTLY 28 bytes.  But
> that isn't required by this functionality.  Basically, this draft
> wants to define a 16 bit value and encode it in a TLV style extension
> that meets the requirements of extensions as defined by the relevant
> protocol docs.
> 
> Can you clarify what you mean by extension field length must be
> defined in the checksum trailer draft?  My main reason for asking is
> that the concept of a TLV seems to be taking a bit of a beating.  And
> in the very first draft of something different than autokey :-)
> First, we've got Harlan talking about using the high order bit of the
> type field to distinguish MAC or non-MAC following and now you
> talking about hardcoding the length.  If that is the case, the value
> of using a TLV is diminishing more quickly than I had hoped.
> 
> That is why I echo Harlan's sentiment on length as I understood it.
> Basically, I would lean towards IANA registration of a Type value.
> Then, an extension defined with the length = 16 bits plus enough
> padding to create a valid extension.
> 
> Now, on the offhand statement that the high order bit of the type
> value could be used to distinguish MAC or non-MAC.  I don't see that
> in the ntp-extension draft.  So, is it necessary or not?  If it is,
> then we should probably include that in the ntp-extension draft.
> Then, either IANA only controls 15 bits or the checksum-trailer draft
> should request BOTH versions, MAC and non-MAC.
> 
> Because the checksum-trailer is manipulating timestamps, these may
> absolutely need to have a MAC.  Whether that is practical currently
> is not the issue but it needs to be allowed.
> 
> I'm fully supportive of all the technology but the paperwork seems a
> little fuzzy.
> 
> 
> 
> 
> 
> 
> 
> 
> -----Original Message----- From: Danny Mayer [mailto:mayer@ntp.org] 
> Sent: Thursday, March 03, 2016 1:52 PM To: Greg Dowd; Harlan Stenn;
> ntpwg@lists.ntp.org Cc: stenn@nwtime.org Subject: Re: [ntpwg] I-D
> Action: draft-ietf-ntp-checksum-trailer-05.txt
> 
> EXTERNAL EMAIL
> 
> 
> On 3/3/2016 3:24 PM, Greg Dowd wrote:
>> I have to admit I haven't reread the draft lately so it may be an
>> ignorant question but why does IANA need to record/specify the
>> length?  If it is a TLV, the type is specified but the length is in
>> the object.  I understand constraints (like must be greater than x
>> and less the y) but why IANA controlled?
>> 
> 
> The extension field length is in the extension field. That has
> nothing to do with IANA. Maybe I misunderstood your question?
> 
> Danny
>> 
>> -----Original Message----- From: ntpwg 
>> [mailto:ntpwg-bounces+greg.dowd=microsemi.com@lists.ntp.org] On
>> Behalf Of Danny Mayer Sent: Thursday, March 03, 2016 11:20 AM To:
>> Harlan Stenn; ntpwg@lists.ntp.org Cc: stenn@nwtime.org Subject: Re:
>> [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
>> 
>> EXTERNAL EMAIL
>> 
>> 
>> On 3/3/2016 1:12 AM, Harlan Stenn wrote:
>>> Upon further reflection, I'd like to clarify my last message on
>>> this topic.
>>> 
>>> I request the following advice to be given to IANA:
>>> 
>>> - The extension header Field Type should be: 0x2005 This follows
>>> the convention of using the high-order bits as flag bits and
>>> low-order bits as the opcode.  In this case the 0x2000 bit means 
>>> "This extension field does not require a subsequent MAC". This is
>>> important because we want to make it easy for a client that does
>>> not know about this extension field to know that the subsequent 
>>> MAC is not needed.  The unknown (to an older client) extension
>>> field can be safely ignored in this case.
>>> 
>>> I recommend the following, and if it is difficult to accomplish
>>> at this stage then don't worry about it:
>>> 
>>> - the extension field length should not be specified.
>> 
>> The extension field length MUST be specified. That's not an
>> option.
>> 
>> Danny
>> 
>>> There are enough ways to tell the difference between an
>>> old-style MAC and this extension field, and there are cases where
>>> 28 bytes will conflict with an old-style MAC.
>>> 
>>> This is an experimental RFC, and as such the document is fine.
>>> 
>>> If this proposal is to advance beyond the experimental stage, I'd
>>>  like the other points I raised to be part of that future
>>> discussion.
>>> 
>> 
>> 
>> _______________________________________________ ntpwg mailing list 
>> ntpwg@lists.ntp.org http://lists.ntp.org/listinfo/ntpwg 
>> _______________________________________________ ntpwg mailing list 
>> ntpwg@lists.ntp.org http://lists.ntp.org/listinfo/ntpwg
>> 
>> 
> 
> 

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 19:38:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9EFE1B324C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 19:38:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 KOyYzWNrU-O2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 19:38:30 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id A894D1B3252 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 19:38:22 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8409C86DAA9 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 03:38:22 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C6AD986D9AC for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 03:11:35 +0000 (UTC)
Received: from pool-71-174-223-139.bstnma.east.verizon.net ([71.174.223.139] helo=[10.10.10.102]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1abg9M-000OsB-6W; Fri, 04 Mar 2016 03:11:34 +0000
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net>
To: Greg Dowd <Greg.Dowd@microsemi.com>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56D8FCE2.2080007@ntp.org>
Date: Thu, 3 Mar 2016 22:11:30 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net>
X-SA-Exim-Connect-IP: 71.174.223.139
X-SA-Exim-Rcpt-To: stenn@nwtime.org, ntpwg@lists.ntp.org, stenn@ntp.org, Greg.Dowd@microsemi.com
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "stenn@nwtime.org" <stenn@nwtime.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/3/2016 5:49 PM, Greg Dowd wrote:
> Let me restate my question. I will assume I misread Harlan's post
> and
that his two declarations were independent. The first targeting IANA and
the second targeting the draft itself? So I will remove IANA from my
question. The current proposal proposes a length of 28 octets although
only 16 bits are necessary. Actually, all of this is a little fuzzy to
me. Probably because there is this chicken and egg problem.

One of the problems with the MAC field is that it does not contain a
length so you have to guess whether something beyond the end of the
basic packet is a MAC or an extension field. We are trying to figure out
if we have enough information to do that. I think that we are going to
end up with a best guess.

One result of this is that we are preparing a MAC extension field to
replace the MAC field at the end of a packet. This will have a length
field and will obsolete the existing MAC.
> 
> 5905 says minimum extension size is 16 bytes. That is because 5905
states that extensions MUST be followed by a MAC. This is all normative.
> 
> Draft-ietf-ntp-entension-field-07 says that extensions do NOT have
> to
be followed by a MAC. Having been involved in the process, I would kind
of debate that the language in 5905 was accidental or in error at the
time but whatever. Has an errata been filed against 5905 to fix up these
issues? This draft also says that an extension that does NOT have a
following MAC MUST be at least 28 bytes so that it can be distinguished.
> 

The draft explicitly update RFC5905 to make it clear that having a MAC
is optional and if an extension field requires a MAC it should
explicitly say so in the document that defines it.

> The checksum-trailer draft says it MUST be EXACTLY 28 bytes. But
> that
isn't required by this functionality. Basically, this draft wants to
define a 16 bit value and encode it in a TLV style extension that meets
the requirements of extensions as defined by the relevant protocol docs.
> 

No but Tal was trying to get around the problem of uncertainty of
whether or not a MAC was present.

> Can you clarify what you mean by extension field length must be
defined in the checksum trailer draft?

All extension fields no matter what the usage is need to have a length
part. It's part of the definition of an extension field. That's part of
RFC5905 and the extension field draft.

> My main reason for asking is that the concept of a TLV seems to be
> taking a bit of a beating.

I have no idea what you mean by TLV.


> And in the very first draft of something different than autokey :-) 
> First, we've got Harlan talking about using the high order bit of the
> type field to distinguish MAC or non-MAC following and now you talking
> about hardcoding the length.

I don't know why he wants that. If an extension field requires a MAC it
should specify it in the extension field document that specifies what
the extension field is. All new extension field will need to use the
proposed MAC extension field and the old MAC will be deprecated so we
will have only extension fields and all extension fields have length fields.

> If that is the case, the value of using a TLV is diminishing more
> quickly than I had hoped.
>

I have no idea what this means.

> That is why I echo Harlan's sentiment on length as I understood it.
Basically, I would lean towards IANA registration of a Type value. Then,
an extension defined with the length = 16 bits plus enough padding to
create a valid extension.

I don't understand what you are trying to say.

> 
> Now, on the offhand statement that the high order bit of the type
value could be used to distinguish MAC or non-MAC. I don't see that in
the ntp-extension draft. So, is it necessary or not? If it is, then we
should probably include that in the ntp-extension draft. Then, either
IANA only controls 15 bits or the checksum-trailer draft should request
BOTH versions, MAC and non-MAC.

No, it doesn't need a bit. All we will have are extension fields and
either the extension field needs a MAC extension field or it doesn't and
either way you will be able to tell.

> 
> Because the checksum-trailer is manipulating timestamps, these may
absolutely need to have a MAC. Whether that is practical currently is
not the issue but it needs to be allowed.

Actually it's impossible to have a MAC of any kind in this packet since
the checksum-trailer is used to update the transmit timestamp when it
gets sent out after the MAC has been computed. The checksum trailer is
to enable it to fix-up the UDP checksum so that it can be accepted by
the receiver but since any MAC is computed using the original timestamp,
the MAC check will now failed when received.

Danny
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 22:22:23 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF6801B33DD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 22:22:23 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 JAsSC4qrJjse for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 22:22:21 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 412D01B33DC for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 22:22:21 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0EA5886DBBB for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 06:22:20 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D833086D764 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 06:05:57 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1abis0-0001Rw-IS for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 06:05:57 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 382C7B814 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 06:05:48 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 79793B80E; Fri,  4 Mar 2016 06:05:47 +0000 (UTC)
To: mayer@ntp.org, Greg Dowd <Greg.Dowd@microsemi.com>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56D9260F.3000809@nwtime.org>
Date: Thu, 3 Mar 2016 22:07:11 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56D8FCE2.2080007@ntp.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Mar  4 06:05:47 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d925bb829931158021185
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/3/16 7:11 PM, Danny Mayer wrote:
> On 3/3/2016 5:49 PM, Greg Dowd wrote:
>> Let me restate my question. I will assume I misread Harlan's post
>> and
> that his two declarations were independent. The first targeting IANA and
> the second targeting the draft itself? So I will remove IANA from my
> question. The current proposal proposes a length of 28 octets although
> only 16 bits are necessary. Actually, all of this is a little fuzzy to
> me. Probably because there is this chicken and egg problem.
> 
> One of the problems with the MAC field is that it does not contain a
> length so you have to guess whether something beyond the end of the
> basic packet is a MAC or an extension field. We are trying to figure out
> if we have enough information to do that. I think that we are going to
> end up with a best guess.

I can't imagine this is a huge problem.  The first word is the keyid.
We know, based on the value there, if it's a symmetric key or an autokey.

We know from the remaining length what algorithm the sender used, unless
it's an unknown implementation and the sender added extra padding.

We can tell from the keyid we see what we think the algorithm is and
therefore what the length should be.

I just don't see any problem yet.  And this is an experimental proposal
anyway.  If problems are discovered we can hope/expect them to be reported.

> One result of this is that we are preparing a MAC extension field to
> replace the MAC field at the end of a packet. This will have a length
> field and will obsolete the existing MAC.

Yes.

>> 5905 says minimum extension size is 16 bytes. That is because 5905
> states that extensions MUST be followed by a MAC. This is all normative.
>>
>> Draft-ietf-ntp-entension-field-07 says that extensions do NOT have
>> to
> be followed by a MAC. Having been involved in the process, I would kind
> of debate that the language in 5905 was accidental or in error at the
> time but whatever. Has an errata been filed against 5905 to fix up these
> issues? This draft also says that an extension that does NOT have a
> following MAC MUST be at least 28 bytes so that it can be distinguished.
>>
> 
> The draft explicitly update RFC5905 to make it clear that having a MAC
> is optional and if an extension field requires a MAC it should
> explicitly say so in the document that defines it.

But 28 bytes is not a distinguishing length, from what I've seen.  SHA1
gives a 28 byte MAC, and other algorithms will give *longer* MACs.

>> The checksum-trailer draft says it MUST be EXACTLY 28 bytes. But
>> that
> isn't required by this functionality. Basically, this draft wants to
> define a 16 bit value and encode it in a TLV style extension that meets
> the requirements of extensions as defined by the relevant protocol docs.
>>
> 
> No but Tal was trying to get around the problem of uncertainty of
> whether or not a MAC was present.

See above.  I think the 28 byte length piece is neither necessary nor
needed.

>> Can you clarify what you mean by extension field length must be
> defined in the checksum trailer draft?
> 
> All extension fields no matter what the usage is need to have a length
> part. It's part of the definition of an extension field. That's part of
> RFC5905 and the extension field draft.
> 
>> My main reason for asking is that the concept of a TLV seems to be
>> taking a bit of a beating.
> 
> I have no idea what you mean by TLV.
> 
> 
>> And in the very first draft of something different than autokey :-) 
>> First, we've got Harlan talking about using the high order bit of the
>> type field to distinguish MAC or non-MAC following and now you talking
>> about hardcoding the length.
> 
> I don't know why he wants that. If an extension field requires a MAC it
> should specify it in the extension field document that specifies what
> the extension field is. All new extension field will need to use the
> proposed MAC extension field and the old MAC will be deprecated so we
> will have only extension fields and all extension fields have length fields.

Is it a bug or a feature that MAC protection (old- or new-style) is
being made optional?

If it's really a feature, then we don't need the bits that indicate "I
need no MAC after me", or "I am a MAC".

I currently think making the MAC optional is not that useful.

I don't see that the cost of a high-order bit for "No following MAC is
required" and another high-order bit for "This extension field contains
a MAC" is too high a price to pay.

How many extension fields do we expect to use?

Even if the answer is "more than 250", these high-order bits can be
interpreted as listed only if the low-order nibble is in the known
range, which would  give us what looks like plenty of space.

And we can completely change the Field Type spec for NTPv5, so the above
concerns about how to allocate Field Types is really only an issue for
NTPv4.

To summarize again, what to do about unknown extension fields?  The
choices pretty much boil down to "ignore them" or "ignore the entire
packet".

In the past, the only extension field we had was autokey, which required
a MAC.  This extension PROHIBITS a MAC.  That's why I am requesting a
Field Type that has a way that the high-level packet scanning code can
see if an extension field requires (and now, provides) a MAC.

Old code MAY have problems with these new packets.  Nothing we can do
about that.  But it's "their" choice to run this new code so they'll
understand the ramifications of this choice.

>> If that is the case, the value of using a TLV is diminishing more
>> quickly than I had hoped.
>>
> 
> I have no idea what this means.
> 
>> That is why I echo Harlan's sentiment on length as I understood it.
> Basically, I would lean towards IANA registration of a Type value. Then,
> an extension defined with the length = 16 bits plus enough padding to
> create a valid extension.
> 
> I don't understand what you are trying to say.
> 
>>
>> Now, on the offhand statement that the high order bit of the type
> value could be used to distinguish MAC or non-MAC. I don't see that in
> the ntp-extension draft. So, is it necessary or not? If it is, then we
> should probably include that in the ntp-extension draft. Then, either
> IANA only controls 15 bits or the checksum-trailer draft should request
> BOTH versions, MAC and non-MAC.
> 
> No, it doesn't need a bit. All we will have are extension fields and
> either the extension field needs a MAC extension field or it doesn't and
> either way you will be able to tell.

Please defend your position.  I disagree with it.  What if somebody
sends a packet that has an otherwise unknown Field Type but they set
these bits correctly?  That extra information makes it a lot easier to
properly process the packet, even if this unknown extension field is
present.

I think we need the bits for "No following MAC needed" and "I contain a
MAC".

If we're actually going to start adding more extension fields this is
important.

For example, there is value in providing a MAC (old- or new-style) for
the first 6 packets in the NTS dance, until enough information has been
conveyed that the NTS Field Type changes from 0x0004 for these initial
packets to 0x1004 once the extension field contains a MAC.  Assuming I
have the values right - my notes on this are not handy.

Likewise, autokey Field Types are 0x0N02, so aside from the fact that
any NTPv4 implementation will know that autokey needs a MAC, the lack of
the 0x2000 bit is a backward-compatible way to "reinforce" this requirement.

The new "MAC in an extension field" will use 0x1003, which uses 0x1000
to indicate "this extension field contains a MAC".  That's not going to
prevent anybody from putting an old-style MAC a the end of the packet
anyway, if they choose.  Won't hurt.

>> Because the checksum-trailer is manipulating timestamps, these may
> absolutely need to have a MAC. Whether that is practical currently is
> not the issue but it needs to be allowed.
> 
> Actually it's impossible to have a MAC of any kind in this packet since
> the checksum-trailer is used to update the transmit timestamp when it
> gets sent out after the MAC has been computed. The checksum trailer is
> to enable it to fix-up the UDP checksum so that it can be accepted by
> the receiver but since any MAC is computed using the original timestamp,
> the MAC check will now failed when received.

Which is why I offered my suggestion, for later.  My suggestion allows
the preceding packet information to include a MAC, and the only issue is
whether or not it's possible to have the FPGA module take the base
packet, put the timestamp adjustment in an appended extension field, and
then perhaps sign the overall packet again, in a way that also handles
the checksum complement.  But even if no MAC is covering the timestamp
adjustment, I think that the correction will be small enough that we'll
be able to detect tampering.

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 23:53:12 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 76EDE1B34A1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 23:53:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 y85XyVyJXGsM for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 23:53:09 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D53681B34A0 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 23:53:09 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CC45086DC4D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 07:53:09 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 7A8B986DB8A for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 07:24:05 +0000 (UTC)
Received: from rrzmta1.uni-regensburg.de ([194.94.155.51]) by mail1.ntp.org with esmtps (TLSv1:CAMELLIA256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <Ulrich.Windl@rz.uni-regensburg.de>) id 1abk5a-0002d5-5V for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 07:24:04 +0000
Received: from rrzmta1.uni-regensburg.de (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 2CD19577C1 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 08:23:51 +0100 (CET)
Received: from gwsmtp1.uni-regensburg.de (gwsmtp1.uni-regensburg.de [132.199.5.51]) by rrzmta1.uni-regensburg.de (Postfix) with ESMTP id EE93857769 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 08:23:50 +0100 (CET)
Received: from uni-regensburg-smtp1-MTA by gwsmtp1.uni-regensburg.de with Novell_GroupWise; Fri, 04 Mar 2016 08:23:50 +0100
Message-Id: <56D94613020000A100020287@gwsmtp1.uni-regensburg.de>
X-Mailer: Novell GroupWise Internet Agent 14.2.0 
Date: Fri, 04 Mar 2016 08:23:47 +0100
From: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
To: <ntpwg@lists.ntp.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org>
In-Reply-To: <56D8FCE2.2080007@ntp.org>
Mime-Version: 1.0
Content-Disposition: inline
X-SA-Exim-Connect-IP: 194.94.155.51
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: Ulrich.Windl@rz.uni-regensburg.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hi!

I wonder: I was taught an algorithm has the advantage over human language that it has no ambiguities. Would specifying an algorithm for processing of MAC and extension fields in some high-level (pseudo?) language help in this seemingly endless discussion?

I'm not thinking about the C code of the actual implementation. Sometimes when formulating an algorithm, it becomes clear where the documentation is unclear.

Regards,
Ulrich

>>> Danny Mayer <mayer@ntp.org> schrieb am 04.03.2016 um 04:11 in Nachricht
<56D8FCE2.2080007@ntp.org>:
> On 3/3/2016 5:49 PM, Greg Dowd wrote:
>> Let me restate my question. I will assume I misread Harlan's post
>> and
> that his two declarations were independent. The first targeting IANA and
> the second targeting the draft itself? So I will remove IANA from my
> question. The current proposal proposes a length of 28 octets although
> only 16 bits are necessary. Actually, all of this is a little fuzzy to
> me. Probably because there is this chicken and egg problem.
> 
> One of the problems with the MAC field is that it does not contain a
> length so you have to guess whether something beyond the end of the
> basic packet is a MAC or an extension field. We are trying to figure out
> if we have enough information to do that. I think that we are going to
> end up with a best guess.
> 
> One result of this is that we are preparing a MAC extension field to
> replace the MAC field at the end of a packet. This will have a length
> field and will obsolete the existing MAC.
>> 
>> 5905 says minimum extension size is 16 bytes. That is because 5905
> states that extensions MUST be followed by a MAC. This is all normative.
>> 
>> Draft-ietf-ntp-entension-field-07 says that extensions do NOT have
>> to
> be followed by a MAC. Having been involved in the process, I would kind
> of debate that the language in 5905 was accidental or in error at the
> time but whatever. Has an errata been filed against 5905 to fix up these
> issues? This draft also says that an extension that does NOT have a
> following MAC MUST be at least 28 bytes so that it can be distinguished.
>> 
> 
> The draft explicitly update RFC5905 to make it clear that having a MAC
> is optional and if an extension field requires a MAC it should
> explicitly say so in the document that defines it.
> 
>> The checksum-trailer draft says it MUST be EXACTLY 28 bytes. But
>> that
> isn't required by this functionality. Basically, this draft wants to
> define a 16 bit value and encode it in a TLV style extension that meets
> the requirements of extensions as defined by the relevant protocol docs.
>> 
> 
> No but Tal was trying to get around the problem of uncertainty of
> whether or not a MAC was present.
> 
>> Can you clarify what you mean by extension field length must be
> defined in the checksum trailer draft?
> 
> All extension fields no matter what the usage is need to have a length
> part. It's part of the definition of an extension field. That's part of
> RFC5905 and the extension field draft.
> 
>> My main reason for asking is that the concept of a TLV seems to be
>> taking a bit of a beating.
> 
> I have no idea what you mean by TLV.
> 
> 
>> And in the very first draft of something different than autokey :-) 
>> First, we've got Harlan talking about using the high order bit of the
>> type field to distinguish MAC or non-MAC following and now you talking
>> about hardcoding the length.
> 
> I don't know why he wants that. If an extension field requires a MAC it
> should specify it in the extension field document that specifies what
> the extension field is. All new extension field will need to use the
> proposed MAC extension field and the old MAC will be deprecated so we
> will have only extension fields and all extension fields have length fields.
> 
>> If that is the case, the value of using a TLV is diminishing more
>> quickly than I had hoped.
>>
> 
> I have no idea what this means.
> 
>> That is why I echo Harlan's sentiment on length as I understood it.
> Basically, I would lean towards IANA registration of a Type value. Then,
> an extension defined with the length = 16 bits plus enough padding to
> create a valid extension.
> 
> I don't understand what you are trying to say.
> 
>> 
>> Now, on the offhand statement that the high order bit of the type
> value could be used to distinguish MAC or non-MAC. I don't see that in
> the ntp-extension draft. So, is it necessary or not? If it is, then we
> should probably include that in the ntp-extension draft. Then, either
> IANA only controls 15 bits or the checksum-trailer draft should request
> BOTH versions, MAC and non-MAC.
> 
> No, it doesn't need a bit. All we will have are extension fields and
> either the extension field needs a MAC extension field or it doesn't and
> either way you will be able to tell.
> 
>> 
>> Because the checksum-trailer is manipulating timestamps, these may
> absolutely need to have a MAC. Whether that is practical currently is
> not the issue but it needs to be allowed.
> 
> Actually it's impossible to have a MAC of any kind in this packet since
> the checksum-trailer is used to update the transmit timestamp when it
> gets sent out after the MAC has been computed. The checksum trailer is
> to enable it to fix-up the UDP checksum so that it can be accepted by
> the receiver but since any MAC is computed using the original timestamp,
> the MAC check will now failed when received.
> 
> Danny
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org 
> http://lists.ntp.org/listinfo/ntpwg 



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar  3 23:53:25 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DEF261B34A1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 23:53:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 oy8zzx4flmg3 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu,  3 Mar 2016 23:53:17 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id A73371B34A0 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu,  3 Mar 2016 23:53:17 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9ACFF86DCAD for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 07:53:17 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 899DA86DB8A for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 07:29:55 +0000 (UTC)
Received: from mail150c25.carrierzone.com ([64.29.147.220] helo=mail238c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1abkBG-0002eu-Rm for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 07:29:55 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail238c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u247Tg6H008443 for <ntpwg@lists.ntp.org>; Fri, 4 Mar 2016 07:29:44 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 644F4406057;  Thu,  3 Mar 2016 23:29:42 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Greg Dowd <Greg.Dowd@microsemi.com>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Greg Dowd <Greg.Dowd@microsemi.com> of "Thu, 03 Mar 2016 22:49:57 GMT." <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net>
Mime-Version: 1.0
Date: Thu, 03 Mar 2016 23:29:42 -0800
Message-Id: <20160304072942.644F4406057@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=C8zQl2/+ c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=uBuKx8GwAAAA:8 a=85N1-lAfAAAA:8 a=xkAZGrYGbu6uHj5z1iIA:9 a=2U9RJUERhr8uBBtk:21 a=AHDkMPfYOjGgS9eY:21 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010201.56D93968.00E6, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.220
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, hmurray@megapathdsl.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Greg.Dowd@microsemi.com said:
> The checksum-trailer draft says it MUST be EXACTLY 28 bytes.  But that isn't
> required by this functionality.  Basically, this draft wants to define a 16
> bit value and encode it in a TLV style extension that meets the requirements
> of extensions as defined by the relevant protocol docs.

My reading which may be wrong...

IANA should assign a number for the type.  They don't need to know the 
length.  They probably want to put the RFC number that describes the field 
(and length) into a table, but since they assign RFC numbers they should be 
able to handle that.

The length needs to be specified in the RFC that tells you how to use the 
field.

The length should be in the packet so code that doesn't understand this 
particular field type can skip over it.

There is a backward compatibility mess with old MACs which don't have TLV 
type structure.  That may require the length to be something other than what 
seems like the obvious one.  Or use another TLV item for padding.  Or...

I don't understand the issues about being followed by a MAC.

------

Somebody asked about TLV.  It's Type, Length, Value.  The type and length are 
fixed format.  The size of the value is whatever the length says.  One reason 
for that structure is so you can skip fields you don't understand.

-----

mayer@ntp.org said:
> One result of this is that we are preparing a MAC extension field to replace
> the MAC field at the end of a packet. This will have a length field and will
> obsolete the existing MAC. 

That seems like a sensible approach.  Checking my understanding...

Grandfather in a few specific lengths as old format MACs.  Any other length 
requires TLV structure for the whole extension.  If you end up with one of 
the magic reserved lengths you have to add some padding.




-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 02:01:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 755461B359E for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 02:01:42 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.906
X-Spam-Level:
X-Spam-Status: No, score=-6.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.006] autolearn=ham
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 rqYBqaZuIDVS for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 02:01:39 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id DA9501B35B5 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 02:01:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C817086DC13 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 10:01:37 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 0E46586DAB8 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 09:42:15 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1abmFT-0009RS-Cp; Fri, 04 Mar 2016 09:42:15 +0000
From: Harlan Stenn <stenn@ntp.org>
To: "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de>
In-reply-to: <56D94613020000A100020287@gwsmtp1.uni-regensburg.de>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D94613020000A100020287@gwsmtp1.uni-regensburg.de>
Comments: In-reply-to "Ulrich Windl" <Ulrich.Windl@rz.uni-regensburg.de> message dated "Fri, 04 Mar 2016 08:23:47 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Fri, 04 Mar 2016 09:42:15 +0000
Message-Id: <E1abmFT-0009RS-Cp@stenn.ntp.org>
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hi Ulrich,

"Ulrich Windl" writes:
> Hi!
> 
> I wonder: I was taught an algorithm has the advantage over human
> language that it has no ambiguities. Would specifying an algorithm for
> processing of MAC and extension fields in some high-level (pseudo?)
> language help in this seemingly endless discussion?

I don't think so.  One of the benefits of specifying the algorithm
out-of-band is that an observer will have difficulty identifying it.

In fact one problem with the current MAC scheme is that one can easily
deduce the algorithm based on the number of bytes in the payload.  This
makes for an attack vector, and we have a way to fix this in an upcoming
draft.

> I'm not thinking about the C code of the actual
> implementation. Sometimes when formulating an algorithm, it becomes
> clear where the documentation is unclear.

Does the above information help any?

H
--

> Regards,
> Ulrich
> 
> >>> Danny Mayer <mayer@ntp.org> schrieb am 04.03.2016 um 04:11 in Nachricht
> <56D8FCE2.2080007@ntp.org>:
> > On 3/3/2016 5:49 PM, Greg Dowd wrote:
> >> Let me restate my question. I will assume I misread Harlan's post
> >> and
> > that his two declarations were independent. The first targeting IANA and
> > the second targeting the draft itself? So I will remove IANA from my
> > question. The current proposal proposes a length of 28 octets although
> > only 16 bits are necessary. Actually, all of this is a little fuzzy to
> > me. Probably because there is this chicken and egg problem.
> > 
> > One of the problems with the MAC field is that it does not contain a
> > length so you have to guess whether something beyond the end of the
> > basic packet is a MAC or an extension field. We are trying to figure out
> > if we have enough information to do that. I think that we are going to
> > end up with a best guess.
> > 
> > One result of this is that we are preparing a MAC extension field to
> > replace the MAC field at the end of a packet. This will have a length
> > field and will obsolete the existing MAC.
> >> 
> >> 5905 says minimum extension size is 16 bytes. That is because 5905
> > states that extensions MUST be followed by a MAC. This is all normative.
> >> 
> >> Draft-ietf-ntp-entension-field-07 says that extensions do NOT have
> >> to
> > be followed by a MAC. Having been involved in the process, I would kind
> > of debate that the language in 5905 was accidental or in error at the
> > time but whatever. Has an errata been filed against 5905 to fix up these
> > issues? This draft also says that an extension that does NOT have a
> > following MAC MUST be at least 28 bytes so that it can be distinguished.
> >> 
> > 
> > The draft explicitly update RFC5905 to make it clear that having a MAC
> > is optional and if an extension field requires a MAC it should
> > explicitly say so in the document that defines it.
> > 
> >> The checksum-trailer draft says it MUST be EXACTLY 28 bytes. But
> >> that
> > isn't required by this functionality. Basically, this draft wants to
> > define a 16 bit value and encode it in a TLV style extension that meets
> > the requirements of extensions as defined by the relevant protocol docs.
> >> 
> > 
> > No but Tal was trying to get around the problem of uncertainty of
> > whether or not a MAC was present.
> > 
> >> Can you clarify what you mean by extension field length must be
> > defined in the checksum trailer draft?
> > 
> > All extension fields no matter what the usage is need to have a length
> > part. It's part of the definition of an extension field. That's part of
> > RFC5905 and the extension field draft.
> > 
> >> My main reason for asking is that the concept of a TLV seems to be
> >> taking a bit of a beating.
> > 
> > I have no idea what you mean by TLV.
> > 
> > 
> >> And in the very first draft of something different than autokey :-) 
> >> First, we've got Harlan talking about using the high order bit of the
> >> type field to distinguish MAC or non-MAC following and now you talking
> >> about hardcoding the length.
> > 
> > I don't know why he wants that. If an extension field requires a MAC it
> > should specify it in the extension field document that specifies what
> > the extension field is. All new extension field will need to use the
> > proposed MAC extension field and the old MAC will be deprecated so we
> > will have only extension fields and all extension fields have length fields
> .
> > 
> >> If that is the case, the value of using a TLV is diminishing more
> >> quickly than I had hoped.
> >>
> > 
> > I have no idea what this means.
> > 
> >> That is why I echo Harlan's sentiment on length as I understood it.
> > Basically, I would lean towards IANA registration of a Type value. Then,
> > an extension defined with the length = 16 bits plus enough padding to
> > create a valid extension.
> > 
> > I don't understand what you are trying to say.
> > 
> >> 
> >> Now, on the offhand statement that the high order bit of the type
> > value could be used to distinguish MAC or non-MAC. I don't see that in
> > the ntp-extension draft. So, is it necessary or not? If it is, then we
> > should probably include that in the ntp-extension draft. Then, either
> > IANA only controls 15 bits or the checksum-trailer draft should request
> > BOTH versions, MAC and non-MAC.
> > 
> > No, it doesn't need a bit. All we will have are extension fields and
> > either the extension field needs a MAC extension field or it doesn't and
> > either way you will be able to tell.
> > 
> >> 
> >> Because the checksum-trailer is manipulating timestamps, these may
> > absolutely need to have a MAC. Whether that is practical currently is
> > not the issue but it needs to be allowed.
> > 
> > Actually it's impossible to have a MAC of any kind in this packet since
> > the checksum-trailer is used to update the transmit timestamp when it
> > gets sent out after the MAC has been computed. The checksum trailer is
> > to enable it to fix-up the UDP checksum so that it can be accepted by
> > the receiver but since any MAC is computed using the original timestamp,
> > the MAC check will now failed when received.
> > 
> > Danny
> > _______________________________________________
> > ntpwg mailing list
> > ntpwg@lists.ntp.org 
> > http://lists.ntp.org/listinfo/ntpwg 
> 
> 
> 
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> 
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 03:24:37 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93F4B1B36DC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 03:24:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.001
X-Spam-Level:
X-Spam-Status: No, score=-5.001 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 bA8VnZ9bv7Pa for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 03:24:36 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 301341B36DE for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 03:24:36 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 12AB186DC4D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 11:24:36 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id EC7CD86DB1B for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 10:29:34 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1abmz7-0005RZ-3m for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 10:29:34 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id C5E7B19D243 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 10:29:23 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u24ATMK1026381 for <ntpwg@lists.ntp.org>; Fri, 4 Mar 2016 05:29:23 -0500
Date: Fri, 4 Mar 2016 11:29:22 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: ntpwg@lists.ntp.org
Message-ID: <20160304102922.GC20222@localhost>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D94613020000A100020287@gwsmtp1.uni-regensburg.de> <E1abmFT-0009RS-Cp@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1abmFT-0009RS-Cp@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Fri, Mar 04, 2016 at 09:42:15AM +0000, Harlan Stenn wrote:
> In fact one problem with the current MAC scheme is that one can easily
> deduce the algorithm based on the number of bytes in the payload.  This
> makes for an attack vector, and we have a way to fix this in an upcoming
> draft.

Hm, are there so many different lengths that hiding that information
would slow down the search more than adding a few bits to the key? How
do you propose to hide it, truncation of the hash to some constant
length?

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 04:11:54 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 568761B3786 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 04:11:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 DsfP30wYumxN for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 04:11:52 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 806681B377F for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 04:11:52 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 399C086DC43 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 12:11:51 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 7C1EB86DB1B for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 11:09:04 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1abnbJ-000Are-Sg for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 11:09:03 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u24B8p8E007416-u24B8p8G007416 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Fri, 4 Mar 2016 12:08:51 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id BCACC34085 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 12:08:51 +0100 (CET)
In-Reply-To: <E1abXaT-0008P9-3o@stenn.ntp.org>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org>	<20160301114348.GA12938@localhost> <E1abXaT-0008P9-3o@stenn.ntp.org>
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF95964823.C0C88655-ONC1257F6C.0038C18F-C1257F6C.003D3BF3@ptb.de>
From: kristof.teichel@ptb.de
Date: Fri, 4 Mar 2016 12:08:50 +0100
Content-Type: multipart/mixed; boundary="=_mixed 003D3BE5C1257F6C_="
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--=_mixed 003D3BE5C1257F6C_=
Content-Type: multipart/alternative; boundary="=_alternative 003D3BE8C1257F6C_="


--=_alternative 003D3BE8C1257F6C_=
Content-Type: text/plain; charset="US-ASCII"

> > Is it expected that NTP packets with extension fields which include
> > signed data and certificates may exceed the MTU and need IP
> > fragmentation? Do we need a specification which would allow large
> > extension fields to be split across several NTP packets?
> 
> We did not discuss this issue in the call.  I believe we're currently
> letting IP fragmentation handle this.
> -- 
> Harlan Stenn <stenn@ntp.org>
> http://networktimefoundation.org - be a member!

While we left it out in yesterday's call, Dieter and I discussed this with 
Martin Langer (our student implementer for NTS-protected NTP). We arrived 
at the following conclusions:

1) None of the NTS-related content is predicted to cause an issue with the 
64 KB limit for extension fields / UDP datagrams. 
NTS should therefore never make it necessary to split messages into 
multiple NTP packets.

2) Our quick research concluded MTU limits to be usually between 576 and 
1500 bytes.
Only those NTS exchanges which include certificate chains or signatures 
are foreseen to exceed those limits. 
In particular, the protected time synchronization messages are under MTU 
limits. 
For those messages which do exceed MTU limits, IP fragmentation did not 
seem like a significant detriment to us.

I am attaching a tabular overview of estimated message sizes for the NTP 
packets carrying different NTS messages (I translated it from data 
supplied by Martin).

@Richard: can you make a statement about whether these estimations match 
what you expect for your implementation?

@All: Overall feedback? Are there ideas as to how IP fragmentation could 
cause problems that we did not consider?

Best regards,
Kristof


--=_alternative 003D3BE8C1257F6C_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>&gt; &gt; Is it expected that NTP packets with extension
fields which include<br>
&gt; &gt; signed data and certificates may exceed the MTU and need IP<br>
&gt; &gt; fragmentation? Do we need a specification which would allow large<br>
&gt; &gt; extension fields to be split across several NTP packets?<br>
&gt; <br>
&gt; We did not discuss this issue in the call. &nbsp;I believe we're currently<br>
&gt; letting IP fragmentation handle this.<br>
&gt; -- <br>
&gt; Harlan Stenn &lt;stenn@ntp.org&gt;<br>
&gt; </font></tt><a href=http://networktimefoundation.org/><tt><font size=2>http://networktimefoundation.org</font></tt></a><tt><font size=2>
- be a member!<br>
</font></tt>
<br><tt><font size=2>While we left it out in yesterday's call, Dieter and
I discussed this with Martin Langer (our student implementer for NTS-protected
NTP). We arrived at the following conclusions:</font></tt>
<br>
<br><tt><font size=2>1) None of the NTS-related content is predicted to
cause an issue with the 64 KB limit for extension fields / UDP datagrams.
</font></tt>
<br><tt><font size=2>NTS should therefore never make it necessary to split
messages into multiple NTP packets.</font></tt>
<br>
<br><tt><font size=2>2) Our quick research concluded MTU limits to be usually
between 576 and 1500 bytes.</font></tt>
<br><tt><font size=2>Only those NTS exchanges which include certificate
chains or signatures are foreseen to exceed those limits. </font></tt>
<br><tt><font size=2>In particular, the protected time synchronization
messages are under MTU limits. </font></tt>
<br><tt><font size=2>For those messages which do exceed MTU limits, IP
fragmentation did not seem like a significant detriment to us.</font></tt>
<br>
<br><tt><font size=2>I am attaching a tabular overview of estimated message
sizes for the NTP packets carrying different NTS messages (I translated
it from data supplied by Martin).</font></tt>
<br>
<br><tt><font size=2>@Richard: can you make a statement about whether these
estimations match what you expect for your implementation?</font></tt>
<br>
<br><tt><font size=2>@All: Overall feedback? Are there ideas as to how
IP fragmentation could cause problems that we did not consider?</font></tt>
<br>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
<br>
<br>
--=_alternative 003D3BE8C1257F6C_=--
--=_mixed 003D3BE5C1257F6C_=
Content-Type: application/octet-stream; name="Estimated NTS Message Sizes.xlsx"
Content-Disposition: attachment; filename="Estimated NTS Message Sizes.xlsx"
Content-Transfer-Encoding: base64

UEsDBBQABgAIAAAAIQCqUB8GhQEAAIQFAAATANwBW0NvbnRlbnRfVHlwZXNdLnhtbCCi2AEooAAC
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAArFRbT8IwFH438T8sfTWs6IMxhsGDl0clAX9AaQ+soWubnqPCv/dsEyIGZ8h4
2bJLv1u/09FkU7nsAxLa4AtxnQ9FBl4HY/2qEG/z58GdyJCUN8oFD4XYAorJ+PJiNN9GwIxXeyxE
SRTvpURdQqUwDxE8f1mGVCnix7SSUem1WoG8GQ5vpQ6ewNOAagwxHj3CUr07yp42/LpVsrBeZA/t
fzVVIVSMzmpFLFR+ePOLZBCWS6vBBP1eMXSOMYEyWAJQ5fKYLDOmGRCxMRRyPHpl08kayKYq0Yuq
mEFunCR2AO31OmcPvUQ0YFc1yt+ESFsH2Jvq0G8LumM+Em8Ch6dZ+97AnFc2e4CljdjB0J1ddyaf
Ia0XIazPnUrdhrxS1u90HysBV2iaQkTJhestAOpGGzCDyJCQyMI+s2PcXMDae1NblM2tfwsPq7HH
78qAdWjl9EPJWfXO4JB/j/sPP5YqgZkRT+7q7OPxE7tLx74LOiQ4PYjdzNSrjzRANmfo+AsAAP//
AwBQSwMEFAAGAAgAAAAhALVVMCP1AAAATAIAAAsAzgFfcmVscy8ucmVscyCiygEooAACAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAIySz07DMAzG
70i8Q+T76m5ICKGlu0xIuyFUHsAk7h+1jaMkQPf2hAOCSmPb0fbnzz9b3u7maVQfHGIvTsO6KEGx
M2J712p4rZ9WD6BiImdpFMcajhxhV93ebF94pJSbYtf7qLKLixq6lPwjYjQdTxQL8exypZEwUcph
aNGTGahl3JTlPYa/HlAtPNXBaggHeweqPvo8+bK3NE1veC/mfWKXToxAnhM7y3blQ2YLqc/bqJpC
y0mDFfOc0xHJ+yJjA54m2lxP9P+2OHEiS4nQSODzPN+Kc0Dr64Eun2ip+L3OPOKnhOFNZPhhwcUP
VF8AAAD//wMAUEsDBBQABgAIAAAAIQCSB5TsBAEAAD8DAAAaAAgBeGwvX3JlbHMvd29ya2Jvb2su
eG1sLnJlbHMgogQBKKAAAQAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAACskstqxDAMRfeF/oPR
vnEyfVCGcWbRUphtm36AcJQ4TGIHy33k72tSOsnAkG6yMVwJ33sktNt/d634JM+NswqyJAVBVruy
sbWC9+Ll5hEEB7Qlts6SgoEY9vn11e6VWgzxE5umZxFdLCswIfRbKVkb6pAT15ONncr5DkOUvpY9
6iPWJDdp+iD93APyM09xKBX4Q3kLohj6mPy/t6uqRtOz0x8d2XAhQnIY2jiAKNDXFBT86iQygrwc
v1kzPsS10JQ+Sjm+2RJDtibDl/NHNkRh4jiVWI6dRZj7NWE0tvrJYGMnmFNpaSN3a0KwQU/lW/Dx
5ue3MS//wcizs89/AAAA//8DAFBLAwQUAAYACAAAACEAQ2tGi1MBAAApAgAADwAAAHhsL3dvcmti
b29rLnhtbIyRyW7CMBCG75X6DtbcSxaFRYgEqWqrcqk4UDibeEIsHDuyHQJv34lRutx68qzfzD9e
ra+NYhe0ThqdQzKJgaEujZD6lMPn7u1pAcx5rgVXRmMON3SwLh4fVr2x56MxZ0YA7XKovW+XUeTK
GhvuJqZFTZnK2IZ7cu0pcq1FLlyN6BsVpXE8ixouNdwJS/sfhqkqWeKLKbsGtb9DLCruaX1Xy9ZB
saqkwv1dEeNt+8Eb2vuqgCnu/KuQHkUOGbmmxz8B27XPnVRDdhrPISq+RW4tI6pHu7XywssbXQqY
wIp3yu9I8DiP4mmWprOhdzjOXmLvfjCDy64HqYXpc0gzOvZt9JJ4CqwPqYMUviZUtviJvaM81T6H
RZzEAz36hQ8npTHhZTro3fEjKoW0ZohuSBTZdinJsBuRBMbYWHJVksThCYXpdJ5OQ8X4y8UXAAAA
//8DAFBLAwQUAAYACAAAACEA1xrYliICAABcBQAAFAAAAHhsL3NoYXJlZFN0cmluZ3MueG1sfFRh
b9pADP0+af/ByoeJaV0TGDC6ARWkTJq2VhWwH3C9GHJrcpfFTgv79XOAFZoAX6Ikz372e+dz/3qV
JvCEORlnB17zMvAArXaRscuB92v+7WPPA2JlI5U4iwNvjeRdD9++6RMxSK6lgRczZ198n3SMqaJL
l6EVZOHyVLF85kufshxVRDEip4nfCoKunypjPdCusDzwOm0PCmv+FBhuf7SuvGGfzLDPwzAxaHlE
5PSNYtX3edj3S+gVrDUSHcNX1YQZ5qJ3dDJhh5+vFzr3aPBYvW36aXxuUpyiKCWeoS5yw+tjNNsw
ypwlPBfXhg/QDMpHuyq01YOGy1gOViXvq2CZ96nMC44hzc7V59Ng9zQUBJtmjpMGnZOJvaNIiDmb
hdGKEXJ8cvIiaiAxxASNZ8MxdCGc/qQLIPMXoQk/xoBKxzW5h0w6ltF7Sdf7GrRjueic5LmbzyCV
SVNLBPfwGzVDYzyZ+jeTqcxyhFGt8t38/iVj07IrGHDFaMsrBwuDSQTvVJp9hTL0dhTWKEKXyhzI
JagelbE6KaQoiJ6ys21H1ajQWanG3+3CyVXOC81FjtWgCbGR6ypcGyfdYkP4X2pFY1nvYc1IVZbw
drYvsbOYzNKqsmRNV8tGNScasSwKzGUwM7VOnIoapSObz6hcSjWSpuyhqp11koNzO0e2d8HJjlBJ
cuDGvXSkH5FhM3cHhKUb49du+LIdh/8AAAD//wMAUEsDBBQABgAIAAAAIQA7bTJLwQAAAEIBAAAj
AAAAeGwvd29ya3NoZWV0cy9fcmVscy9zaGVldDEueG1sLnJlbHOEj8GKwjAURfcD/kN4e5PWhQxD
UzciuFXnA2L62gbbl5D3FP17sxxlwOXlcM/lNpv7PKkbZg6RLNS6AoXkYxdosPB72i2/QbE46twU
CS08kGHTLr6aA05OSonHkFgVC7GFUST9GMN+xNmxjgmpkD7m2UmJeTDJ+Ysb0Kyqam3yXwe0L061
7yzkfVeDOj1SWf7sjn0fPG6jv85I8s+ESTmQYD6iSDnIRe3ygGJB63f2nmt9DgSmbczL8/YJAAD/
/wMAUEsDBBQABgAIAAAAIQC8JnkJgwYAAFgbAAATAAAAeGwvdGhlbWUvdGhlbWUxLnhtbOxZTW8b
RRi+I/EfRntvYye2G0d1qvirgSYlit2iHsfr8e7UszurmXFS31B7REJCFMQFiRsHBFRqJS7l1wSK
oEj9C7wzs7veidckaSMQUB8S7+wz7/fXjK/feBAxdESEpDxuedWrFQ+R2OdjGgct786wf2XTQ1Lh
eIwZj0nLmxPp3dh+953reEuFJCII9sdyC7e8UKlka21N+rCM5VWekBjeTbiIsIJHEayNBT4GuhFb
W69UGmsRprGHYhwB2T0sqJT4SpdIGsTedka+x4BHrKRe8JkYaOLE3WPA42lVQ+RcdphAR5i1PGA1
5sdD8kB5iGGp4EXLq5iPt7Z9fQ1vpZuYWrG3sK9vPum+dMN4um54imCUM632a81r3Zy+ATC1jOv1
ep1eNadnANj3QVUrS5Fmrb9ZbWc0CyD7dZl2p1Kv1Fx8gf7GkszNdrtdb6ayWKIGZL/WlvCblUZt
Z93BG5DF15fwtfZOp9Nw8AZk8Y0lfP9as1Fz8QYUMhpPl9Daof1+Sj2HTDjbLYVvAnyzksIXKIiG
PLw0iwmP1cpgi/B9LvqA0EiGFY2Rmidkgn2I5A6ORoJizQFvEVx4Y5d8ubSkmSHpC5qolvd+giEr
FvRePf/u1fOn6NXzJycPn508/PHk0aOThz9YWs7GXRwHxY0vv/n0j68+Qr8//frl48/L8bKI/+X7
j3/+6bNyIKTQQqIXXzz59dmTF19+8tu3j0vgOwKPivAhjYhEt8kxOuQR6GYM40pORuJiO4Yhps4O
HALtEtI9FTrA23PMynBt4hrvroDqUQa8ObvvyDoIxUzREs63wsgB7nPO2lyUGuCW5lWw8HAWB+XM
xayIO8T4qIx3B8eOa3uzBOpmFpSO7TshccQ8YDhWOCAxUUi/41NCSrS7R6lj133qCy75RKF7FLUx
LTXJkI6cQFps2qUR+GVepjO42rHN/l3U5qxM6y45cpGQEJiVCD8kzDHjTTxTOCojOcQRKxp8D6uw
TMjBXPhFXE8q8HRAGEe9MYHGViLFBwL0LTj9FoaCVer2fTaPXKRQdFpGcw9zXkR2+bQT4igpww5o
HBax78kphChGB1yVwfe5myH6GfyA45XuvkuJ4+6zC8EdGjgiLQJEv5kJbUWo1E79jWj8V8WYUajG
1vpvi3HL24HWVJYSu6dK8Crcv7DwdvEsPiAQ68uN523dfVt3vf983V2Vy+ettosCC7VXDw92MDZj
crR6Sp5QxgZqzsieNIOyhG4x7sOi3mhOiSQ/NiUhfE2ru4MLBDZ7kODqQ6rCQYgTGLKrniYSyJR0
IFHCJZzuzHIpbY2HQV3Zs2FdnxpsQZBY7fOxXd7Qy9nhICdjek5gjqAZow1N4LzMNq6lREHt12FW
1UKdm1vViGZqncMtVxmcuKwaLObWhDEEwfACVm7AOV2zhsMJZmSs7W47cOYW44XLdJEM8ZikPtJ6
L/uoapyUxYq5D4DYKfGRPumdYbUCt6Ym+wbczuOkIrvaCnaZ997ES1kEL7ykE/dUOrK4mJwsRsct
r1lfr3vIx0nLm8C5Fr5GCXhd6skPswAuiHwlbNifmcwmyxfebGaKuUlQhbsKa/clhZ06kAipuliG
NjTMqzQEWKw5WfnX62DWy1LARvprSLGxCcHwj0kBdnRdSyYT4quiswsr2nb2MS2lfKaIGITjYzRi
M3GIwf06VEGfMZVwPWEqgn6AyzRtbfPKLc5p0hWvsAzOrmOWhDgttzpFs0y2cJPHuQzmqSAe6FYq
u1Hu4qqYlL8kVYph/D9TRfcTuC/YGGsP+HCdKzDS+dryuFAhhyqUhNTvC5gcTO2AaIELWXgNQQWX
yua/IEf6v805S8OkNRz71CENkKDQj1QoCDmAsmSi7wxi1bR3WZIsJWQiqiCuTKzYI3JE2FDXwIbu
7R4KIdRNNUnLgMGdjj/3Oc2gUaCHnGK+OTUk7702B/7uyccmMyjl1mEz0GT2z0Us6ap2v9me9d6i
IvrFYsyqZVkBzAqtoJmm/WuKcMFWayvWksbr9Uw48OKyxrCYD0QJ3Pog/Qf6HxU+IyaMdUMd8kOo
rQh+bdDEIGwgqq/YwQPpAmkXRzA42UUbTJqUNW06OmmrZc36kifdnO8pY2vJzuPvCxo7H85cdk4u
XqaxUws7trZrK00Nnj2dorA0yU4yxjHmp63ib098dB8c3YU7/hlT0gQT/LAkMIyeA5MHkPyWo9m6
/ScAAAD//wMAUEsDBBQABgAIAAAAIQBm65egsgMAALMQAAANAAAAeGwvc3R5bGVzLnhtbNRY62vb
MBD/Ptj/YPTd9SO2a5c4Y2lqGHQwaAf7qsRyIpClYCkl6dj/vpP8XENat2v3yIdYupzvfvfQnS7T
D/uSWXekklTwFHlnLrIIX4mc8nWKvt5mdowsqTDPMROcpOhAJPowe/9uKtWBkZsNIcoCEVymaKPU
9sJx5GpDSizPxJZw+KUQVYkVbKu1I7cVwbnUL5XM8V03ckpMOZpNC8GVtFZix1WK/IYwm8p76w4z
wOUhZzZdCSYqS4F4AGIoHJek5rjEjC4rqtkKXFJ2qMm+JhhEDV9Juag00dEqa8Wz6VJzvbkuo1KC
TspYZ2ygjQXCbLrFSpGKZ7CxmvXtYQumcvB8DdnwPcG9rvDB88PxL0jBaK5RrC+HDg6QpagOh3sW
JvCZxEnkJ7HnBrERvmzYKc/JnuQpigKjc2CG9vIYyE8jOAcAsRfFcZwEEy8ITFyfg8AAAd8vRZVD
treploDdNWk2ZaRQkAcVXW/0U4ktfC+FUqKERU7xWnDMYOm0b7RP/SacEjgQKVIbk9B1rj70jWZs
NIziN1gMlFHsALlFPIq/Nu6/s+3vR+MfSowOyl+NOKCA5BsFYZCkbxDIGkjnlLfXMMrmtzpotbWj
IAzcPor/MchNAYRyuiKM3ejC963oaqoHNXVfWHxXZqX6BI0B7hS62bZL6AjNsq6f9QZMcYbSatlD
sfpa8Hy51r7oFPzG2xbebtnhI6NrXhLdFbWVcOeot9ZGVPQebNSXFVO0TSvcF89HPEEd4lrn3HQs
rfDVMYBI3Z+1f3xk9dE4f4ghA9N6BPqG0u96fBDCUx4+pQkuGW18auvGafpjnoDb70vwvcAT4KFX
1qSPXRNdSKo+uuGRpufH85RsSKMHVpyQ/eoRPIUoGovokZidkn10Vk+djD9m7TGiUSf3xfhMyYYi
PegEv/SBrqJbelRL0Y0ZJat8EJTljjIYNLoi3XcBkJrv+77i6pqq8BLGTt1xOj0QnZwUeMfUbfdj
ivr1Z5LTXQmZ2XB9oXdCGREp6tc1V6J1kL26lnBPh6e1q2iKvl/Nz5PFVebbsTuP7WBCQjsJ5ws7
DC7ni0WWuL57+QNs0oPwxd4Ljobhkq4qIUWhzlYwTYiioCtyPA4nTtIOxCDkQjLgqhpjG/A3PQ28
2W+u9dRiZmIHYA+xJ37kfgw9184mrmcHEY7tOJqEdhZ6/iIK5ldhFg6why/D7rmO5/XgwwtFS8Io
b2PVRmhIhSDB9hEjtCkmEo7s/m2Y/QQAAP//AwBQSwMEFAAGAAgAAAAhAN9RWRqBBgAAAh0AABgA
AAB4bC93b3Jrc2hlZXRzL3NoZWV0MS54bWyUWduS4jYQfU9V/sHlp+QhYJs7NbA1xveqTaUy2eTZ
A2JwLWBie2Y2+/VpScaWuj2G3Yc1c85RS33QpY0ePn07HY03VpRZfl6Z9sAyDXbe5rvs/LIyv/wV
/DY3jbJKz7v0mJ/ZyvyPlean9c8/PbznxdfywFhlQIRzuTIPVXVZDofl9sBOaTnIL+wMzD4vTmkF
fxYvw/JSsHQnGp2OQ8eypsNTmp1NGWFZ3BMj3++zLfPy7euJnSsZpGDHtILxl4fsUprrh10GHE/I
KNh+ZT7ay8QZmcP1g+j674y9l8pno0qfn9iRbSu2AwdM43uen5626ZH9zsd+BMwCV3i+z3n+lTeP
QWhBR6VoxjtKt1X2xjbsCPKNvQDP/hV988/Q8bDpWf18HUUgPPqjMJ7Tkm3y4z/Zrjrwbk1jx/bp
67FqwcXAHltTZ9JQf+bvEcteDhU0mPC+tvkRAsP/xinjX6lpnNJv4vku404Wg7Ezmc1tHmX7Wlb5
6dpj3V62dOqW8Kxb2tOBM5/YE9H/MyurIOPd9kYZ1VHg2UaZ2dZiNIPu7wwyroPA8xpk8uNDgf6E
FfBso/zoUKZ1EHjWQUYjxc87E5rVUeB5HQp8vLMxLEmRBzzrxs64mRZ3xoApKmLA8xpjcncaQznH
xKT20ipdPxT5uwHrF6ZCeUn5bmAvYfrCNOToI4dXJtgOs4Uv0Le1Yz8M32AtbGuJKyVgaiNBig1V
jPQYHlVYusKnirGuCKhioitCqpjqiogqZroipop5oxiCl42hsPa6DOXwyoQZ07q1aAIIz10pmQu3
kQ0blXMQ6amkPUGsr7FTxAYaa8E/fVChyo8RGankDJGxSuIhJ5K0xU6rugd7Tpd7HF6ZMPNb91r7
pXtSwnfgRuPouWxuS7zbEr+R8FWxII4FDa8MBI0k7NLog41uS+LbkqSWEJ9hW+7ymcPIZ7QQXCnp
9fm2xLst8RsJ93lKfa55WJgffeFhE+JDSXRbEt+WJLWE2AwbaJfNHNZtdtCe5UpJr823Jd5tid9I
uM1zvP6Dhv7QwrCR8AhQeaGNIGr4D0PEtyVJLSEWwwHUZTGHkcXo8HGlRBx6fNz6+tv0sl4v6/ey
QS8b9rJRLxv3sknNEgfhUOpykMMrEzaQdnmho9eVkjGcWHuhOqQF25myhndny5jzmSi8n758/sV1
lu7014fhXs4T5PcHsWR7KJLf1iP0FXm3m9j4vPPvaDNZ4LMsuKOVZeEpFCqt1tyA0FmGigH4pI4U
vWqnYsEcWSAcXpnkG1CaYNcS2Qs9evlrI60EXQ6vTIfPGnHQbjDgYcDHQICBEAMRBmIMJBKgw+Zv
bh3D5rA2bAx4GPAxEGAgxECEgRgDiQTosPnO3jVugWsDJ4hHEJ8gAUFCgkQEiQmS1EhHArwipsY/
2rJShlnW7hto1rq1Rpa6Nl43m37a66f9fjrop8N+Ouqn4346qekOM3k93GWmrJNhErVm4oLMrmtp
tfJFrxabLo2NXte8ThE6NP1OESpvg04ROjzCThEqg6JOEXp7iztFKLvkKiLHn81r5C7vZe2seY96
dkVbeHVWvUdmbO7QeHdo/Ds0wR2a8A5N1KXByzRuRfx0dtALWXKlqeG8Wu4yXFbRWsWBgrq21PAD
D2q2EaI3iEZTztPpGaJ9nZ5acyQIdIFlO0gQ6gJ7ivhI4x0HTZVYo+0ZopOa7tg+eHFMHU3g50V+
CnY04LUgbeDaSo0oT3uCeATxCRIQJCRIRJCYIImKaL+y2LyKkQk4yu9WrsDrjOsElHpHIB7R+AQJ
CBISJCJITJBERfQEeD3TlYBS59QJYMSzMeITJCBISJCIIDFBEhXRE+CVTVcCSsVTJ4ART/zcrn5L
PkECgoQEiQgSEyRRES0Bp63AtCkkcHVwG4J4BPEJEhAkJEhEkJggiYroCbQVmJ6ArMDEqpffgIMR
jyA+QQKChASJCBITJFERPYG26tETqCua9p3DwYhHEJ8gAUFCgkQEiQmSqIieQFs66AnI0kH9BjDi
wf1WszeLb8knSECQkCARQWKC8Lu0pi+ZgLzekjcBl/SFfU6Ll+xcGke2h0rTGsCmWcgrKvG5yi8C
hfPkOa/g+un61wGuBxlcGFgD6GKf59X1D3hd5HGfWPV6MS7phRVP2Xe4jYS9IC8yuAgU938r85IX
VZFmlcmvNKsMLvG8i/jJwCiW2W5lFvFOHl/N7eX6fwAAAP//AwBQSwMEFAAGAAgAAAAhAGMLL0ip
AAAA9gAAABAAAAB4bC9jYWxjQ2hhaW4ueG1sTI7LCsIwFET3gv8Q7t6murAiTQtWq+71A0J6bQJ5
lCSI/r1BpHF35gwMU7cvo8kTfVDOMlgXJRC0wg3Kjgzut361AxIitwPXziKDNwZom+WiFlyLTnJl
SVqwgYGMcdpTGoREw0PhJrSpeThveEzRjzRMHvkQJGI0mm7KcktNGoCmFsQzOFdAVPoA9CcOSeh/
0VVzd8x4ythnvGS8fpHOj5sPAAAA//8DAFBLAwQUAAYACAAAACEAeNMBMz0AAADcAAAAJwAAAHhs
L3ByaW50ZXJTZXR0aW5ncy9wcmludGVyU2V0dGluZ3MxLmJpbmKgEDCyMLDcAZrBf7+RkZGBk2EW
twlHCgMjAztDBBMTkGZgYAaSjgwmFNqDTTvIdCZsElAxAAAAAP//AwBQSwMEFAAGAAgAAAAhACpe
ATI/AQAAUQIAABEACAFkb2NQcm9wcy9jb3JlLnhtbCCiBAEooAABAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAHySUUvDMBSF3wX/Q8l7m8SNqaHtQGVPDgQrim8huduCTRqSaLd/b9putYMh5CX3
nPvdk0vy5V7XyQ84rxpTIJoRlIARjVRmW6C3apXeocQHbiSvGwMFOoBHy/L6KheWicbBi2ssuKDA
J5FkPBO2QLsQLMPYix1o7rPoMFHcNE7zEK9uiy0XX3wL+IaQBdYQuOSB4w6Y2pGIjkgpRqT9dnUP
kAJDDRpM8JhmFP95AzjtLzb0ysSpVTjY+KZj3ClbikEc3XuvRmPbtlk762PE/BR/rJ9f+6emynS7
EoDKXAomHPDQuDLH00tcXM19WMcdbxTIh0PUL9Sk6OMOEJBJDMCGuCflffb4VK1Q2e0wJfcpXVSE
sP58diPP+rtAQ0EfB/9LpJE4S8m8ooTNCaO3E+IJMOQ+/wTlLwAAAP//AwBQSwMEFAAGAAgAAAAh
AHa3lDqdAQAAMAMAABAACAFkb2NQcm9wcy9hcHAueG1sIKIEASigAAEAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
AAAAAAAAAAAAAAAAnJPBbtswDIbvA/YOhu6NnGAohkBWUaQbeuiwAHF7Z2Q6ESpLhsQayZ5nb7IX
G20jjdP2VJ9I/vSvT5Skbg6NyzqMyQZfiPksFxl6Eyrrd4V4LH9efRdZIvAVuOCxEEdM4kZ//aLW
MbQYyWLK2MKnQuyJ2qWUyeyxgTRj2bNSh9gAcRp3MtS1NXgXzEuDnuQiz68lHgh9hdVV+2ooRsdl
R581rYLp+dJTeWwZWKsyELjSNqhzJc+Jum1bZw0Q717/siaGFGrKfhwMOiWnomLqDZqXaOnYe0xT
tTHgcMUL6hpcQiXPBXWP0A9zDTYmrTpadmgoxCzZPzzOhci2kLDHLEQH0YInxu3bxmSIXZso6tu4
RUtp6/79JcKoJHeNyhBOf5jG9pueDw0cXDb2BiMNC5ecpSWH6Xe9hkgfYM+n2APDCD3ilLBF53Bc
dUo47JzXeuO+Ck0L/sjCa/Rg/XN6bMtwB4SnqV4W1WYPESs+iJN+Lqh7Hmh0vclqD36H1annvdDf
gafxAej5YpbzNxz9qabk+arr/wAAAP//AwBQSwECLQAUAAYACAAAACEAqlAfBoUBAACEBQAAEwAA
AAAAAAAAAAAAAAAAAAAAW0NvbnRlbnRfVHlwZXNdLnhtbFBLAQItABQABgAIAAAAIQC1VTAj9QAA
AEwCAAALAAAAAAAAAAAAAAAAAJIDAABfcmVscy8ucmVsc1BLAQItABQABgAIAAAAIQCSB5TsBAEA
AD8DAAAaAAAAAAAAAAAAAAAAAH4GAAB4bC9fcmVscy93b3JrYm9vay54bWwucmVsc1BLAQItABQA
BgAIAAAAIQBDa0aLUwEAACkCAAAPAAAAAAAAAAAAAAAAAMIIAAB4bC93b3JrYm9vay54bWxQSwEC
LQAUAAYACAAAACEA1xrYliICAABcBQAAFAAAAAAAAAAAAAAAAABCCgAAeGwvc2hhcmVkU3RyaW5n
cy54bWxQSwECLQAUAAYACAAAACEAO20yS8EAAABCAQAAIwAAAAAAAAAAAAAAAACWDAAAeGwvd29y
a3NoZWV0cy9fcmVscy9zaGVldDEueG1sLnJlbHNQSwECLQAUAAYACAAAACEAvCZ5CYMGAABYGwAA
EwAAAAAAAAAAAAAAAACYDQAAeGwvdGhlbWUvdGhlbWUxLnhtbFBLAQItABQABgAIAAAAIQBm65eg
sgMAALMQAAANAAAAAAAAAAAAAAAAAEwUAAB4bC9zdHlsZXMueG1sUEsBAi0AFAAGAAgAAAAhAN9R
WRqBBgAAAh0AABgAAAAAAAAAAAAAAAAAKRgAAHhsL3dvcmtzaGVldHMvc2hlZXQxLnhtbFBLAQIt
ABQABgAIAAAAIQBjCy9IqQAAAPYAAAAQAAAAAAAAAAAAAAAAAOAeAAB4bC9jYWxjQ2hhaW4ueG1s
UEsBAi0AFAAGAAgAAAAhAHjTATM9AAAA3AAAACcAAAAAAAAAAAAAAAAAtx8AAHhsL3ByaW50ZXJT
ZXR0aW5ncy9wcmludGVyU2V0dGluZ3MxLmJpblBLAQItABQABgAIAAAAIQAqXgEyPwEAAFECAAAR
AAAAAAAAAAAAAAAAADkgAABkb2NQcm9wcy9jb3JlLnhtbFBLAQItABQABgAIAAAAIQB2t5Q6nQEA
ADADAAAQAAAAAAAAAAAAAAAAAK8iAABkb2NQcm9wcy9hcHAueG1sUEsFBgAAAAANAA0AZAMAAIIl
AAAAAA==

--=_mixed 003D3BE5C1257F6C_=
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--=_mixed 003D3BE5C1257F6C_=--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 12:30:06 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DD121A899A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 12:30:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 NMqji780KkR7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 12:30:05 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id EA13A1A8998 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 12:30:04 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E811886DCB8 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 20:30:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B3E8E86DB00 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 19:37:34 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1abvXO-000IDU-3F for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 19:37:33 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id A888DB814 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 19:37:21 +0000 (UTC)
Received: from [10.2.64.200] (unknown [198.22.153.36]) by chessie.everett.org (Postfix) with ESMTPSA id E9E0AB80E; Fri,  4 Mar 2016 19:37:20 +0000 (UTC)
From: Danny Mayer <mayer@ntp.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org>
To: Harlan Stenn <stenn@nwtime.org>, Greg Dowd <Greg.Dowd@microsemi.com>, Harlan Stenn <stenn@ntp.org>, "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Message-ID: <56D9E3EF.7010501@ntp.org>
Date: Fri, 4 Mar 2016 14:37:19 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56D9260F.3000809@nwtime.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Mar  4 19:37:21 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d9e3f1829932569855934
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>> Now, on the offhand statement that the high order bit of the type
>> value could be used to distinguish MAC or non-MAC. I don't see that in
>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>> should probably include that in the ntp-extension draft. Then, either
>> IANA only controls 15 bits or the checksum-trailer draft should request
>> BOTH versions, MAC and non-MAC.
>>
>> No, it doesn't need a bit. All we will have are extension fields and
>> either the extension field needs a MAC extension field or it doesn't and
>> either way you will be able to tell.
> 
> Please defend your position.  I disagree with it.  What if somebody
> sends a packet that has an otherwise unknown Field Type but they set
> these bits correctly?  That extra information makes it a lot easier to
> properly process the packet, even if this unknown extension field is
> present.
> 
> I think we need the bits for "No following MAC needed" and "I contain a
> MAC".

There is nothing needed in the extension field itself. When you receive
a packet you read each extension field into a list. If one of them is a
MAC extension field you validate the digest and either get confirmation
or failure and you put that in some location. Then you process each
extension field and if it is known you perform whatever you need to do
with it. If the extension field requires a MAC then you check that the
packet has a valid digest. If it requires it and the MAC is missing or
fails validation you either ignore the extension or drop the packet
altogether. If you have an unknown extension field you either ignore it
or drop the packet.

At no point do you need further information added to the extension
field. Either you recognize the extension field and know whether or not
it needs authentication or you don't recognize it and authentication
doesn't matter.

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 13:16:25 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5A2951A8BC2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 13:16:25 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 LQ7UCrqmRwKn for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 13:16:23 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id E1C611A8BC0 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 13:16:23 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id D6FD586DCC3 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 21:16:23 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3423586DB00 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 19:51:21 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1abvkm-000IWy-CA for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 19:51:21 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 048CDB814 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 19:51:11 +0000 (UTC)
Received: from [10.66.2.3] (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 900B6B80E; Fri,  4 Mar 2016 19:51:11 +0000 (UTC)
Mime-Version: 1.0 (1.0)
From: Harlan Stenn <stenn@nwtime.org>
X-Mailer: iPhone Mail (13D15)
In-Reply-To: <56D9E3EF.7010501@ntp.org>
Date: Fri, 4 Mar 2016 11:51:10 -0800
Message-Id: <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org>
To: Danny Mayer <mayer@ntp.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Mar  4 19:51:11 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d9e72f829933526844313
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny, what if you don't recognize that extension field?

Your approach seems more complicated and intricate to me.

I prefer more separation between the layers. 

Sent from my iPhone - please excuse brevity and typos

> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
> 
> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>> Now, on the offhand statement that the high order bit of the type
>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>> should probably include that in the ntp-extension draft. Then, either
>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>> BOTH versions, MAC and non-MAC.
>>> 
>>> No, it doesn't need a bit. All we will have are extension fields and
>>> either the extension field needs a MAC extension field or it doesn't and
>>> either way you will be able to tell.
>> 
>> Please defend your position.  I disagree with it.  What if somebody
>> sends a packet that has an otherwise unknown Field Type but they set
>> these bits correctly?  That extra information makes it a lot easier to
>> properly process the packet, even if this unknown extension field is
>> present.
>> 
>> I think we need the bits for "No following MAC needed" and "I contain a
>> MAC".
> 
> There is nothing needed in the extension field itself. When you receive
> a packet you read each extension field into a list. If one of them is a
> MAC extension field you validate the digest and either get confirmation
> or failure and you put that in some location. Then you process each
> extension field and if it is known you perform whatever you need to do
> with it. If the extension field requires a MAC then you check that the
> packet has a valid digest. If it requires it and the MAC is missing or
> fails validation you either ignore the extension or drop the packet
> altogether. If you have an unknown extension field you either ignore it
> or drop the packet.
> 
> At no point do you need further information added to the extension
> field. Either you recognize the extension field and know whether or not
> it needs authentication or you don't recognize it and authentication
> doesn't matter.
> 
> Danny
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 13:17:21 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A2C6E1A8BC3 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 13:17:21 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 rAIz40F63E38 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 13:17:20 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 1257E1A8BC2 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 13:17:20 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0C0F386DD21 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 21:17:20 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3116486DABE for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 20:18:16 +0000 (UTC)
Received: from [198.22.153.36] (helo=[10.2.64.200]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1abwAx-000IkC-1w; Fri, 04 Mar 2016 20:18:16 +0000
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org> <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org>
To: Harlan Stenn <stenn@nwtime.org>
From: Danny Mayer <mayer@ntp.org>
Organization: NTP
Message-ID: <56D9ED85.8040702@ntp.org>
Date: Fri, 4 Mar 2016 15:18:13 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org>
X-SA-Exim-Connect-IP: 198.22.153.36
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, stenn@ntp.org, Greg.Dowd@microsemi.com, stenn@nwtime.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Between which layers?

When you do initial processing you just extract the extension fields
with their ID for later processing. You don't do anything with them at
that point. After you have the list you then go through them and make
decisions on what to do with them. That's when you worry about whether
or not any of them are unknown and how to handle that situation.

Danny

On 3/4/2016 2:51 PM, Harlan Stenn wrote:
> Danny, what if you don't recognize that extension field?
> 
> Your approach seems more complicated and intricate to me.
> 
> I prefer more separation between the layers. 
> 
> Sent from my iPhone - please excuse brevity and typos
> 
>> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
>>
>> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>>> Now, on the offhand statement that the high order bit of the type
>>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>>> should probably include that in the ntp-extension draft. Then, either
>>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>>> BOTH versions, MAC and non-MAC.
>>>>
>>>> No, it doesn't need a bit. All we will have are extension fields and
>>>> either the extension field needs a MAC extension field or it doesn't and
>>>> either way you will be able to tell.
>>>
>>> Please defend your position.  I disagree with it.  What if somebody
>>> sends a packet that has an otherwise unknown Field Type but they set
>>> these bits correctly?  That extra information makes it a lot easier to
>>> properly process the packet, even if this unknown extension field is
>>> present.
>>>
>>> I think we need the bits for "No following MAC needed" and "I contain a
>>> MAC".
>>
>> There is nothing needed in the extension field itself. When you receive
>> a packet you read each extension field into a list. If one of them is a
>> MAC extension field you validate the digest and either get confirmation
>> or failure and you put that in some location. Then you process each
>> extension field and if it is known you perform whatever you need to do
>> with it. If the extension field requires a MAC then you check that the
>> packet has a valid digest. If it requires it and the MAC is missing or
>> fails validation you either ignore the extension or drop the packet
>> altogether. If you have an unknown extension field you either ignore it
>> or drop the packet.
>>
>> At no point do you need further information added to the extension
>> field. Either you recognize the extension field and know whether or not
>> it needs authentication or you don't recognize it and authentication
>> doesn't matter.
>>
>> Danny
>>
> 
> 
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 14:17:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5AFE1A90FA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 14:17:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 SarPKr4vBcp2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 14:17:32 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B9C181A90F8 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 14:17:32 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B52E886DCBA for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 22:17:32 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D06E786DAE4 for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 21:02:31 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1abwre-000JTU-C9 for ntpwg@lists.ntp.org; Fri, 04 Mar 2016 21:02:31 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 08065B80E for <ntpwg@lists.ntp.org>; Fri,  4 Mar 2016 21:02:21 +0000 (UTC)
Received: from [10.66.2.3] (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 98755B82E; Fri,  4 Mar 2016 21:02:21 +0000 (UTC)
Mime-Version: 1.0 (1.0)
From: Harlan Stenn <stenn@nwtime.org>
X-Mailer: iPhone Mail (13D15)
In-Reply-To: <56D9ED85.8040702@ntp.org>
Date: Fri, 4 Mar 2016 13:02:20 -0800
Message-Id: <54009734-9691-42ED-BACE-0E23903E2A25@nwtime.org>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org> <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org> <56D9ED85.8040702@ntp.org>
To: mayer@ntp.org
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Fri Mar  4 21:02:21 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56d9f7dd829932010598352
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

My proposal is an attempt to make future growth and development easier, as it makes some valuable information easily available.

What cost is there in doing this? Note that "I don't see the value in it" is not really a cost. 

Your proposal makes things actively harder moving forward, as you seem to be assuming that 1) you are always running the latest software, or 2) what I don't know is of no value. 

Sent from my iPhone - please excuse brevity and typos

> On Mar 4, 2016, at 12:18 PM, Danny Mayer <mayer@ntp.org> wrote:
> 
> Between which layers?
> 
> When you do initial processing you just extract the extension fields
> with their ID for later processing. You don't do anything with them at
> that point. After you have the list you then go through them and make
> decisions on what to do with them. That's when you worry about whether
> or not any of them are unknown and how to handle that situation.
> 
> Danny
> 
>> On 3/4/2016 2:51 PM, Harlan Stenn wrote:
>> Danny, what if you don't recognize that extension field?
>> 
>> Your approach seems more complicated and intricate to me.
>> 
>> I prefer more separation between the layers. 
>> 
>> Sent from my iPhone - please excuse brevity and typos
>> 
>>> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
>>> 
>>> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>>>> Now, on the offhand statement that the high order bit of the type
>>>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>>>> should probably include that in the ntp-extension draft. Then, either
>>>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>>>> BOTH versions, MAC and non-MAC.
>>>>> 
>>>>> No, it doesn't need a bit. All we will have are extension fields and
>>>>> either the extension field needs a MAC extension field or it doesn't and
>>>>> either way you will be able to tell.
>>>> 
>>>> Please defend your position.  I disagree with it.  What if somebody
>>>> sends a packet that has an otherwise unknown Field Type but they set
>>>> these bits correctly?  That extra information makes it a lot easier to
>>>> properly process the packet, even if this unknown extension field is
>>>> present.
>>>> 
>>>> I think we need the bits for "No following MAC needed" and "I contain a
>>>> MAC".
>>> 
>>> There is nothing needed in the extension field itself. When you receive
>>> a packet you read each extension field into a list. If one of them is a
>>> MAC extension field you validate the digest and either get confirmation
>>> or failure and you put that in some location. Then you process each
>>> extension field and if it is known you perform whatever you need to do
>>> with it. If the extension field requires a MAC then you check that the
>>> packet has a valid digest. If it requires it and the MAC is missing or
>>> fails validation you either ignore the extension or drop the packet
>>> altogether. If you have an unknown extension field you either ignore it
>>> or drop the packet.
>>> 
>>> At no point do you need further information added to the extension
>>> field. Either you recognize the extension field and know whether or not
>>> it needs authentication or you don't recognize it and authentication
>>> doesn't matter.
>>> 
>>> Danny
> 
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 19:45:50 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 860691B39B4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 19:45:50 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 V3ucbPg6lf45 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 19:45:49 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 175C41B39B3 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 19:45:49 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0788F86DC3A for <ntp-archives-ahFae6za@lists.ietf.org>; Sat,  5 Mar 2016 03:45:48 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 62FCC86D77F for <ntpwg@lists.ntp.org>; Sat,  5 Mar 2016 02:41:06 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ac29S-000AKG-30; Sat, 05 Mar 2016 02:41:06 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160304102922.GC20222@localhost>
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D94613020000A100020287@gwsmtp1.uni-regensburg.de> <E1abmFT-0009RS-Cp@stenn.ntp.org> <20160304102922.GC20222@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Fri, 04 Mar 2016 11:29:22 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 05 Mar 2016 02:41:05 +0000
Message-Id: <E1ac29S-000AKG-30@stenn.ntp.org>
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Fri, Mar 04, 2016 at 09:42:15AM +0000, Harlan Stenn wrote:
> > In fact one problem with the current MAC scheme is that one can easily
> > deduce the algorithm based on the number of bytes in the payload.  This
> > makes for an attack vector, and we have a way to fix this in an upcoming
> > draft.
> 
> Hm, are there so many different lengths that hiding that information
> would slow down the search more than adding a few bits to the key? How
> do you propose to hide it, truncation of the hash to some constant
> length?

Two things.

First, we could pad the exsting MAC to an arbitrary length today, and
solve that aspect of the problem.

But second, this does nothing to make it easier to detect a MAC v. an
extension field.  If the MAC was a TLV it would not be an issue.  But
traditionally, it's never been a TLV.

The proposal Danny and I are working on will create a new extension
field for the MAC, and that solves both of these problems.  But it's not
backward-compatible.  It's not backward-INcompatible either.

H


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 19:46:49 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 905DF1B39C2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 19:46:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 QqrZJDZxRhZO for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 19:46:48 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id E844E1B39C0 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 19:46:47 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DF55686DCC0 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat,  5 Mar 2016 03:46:47 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 71FC586D77F for <ntpwg@lists.ntp.org>; Sat,  5 Mar 2016 02:55:31 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1ac2NG-000P0s-DA for ntpwg@lists.ntp.org; Sat, 05 Mar 2016 02:55:30 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 11E68B82A for <ntpwg@lists.ntp.org>; Sat,  5 Mar 2016 02:55:21 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 7090AB80E; Sat,  5 Mar 2016 02:55:21 +0000 (UTC)
To: mayer@ntp.org
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org> <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org> <56D9ED85.8040702@ntp.org>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56DA4AED.1000803@nwtime.org>
Date: Fri, 4 Mar 2016 18:56:45 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56D9ED85.8040702@ntp.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Mar  5 02:55:21 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56da4a99829931294160742
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny,

I agree with you from certain white-box perspectives.

Show me how your position is still valid from "higher-altitude",
black-box perspectives.

H

On 3/4/16 12:18 PM, Danny Mayer wrote:
> Between which layers?
> 
> When you do initial processing you just extract the extension fields
> with their ID for later processing. You don't do anything with them at
> that point. After you have the list you then go through them and make
> decisions on what to do with them. That's when you worry about whether
> or not any of them are unknown and how to handle that situation.
> 
> Danny
> 
> On 3/4/2016 2:51 PM, Harlan Stenn wrote:
>> Danny, what if you don't recognize that extension field?
>>
>> Your approach seems more complicated and intricate to me.
>>
>> I prefer more separation between the layers. 
>>
>> Sent from my iPhone - please excuse brevity and typos
>>
>>> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
>>>
>>> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>>>> Now, on the offhand statement that the high order bit of the type
>>>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>>>> should probably include that in the ntp-extension draft. Then, either
>>>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>>>> BOTH versions, MAC and non-MAC.
>>>>>
>>>>> No, it doesn't need a bit. All we will have are extension fields and
>>>>> either the extension field needs a MAC extension field or it doesn't and
>>>>> either way you will be able to tell.
>>>>
>>>> Please defend your position.  I disagree with it.  What if somebody
>>>> sends a packet that has an otherwise unknown Field Type but they set
>>>> these bits correctly?  That extra information makes it a lot easier to
>>>> properly process the packet, even if this unknown extension field is
>>>> present.
>>>>
>>>> I think we need the bits for "No following MAC needed" and "I contain a
>>>> MAC".
>>>
>>> There is nothing needed in the extension field itself. When you receive
>>> a packet you read each extension field into a list. If one of them is a
>>> MAC extension field you validate the digest and either get confirmation
>>> or failure and you put that in some location. Then you process each
>>> extension field and if it is known you perform whatever you need to do
>>> with it. If the extension field requires a MAC then you check that the
>>> packet has a valid digest. If it requires it and the MAC is missing or
>>> fails validation you either ignore the extension or drop the packet
>>> altogether. If you have an unknown extension field you either ignore it
>>> or drop the packet.
>>>
>>> At no point do you need further information added to the extension
>>> field. Either you recognize the extension field and know whether or not
>>> it needs authentication or you don't recognize it and authentication
>>> doesn't matter.
>>>
>>> Danny
>>>
>>
>>
>>
> 
> 

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 20:31:12 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3887F1B3AA4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 20:31:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 r0rTqBgaxQ2s for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 20:31:10 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 8051C1B3AA2 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 20:31:10 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4355686DB6D for <ntp-archives-ahFae6za@lists.ietf.org>; Sat,  5 Mar 2016 04:31:10 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E009686DAF2 for <ntpwg@lists.ntp.org>; Sat,  5 Mar 2016 03:02:02 +0000 (UTC)
Received: from pool-71-174-223-139.bstnma.east.verizon.net ([71.174.223.139] helo=[10.10.10.102]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1ac2Tf-000PGu-TJ; Sat, 05 Mar 2016 03:02:02 +0000
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org> <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org> <56D9ED85.8040702@ntp.org> <54009734-9691-42ED-BACE-0E23903E2A25@nwtime.org>
To: Harlan Stenn <stenn@nwtime.org>
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56DA4C25.2090907@ntp.org>
Date: Fri, 4 Mar 2016 22:01:57 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <54009734-9691-42ED-BACE-0E23903E2A25@nwtime.org>
X-SA-Exim-Connect-IP: 71.174.223.139
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, stenn@ntp.org, Greg.Dowd@microsemi.com, stenn@nwtime.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Processing extended packets
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

[I change the subject line - this is not about checksum trailer]

On 3/4/2016 4:02 PM, Harlan Stenn wrote:
> My proposal is an attempt to make future growth and development
easier, as it makes some valuable information easily available.

Unfortunately you haven't demonstrated in what way it would make future
growth and development easier. So that needs to be explained.

> 
> What cost is there in doing this? Note that "I don't see the value
> in
it" is not really a cost.

The cost is that you are adding complexity where none is needed.

> 
> Your proposal makes things actively harder moving forward, as you
> seem
to be assuming that 1) you are always running the latest software, or 2)
what I don't know is of no value.
> 

No. I can add to this.

For existing systems they will only recognize autokey extension field
and the non-extension field MAC. Using a bit in the extension field
makes no difference to these servers anyway so there is no advantage to
them. They won't recognize any other extension field and they will try
to validate it as a MAC which will fail. For a newer system which can
understand newer extension fields and which receives a packet like this
it can recognize an autokey extension field and for autokey it knows
there's a MAC. A system that only sends a MAC (without an extension
field) I think, I would need to check, it could only be a symmetric key
and the validation is through the authentication keys which use a key id
< 16535. All of these cases would be handled so adding bits to an
extension field to indicate a MAC does not provide any advantage.

Did I miss something? Probably. But that can be further clarified.


Danny
> 
>> On Mar 4, 2016, at 12:18 PM, Danny Mayer <mayer@ntp.org> wrote:
>>
>> Between which layers?
>>
>> When you do initial processing you just extract the extension fields
>> with their ID for later processing. You don't do anything with them at
>> that point. After you have the list you then go through them and make
>> decisions on what to do with them. That's when you worry about whether
>> or not any of them are unknown and how to handle that situation.
>>
>> Danny
>>
>>> On 3/4/2016 2:51 PM, Harlan Stenn wrote:
>>> Danny, what if you don't recognize that extension field?
>>>
>>> Your approach seems more complicated and intricate to me.
>>>
>>> I prefer more separation between the layers. 
>>>
>>> Sent from my iPhone - please excuse brevity and typos
>>>
>>>> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
>>>>
>>>> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>>>>> Now, on the offhand statement that the high order bit of the type
>>>>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>>>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>>>>> should probably include that in the ntp-extension draft. Then, either
>>>>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>>>>> BOTH versions, MAC and non-MAC.
>>>>>>
>>>>>> No, it doesn't need a bit. All we will have are extension fields and
>>>>>> either the extension field needs a MAC extension field or it doesn't and
>>>>>> either way you will be able to tell.
>>>>>
>>>>> Please defend your position.  I disagree with it.  What if somebody
>>>>> sends a packet that has an otherwise unknown Field Type but they set
>>>>> these bits correctly?  That extra information makes it a lot easier to
>>>>> properly process the packet, even if this unknown extension field is
>>>>> present.
>>>>>
>>>>> I think we need the bits for "No following MAC needed" and "I contain a
>>>>> MAC".
>>>>
>>>> There is nothing needed in the extension field itself. When you receive
>>>> a packet you read each extension field into a list. If one of them is a
>>>> MAC extension field you validate the digest and either get confirmation
>>>> or failure and you put that in some location. Then you process each
>>>> extension field and if it is known you perform whatever you need to do
>>>> with it. If the extension field requires a MAC then you check that the
>>>> packet has a valid digest. If it requires it and the MAC is missing or
>>>> fails validation you either ignore the extension or drop the packet
>>>> altogether. If you have an unknown extension field you either ignore it
>>>> or drop the packet.
>>>>
>>>> At no point do you need further information added to the extension
>>>> field. Either you recognize the extension field and know whether or not
>>>> it needs authentication or you don't recognize it and authentication
>>>> doesn't matter.
>>>>
>>>> Danny
>>
>>
> 
> 
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar  4 20:32:16 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D22FF1B3AAD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 20:32:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 cW02c8ZdzPZf for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri,  4 Mar 2016 20:32:14 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7D2911B3AB4 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  4 Mar 2016 20:32:14 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7201886DC21 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat,  5 Mar 2016 04:32:14 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 47EDD86D48C for <ntpwg@lists.ntp.org>; Sat,  5 Mar 2016 03:39:14 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1ac33a-00003X-8j for ntpwg@lists.ntp.org; Sat, 05 Mar 2016 03:39:14 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 00658B82A for <ntpwg@lists.ntp.org>; Sat,  5 Mar 2016 03:39:05 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 3447DB80E; Sat,  5 Mar 2016 03:39:05 +0000 (UTC)
To: mayer@ntp.org
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org> <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org> <56D9ED85.8040702@ntp.org> <54009734-9691-42ED-BACE-0E23903E2A25@nwtime.org> <56DA4C25.2090907@ntp.org>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56DA552C.2@nwtime.org>
Date: Fri, 4 Mar 2016 19:40:28 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56DA4C25.2090907@ntp.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Mar  5 03:39:05 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56da54d9829931648215414
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Processing extended packets
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny,

Originally, "If there is an extension field the MUST be a MAC", where
there was only 1 class of extension field (autokey) and we had at most 1
extension field in the packet.

We're now to the point where:

- there can be multiple extension fields.
- some will require MAC protection.
- some will require NO MAC protection.
- some will *be* MAC extensions.
- NTS, for example, will sometimes want or require MAC protection,
  and will sometimes provide MAC protection.
- some clients will understand these new fields, some will not.

I want to see a high-level hint as to what each extension field is
expecting.  If a client doesn't understand the new packet types, they
won't understand these new hints either.  Nothing gained, nothing lost.

If a client at least understands these hints, then the client at least
has the opportunity to make a better decision about whether or not to
ignore or drop an incoming packet that contains newer incoming extension
fields that it does *not* understand.

If we do not have these hints then we deny the client information that
is likely very useful regarding what to do.  You seem to be assuming and
coming from the POV that all knowledge comes from the sender, and that
the client should just do what the sender wants.  I think that's a bad
way to proceed.  Let's give the client some knowledge so it at least has
the opportunity to consider this sort of information.

Your approach requires information/state knowledge that is known
throughout the packet parsing and analysis process.  It is complicated
in that regard.  I'm trying to share the load a bit, for sanity
checking.  Similar to why folks are using "opaque data pointers" more
and more.

H

On 3/4/16 7:01 PM, Danny Mayer wrote:
> [I change the subject line - this is not about checksum trailer]
> 
> On 3/4/2016 4:02 PM, Harlan Stenn wrote:
>> My proposal is an attempt to make future growth and development
> easier, as it makes some valuable information easily available.
> 
> Unfortunately you haven't demonstrated in what way it would make future
> growth and development easier. So that needs to be explained.
> 
>>
>> What cost is there in doing this? Note that "I don't see the value
>> in
> it" is not really a cost.
> 
> The cost is that you are adding complexity where none is needed.
> 
>>
>> Your proposal makes things actively harder moving forward, as you
>> seem
> to be assuming that 1) you are always running the latest software, or 2)
> what I don't know is of no value.
>>
> 
> No. I can add to this.
> 
> For existing systems they will only recognize autokey extension field
> and the non-extension field MAC. Using a bit in the extension field
> makes no difference to these servers anyway so there is no advantage to
> them. They won't recognize any other extension field and they will try
> to validate it as a MAC which will fail. For a newer system which can
> understand newer extension fields and which receives a packet like this
> it can recognize an autokey extension field and for autokey it knows
> there's a MAC. A system that only sends a MAC (without an extension
> field) I think, I would need to check, it could only be a symmetric key
> and the validation is through the authentication keys which use a key id
> < 16535. All of these cases would be handled so adding bits to an
> extension field to indicate a MAC does not provide any advantage.
> 
> Did I miss something? Probably. But that can be further clarified.
> 
> 
> Danny
>>
>>> On Mar 4, 2016, at 12:18 PM, Danny Mayer <mayer@ntp.org> wrote:
>>>
>>> Between which layers?
>>>
>>> When you do initial processing you just extract the extension fields
>>> with their ID for later processing. You don't do anything with them at
>>> that point. After you have the list you then go through them and make
>>> decisions on what to do with them. That's when you worry about whether
>>> or not any of them are unknown and how to handle that situation.
>>>
>>> Danny
>>>
>>>> On 3/4/2016 2:51 PM, Harlan Stenn wrote:
>>>> Danny, what if you don't recognize that extension field?
>>>>
>>>> Your approach seems more complicated and intricate to me.
>>>>
>>>> I prefer more separation between the layers. 
>>>>
>>>> Sent from my iPhone - please excuse brevity and typos
>>>>
>>>>> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
>>>>>
>>>>> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>>>>>> Now, on the offhand statement that the high order bit of the type
>>>>>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>>>>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>>>>>> should probably include that in the ntp-extension draft. Then, either
>>>>>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>>>>>> BOTH versions, MAC and non-MAC.
>>>>>>>
>>>>>>> No, it doesn't need a bit. All we will have are extension fields and
>>>>>>> either the extension field needs a MAC extension field or it doesn't and
>>>>>>> either way you will be able to tell.
>>>>>>
>>>>>> Please defend your position.  I disagree with it.  What if somebody
>>>>>> sends a packet that has an otherwise unknown Field Type but they set
>>>>>> these bits correctly?  That extra information makes it a lot easier to
>>>>>> properly process the packet, even if this unknown extension field is
>>>>>> present.
>>>>>>
>>>>>> I think we need the bits for "No following MAC needed" and "I contain a
>>>>>> MAC".
>>>>>
>>>>> There is nothing needed in the extension field itself. When you receive
>>>>> a packet you read each extension field into a list. If one of them is a
>>>>> MAC extension field you validate the digest and either get confirmation
>>>>> or failure and you put that in some location. Then you process each
>>>>> extension field and if it is known you perform whatever you need to do
>>>>> with it. If the extension field requires a MAC then you check that the
>>>>> packet has a valid digest. If it requires it and the MAC is missing or
>>>>> fails validation you either ignore the extension or drop the packet
>>>>> altogether. If you have an unknown extension field you either ignore it
>>>>> or drop the packet.
>>>>>
>>>>> At no point do you need further information added to the extension
>>>>> field. Either you recognize the extension field and know whether or not
>>>>> it needs authentication or you don't recognize it and authentication
>>>>> doesn't matter.
>>>>>
>>>>> Danny
>>>
>>>
>>
>>
>>
> 
> 

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sun Mar  6 00:23:57 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B2091B29C4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun,  6 Mar 2016 00:23:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 t6IFY40L66n1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun,  6 Mar 2016 00:23:56 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 058E31B29B5 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun,  6 Mar 2016 00:23:56 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8A9A686DB7C for <ntp-archives-ahFae6za@lists.ietf.org>; Sun,  6 Mar 2016 08:23:55 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B988786DB45 for <ntpwg@lists.ntp.org>; Sun,  6 Mar 2016 07:59:18 +0000 (UTC)
Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <talmi@marvell.com>) id 1acTam-0004ej-9E for ntpwg@lists.ntp.org; Sun, 06 Mar 2016 07:59:18 +0000
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u267vCU6023425; Sat, 5 Mar 2016 23:58:59 -0800
Received: from il-exch02.marvell.com ([199.203.130.102]) by mx0b-0016f401.pphosted.com with ESMTP id 21fyuj9qvx-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Sat, 05 Mar 2016 23:58:59 -0800
Received: from IL-EXCH01.marvell.com (10.4.102.220) by IL-EXCH02.marvell.com (10.4.102.221) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Sun, 6 Mar 2016 09:58:56 +0200
Received: from IL-EXCH01.marvell.com ([fe80::5d63:81cd:31e2:fc36]) by IL-EXCH01.marvell.com ([fe80::5d63:81cd:31e2:fc36%20]) with mapi id 15.00.1104.000; Sun, 6 Mar 2016 09:58:56 +0200
From: Tal Mizrahi <talmi@marvell.com>
To: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue (odonoghue@isoc.org)" <odonoghue@isoc.org>, "Brian Haberman (brian@innovationslab.net)" <brian@innovationslab.net>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Thread-Topic: The next step of draft-ietf-ntp-checksum-trailer
Thread-Index: AdF3ey91OIKN6BsMTLGaEcaFZNnPHg==
Date: Sun, 6 Mar 2016 07:58:56 +0000
Message-ID: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.102.210]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-03-06_04:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1603060155
X-SA-Exim-Connect-IP: 67.231.156.173
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: talmi@marvell.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6890308977382293734=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============6890308977382293734==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_4569da98236441699fb26aebb71f90a7ILEXCH01marvellcom_"

--_000_4569da98236441699fb26aebb71f90a7ILEXCH01marvellcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

Hi All,

In the last few days we had two main suggestions:

(1)    Request the value 0x2005 for Checksum Complement extension fields.

(2)    Remove the requirement to have a fixed length of 28 octets.

Suggestion (1) will certainly be addressed.
There was a lot of discussion regarding (2), but it appears that there is n=
o consensus around the suggestion to remove the 28-octet requirement.

Two important points should be made:

-          According to RFC 5905 + erratum 3627 (https://www.rfc-editor.org=
/errata_search.php?rfc=3D5905), it is not possible for the Checksum Complem=
ent extension field to be shorter than 28 octets. This restriction is furth=
er clarified in draft-ietf-ntp-extension-field. Hopefully, future updates t=
o RFC5905 will place the MAC in its own extension field, and will allow oth=
er extension fields to be shorter than 28 octets. However, this is currentl=
y not the case.

-          The status of draft-ietf-ntp-checksum-trailer is experimental. T=
hat means that the definition of the Checksum Complement will be revised in=
 the near future, and this revision may be an opportunity to relax the leng=
th requirement, assuming that by that time there will be a clear definition=
 of shorter-than-28-octets extension fields.

Therefore, I would like to suggest to  leave the 28-octet length requiremen=
t as-is.

Comments will be welcome.
Thanks,
Tal.


--_000_4569da98236441699fb26aebb71f90a7ILEXCH01marvellcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle17
	{mso-style-type:personal-compose;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-family:"Calibri","sans-serif";}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:902299814;
	mso-list-type:hybrid;
	mso-list-template-ids:-379932236 -765045626 67698713 67698715 67698703 676=
98713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"\(%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:1452550807;
	mso-list-type:hybrid;
	mso-list-template-ids:-529483752 67698703 67698713 67698715 67698703 67698=
713 67698715 67698703 67698713 67698715;}
@list l1:level1
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l1:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l2
	{mso-list-id:2109080768;
	mso-list-type:hybrid;
	mso-list-template-ids:-705626608 -1636241834 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l2:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:Arial;}
@list l2:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l2:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l2:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l2:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l2:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l2:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l2:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l2:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal">Hi All,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the last few days we had two main suggestions:<o:=
p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">(1)<span styl=
e=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>Request the value 0x2005 f=
or Checksum Complement extension fields.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo1"><![if !supportLists]><span style=3D"mso-list:Ignore">(2)<span styl=
e=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>Remove the requirement to =
have a fixed length of 28 octets.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Suggestion (1) will certainly be addressed.<o:p></o:=
p></p>
<p class=3D"MsoNormal">There was a lot of discussion regarding (2), but it =
appears that there is no consensus around the suggestion to remove the 28-o=
ctet requirement.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Two important points should be made:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l2 leve=
l1 lfo3"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>According to RFC 5905 &#43=
; erratum 3627 (<a href=3D"https://www.rfc-editor.org/errata_search.php?rfc=
=3D5905">https://www.rfc-editor.org/errata_search.php?rfc=3D5905</a>), it i=
s not possible for the Checksum Complement extension
 field to be shorter than 28 octets. This restriction is further clarified =
in draft-ietf-ntp-extension-field. Hopefully, future updates to RFC5905 wil=
l place the MAC in its own extension field, and will allow other extension =
fields to be shorter than 28 octets.
 However, this is currently not the case.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l2 leve=
l1 lfo3"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>The status of draft-ietf-n=
tp-checksum-trailer is experimental. That means that the definition of the =
Checksum Complement will be revised in the near future, and this revision m=
ay be an opportunity to relax the
 length requirement, assuming that by that time there will be a clear defin=
ition of shorter-than-28-octets extension fields.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Therefore, I would like to suggest to &nbsp;leave th=
e 28-octet length requirement as-is.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Comments will be welcome.<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Tal.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</body>
</html>

--_000_4569da98236441699fb26aebb71f90a7ILEXCH01marvellcom_--

--===============6890308977382293734==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============6890308977382293734==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sun Mar  6 02:23:58 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 51A3F1A88DF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun,  6 Mar 2016 02:23:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 6bmdao2ldHyN for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun,  6 Mar 2016 02:23:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 1CDAA1A88DE for <ntp-archives-ahFae6za@lists.ietf.org>; Sun,  6 Mar 2016 02:23:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A5ECE86DB9B for <ntp-archives-ahFae6za@lists.ietf.org>; Sun,  6 Mar 2016 10:23:53 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id BA1EA86DAD1 for <ntpwg@lists.ntp.org>; Sun,  6 Mar 2016 09:53:25 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1acVNL-000CK8-RW; Sun, 06 Mar 2016 09:53:23 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Tal Mizrahi <talmi@marvell.com>
In-reply-to: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>
Comments: In-reply-to Tal Mizrahi <talmi@marvell.com> message dated "Sun, 06 Mar 2016 07:58:56 +0000."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sun, 06 Mar 2016 09:53:23 +0000
Message-Id: <E1acVNL-000CK8-RW@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Tal Mizrahi writes:
> Hi All,
> 
> In the last few days we had two main suggestions:
> 
> (1)    Request the value 0x2005 for Checksum Complement extension fields.
> 
> (2)    Remove the requirement to have a fixed length of 28 octets.
> 
> Suggestion (1) will certainly be addressed.
> There was a lot of discussion regarding (2), but it appears that there is n=
> o consensus around the suggestion to remove the 28-octet requirement.
> 
> Two important points should be made:
> 
> -          According to RFC 5905 + erratum 3627 (https://www.rfc-editor.org=
> /errata_search.php?rfc=3D5905), it is not possible for the Checksum Complem=
> ent extension field to be shorter than 28 octets. This restriction is furth=
> er clarified in draft-ietf-ntp-extension-field. Hopefully, future updates t=
> o RFC5905 will place the MAC in its own extension field, and will allow oth=
> er extension fields to be shorter than 28 octets. However, this is currentl=
> y not the case.

I wish I had noticed Errata ID 3627 earlier.  I think it is incorrect on
several counts and I'll be looking to properly document my concerns
about it.

Having said that, I'm OK with the proposal as Tal outlines moving
forward as an experimental document.

Having said that, ...

Autokey was defined with the requirement that its extension field be
protected by a MAC.  The revising language in Errata 3627 does not
address this at all.  One immediate recommendation is that 3627 be
amended to say that a MAC SHOULD be present in any packet that includes
any extension fields.

The language about the algorithms and resulting length of MAC payloads
is not limiting languaage, it is inclusive language.  While 5906
describes an MD5 MAC as producing a 128 bit digest along with a 4 byte
keyid, for a 20 byte MAC, and it also describes a 160 bit digest (with
no alagorithm named) along with a 4 byte keyid, for a 24 byte MAC.  That
in no way means these are the only two digest payload lengths that are
supported.  The NTP Project's Reference Implementation supports other
digest algorithms and resulting lengths as well, even though not all of
these algorithms are presently fully-implemented in the receiving code.
Some of these algorithms produce 512-bit digests, and result in a MAC of
68 bytes' length.

Even by the current logic of 3627, if that disambiguation style is
considered useful, the shortest extension field possible is 4 bytes.  So
any extension field before the current MAC can really be *any* allowed
length, it's only the *last* extension field where there might be an
issue.  In this case, it would be better (and still wrong, I thing) to
say "the last extension field in a packet cannot be 20 or 24 bytes'
long."

Given that we've never specified additional extension fields and nobody
has requested IANA assign additional Field Types, exactly where is the
risk in the disambiguation process I described in my earlier message?

If we're really that concerned about this problem, then all we need to
do is to create a new extension field, 8 bytes long, which indicates "I am
the last extension field", so any data after that would be an old-style
MAC.  Yes, at first thought this would preclude things like the checksum
complement proposal as currently stated, but in actuality it does not,
as as the checksum complement proposal is currently *only* allowed to
work if there is no MAC protection.

> -          The status of draft-ietf-ntp-checksum-trailer is experimental. T=
> hat means that the definition of the Checksum Complement will be revised in=
>  the near future, and this revision may be an opportunity to relax the leng=
> th requirement, assuming that by that time there will be a clear definition=
>  of shorter-than-28-octets extension fields.
> 
> Therefore, I would like to suggest to  leave the 28-octet length requiremen=
> t as-is.

Even so, if 3627 stands it says that the minimum Field Length is 28
octets.  Also requiring it in this proposal means that we have to
eventually clean up the Field Length issue in at least 2 places.
Removing the Field Length requirement in the checksum-complement
proposal means the Field Length should be adequately described somewhere
else, and it is.

But again, this is not a huge deal for me in the context of this
experimental draft.

H
--
> Comments will be welcome.
> Thanks,
> Tal.
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 01:26:07 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EBFB01B3D21 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 01:26:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 o8MHMPXPyuhp for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 01:26:05 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7E0C61B3D20 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 01:26:05 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 31FCD86DB25 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 09:26:05 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 06D4A86D4A6 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 09:07:47 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1acr8a-0006GM-E4 for ntpwg@lists.ntp.org; Mon, 07 Mar 2016 09:07:46 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 67E7E90E4B; Mon,  7 Mar 2016 09:07:35 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2797YtG010124; Mon, 7 Mar 2016 04:07:34 -0500
Date: Mon, 7 Mar 2016 10:07:33 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160307090733.GI20222@localhost>
References: <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D94613020000A100020287@gwsmtp1.uni-regensburg.de> <E1abmFT-0009RS-Cp@stenn.ntp.org> <20160304102922.GC20222@localhost> <E1ac29S-000AKG-30@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1ac29S-000AKG-30@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Sat, Mar 05, 2016 at 02:41:05AM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > On Fri, Mar 04, 2016 at 09:42:15AM +0000, Harlan Stenn wrote:
> > > In fact one problem with the current MAC scheme is that one can easily
> > > deduce the algorithm based on the number of bytes in the payload.  This
> > > makes for an attack vector, and we have a way to fix this in an upcoming
> > > draft.
> > 
> > Hm, are there so many different lengths that hiding that information
> > would slow down the search more than adding a few bits to the key? How
> > do you propose to hide it, truncation of the hash to some constant
> > length?
> 
> Two things.
> 
> First, we could pad the exsting MAC to an arbitrary length today, and
> solve that aspect of the problem.

If the hash was padded to 64 bytes with random data to allow SHA512
and hide the length with smaller hashes, with MD5 and no extension
fields the padding would waste up to 40% of the bandwidth. I don't
think it's worth it, given how little value hiding the length has.

> The proposal Danny and I are working on will create a new extension
> field for the MAC, and that solves both of these problems.  But it's not
> backward-compatible.  It's not backward-INcompatible either.

An extension field for the old NTPv3 MAC would be nice. It would allow
authentication to cover only part of the packet and extension fields
for corrections from HW timestamping, NTP-aware switches/routers, etc,
could be still included. As you say, this would be an incompatible
change, so I'd like to see some discussion on how it would work with
old servers and clients.

I'm slightly worried about confusion from having different MAC
extension fields as the NTS drafts already introduced a new "MAC"
field for the 128-bit HMAC.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 01:53:29 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 05F9F1B3DA0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 01:53:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 8ase1cQoKe-L for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 01:53:22 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id A40041B3D9E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 01:53:22 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 71BEA86DB56 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 09:53:22 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 466FB86D4A6 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 09:32:15 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1acrWG-0006Zj-4u for ntpwg@lists.ntp.org; Mon, 07 Mar 2016 09:32:15 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 93BF872088; Mon,  7 Mar 2016 09:32:03 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u279W2wC022303; Mon, 7 Mar 2016 04:32:03 -0500
Date: Mon, 7 Mar 2016 10:32:02 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160307093202.GJ20222@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1acVNL-000CK8-RW@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 07 Mar 2016 09:32:03 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Sun, Mar 06, 2016 at 09:53:23AM +0000, Harlan Stenn wrote:
> Autokey was defined with the requirement that its extension field be
> protected by a MAC.  The revising language in Errata 3627 does not
> address this at all.  One immediate recommendation is that 3627 be
> amended to say that a MAC SHOULD be present in any packet that includes
> any extension fields.

Why? I think presence of MAC should be required by individual
extension fields which implement some form of authentication, it
shouldn't be a general suggestion. Hopefully in future we will have
extension fields for other things than authentication, and they can be
used without authentication.

> If we're really that concerned about this problem, then all we need to
> do is to create a new extension field, 8 bytes long, which indicates "I am
> the last extension field", so any data after that would be an old-style
> MAC. 

What would prevent a server from misinterpreting a random MAC in a
client packet that doesn't include this extension field as some
extension field?

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 01:53:29 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CAD561B3D9E for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 01:53:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 SAa-cJKITJNV for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 01:53:28 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 133771B3D77 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 01:53:28 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0D34886DB44 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 09:53:28 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 5087D86D4A6 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 09:37:16 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1acrYs-000DkD-E5; Mon, 07 Mar 2016 09:34:46 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160307090733.GI20222@localhost>
References: <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D94613020000A100020287@gwsmtp1.uni-regensburg.de> <E1abmFT-0009RS-Cp@stenn.ntp.org> <20160304102922.GC20222@localhost> <E1ac29S-000AKG-30@stenn.ntp.org> <20160307090733.GI20222@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Mon, 07 Mar 2016 10:07:33 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 07 Mar 2016 09:34:46 +0000
Message-Id: <E1acrYs-000DkD-E5@stenn.ntp.org>
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Sat, Mar 05, 2016 at 02:41:05AM +0000, Harlan Stenn wrote:
> > Miroslav Lichvar writes:
> > > On Fri, Mar 04, 2016 at 09:42:15AM +0000, Harlan Stenn wrote:
> > > > In fact one problem with the current MAC scheme is that one can easily
> > > > deduce the algorithm based on the number of bytes in the payload.  This
> > > > makes for an attack vector, and we have a way to fix this in an upcomin
> g
> > > > draft.
> > > 
> > > Hm, are there so many different lengths that hiding that information
> > > would slow down the search more than adding a few bits to the key? How
> > > do you propose to hide it, truncation of the hash to some constant
> > > length?
> > 
> > Two things.
> > 
> > First, we could pad the exsting MAC to an arbitrary length today, and
> > solve that aspect of the problem.
> 
> If the hash was padded to 64 bytes with random data to allow SHA512
> and hide the length with smaller hashes, with MD5 and no extension
> fields the padding would waste up to 40% of the bandwidth. I don't
> think it's worth it, given how little value hiding the length has.

That's why we're planning on making this padding optional, and also
letting the admin override the default padding.

This way folks can decide for themselves how much to use.

> > The proposal Danny and I are working on will create a new extension
> > field for the MAC, and that solves both of these problems.  But it's not
> > backward-compatible.  It's not backward-INcompatible either.
> 
> An extension field for the old NTPv3 MAC would be nice. It would allow
> authentication to cover only part of the packet and extension fields
> for corrections from HW timestamping, NTP-aware switches/routers, etc,
> could be still included. As you say, this would be an incompatible
> change, so I'd like to see some discussion on how it would work with
> old servers and clients.

Old server need the old MAC.

New servers would use the new MAC, perhaps in conjunction with a new
extension field that says "I am the last extension field" so if
something comes after it we'd know it was an old-style MAC.

There are still cases where folks might also want to append an old-style
MAC to a packet.

Danny, how close are we to releasing the first draft of the new
proposal?

> I'm slightly worried about confusion from having different MAC
> extension fields as the NTS drafts already introduced a new "MAC"
> field for the 128-bit HMAC.

The NTS MAC is built-in and internal.  If that was given and used, there
would ordinarily be no need for additional MAC protection, after the
first 6 NTS packets have been exchanged.  This is because NTS cannot
"protect" the first 6 packets because the authentication data has not
been fully exchanged at that point.

This is one of the reasons I want those flag bits in the Field Type.
-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 02:24:18 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 950BA1B3E29 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:24:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 TZsfo8Lmpf03 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:24:17 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 3F4B21B3E2A for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 02:24:17 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3500586DB49 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 10:24:17 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9B41C86D4A6 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 10:00:43 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <internet-drafts@ietf.org>) id 1acrxr-00077q-0n for ntpwg@lists.ntp.org; Mon, 07 Mar 2016 10:00:43 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F6B71B3DC1; Mon,  7 Mar 2016 02:00:34 -0800 (PST)
MIME-Version: 1.0
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.15.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160307100034.5780.60996.idtracker@ietfa.amsl.com>
Date: Mon, 07 Mar 2016 02:00:34 -0800
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: internet-drafts@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-06.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol of the IETF.

        Title           : UDP Checksum Complement in the Network Time Protocol (NTP)
        Author          : Tal Mizrahi
	Filename        : draft-ietf-ntp-checksum-trailer-06.txt
	Pages           : 13
	Date            : 2016-03-07

Abstract:
   The Network Time Protocol (NTP) allows clients to synchronize to a
   time server using timestamped protocol messages. To facilitate
   accurate timestamping, some implementations use hardware-based
   timestamping engines that integrate the accurate transmission time
   into every outgoing NTP packet during transmission. Since these
   packets are transported over UDP, the UDP checksum field is then
   updated to reflect this modification. This document proposes an
   extension field that includes a 2-octet Checksum Complement, allowing
   timestamping engines to reflect the checksum modification in the last
   2 octets of the packet rather than in the UDP checksum field. The
   behavior defined in this document is interoperable with existing NTP
   implementations.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-ietf-ntp-checksum-trailer-06

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-checksum-trailer-06


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 02:24:29 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F0F31B3DD2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:24:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 ZB2fK19iofYW for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:24:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2ECFB1B3E2E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 02:24:23 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 27B6086DBAB for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 10:24:23 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BF6B886D4A6 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 10:02:15 +0000 (UTC)
Received: from mx0b-0016f401.pphosted.com ([67.231.156.173]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <talmi@marvell.com>) id 1acrzI-00078S-K8 for ntpwg@lists.ntp.org; Mon, 07 Mar 2016 10:02:15 +0000
Received: from pps.filterd (m0045851.ppops.net [127.0.0.1]) by mx0b-0016f401.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u279vEaC022888; Mon, 7 Mar 2016 02:01:56 -0800
Received: from il-exch01.marvell.com ([199.203.130.101]) by mx0b-0016f401.pphosted.com with ESMTP id 21fyujckqw-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA384 bits=256 verify=NOT); Mon, 07 Mar 2016 02:01:56 -0800
Received: from IL-EXCH01.marvell.com (10.4.102.220) by IL-EXCH01.marvell.com (10.4.102.220) with Microsoft SMTP Server (TLS) id 15.0.1104.5; Mon, 7 Mar 2016 12:01:53 +0200
Received: from IL-EXCH01.marvell.com ([fe80::5d63:81cd:31e2:fc36]) by IL-EXCH01.marvell.com ([fe80::5d63:81cd:31e2:fc36%20]) with mapi id 15.00.1104.000; Mon, 7 Mar 2016 12:01:53 +0200
From: Tal Mizrahi <talmi@marvell.com>
To: Tal Mizrahi <talmi@marvell.com>, "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue	(odonoghue@isoc.org)" <odonoghue@isoc.org>, "Brian Haberman	(brian@innovationslab.net)" <brian@innovationslab.net>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Thread-Topic: The next step of draft-ietf-ntp-checksum-trailer
Thread-Index: AdF3ey91OIKN6BsMTLGaEcaFZNnPHgA3RnGQ
Date: Mon, 7 Mar 2016 10:01:52 +0000
Message-ID: <2ec06a37332f453b8d7e5bb54848f494@IL-EXCH01.marvell.com>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>
In-Reply-To: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.4.102.210]
MIME-Version: 1.0
X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-03-07_06:, , signatures=0
X-Proofpoint-Details: rule=outbound_notspam policy=outbound score=0 spamscore=0 suspectscore=0 malwarescore=0 phishscore=0 adultscore=0 bulkscore=0 classifier=spam adjust=0 reason=mlx scancount=1 engine=8.0.1-1601100000 definitions=main-1603070188
X-SA-Exim-Connect-IP: 67.231.156.173
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: talmi@marvell.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5034194011972373912=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============5034194011972373912==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_2ec06a37332f453b8d7e5bb54848f494ILEXCH01marvellcom_"

--_000_2ec06a37332f453b8d7e5bb54848f494ILEXCH01marvellcom_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

I posted an updated draft:

https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/

Comments are still welcome.

Thanks,
Tal.

From: ntpwg [mailto:ntpwg-bounces+talmi=3Dmarvell.com@lists.ntp.org] On Beh=
alf Of Tal Mizrahi
Sent: Sunday, March 06, 2016 9:59 AM
To: 'ntpwg@lists.ntp.org'; Karen ODonoghue (odonoghue@isoc.org); Brian Habe=
rman (brian@innovationslab.net); Suresh Krishnan
Subject: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer

Hi All,

In the last few days we had two main suggestions:

(1)    Request the value 0x2005 for Checksum Complement extension fields.

(2)    Remove the requirement to have a fixed length of 28 octets.

Suggestion (1) will certainly be addressed.
There was a lot of discussion regarding (2), but it appears that there is n=
o consensus around the suggestion to remove the 28-octet requirement.

Two important points should be made:

-          According to RFC 5905 + erratum 3627 (https://www.rfc-editor.org=
/errata_search.php?rfc=3D5905), it is not possible for the Checksum Complem=
ent extension field to be shorter than 28 octets. This restriction is furth=
er clarified in draft-ietf-ntp-extension-field. Hopefully, future updates t=
o RFC5905 will place the MAC in its own extension field, and will allow oth=
er extension fields to be shorter than 28 octets. However, this is currentl=
y not the case.

-          The status of draft-ietf-ntp-checksum-trailer is experimental. T=
hat means that the definition of the Checksum Complement will be revised in=
 the near future, and this revision may be an opportunity to relax the leng=
th requirement, assuming that by that time there will be a clear definition=
 of shorter-than-28-octets extension fields.

Therefore, I would like to suggest to  leave the 28-octet length requiremen=
t as-is.

Comments will be welcome.
Thanks,
Tal.


--_000_2ec06a37332f453b8d7e5bb54848f494ILEXCH01marvellcom_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

<html xmlns:v=3D"urn:schemas-microsoft-com:vml" xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word" =
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml" xmlns=3D"http:=
//www.w3.org/TR/REC-html40">
<head>
<meta http-equiv=3D"Content-Type" content=3D"text/html; charset=3Dus-ascii"=
>
<meta name=3D"Generator" content=3D"Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Wingdings;
	panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
	{font-family:Calibri;
	panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
	{font-family:Tahoma;
	panose-1:2 11 6 4 3 5 4 4 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
	{margin:0cm;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
	{mso-style-priority:99;
	color:blue;
	text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
	{mso-style-priority:99;
	color:purple;
	text-decoration:underline;}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
	{mso-style-priority:34;
	margin-top:0cm;
	margin-right:0cm;
	margin-bottom:0cm;
	margin-left:36.0pt;
	margin-bottom:.0001pt;
	font-size:11.0pt;
	font-family:"Calibri","sans-serif";}
span.EmailStyle18
	{mso-style-type:personal;
	font-family:"Calibri","sans-serif";
	color:windowtext;}
span.EmailStyle19
	{mso-style-type:personal-reply;
	font-family:"Calibri","sans-serif";
	color:#1F497D;}
.MsoChpDefault
	{mso-style-type:export-only;
	font-size:10.0pt;}
@page WordSection1
	{size:612.0pt 792.0pt;
	margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
	{page:WordSection1;}
/* List Definitions */
@list l0
	{mso-list-id:902299814;
	mso-list-type:hybrid;
	mso-list-template-ids:-379932236 -765045626 67698713 67698715 67698703 676=
98713 67698715 67698703 67698713 67698715;}
@list l0:level1
	{mso-level-text:"\(%1\)";
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level2
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level3
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level4
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level5
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level6
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l0:level7
	{mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level8
	{mso-level-number-format:alpha-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;}
@list l0:level9
	{mso-level-number-format:roman-lower;
	mso-level-tab-stop:none;
	mso-level-number-position:right;
	text-indent:-9.0pt;}
@list l1
	{mso-list-id:2109080768;
	mso-list-type:hybrid;
	mso-list-template-ids:-705626608 -1636241834 67698691 67698693 67698689 67=
698691 67698693 67698689 67698691 67698693;}
@list l1:level1
	{mso-level-number-format:bullet;
	mso-level-text:-;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Calibri","sans-serif";
	mso-fareast-font-family:Calibri;
	mso-bidi-font-family:Arial;}
@list l1:level2
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l1:level3
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l1:level4
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l1:level5
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l1:level6
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
@list l1:level7
	{mso-level-number-format:bullet;
	mso-level-text:\F0B7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Symbol;}
@list l1:level8
	{mso-level-number-format:bullet;
	mso-level-text:o;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:"Courier New";}
@list l1:level9
	{mso-level-number-format:bullet;
	mso-level-text:\F0A7;
	mso-level-tab-stop:none;
	mso-level-number-position:left;
	text-indent:-18.0pt;
	font-family:Wingdings;}
ol
	{margin-bottom:0cm;}
ul
	{margin-bottom:0cm;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext=3D"edit">
<o:idmap v:ext=3D"edit" data=3D"1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang=3D"EN-US" link=3D"blue" vlink=3D"purple">
<div class=3D"WordSection1">
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">I posted an updated dr=
aft:<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><a href=3D"https://dat=
atracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/">https://datatracker=
.ietf.org/doc/draft-ietf-ntp-checksum-trailer/</a><o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Comments are still wel=
come.<o:p></o:p></span></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Thanks,<o:p></o:p></sp=
an></p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D">Tal.<o:p></o:p></span>=
</p>
<p class=3D"MsoNormal"><span style=3D"color:#1F497D"><o:p>&nbsp;</o:p></spa=
n></p>
<div style=3D"border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm =
4.0pt">
<div>
<div style=3D"border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0cm =
0cm 0cm">
<p class=3D"MsoNormal"><b><span style=3D"font-size:10.0pt;font-family:&quot=
;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style=3D"font-s=
ize:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> ntpwg [m=
ailto:ntpwg-bounces&#43;talmi=3Dmarvell.com@lists.ntp.org]
<b>On Behalf Of </b>Tal Mizrahi<br>
<b>Sent:</b> Sunday, March 06, 2016 9:59 AM<br>
<b>To:</b> 'ntpwg@lists.ntp.org'; Karen ODonoghue (odonoghue@isoc.org); Bri=
an Haberman (brian@innovationslab.net); Suresh Krishnan<br>
<b>Subject:</b> [ntpwg] The next step of draft-ietf-ntp-checksum-trailer<o:=
p></o:p></span></p>
</div>
</div>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Hi All,<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">In the last few days we had two main suggestions:<o:=
p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo2"><![if !supportLists]><span style=3D"mso-list:Ignore">(1)<span styl=
e=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>Request the value 0x2005 f=
or Checksum Complement extension fields.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l0 leve=
l1 lfo2"><![if !supportLists]><span style=3D"mso-list:Ignore">(2)<span styl=
e=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>Remove the requirement to =
have a fixed length of 28 octets.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Suggestion (1) will certainly be addressed.<o:p></o:=
p></p>
<p class=3D"MsoNormal">There was a lot of discussion regarding (2), but it =
appears that there is no consensus around the suggestion to remove the 28-o=
ctet requirement.
<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Two important points should be made:<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l1 leve=
l1 lfo4"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>According to RFC 5905 &#43=
; erratum 3627 (<a href=3D"https://www.rfc-editor.org/errata_search.php?rfc=
=3D5905">https://www.rfc-editor.org/errata_search.php?rfc=3D5905</a>), it i=
s not possible for the Checksum Complement extension
 field to be shorter than 28 octets. This restriction is further clarified =
in draft-ietf-ntp-extension-field. Hopefully, future updates to RFC5905 wil=
l place the MAC in its own extension field, and will allow other extension =
fields to be shorter than 28 octets.
 However, this is currently not the case.<o:p></o:p></p>
<p class=3D"MsoListParagraph" style=3D"text-indent:-18.0pt;mso-list:l1 leve=
l1 lfo4"><![if !supportLists]><span style=3D"mso-list:Ignore">-<span style=
=3D"font:7.0pt &quot;Times New Roman&quot;">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&=
nbsp;&nbsp;&nbsp;&nbsp;
</span></span><![endif]><span dir=3D"LTR"></span>The status of draft-ietf-n=
tp-checksum-trailer is experimental. That means that the definition of the =
Checksum Complement will be revised in the near future, and this revision m=
ay be an opportunity to relax the
 length requirement, assuming that by that time there will be a clear defin=
ition of shorter-than-28-octets extension fields.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Therefore, I would like to suggest to &nbsp;leave th=
e 28-octet length requirement as-is.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
<p class=3D"MsoNormal">Comments will be welcome.<o:p></o:p></p>
<p class=3D"MsoNormal">Thanks,<o:p></o:p></p>
<p class=3D"MsoNormal">Tal.<o:p></o:p></p>
<p class=3D"MsoNormal"><o:p>&nbsp;</o:p></p>
</div>
</div>
</body>
</html>

--_000_2ec06a37332f453b8d7e5bb54848f494ILEXCH01marvellcom_--

--===============5034194011972373912==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5034194011972373912==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 02:40:32 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8F8001B3E73 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:40:32 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 AyN2SQ1_eb-J for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:40:31 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 4BBAD1B3E6E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 02:40:31 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 420D186DB29 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 10:40:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 328CC86D764 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 10:20:05 +0000 (UTC)
Received: from mail150c25.carrierzone.com ([64.29.147.220] helo=mail238c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1acsGa-0007Ig-HG; Mon, 07 Mar 2016 10:20:05 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail238c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u27AJqS3017353; Mon, 7 Mar 2016 10:19:54 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 87414406057;  Mon,  7 Mar 2016 02:19:52 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@ntp.org> of "Mon, 07 Mar 2016 09:34:46 GMT." <E1acrYs-000DkD-E5@stenn.ntp.org>
Mime-Version: 1.0
Date: Mon, 07 Mar 2016 02:19:52 -0800
Message-Id: <20160307101952.87414406057@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=C8zQl2/+ c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=pK1Qrn5qLUR1-DOFpmIA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010201.56DD55CA.005B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.220
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

stenn@ntp.org said:
> New servers would use the new MAC, perhaps in conjunction with a new
> extension field that says "I am the last extension field" so if something
> comes after it we'd know it was an old-style MAC. 

Why is that case interesting?  Why would a new server want an old-style MAC?

I'd expect that new servers would use TLV style for the whole extension.

-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 02:40:40 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 52ECF1B3E73 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:40:40 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 HKms6aAfsgS5 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:40:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 569E01B3E6E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 02:40:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4EAF586DBCC for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 10:40:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 7B0AF86D764 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 10:23:48 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1acsHr-000Dmy-Bf; Mon, 07 Mar 2016 10:21:15 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160307093202.GJ20222@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Mon, 07 Mar 2016 10:32:02 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 07 Mar 2016 10:21:15 +0000
Message-Id: <E1acsHr-000Dmy-Bf@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Sun, Mar 06, 2016 at 09:53:23AM +0000, Harlan Stenn wrote:
> > Autokey was defined with the requirement that its extension field be
> > protected by a MAC.  The revising language in Errata 3627 does not
> > address this at all.  One immediate recommendation is that 3627 be
> > amended to say that a MAC SHOULD be present in any packet that includes
> > any extension fields.
> 
> Why? I think presence of MAC should be required by individual
> extension fields which implement some form of authentication, it
> shouldn't be a general suggestion. Hopefully in future we will have
> extension fields for other things than authentication, and they can be
> used without authentication.

Originally, the *only* extension field defined was for autokey, and the
RFCs that included autokey all *required* a MAC.

Tal's EXPERIMENTAL proposal for the next created extension field
*cannot* use a MAC because of the way it's implemented.

Therefore, I have recommended 2 things:

- clean up Tal's' errata so that it says a MAC SHOULD be provided.  That
means "Provide a MAC unless you really understand what's going on and
have a good reason for not using one."

- Use a flag bit in the Field Type that says "My extension field does
not require a following MAC."

There are 2 players here, and I'll call them "A" and "B".  It's one
thing for A to say "I think the extension field I am sending should be
covered by a MAC".  It's another thing for B to have the option to have
looser requirements.

With the proposals I've made, we've got that sort of flexibility.

The following extension fields are currently either available or in
various stages of proposal:

- Autokey
- MAC extension field
- NTS
- Checksum Complement
- Suggested REFID
- "I'm the last extension field"

>> If we're really that concerned about this problem, then all we need
>> to do is to create a new extension field, 8 bytes long, which
>> indicates "I am the last extension field", so any data after that
>> would be an old-style MAC.
> 
> What would prevent a server from misinterpreting a random MAC in a
> client packet that doesn't include this extension field as some
> extension field?

A bunch of things, which I may have covered in some earlier emails.

Off the top of my head:

- the only 2 implemented MACs we know about are 20 bytes for MD5 and 24
bytes for DES.  There's also a 28 byte MAC for SHA.  We have at least
partial support for longer digests, at least 256 bit and 512 bit.

- a MAC consists of a 4-byte keyid and a payload.  If there is no
autokey extension field, the keyid MUST be <65535, and we SHOULD have
that keyid in our chain.  If there is an autokey extension field, the
keyid MUST be >65535 and the key ID MUST (but at worst, SHOULD) be in
our chain.  As a secondary check, we could see if there is any way the
first two octets are a Field Type, and the second 2 octets would have to
be a longword-aligned length that was <= the remaining packet length,
and if you wanted to be really careful, if there was leftover data then
this fragment MUST be an extension field, or the next fragment MUST be
either an extension field or a MAC.  So it's pretty easy to validate
these things.

We can also see if it processes "both ways".  But more telling, if we're
dealing with an older/current server, there are limited options.  If
we're dealing with an "updated" server, we'll have enough information in
the packet to know what it contains.

I'm thinking the only other situation is somebody has an NTP network
where they need to send out both old and new style packets.  If they are
this "complicated" then I gotta believe they have the smarts to
understand their deployment, and if they *do* have problems they should
have the resources to configure their NTP network so that they send new
packets to new clients, and old packets to old clients.

But I also figure I could have missed something.
-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 02:55:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CAD031B3E93 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:55:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 0IwnEpvHnCyh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 02:55:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 923491B3E90 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 02:55:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8980B86DB15 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 10:55:27 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 5915A86D90D for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 10:29:29 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1acsNO-000Do5-Uv; Mon, 07 Mar 2016 10:26:58 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Hal Murray <hmurray@megapathdsl.net>
In-reply-to: <20160307101952.87414406057@ip-64-139-1-69.sjc.megapath.net>
References: <20160307101952.87414406057@ip-64-139-1-69.sjc.megapath.net>
Comments: In-reply-to Hal Murray <hmurray@megapathdsl.net> message dated "Mon, 07 Mar 2016 02:19:52 -0800."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 07 Mar 2016 10:26:58 +0000
Message-Id: <E1acsNO-000Do5-Uv@stenn.ntp.org>
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hal Murray writes:
> 
> stenn@ntp.org said:
> > New servers would use the new MAC, perhaps in conjunction with a new
> > extension field that says "I am the last extension field" so if something
> > comes after it we'd know it was an old-style MAC. 
> 
> Why is that case interesting?  Why would a new server want an old-style MAC?

It wouldn't.  But a new instance can talk with an old instance.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 03:22:56 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 208171B3F13 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 03:22:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 gqr0sVHzLv34 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 03:22:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id A12581B3EB8 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 03:22:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7D2EA86DB17 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 11:22:54 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1DFAB86D764 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 11:03:30 +0000 (UTC)
Received: from mail158c25.carrierzone.com ([64.29.147.228] helo=mail223c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1acswa-00085W-Ci; Mon, 07 Mar 2016 11:03:29 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail223c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u27B3FMo015334; Mon, 7 Mar 2016 11:03:17 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 80EBC406060;  Mon,  7 Mar 2016 03:03:15 -0800 (PST)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@ntp.org> of "Mon, 07 Mar 2016 10:26:58 GMT." <E1acsNO-000Do5-Uv@stenn.ntp.org>
Mime-Version: 1.0
Date: Mon, 07 Mar 2016 03:03:15 -0800
Message-Id: <20160307110315.80EBC406060@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=ZewkaKlA c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=kXSwH7ahtDHX-XX6cBgA:9 a=Buj9OuFMAqoKFky8:21 a=5zs1qobbT0QVzlUj:21 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010203.56DD5FF5.00F3, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.228
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Antw: Re: I-D Action: draft-ietf-ntp-checksum-trailer-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, Hal Murray <hmurray@megapathdsl.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

stenn@ntp.org said:
>>> New servers would use the new MAC, perhaps in conjunction with a new
>>> extension field that says "I am the last extension field" so if something
>>> comes after it we'd know it was an old-style MAC. 
>> Why is that case interesting?  Why would a new server want an old-style 
MAC?
> It wouldn't.  But a new instance can talk with an old instance.

I don't understand how a new instance is going to talk to an old instance 
without using old format packets.  So why is the format of new style packets 
interesting when discussing old servers?

Are there any new style extension fields in use now?  Are there half-new 
servers out there?

The case that makes sense to me is to grandfather the old lengths for autokey 
and shared key of various types.  Any other extension length must use new 
style TLV format.  We would need a dummy field type so you can add padding to 
change the length if whatever you want to send ends up with one of the 
reserved lengths.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 03:53:52 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78FA91B3F74 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 03:53:52 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 U9_5_NOAKg51 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 03:53:50 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id E57161B3F73 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 03:53:50 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C782C86DAD7 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 11:53:50 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id A6BE686D90D for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 11:29:00 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1actLE-000DKH-2s for ntpwg@lists.ntp.org; Mon, 07 Mar 2016 11:28:59 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 8266F1E41; Mon,  7 Mar 2016 11:28:47 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u27BSkZ8026274; Mon, 7 Mar 2016 06:28:47 -0500
Date: Mon, 7 Mar 2016 12:28:40 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160307112840.GK20222@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1acsHr-000Dmy-Bf@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Mon, Mar 07, 2016 at 10:21:15AM +0000, Harlan Stenn wrote:
> Therefore, I have recommended 2 things:
> 
> - clean up Tal's' errata so that it says a MAC SHOULD be provided.  That
> means "Provide a MAC unless you really understand what's going on and
> have a good reason for not using one."

I still don't follow here.

> - Use a flag bit in the Field Type that says "My extension field does
> not require a following MAC."

Meaning the field is not related to authentication?

> There are 2 players here, and I'll call them "A" and "B".  It's one
> thing for A to say "I think the extension field I am sending should be
> covered by a MAC".  It's another thing for B to have the option to have
> looser requirements.

Can you give an example in which it would be useful to exchange that
information in NTP packets?

>From the client's point of view, it either requires the server packets
to be authenticated or not. If it does, it will send a field that
enables some form of authentication and the server will have to
process them in order to sent acceptable replies. When the association
is initialized, the client will verify that MAC in the reply is good
and covers all fields in the packet. There could be exceptions in the
future like correction fields for NTP-aware networking devices, but
that would a part of the specification that they are not covered by
MAC and are placed in the packet after the extension field containing
MAC.

> > What would prevent a server from misinterpreting a random MAC in a
> > client packet that doesn't include this extension field as some
> > extension field?

> - the only 2 implemented MACs we know about are 20 bytes for MD5 and 24
> bytes for DES.  There's also a 28 byte MAC for SHA.  We have at least
> partial support for longer digests, at least 256 bit and 512 bit.

The SHA1 MAC is 24 octets, that's why there is a requirement for the
last extension field to be at least 28 octets.

> - a MAC consists of a 4-byte keyid and a payload.  If there is no
> autokey extension field, the keyid MUST be <65535, and we SHOULD have

Isn't that restriction for keyid just for the autokey RFC? There are
NTP implementations that allow any keyid with symmetric keys.

> that keyid in our chain.  If there is an autokey extension field, the
> keyid MUST be >65535 and the key ID MUST (but at worst, SHOULD) be in
> our chain.  As a secondary check, we could see if there is any way the
> first two octets are a Field Type, and the second 2 octets would have to
> be a longword-aligned length that was <= the remaining packet length,
> and if you wanted to be really careful, if there was leftover data then
> this fragment MUST be an extension field, or the next fragment MUST be
> either an extension field or a MAC.  So it's pretty easy to validate
> these things.

I think a MAC could still pass all these tests and appear as an
extension field. It wouldn't be a valid MAC, that would be extremely
unlikely, but the expected digest would have to be calculated in order
to detect that. The new restrictions on lengths of extension fields
are supposed to prevent that if I understand it correctly.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 04:56:30 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 554BB1B40A3 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 04:56:30 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 Au6E3YrrUdCU for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 04:56:28 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 424701B40A8 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 04:56:28 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 087B586DB1B for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 12:56:27 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id EE2E586D73C for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 12:38:30 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1acuOC-000Dwm-SV; Mon, 07 Mar 2016 12:35:56 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160307112840.GK20222@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Mon, 07 Mar 2016 12:28:40 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 07 Mar 2016 12:35:56 +0000
Message-Id: <E1acuOC-000Dwm-SV@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Mon, Mar 07, 2016 at 10:21:15AM +0000, Harlan Stenn wrote:
>> Therefore, I have recommended 2 things:
>> 
>> - clean up Tal's' errata so that it says a MAC SHOULD be provided.  That
>> means "Provide a MAC unless you really understand what's going on and
>> have a good reason for not using one."
> 
> I still don't follow here.

Please help me out.  I've written about this several times.

Originally, if there was an extension field there MUST be a MAC.

Tal wrrote Errata 3627 (or whatever) and removed that requirement.  I
didn't notice this.  I believe this was done because his experimental
checksum complement extension field, as written, *cannot* be done if
MAC protection is used.  In order to move his proposal forward, I've
delayed my proposal that provides similar functionality but allows the
first part of the packet to be protected by a MAC.

MAC protection is good.  NTS uses a 'single' Field Type, but the first
few packets have no MAC protection.  Therefore, the first few packets of
an NTS exchange arguably MUST have MAC protection outside the NTS
packet, and after the NTS packet begins to include MAC protection, one
MAY still want to have additional MAC protection outside of the NTS
packet.

We're getting ready to publish a "MAC in an Extension Field", and
arguably this is how it should have been originally done.  So in keeping
with the above logic, there are 2 pieces of information we want to see
for an extension field.  One is "SHOULD or MAY have MAC protection after
this field," and the other is "This extension field provides MAC
protection."

> > - Use a flag bit in the Field Type that says "My extension field does
> > not require a following MAC."
> 
> Meaning the field is not related to authentication?

Meaning "My extension field does not require a MAC after it".  This is
the "MAY" case as opposed to the "SHOULD" case.  An example of this is
Tal's checksum complement proposal, as currently written.  If ntpd sends
out an unauthenticated packet, the FPGA engine is free to rewrite the
transmit timestamp, but since the OS has already computed a UDP
checksum, if the transmit timestamp in the packet is changed it's almost
certain that a checksum complement will be needed to make sure the
existing UDP checksum will still be correct.  That's what Tal's proposal
is all about, and it's the first time we've seen a proposal for an
extension field where one MUST NOT have a MAC at the end of the packet.

This is for 2 reasons.  One is that changing the transmit timestamp will
invalidate the MAC.  The other is that the FPGA engine has no idea how
to calculate the MAC, so it can't generate one.

>> There are 2 players here, and I'll call them "A" and "B".  It's one
>> thing for A to say "I think the extension field I am sending should be
>> covered by a MAC".  It's another thing for B to have the option to have
>> looser requirements.
> 
> Can you give an example in which it would be useful to exchange that
> information in NTP packets?

I'll have to do this after I wake up.
 
> From the client's point of view, it either requires the server packets
> to be authenticated or not. If it does, it will send a field that
> enables some form of authentication and the server will have to
> process them in order to sent acceptable replies. When the association
> is initialized, the client will verify that MAC in the reply is good
> and covers all fields in the packet. There could be exceptions in the
> future like correction fields for NTP-aware networking devices, but
> that would a part of the specification that they are not covered by
> MAC and are placed in the packet after the extension field containing
> MAC.

I'll hvae to look at the above after I wake up.

>>> What would prevent a server from misinterpreting a random MAC in a
>>> client packet that doesn't include this extension field as some
>>> extension field?
> 
>> - the only 2 implemented MACs we know about are 20 bytes for MD5 and 24
>> bytes for DES.  There's also a 28 byte MAC for SHA.  We have at least
>> partial support for longer digests, at least 256 bit and 512 bit.
> 
> The SHA1 MAC is 24 octets, that's why there is a requirement for the
> last extension field to be at least 28 octets.

4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
ambiguous.

Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
prohibit these lengths?

>> - a MAC consists of a 4-byte keyid and a payload.  If there is no
>> autokey extension field, the keyid MUST be <65535, and we SHOULD have
> 
> Isn't that restriction for keyid just for the autokey RFC? There are
> NTP implementations that allow any keyid with symmetric keys.

Originally:

- any extension field meant there MUST be a MAC.
- the only defined extention field as been autokey.
- if no extension field was present, then no autokey, and a MAC meant
  symmetric key was being used.  keyid < 65535.
- if an extension field was present, the autokey was being used, there
  MUST be a MAC, and  keyid > 65535.

>> that keyid in our chain.  If there is an autokey extension field, the
>> keyid MUST be >65535 and the key ID MUST (but at worst, SHOULD) be in
>> our chain.  As a secondary check, we could see if there is any way the
>> first two octets are a Field Type, and the second 2 octets would have to
>> be a longword-aligned length that was <= the remaining packet length,
>> and if you wanted to be really careful, if there was leftover data then
>> this fragment MUST be an extension field, or the next fragment MUST be
>> either an extension field or a MAC.  So it's pretty easy to validate
>> these things.
> 
> I think a MAC could still pass all these tests and appear as an
> extension field. It wouldn't be a valid MAC, that would be extremely
> unlikely, but the expected digest would have to be calculated in order
> to detect that. The new restrictions on lengths of extension fields
> are supposed to prevent that if I understand it correctly.

Seems like false security to me.  It's easy enough to disambiguate.

Do you want to require *all* extension fields be at >68 bytes long
because somebody will want to use a 512 bit old-style MAC?  What if
somebody wants to use even longer digests?  What if somebody decides to
implement a MAC digest that uses some unexpected lengths?

Old (known) code will *never* do this.  New code will be using "MAC in
an extension field".
-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 05:40:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8E83A1B410C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 05:40:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.901
X-Spam-Level:
X-Spam-Status: No, score=-1.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RP_MATCHES_RCVD=-0.001] autolearn=ham
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 zChhAjXclHad for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon,  7 Mar 2016 05:40:03 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id A47561B410E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 05:40:03 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9310586DB2E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 13:40:03 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D54DF86DAA9 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 13:16:39 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1acv1R-000ErO-2W for ntpwg@lists.ntp.org; Mon, 07 Mar 2016 13:16:39 +0000
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 68161C00B8EE; Mon,  7 Mar 2016 13:16:28 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u27DGPol017126; Mon, 7 Mar 2016 08:16:26 -0500
Date: Mon, 7 Mar 2016 14:16:25 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160307131625.GA3209@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1acuOC-000Dwm-SV@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
> Originally, if there was an extension field there MUST be a MAC.

Right. That requirement was not necessary and it was later removed.

> Tal wrrote Errata 3627 (or whatever) and removed that requirement.

Yes, but why is that a problem?

> MAC protection is good.  NTS uses a 'single' Field Type, but the first
> few packets have no MAC protection.  Therefore, the first few packets of
> an NTS exchange arguably MUST have MAC protection outside the NTS
> packet

With what key would that MAC be generated? Unless I misunderstood how
NTS is supposed to work, the first few packets are simply not
authenticated and can't be used for anything except initialization of
the NTS association.

> We're getting ready to publish a "MAC in an Extension Field", and
> arguably this is how it should have been originally done.  So in keeping
> with the above logic, there are 2 pieces of information we want to see
> for an extension field.  One is "SHOULD or MAY have MAC protection after
> this field," and the other is "This extension field provides MAC
> protection."

What will the receiver of this information do with it? The client must
have its own policy on what extension fields has to be covered with
MAC in order to accept the packet. The server can't dictate that.
Normally, the client will require all fields to be covered by MAC if
authentication is enabled.

> > > - Use a flag bit in the Field Type that says "My extension field does
> > > not require a following MAC."
> > 
> > Meaning the field is not related to authentication?
> 
> Meaning "My extension field does not require a MAC after it".  This is
> the "MAY" case as opposed to the "SHOULD" case.  An example of this is
> Tal's checksum complement proposal, as currently written.  If ntpd sends
> out an unauthenticated packet, the FPGA engine is free to rewrite the
> transmit timestamp, but since the OS has already computed a UDP
> checksum, if the transmit timestamp in the packet is changed it's almost
> certain that a checksum complement will be needed to make sure the
> existing UDP checksum will still be correct.  That's what Tal's proposal
> is all about, and it's the first time we've seen a proposal for an
> extension field where one MUST NOT have a MAC at the end of the packet.

Ok, but that information is already included in the specification. The
client or server that generates that field needs to know that.

> > The SHA1 MAC is 24 octets, that's why there is a requirement for the
> > last extension field to be at least 28 octets.
> 
> 4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
> ambiguous.

A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.
That's 192 bits or 24 octets total.

> Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
> prohibit these lengths?

Because MAC in a packet from an old client could be parsed as one or
multiple extension fields.

> >> - a MAC consists of a 4-byte keyid and a payload.  If there is no
> >> autokey extension field, the keyid MUST be <65535, and we SHOULD have
> > 
> > Isn't that restriction for keyid just for the autokey RFC? There are
> > NTP implementations that allow any keyid with symmetric keys.
> 
> Originally:
> 
> - any extension field meant there MUST be a MAC.
> - the only defined extention field as been autokey.
> - if no extension field was present, then no autokey, and a MAC meant
>   symmetric key was being used.  keyid < 65535.
> - if an extension field was present, the autokey was being used, there
>   MUST be a MAC, and  keyid > 65535.

That applies to the reference implementation, but not necessarily for
other NTPv4 implementations. They can parse extension fields, but they
don't have to know anything about autokey and can authenticate with
MACs using key IDs above 65535.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 09:59:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 8C5861CD60D for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 09:59:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.999
X-Spam-Level:
X-Spam-Status: No, score=-4.999 tagged_above=-999 required=5 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id pgcOe7ag9rXe for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 09:58:59 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfc.amsl.com (Postfix) with ESMTP id 69A3F1CD747 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 09:58:47 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id EFDBE86DB06 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 17:58:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C994986D76A; Mon,  7 Mar 2016 16:06:24 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1acxfj-000HLC-Dl; Mon, 07 Mar 2016 16:06:24 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u27G6Cna009139-u27G6Cnc009139 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 7 Mar 2016 17:06:12 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id C8D5735153; Mon,  7 Mar 2016 17:06:12 +0100 (CET)
In-Reply-To: <E1abXaT-0008P9-3o@stenn.ntp.org>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org>	<20160301114348.GA12938@localhost> <E1abXaT-0008P9-3o@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>
MIME-Version: 1.0
Message-ID: <OF6C515E81.FF15F07D-ONC1257F6F.00573A94-C1257F6F.005874A0@ptb.de>
From: dieter.sibold@ptb.de
Date: Mon, 7 Mar 2016 17:06:10 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org, ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, ntpwg <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
Content-Type: multipart/mixed; boundary="===============5110182522016255403=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an S/MIME signed message.

--===============5110182522016255403==
Content-Type: multipart/signed;
	 protocol="application/x-pkcs7-signature";
	 micalg=sha1;
	 boundary=-------z29795_boundary_sign

This is an S/MIME signed message.

---------z29795_boundary_sign
Content-Type: multipart/alternative; boundary="=_alternative 0058749FC1257F6F_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0058749FC1257F6F_=
Content-Type: text/plain; charset="US-ASCII"

Hi all,

according to our understanding of the symmetric mode we added the 
following language to the draft in order to describe how NTS protects the 
peer associations.

First: We added section 4.2 "Symmetric (Peer) Modes"

      <section title="Symmetric (Peer) Modes">
        <t>For the symmetric modes (active/active, active/passive), NTS 
works
        as it does for the client/server mode, except that both 
participants
        have to save state information. The participant who first sends a 
peer
        message takes the role of the client, a participant who first 
receives
        a peer message takes the role of the server, except that it keeps
        additional state to strengthen the security guarantees it
        receives.</t>
      </section>

Second: We changed respectively added language to  the section 5.2.1 "The 
Server in Unicast Mode". 

              <t>Upon receipt of a client_cook message, the server checks
              whether it supports the given cryptographic algorithms. The
              server MAY use the client's certificate to authenticate the
              client and to check that it is authorized to use the secure 
time
              synchronization service. <list style="symbols">
                  <t>In the case where a client_cook message was received 
in
                  the context of an NTP peer (mode 1) association, the
                  aforementioned authentication and authorization checks 
MUST
                  be performed. If these checks are successfull, the 
server
                  MUST memorize the hash value of the client's
                  certificate.</t>
                </list>After successfully performing the checks, the 
server
              MUST calculate the cookie and then construct a server_cook
              message as described in <xref
              target="I-D.ietf-ntp-network-time-security"/>.</t>

             <t>Upon receipt of a time_request message, the server
              re-calculates the cookie and the MAC for that time_request
              packet and compares this value with the MAC in the received
              data. <list style="symbols">
                  <t>If the re-calculated MAC does not match the MAC in 
the
                  received data the server MUST stop the processing of the
                  request.</t>

                  <t>If the re-calculated MAC matches the MAC in the 
received
                  data the server computes the necessary time 
synchronization
                  data and constructs a time_response message as given in
                  <xref target="I-D.ietf-ntp-network-time-security"/>.</t>
                </list>If the time_request message was received in the 
context
              of an NTP peer (mode 1) association, the server MUST check 
that
              it has memorized the given hash value of the client's
              certificate. If it has not, it MUST NOT use the NTP message
              contents for adjusting its own clock.</t>
            </list></t>

Any comments?


-------------------------------------
Dr. Dieter Sibold
Physikalisch-Technische Bundesanstalt
Q.42 - Serversysteme und Datenhaltung
QM-Verantwortlicher der Stelle IT
Bundesallee 100 
D-38116 Braunschweig
Tel:    +49-531-592-84 20
E-Mail: dieter.sibold@ptb.de


"ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
03.03.2016 19:02:57:

> Von: Harlan Stenn <stenn@ntp.org>
> An: Miroslav Lichvar <mlichvar@redhat.com>
> Kopie: ntpwg@lists.ntp.org
> Datum: 03.03.2016 19:46
> Betreff: Re: [ntpwg] WGLC on Network Time Security documents (3 
documents)
> Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> 
> Miroslav Lichvar writes:
> >> Using the Network Time Security Specification to Secure the Network
> >> Time Protocol draft-ietf-ntp-using-nts-for-ntp-04
> >> https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/
> > 
> > Shouldn't there be a description of how NTS works in symmetric
> > associations? Peering is a major part of the NTP RFC. ...
> 
> We discussed this issue in our NTS implementation call today.
> 
> We're pretty comfortable saying the following:
> 
> An established NTS association WILL have enough information to
> authenticate/authorize one side as a server and the other side as a
> client.  This allows either client/server associations or active/passive
> peer associations.
> 
> An established NTS association MAY have enough information to
> authenticate/authorize both sides as servers.  This allows
> client/server, active/passive peer, or active/active peer associations.
> 
> The draft will be augmented to better describe this situation.
> 
> > Is it expected that NTP packets with extension fields which include
> > signed data and certificates may exceed the MTU and need IP
> > fragmentation? Do we need a specification which would allow large
> > extension fields to be split across several NTP packets?
> 
> We did not discuss this issue in the call.  I believe we're currently
> letting IP fragmentation handle this.
> -- 
> Harlan Stenn <stenn@ntp.org>
> http://networktimefoundation.org - be a member!
> 
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg

--=_alternative 0058749FC1257F6F_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hi all,</font>
<br>
<br><font size=2 face="sans-serif">according to our understanding of the
symmetric mode we added the following language to the draft in order to
describe how NTS protects the peer associations.</font>
<br>
<br><font size=2 face="sans-serif">First: We added section 4.2 &quot;Symmetric
(Peer) Modes&quot;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &lt;section title=&quot;Symmetric
(Peer) Modes&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &lt;t&gt;For
the symmetric modes (active/active, active/passive), NTS works</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; as it does
for the client/server mode, except that both participants</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; have to
save state information. The participant who first sends a peer</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; message
takes the role of the client, a participant who first receives</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; a peer message
takes the role of the server, except that it keeps</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; additional
state to strengthen the security guarantees it</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; receives.&lt;/t&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &lt;/section&gt;<br>
</font>
<br><font size=2 face="sans-serif">Second: We changed respectively added
language to &nbsp;the section 5.2.1 &quot;The Server in Unicast Mode&quot;.
</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &lt;t&gt;Upon receipt of a client_cook message, the server checks</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; whether it supports the given cryptographic algorithms. The</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; server MAY use the client's certificate to authenticate the</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; client and to check that it is authorized to use the secure time</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; synchronization service. &lt;list style=&quot;symbols&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;t&gt;In the case where a client_cook message was
received in</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; the context of an NTP peer (mode 1) association, the</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; aforementioned authentication and authorization checks
MUST</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; be performed. If these checks are successfull, the
server</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; MUST memorize the hash value of the client's</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; certificate.&lt;/t&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &lt;/list&gt;After successfully performing the checks, the
server</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; MUST calculate the cookie and then construct a server_cook</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; message as described in &lt;xref</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; target=&quot;I-D.ietf-ntp-network-time-security&quot;/&gt;.&lt;/t&gt;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp;&lt;t&gt;Upon receipt of a time_request message, the server</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; re-calculates the cookie and the MAC for that time_request</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; packet and compares this value with the MAC in the received</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; data. &lt;list style=&quot;symbols&quot;&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;t&gt;If the re-calculated MAC does not match the
MAC in the</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; received data the server MUST stop the processing
of the</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; request.&lt;/t&gt;</font>
<br>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;t&gt;If the re-calculated MAC matches the MAC
in the received</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; data the server computes the necessary time synchronization</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; data and constructs a time_response message as given
in</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &nbsp; &lt;xref target=&quot;I-D.ietf-ntp-network-time-security&quot;/&gt;.&lt;/t&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; &nbsp; &lt;/list&gt;If the time_request message was received in
the context</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; of an NTP peer (mode 1) association, the server MUST check that</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; it has memorized the given hash value of the client's</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; certificate. If it has not, it MUST NOT use the NTP message</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&nbsp; contents for adjusting its own clock.&lt;/t&gt;</font>
<br><font size=2 face="sans-serif">&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp;
&lt;/list&gt;&lt;/t&gt;<br>
</font>
<br><font size=2 face="sans-serif">Any comments?</font>
<br>
<br>
<br><font size=2 face="sans-serif">-------------------------------------<br>
Dr. Dieter Sibold<br>
Physikalisch-Technische Bundesanstalt<br>
Q.42 - Serversysteme und Datenhaltung<br>
QM-Verantwortlicher der Stelle IT<br>
Bundesallee 100 <br>
D-38116 Braunschweig<br>
Tel: &nbsp; &nbsp;+49-531-592-84 20<br>
E-Mail: dieter.sibold@ptb.de<br>
</font>
<br>
<br><tt><font size=2>&quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;
schrieb am 03.03.2016 19:02:57:<br>
<br>
&gt; Von: Harlan Stenn &lt;stenn@ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; An: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;</font></tt>
<br><tt><font size=2>&gt; Kopie: ntpwg@lists.ntp.org</font></tt>
<br><tt><font size=2>&gt; Datum: 03.03.2016 19:46</font></tt>
<br><tt><font size=2>&gt; Betreff: Re: [ntpwg] WGLC on Network Time Security
documents (3 documents)</font></tt>
<br><tt><font size=2>&gt; Gesendet von: &quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Miroslav Lichvar writes:<br>
&gt; &gt;&gt; Using the Network Time Security Specification to Secure the
Network<br>
&gt; &gt;&gt; Time Protocol draft-ietf-ntp-using-nts-for-ntp-04<br>
&gt; &gt;&gt; </font></tt><a href="https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/"><tt><font size=2>https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/</font></tt></a><tt><font size=2><br>
&gt; &gt; <br>
&gt; &gt; Shouldn't there be a description of how NTS works in symmetric<br>
&gt; &gt; associations? Peering is a major part of the NTP RFC. ...<br>
&gt; <br>
&gt; We discussed this issue in our NTS implementation call today.<br>
&gt; <br>
&gt; We're pretty comfortable saying the following:<br>
&gt; <br>
&gt; An established NTS association WILL have enough information to<br>
&gt; authenticate/authorize one side as a server and the other side as
a<br>
&gt; client. &nbsp;This allows either client/server associations or active/passive<br>
&gt; peer associations.<br>
&gt; <br>
&gt; An established NTS association MAY have enough information to<br>
&gt; authenticate/authorize both sides as servers. &nbsp;This allows<br>
&gt; client/server, active/passive peer, or active/active peer associations.<br>
&gt; <br>
&gt; The draft will be augmented to better describe this situation.<br>
&gt; <br>
&gt; &gt; Is it expected that NTP packets with extension fields which include<br>
&gt; &gt; signed data and certificates may exceed the MTU and need IP<br>
&gt; &gt; fragmentation? Do we need a specification which would allow large<br>
&gt; &gt; extension fields to be split across several NTP packets?<br>
&gt; <br>
&gt; We did not discuss this issue in the call. &nbsp;I believe we're currently<br>
&gt; letting IP fragmentation handle this.<br>
&gt; -- <br>
&gt; Harlan Stenn &lt;stenn@ntp.org&gt;<br>
&gt; </font></tt><a href=http://networktimefoundation.org/><tt><font size=2>http://networktimefoundation.org</font></tt></a><tt><font size=2>
- be a member!<br>
&gt; <br>
&gt; _______________________________________________<br>
&gt; ntpwg mailing list<br>
&gt; ntpwg@lists.ntp.org<br>
&gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 0058749FC1257F6F_=--

---------z29795_boundary_sign
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIImzgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIj4DCCA58w
ggKHoAMCAQICASYwDQYJKoZIhvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRz
Y2hlIFRlbGVrb20gQUcxHzAdBgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMT
GkRldXRzY2hlIFRlbGVrb20gUm9vdCBDQSAyMB4XDTk5MDcwOTEyMTEwMFoXDTE5MDcwOTIzNTkw
MFowcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAdBgNVBAsT
FlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20gUm9vdCBD
QSAyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqwujNeCLKRSxFIWvPBDkOW81XUqu
3ephjZVJ9G9koxpgZqSpQCKE2dSl5XiTDmgBrblNXDrO07ioQkDfz6O6gllqkhusHJraCCslJ/lp
I0fx4Ossepv1EwLQfjR8wp48AFmr9doM9TI8K6xQ2tbD3oOUyqgMmTIOCEhWW2r72uFYWAFJX3JB
PBUGAY5draq4k7TNnuun6GotUjTbOu9cdVHa2/Mx+e5xmDLEVBVEDPmbVe2t3xgIoKOGiknuUwWP
GUzV3lh5m9JqHEKrxdWnz2gPluThYZh2YciRfNY+AOKRUIfhnQrmrZfSHcY6fcu82gM01Y5bAfVq
B7cWtm5KfwIDAQABo0IwQDAdBgNVHQ4EFgQUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDwYDVR0TBAgw
BgEB/wIBBTAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAJRkWa05ZOcp6xP+WsOL
E1fIBCTwdHfAYONn++mJpoO/loJ8btTDPe+egG67KbSYerE7VOs5F0d+Go4L/B8xWTEEss4X8yzH
YjZV4iLYiVW0mEiqZPrWHDbYRHhaWiM6V5f1ejBPrp9qTEsrjqAD4z7gqdTSe9KzqOJyPK2e/4BZ
5JtFtPY7sM05GZgy5eohYZDkMSGONLH3LzVKhRDa54o3Ib5ZY+DyhYgxU9RUFIVwefQuBncndS8f
uIr5/sW62Dbkg+znZbe/Y1rzRq+BlDfUQYzWI9Yez/VoG0Rjolq6pzVZoeVwBZsOI1eZlAptujlj
KIaS8xiE2PvRzwVWZFcwggOfMIICh6ADAgECAgEmMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYT
AkRFMRwwGgYDVQQKExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1
c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw05OTA3MDkx
MjExMDBaFw0xOTA3MDkyMzU5MDBaMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0c2NoZSBU
ZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0
c2NoZSBUZWxla29tIFJvb3QgQ0EgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKsL
ozXgiykUsRSFrzwQ5DlvNV1Krt3qYY2VSfRvZKMaYGakqUAihNnUpeV4kw5oAa25TVw6ztO4qEJA
38+juoJZapIbrBya2ggrJSf5aSNH8eDrLHqb9RMC0H40fMKePABZq/XaDPUyPCusUNrWw96DlMqo
DJkyDghIVltq+9rhWFgBSV9yQTwVBgGOXa2quJO0zZ7rp+hqLVI02zrvXHVR2tvzMfnucZgyxFQV
RAz5m1Xtrd8YCKCjhopJ7lMFjxlM1d5YeZvSahxCq8XVp89oD5bk4WGYdmHIkXzWPgDikVCH4Z0K
5q2X0h3GOn3LvNoDNNWOWwH1age3FrZuSn8CAwEAAaNCMEAwHQYDVR0OBBYEFDHDeRu69VPXF+CJ
ei0XbAqzK50zMA8GA1UdEwQIMAYBAf8CAQUwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUA
A4IBAQCUZFmtOWTnKesT/lrDixNXyAQk8HR3wGDjZ/vpiaaDv5aCfG7Uwz3vnoBuuym0mHqxO1Tr
ORdHfhqOC/wfMVkxBLLOF/Msx2I2VeIi2IlVtJhIqmT61hw22ER4WlojOleX9XowT66fakxLK46g
A+M+4KnU0nvSs6jicjytnv+AWeSbRbT2O7DNORmYMuXqIWGQ5DEhjjSx9y81SoUQ2ueKNyG+WWPg
8oWIMVPUVBSFcHn0LgZ3J3UvH7iK+f7Futg25IPs52W3v2Na80avgZQ31EGM1iPWHs/1aBtEY6Ja
uqc1WaHlcAWbDiNXmZQKbbo5YyiGkvMYhNj70c8FVmRXMIIEITCCAwmgAwIBAgICAMcwDQYJKoZI
hvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAd
BgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20g
Um9vdCBDQSAyMB4XDTA2MTIxOTEwMjkwMFoXDTE5MDYzMDIzNTkwMFowWjELMAkGA1UEBhMCREUx
EzARBgNVBAoTCkRGTi1WZXJlaW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJl
aW4gUENBIEdsb2JhbCAtIEcwMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOmbw2eF
+Q2u9Y1Uw5ZQNT1i6W5M7ZTXAFuVInTUIOs0j9bswDEEC5mB4qYU0lKgKCOEi3SJBF5b4OJ4wXjL
FssoNTl7LZBF0O2gAHp8v0oOGwDDhulcKzERewzzgiRDjBw4i2poAJru3E94q9LGE5t2re7eJujv
Aa90D8EJovZrzr3TzRQwT/Xl46TIYpuCGgMnMA0CZWBN7dEJIyqWNVgn03bGcbaQHcTt/zWGfW8z
s9sPxRHCioOhlF1Ba9jSEPVM/cpRrNm975KDu9rrixZWVkPP4dUTPaYfJzDNSVTbyRM0mnF1xWzq
pwuY+SGdJ68+ozk5SGqMrcmZ+8MS8r0CAwEAAaOB2TCB1jBwBgNVHR8EaTBnMGWgY6Bhhl9odHRw
Oi8vcGtpLnRlbGVzZWMuZGUvY2dpLWJpbi9zZXJ2aWNlL2FmX0Rvd25sb2FkQVJMLmNybD8tY3Js
X2Zvcm1hdD1YXzUwOSYtaXNzdWVyPURUX1JPT1RfQ0FfMjAdBgNVHQ4EFgQUSbfGz+g9H3/qRHsT
KffxCnA+3mQwHwYDVR0jBBgwFoAUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDgYDVR0PAQH/BAQDAgEG
MBIGA1UdEwEB/wQIMAYBAf8CAQIwDQYJKoZIhvcNAQEFBQADggEBADvhWnfASBfcqRjsga9aifC9
KJKmylkYEnDsKPLnrn+WLOfyXRkx9hMrdL29gLK592fJOaJ5O+EREe5reJEzfjtfJid1U2WOM2Pu
z3PDsJIjSSFQdSOhHxjilIU9PzPpdyCNor3moYUpQPY/czJYDQlrptqFbMA/u41mZFYkTq4NPzI1
AVvpjILZcllPsYaF8XSFVuXD+Fzzje5Hs1MFcOflTYppgyjhEwmGnl7I6lgeDB/5pNRaBGj9KD6L
ArZYtfahLDdXAGerI2iNY6XvmWtc/UtW9qtAhzTUEZJs7IfFCgsHM3K0bwwdVCzYUcfMvzDTQ3Lx
Mr+MzkljqAD38hwwggQhMIIDCaADAgECAgIAxzANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJE
RTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0
IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNMDYxMjE5MTAy
OTAwWhcNMTkwNjMwMjM1OTAwWjBaMQswCQYDVQQGEwJERTETMBEGA1UEChMKREZOLVZlcmVpbjEQ
MA4GA1UECxMHREZOLVBLSTEkMCIGA1UEAxMbREZOLVZlcmVpbiBQQ0EgR2xvYmFsIC0gRzAxMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6ZvDZ4X5Da71jVTDllA1PWLpbkztlNcAW5Ui
dNQg6zSP1uzAMQQLmYHiphTSUqAoI4SLdIkEXlvg4njBeMsWyyg1OXstkEXQ7aAAeny/Sg4bAMOG
6VwrMRF7DPOCJEOMHDiLamgAmu7cT3ir0sYTm3at7t4m6O8Br3QPwQmi9mvOvdPNFDBP9eXjpMhi
m4IaAycwDQJlYE3t0QkjKpY1WCfTdsZxtpAdxO3/NYZ9bzOz2w/FEcKKg6GUXUFr2NIQ9Uz9ylGs
2b3vkoO72uuLFlZWQ8/h1RM9ph8nMM1JVNvJEzSacXXFbOqnC5j5IZ0nrz6jOTlIaoytyZn7wxLy
vQIDAQABo4HZMIHWMHAGA1UdHwRpMGcwZaBjoGGGX2h0dHA6Ly9wa2kudGVsZXNlYy5kZS9jZ2kt
YmluL3NlcnZpY2UvYWZfRG93bmxvYWRBUkwuY3JsPy1jcmxfZm9ybWF0PVhfNTA5Ji1pc3N1ZXI9
RFRfUk9PVF9DQV8yMB0GA1UdDgQWBBRJt8bP6D0ff+pEexMp9/EKcD7eZDAfBgNVHSMEGDAWgBQx
w3kbuvVT1xfgiXotF2wKsyudMzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAN
BgkqhkiG9w0BAQUFAAOCAQEAO+Fad8BIF9ypGOyBr1qJ8L0okqbKWRgScOwo8ueuf5Ys5/JdGTH2
Eyt0vb2Asrn3Z8k5onk74RER7mt4kTN+O18mJ3VTZY4zY+7Pc8OwkiNJIVB1I6EfGOKUhT0/M+l3
II2iveahhSlA9j9zMlgNCWum2oVswD+7jWZkViROrg0/MjUBW+mMgtlyWU+xhoXxdIVW5cP4XPON
7kezUwVw5+VNimmDKOETCYaeXsjqWB4MH/mk1FoEaP0oPosCtli19qEsN1cAZ6sjaI1jpe+Za1z9
S1b2q0CHNNQRkmzsh8UKCwczcrRvDB1ULNhRx8y/MNNDcvEyv4zOSWOoAPfyHDCCBO8wggPXoAMC
AQICBA0hCk0wDQYJKoZIhvcNAQEFBQAwWjELMAkGA1UEBhMCREUxEzARBgNVBAoTCkRGTi1WZXJl
aW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJlaW4gUENBIEdsb2JhbCAtIEcw
MTAeFw0wODEwMjQwODUyMTNaFw0xOTA2MzAwMDAwMDBaMGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQK
EyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0Ex
GTAXBgkqhkiG9w0BCQEWCnBraUBwdGIuZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
AQC8CsKDOSrDYswBi5TfxUlODIYEL4+n66/DnYua0jowQyIWvTFjpITNhwMbfPk1KiFmKx2cvtu7
wR7swUPdNlfWNUGJ7/9Q0AmpdsedTMTyFslgJHnJ1v1aojOhPk/MbTuolZuVuJ1ytlVwJAR5/1XU
JpHJ9e6qJJM6CJuo4Ms/3w3uMwgibPaKlSAx2gbI6BKH+p2zlIzoJSDAx64njZClg2i32uLUgoDB
7KEghrdMA2y7nqxzL4Vzb5dY5+y4iZ54txqK7ock+TpfnlBP6RZoChB/qonIle/xv+fqXWeZMhTY
BjYHkSc7+shP4Nb4wnLvv8c77uu3BrOe6e1cyDK3AgMBAAGjggGsMIIBqDASBgNVHRMBAf8ECDAG
AQH/AgEBMAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0j
BBgwFoAUSbfGz+g9H3/qRHsTKffxCnA+3mQwFQYDVR0RBA4wDIEKcGtpQHB0Yi5kZTCBiAYDVR0f
BIGAMH4wPaA7oDmGN2h0dHA6Ly9jZHAxLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2EvcHViL2Ny
bC9jYWNybC5jcmwwPaA7oDmGN2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2Ev
cHViL2NybC9jYWNybC5jcmwwgaIGCCsGAQUFBwEBBIGVMIGSMEcGCCsGAQUFBzAChjtodHRwOi8v
Y2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1yb290LWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBHBggr
BgEFBQcwAoY7aHR0cDovL2NkcDIucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBAJ3KSKdj6GjgE6pSuE74pBcKLfmC2Phy1Gfj
83Lzx9leQX67sL6uTIV5NTQgQDsjTlqyxRQJ5eYhj+ZjwfVS02pDdD+trg2iGp1WdFFsqyhts+oS
M4SpRUuZ83FHEieuWq9teT7bcWPUzckYy4k17u9LAp7+V1h7s6aOpk9RCyA1sSlFTP33O9tpLwXq
KpXHK+zG9JOV7kPDHYLAi2Krw5LB91EBSyXWLu7xK4i6prEUGRWVblckx116ikhBFy3cNr2NGfhh
KiOCphAeIFPCCxOEvRk/LkZRnZaMnHQsUHVuAs2SBB08coYSjF7/NZAXprZlpI2KZiUfeo6JU9bS
UbowggTvMIID16ADAgECAgQNIQpNMA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNVBAYTAkRFMRMwEQYD
VQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBD
QSBHbG9iYWwgLSBHMDEwHhcNMDgxMDI0MDg1MjEzWhcNMTkwNjMwMDAwMDAwWjBpMQswCQYDVQQG
EwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0G
A1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAvArCgzkqw2LMAYuU38VJTgyGBC+Pp+uvw52LmtI6MEMiFr0xY6SEzYcD
G3z5NSohZisdnL7bu8Ee7MFD3TZX1jVBie//UNAJqXbHnUzE8hbJYCR5ydb9WqIzoT5PzG07qJWb
lbidcrZVcCQEef9V1CaRyfXuqiSTOgibqODLP98N7jMIImz2ipUgMdoGyOgSh/qds5SM6CUgwMeu
J42QpYNot9ri1IKAweyhIIa3TANsu56scy+Fc2+XWOfsuImeeLcaiu6HJPk6X55QT+kWaAoQf6qJ
yJXv8b/n6l1nmTIU2AY2B5EnO/rIT+DW+MJy77/HO+7rtwaznuntXMgytwIDAQABo4IBrDCCAagw
EgYDVR0TAQH/BAgwBgEB/wIBATALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFMSA0G4oFWgxWuxwX3iO
4TBDOOo0MB8GA1UdIwQYMBaAFEm3xs/oPR9/6kR7Eyn38QpwPt5kMBUGA1UdEQQOMAyBCnBraUBw
dGIuZGUwgYgGA1UdHwSBgDB+MD2gO6A5hjdodHRwOi8vY2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1y
b290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMD2gO6A5hjdodHRwOi8vY2RwMi5wY2EuZGZuLmRlL2ds
b2JhbC1yb290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGiBggrBgEFBQcBAQSBlTCBkjBHBggrBgEF
BQcwAoY7aHR0cDovL2NkcDEucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0L2Nh
Y2VydC5jcnQwRwYIKwYBBQUHMAKGO2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3Qt
Y2EvcHViL2NhY2VydC9jYWNlcnQuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQCdykinY+ho4BOqUrhO
+KQXCi35gtj4ctRn4/Ny88fZXkF+u7C+rkyFeTU0IEA7I05assUUCeXmIY/mY8H1UtNqQ3Q/ra4N
ohqdVnRRbKsobbPqEjOEqUVLmfNxRxInrlqvbXk+23Fj1M3JGMuJNe7vSwKe/ldYe7OmjqZPUQsg
NbEpRUz99zvbaS8F6iqVxyvsxvSTle5Dwx2CwItiq8OSwfdRAUsl1i7u8SuIuqaxFBkVlW5XJMdd
eopIQRct3Da9jRn4YSojgqYQHiBTwgsThL0ZPy5GUZ2WjJx0LFB1bgLNkgQdPHKGEoxe/zWQF6a2
ZaSNimYlH3qOiVPW0lG6MIIFMTCCBBmgAwIBAgIHF5wEkEK5CzANBgkqhkiG9w0BAQUFADBpMQsw
CQYDVQQGEwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFs
dDEPMA0GA1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMB4XDTE0MDUyMTEw
NTkxMloXDTE3MDUyMDEwNTkxMlowaDELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNj
aC1UZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDTALBgNVBAsTBFEuNDIxGjAYBgNVBAMTEURyLiBE
aWV0ZXIgU2lib2xkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyYt5z0GIwexbe7Vv
kf+wpeCfISmM1FzPfdbR5jJ2l2AjGNAzqJ+aWKL0adslYl8m7JQE7pPXiTZ6sDiOhICg6XVVlLQl
j3ILO6pkvlIk9auqhRC+9Oo1yXSbbrX8BoFbHF0UdV65MtfzuIzvdInq1mpNW7/sZtlWBxen/HbC
QgVDRkXd5U0OU8wF4RW0OYnF5hxOnMsFIugFHq4oMA92zLk6j5Esk4syOiyJzuf3dDoLzTKg7n+K
3wRl0HvrE9mUgR/nuijICWdETRwKotQu27+VOjWU27w5Flpd8MYiSeV7sJEPukT11m0aQRE4h4VN
2yh24/aRJCxJOA25sW/I5QIDAQABo4IB3TCCAdkwLwYDVR0gBCgwJjARBg8rBgEEAYGtIYIsAQEE
AwEwEQYPKwYBBAGBrSGCLAIBBAMBMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMB8GA1UdJQQYMBYG
CCsGAQUFBwMEBgorBgEEAYI3FAICMB0GA1UdDgQWBBRsyFeB8XX9H0eJUJysSheMBkFZrzAfBgNV
HSMEGDAWgBTEgNBuKBVoMVrscF94juEwQzjqNDAfBgNVHREEGDAWgRRkaWV0ZXIuc2lib2xkQHB0
Yi5kZTB3BgNVHR8EcDBuMDWgM6Axhi9odHRwOi8vY2RwMS5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIv
Y3JsL2NhY3JsLmNybDA1oDOgMYYvaHR0cDovL2NkcDIucGNhLmRmbi5kZS9wdGItY2EvcHViL2Ny
bC9jYWNybC5jcmwwgZIGCCsGAQUFBwEBBIGFMIGCMD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMS5w
Y2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0L2NhY2VydC5jcnQwPwYIKwYBBQUHMAKGM2h0dHA6
Ly9jZHAyLnBjYS5kZm4uZGUvcHRiLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDANBgkqhkiG9w0B
AQUFAAOCAQEAt2XdEe0IxYuz1v6WhXz1+EfnFC3S0Yvx4J438lbPYHFkablzHsgedeZzURxl221T
5SC4i6lC36otU7xZkVuSfyJWkMbozxgE4aA+sTJW37IdRVzQSYXFZa95DPj4B7iw+RHGBTFxbVJm
USzMG8nvykOYcpRkxxLUAZglAPfmvu/X/ixsuy4oA/0OHvpIOG1SumSb325hiP9/dMxHFwjbdyqE
nxQAkGbV5kHE77yaydGlQftM5xheKiPOBzbS2ZlzPP8L8kGPrcLK0/mdW3aW+r35aru5E+515qKm
9O0r7SiTCoNbpGCwo4o+aPDVBSe/BBxTW7St2alvIpSKZjyW6TCCBTEwggQZoAMCAQICBxecBJBC
uQswDQYJKoZIhvcNAQEFBQAwaTELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNjaC1U
ZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDzANBgNVBAMTBlBUQiBDQTEZMBcGCSqGSIb3DQEJARYK
cGtpQHB0Yi5kZTAeFw0xNDA1MjExMDU5MTJaFw0xNzA1MjAxMDU5MTJaMGgxCzAJBgNVBAYTAkRF
MS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ0wCwYDVQQL
EwRRLjQyMRowGAYDVQQDExFEci4gRGlldGVyIFNpYm9sZDCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAMmLec9BiMHsW3u1b5H/sKXgnyEpjNRcz33W0eYydpdgIxjQM6ifmlii9GnbJWJf
JuyUBO6T14k2erA4joSAoOl1VZS0JY9yCzuqZL5SJPWrqoUQvvTqNcl0m261/AaBWxxdFHVeuTLX
87iM73SJ6tZqTVu/7GbZVgcXp/x2wkIFQ0ZF3eVNDlPMBeEVtDmJxeYcTpzLBSLoBR6uKDAPdsy5
Oo+RLJOLMjosic7n93Q6C80yoO5/it8EZdB76xPZlIEf57ooyAlnRE0cCqLULtu/lTo1lNu8ORZa
XfDGIknle7CRD7pE9dZtGkEROIeFTdsoduP2kSQsSTgNubFvyOUCAwEAAaOCAd0wggHZMC8GA1Ud
IAQoMCYwEQYPKwYBBAGBrSGCLAEBBAMBMBEGDysGAQQBga0hgiwCAQQDATAJBgNVHRMEAjAAMAsG
A1UdDwQEAwIF4DAfBgNVHSUEGDAWBggrBgEFBQcDBAYKKwYBBAGCNxQCAjAdBgNVHQ4EFgQUbMhX
gfF1/R9HiVCcrEoXjAZBWa8wHwYDVR0jBBgwFoAUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0R
BBgwFoEUZGlldGVyLnNpYm9sZEBwdGIuZGUwdwYDVR0fBHAwbjA1oDOgMYYvaHR0cDovL2NkcDEu
cGNhLmRmbi5kZS9wdGItY2EvcHViL2NybC9jYWNybC5jcmwwNaAzoDGGL2h0dHA6Ly9jZHAyLnBj
YS5kZm4uZGUvcHRiLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGSBggrBgEFBQcBAQSBhTCBgjA/Bggr
BgEFBQcwAoYzaHR0cDovL2NkcDEucGNhLmRmbi5kZS9wdGItY2EvcHViL2NhY2VydC9jYWNlcnQu
Y3J0MD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMi5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBALdl3RHtCMWLs9b+loV89fhH5xQt0tGL8eCe
N/JWz2BxZGm5cx7IHnXmc1EcZdttU+UguIupQt+qLVO8WZFbkn8iVpDG6M8YBOGgPrEyVt+yHUVc
0EmFxWWveQz4+Ae4sPkRxgUxcW1SZlEszBvJ78pDmHKUZMcS1AGYJQD35r7v1/4sbLsuKAP9Dh76
SDhtUrpkm99uYYj/f3TMRxcI23cqhJ8UAJBm1eZBxO+8msnRpUH7TOcYXiojzgc20tmZczz/C/JB
j63CytP5nVt2lvq9+Wq7uRPudeaipvTtK+0okwqDW6RgsKOKPmjw1QUnvwQcU1u0rdmpbyKUimY8
lukxggLJMIICxQIBATB0MGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVj
aG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0ExGTAXBgkqhkiG9w0BCQEWCnBr
aUBwdGIuZGUCBxecBJBCuQswCQYFKw4DAhoFAKCCASowGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMTYwMzA3MTYwNjExWjAjBgkqhkiG9w0BCQQxFgQUAoSrh9yD5/Md
YblmQzhOKV/l/sgwQwYJKoZIhvcNAQkPMTYwNDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYI
KoZIhvcNAwcwDQYIKoZIhvcNAwICASgwgYUGCyqGSIb3DQEJEAILMXagdDBpMQswCQYDVQQGEwJE
RTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0GA1UE
AxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlAgcXnASQQrkLMA0GCSqGSIb3DQEB
AQUABIIBALCK6huj2yPllCJayHHYhCdT9Wfs7iCBZVX3jHehZLrzsamj+v8kTC/ZyRBENvwAdRxU
DahTqKo/KqieKGOhHfcj61qR2BRLbu4liipmyyZAV4gRaKFAX7sIg1xXmQWvWAjQZwj6x74C7/pV
Oxar8DjOJGp/hiRI5K4RL7jE+LzmfZ3MXyf0+lKBDcwL/JMYy9Vh+2B/IvDnVjrjyTCLtIgd6AQ2
lKxIK50pBQ/f+SB6X127NmdyUQftnnz3T5pYCNdmRyxSjrTnhMw7UWL/O3w7/HOF6aHlhGD5kPS3
7O6oCLJZYiOOrWIUcV5kJF2UacmZIYXXVN3n2/Y9Nu7Tt5EAAAAA

---------z29795_boundary_sign--

--===============5110182522016255403==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5110182522016255403==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 10:00:12 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 654B71CD6BA for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 10:00:12 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.021
X-Spam-Level:
X-Spam-Status: No, score=-5.021 tagged_above=-999 required=5 tests=[RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1c_rQbgc9wHZ for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 10:00:10 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfc.amsl.com (Postfix) with ESMTP id AEDD31CD6B4 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 10:00:07 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A03DA86DAE0 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 18:00:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id AD58686D60E for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 16:40:36 +0000 (UTC)
Received: from [198.22.153.130] (helo=[10.2.184.97]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1acyCv-000Hmo-7U; Mon, 07 Mar 2016 16:40:36 +0000
References: <20160301090610.22952.39142.idtracker@ietfa.amsl.com> <E1aaiey-0004p0-E0@stenn.ntp.org> <E1abMUh-0007lW-Hl@stenn.ntp.org> <56D88E4E.4090408@pdmconsulting.net> <8D2BF679AAC7C346848A489074F9F8BF7AADAE9D@sjsrvexchmbx2.microsemi.net> <56D8B1FD.7050108@ntp.org> <8D2BF679AAC7C346848A489074F9F8BF7AADB214@sjsrvexchmbx2.microsemi.net> <56D8FCE2.2080007@ntp.org> <56D9260F.3000809@nwtime.org> <56D9E3EF.7010501@ntp.org> <740556E9-D838-4D1F-8A31-E7E2F996AF82@nwtime.org> <56D9ED85.8040702@ntp.org> <54009734-9691-42ED-BACE-0E23903E2A25@nwtime.org> <56DA4C25.2090907@ntp.org> <56DA552C.2@nwtime.org>
To: Harlan Stenn <stenn@nwtime.org>
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56DDAEFE.4030900@ntp.org>
Date: Mon, 7 Mar 2016 11:40:30 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56DA552C.2@nwtime.org>
X-SA-Exim-Connect-IP: 198.22.153.130
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, stenn@ntp.org, Greg.Dowd@microsemi.com, stenn@nwtime.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Processing extended packets
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/4/2016 10:40 PM, Harlan Stenn wrote:
> Danny,
> 
> Originally, "If there is an extension field the MUST be a MAC", where
> there was only 1 class of extension field (autokey) and we had at most 1
> extension field in the packet.
> 
> We're now to the point where:
> 
> - there can be multiple extension fields.
> - some will require MAC protection.
> - some will require NO MAC protection.
> - some will *be* MAC extensions.
> - NTS, for example, will sometimes want or require MAC protection,
>   and will sometimes provide MAC protection.
> - some clients will understand these new fields, some will not.
> 
> I want to see a high-level hint as to what each extension field is
> expecting.  If a client doesn't understand the new packet types, they
> won't understand these new hints either.  Nothing gained, nothing lost.
> 
> If a client at least understands these hints, then the client at least
> has the opportunity to make a better decision about whether or not to
> ignore or drop an incoming packet that contains newer incoming extension
> fields that it does *not* understand.
> 
> If we do not have these hints then we deny the client information that
> is likely very useful regarding what to do.  You seem to be assuming and
> coming from the POV that all knowledge comes from the sender, and that
> the client should just do what the sender wants.  I think that's a bad
> way to proceed.  Let's give the client some knowledge so it at least has
> the opportunity to consider this sort of information.
> 
> Your approach requires information/state knowledge that is known
> throughout the packet parsing and analysis process.  It is complicated
> in that regard.  I'm trying to share the load a bit, for sanity
> checking.  Similar to why folks are using "opaque data pointers" more
> and more.
> 

Actually I'm ignoring the sender for now because it knows what it's
going to send and how it's going to send since it needs to be based on
the way that the receiving server expects to see the extended data. For
the sender there's no guessing involved.

We have basically 3 types of packet extensions to handle on the
receiving end:

1) autokey extension field and/or MAC (not extension field)
2) extension fields only (MAC EF included)
3) both old and new extension fields and possibly both old and new MAC's

The only uncertainty is whether or not there is an old-style MAC. The
sender will likely not know whether or not the receiving server can
handle the new extension fields and MAC EF so it may send both styles
and therefore we cannot eliminate 3 easily. The bigger issue with this
is that the receiver may not be able to handle anything except type 1
and may misinterpret the MAC.

So Type 1 can have no MAC hint indicator but autokey automatically
requires it. The other case is symmetric key which has a MAC but no
extension field.

Type 2 doesn't need anything special since the MAC EF is the last EF so
even if another EF needs a MAC if cannot do anything without getting to
the MAC EF so you don't gain anything by having a MAC hint.

Type 3 is a combination of Types 1 and 2 and can get horribly
complicated and a MAC hint doesn't help you.

Unknown extension fields need to be dealt with separately since it
doesn't matter whether or not they need a MAC. There needs to be a
policy decision on whether to ignore just the unknown EF or drop the
whole packet. My currently instincts on this is that the default should
be to ignore the unknown EF and not drop the packet. Multiple unknown
EF's would be a bigger concern.

Does any of this help?

If not can you explain how a MAC hint would help the processing given
that you don't know until you reach the end of the packet whether or not
a MAC (of either type) is present?

Danny

> H
> 
> On 3/4/16 7:01 PM, Danny Mayer wrote:
>> [I change the subject line - this is not about checksum trailer]
>>
>> On 3/4/2016 4:02 PM, Harlan Stenn wrote:
>>> My proposal is an attempt to make future growth and development
>> easier, as it makes some valuable information easily available.
>>
>> Unfortunately you haven't demonstrated in what way it would make future
>> growth and development easier. So that needs to be explained.
>>
>>>
>>> What cost is there in doing this? Note that "I don't see the value
>>> in
>> it" is not really a cost.
>>
>> The cost is that you are adding complexity where none is needed.
>>
>>>
>>> Your proposal makes things actively harder moving forward, as you
>>> seem
>> to be assuming that 1) you are always running the latest software, or 2)
>> what I don't know is of no value.
>>>
>>
>> No. I can add to this.
>>
>> For existing systems they will only recognize autokey extension field
>> and the non-extension field MAC. Using a bit in the extension field
>> makes no difference to these servers anyway so there is no advantage to
>> them. They won't recognize any other extension field and they will try
>> to validate it as a MAC which will fail. For a newer system which can
>> understand newer extension fields and which receives a packet like this
>> it can recognize an autokey extension field and for autokey it knows
>> there's a MAC. A system that only sends a MAC (without an extension
>> field) I think, I would need to check, it could only be a symmetric key
>> and the validation is through the authentication keys which use a key id
>> < 16535. All of these cases would be handled so adding bits to an
>> extension field to indicate a MAC does not provide any advantage.
>>
>> Did I miss something? Probably. But that can be further clarified.
>>
>>
>> Danny
>>>
>>>> On Mar 4, 2016, at 12:18 PM, Danny Mayer <mayer@ntp.org> wrote:
>>>>
>>>> Between which layers?
>>>>
>>>> When you do initial processing you just extract the extension fields
>>>> with their ID for later processing. You don't do anything with them at
>>>> that point. After you have the list you then go through them and make
>>>> decisions on what to do with them. That's when you worry about whether
>>>> or not any of them are unknown and how to handle that situation.
>>>>
>>>> Danny
>>>>
>>>>> On 3/4/2016 2:51 PM, Harlan Stenn wrote:
>>>>> Danny, what if you don't recognize that extension field?
>>>>>
>>>>> Your approach seems more complicated and intricate to me.
>>>>>
>>>>> I prefer more separation between the layers. 
>>>>>
>>>>> Sent from my iPhone - please excuse brevity and typos
>>>>>
>>>>>> On Mar 4, 2016, at 11:37 AM, Danny Mayer <mayer@ntp.org> wrote:
>>>>>>
>>>>>> On 3/4/2016 1:07 AM, Harlan Stenn wrote:
>>>>>>>>> Now, on the offhand statement that the high order bit of the type
>>>>>>>> value could be used to distinguish MAC or non-MAC. I don't see that in
>>>>>>>> the ntp-extension draft. So, is it necessary or not? If it is, then we
>>>>>>>> should probably include that in the ntp-extension draft. Then, either
>>>>>>>> IANA only controls 15 bits or the checksum-trailer draft should request
>>>>>>>> BOTH versions, MAC and non-MAC.
>>>>>>>>
>>>>>>>> No, it doesn't need a bit. All we will have are extension fields and
>>>>>>>> either the extension field needs a MAC extension field or it doesn't and
>>>>>>>> either way you will be able to tell.
>>>>>>>
>>>>>>> Please defend your position.  I disagree with it.  What if somebody
>>>>>>> sends a packet that has an otherwise unknown Field Type but they set
>>>>>>> these bits correctly?  That extra information makes it a lot easier to
>>>>>>> properly process the packet, even if this unknown extension field is
>>>>>>> present.
>>>>>>>
>>>>>>> I think we need the bits for "No following MAC needed" and "I contain a
>>>>>>> MAC".
>>>>>>
>>>>>> There is nothing needed in the extension field itself. When you receive
>>>>>> a packet you read each extension field into a list. If one of them is a
>>>>>> MAC extension field you validate the digest and either get confirmation
>>>>>> or failure and you put that in some location. Then you process each
>>>>>> extension field and if it is known you perform whatever you need to do
>>>>>> with it. If the extension field requires a MAC then you check that the
>>>>>> packet has a valid digest. If it requires it and the MAC is missing or
>>>>>> fails validation you either ignore the extension or drop the packet
>>>>>> altogether. If you have an unknown extension field you either ignore it
>>>>>> or drop the packet.
>>>>>>
>>>>>> At no point do you need further information added to the extension
>>>>>> field. Either you recognize the extension field and know whether or not
>>>>>> it needs authentication or you don't recognize it and authentication
>>>>>> doesn't matter.
>>>>>>
>>>>>> Danny
>>>>
>>>>
>>>
>>>
>>>
>>
>>
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 11:01:29 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 92CF11CD906 for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 11:01:29 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.019
X-Spam-Level:
X-Spam-Status: No, score=-5.019 tagged_above=-999 required=5 tests=[HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WVnfmfou0Ugk for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 11:01:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfc.amsl.com (Postfix) with ESMTP id 3473F1CD908 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 11:01:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 268F186DB31 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 19:01:27 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D242886D60E; Mon,  7 Mar 2016 17:08:38 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1acydx-000IMY-Nv; Mon, 07 Mar 2016 17:08:38 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u27H8Ihv012953-u27H8Ihx012953 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 7 Mar 2016 18:08:18 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id CD468351D7; Mon,  7 Mar 2016 18:08:18 +0100 (CET)
In-Reply-To: <20160307131625.GA3209@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>	<E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost>	<E1acsHr-000Dmy-Bf@stenn.ntp.org>	<20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>
MIME-Version: 1.0
Message-ID: <OFD1361D67.E13510CC-ONC1257F6F.005BF6CC-C1257F6F.005E2416@ptb.de>
From: dieter.sibold@ptb.de
Date: Mon, 7 Mar 2016 18:08:16 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org, ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, ntpwg <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: multipart/mixed; boundary="===============5254277575176808951=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an S/MIME signed message.

--===============5254277575176808951==
Content-Type: multipart/signed;
	 protocol="application/x-pkcs7-signature";
	 micalg=sha1;
	 boundary=-------z10565_boundary_sign

This is an S/MIME signed message.

---------z10565_boundary_sign
Content-Type: multipart/alternative; boundary="=_alternative 005E2415C1257F6F_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 005E2415C1257F6F_=
Content-Type: text/plain; charset="US-ASCII"

E-Mail: dieter.sibold@ptb.de


"ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
07.03.2016 14:16:25:

> Von: Miroslav Lichvar <mlichvar@redhat.com>
> An: Harlan Stenn <stenn@ntp.org>
> Kopie: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen 
> ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh 
> Krishnan <suresh.krishnan@ericsson.com>
> Datum: 07.03.2016 14:40
> Betreff: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
> Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> 
> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
> > Originally, if there was an extension field there MUST be a MAC.
> 
> Right. That requirement was not necessary and it was later removed.
> 
> > Tal wrrote Errata 3627 (or whatever) and removed that requirement.
> 
> Yes, but why is that a problem?
> 
> > MAC protection is good.  NTS uses a 'single' Field Type, but the first
> > few packets have no MAC protection.  Therefore, the first few packets 
of
> > an NTS exchange arguably MUST have MAC protection outside the NTS
> > packet
> 
> With what key would that MAC be generated? Unless I misunderstood how
> NTS is supposed to work, the first few packets are simply not
> authenticated and can't be used for anything except initialization of
> the NTS association.


Harlan, I do not agree that you need to protect the association and key 
exchange of NTS. The goal of the first exchanged messages of NTS is to 
securely authenticate the server and exchange the cookie. And yes, tough 
these messages are piggybacked on NTP messages, they do not protect NTP's 
time stamps. However the NTS messages in itself and especially the cookie 
exchange message are cryptographically protected. A client has the choice 
to trust or not to trust the time stamps exchanged during the association 
and cookie exchange.  After the cookie is being exchanged all following 
time requests and responses are of course protected by a MAC. So, a client 
always has the option only to trust the authenticated time stamps. I don't 
see that anyone want to distribute manually symmetric keys only for the 
purpose to protect the first three message exchanges of NTS. And if you 
are in a situation in which you can exchange symmetric keys with your 
customers you don't need to apply NTS. But in most cases, distribution of 
symmetric keys are realistically not an option.


> 
> > We're getting ready to publish a "MAC in an Extension Field", and
> > arguably this is how it should have been originally done.  So in 
keeping
> > with the above logic, there are 2 pieces of information we want to see
> > for an extension field.  One is "SHOULD or MAY have MAC protection 
after
> > this field," and the other is "This extension field provides MAC
> > protection."
> 
> What will the receiver of this information do with it? The client must
> have its own policy on what extension fields has to be covered with
> MAC in order to accept the packet. The server can't dictate that.
> Normally, the client will require all fields to be covered by MAC if
> authentication is enabled.
> 
> > > > - Use a flag bit in the Field Type that says "My extension field 
does
> > > > not require a following MAC."
> > > 
> > > Meaning the field is not related to authentication?
> > 
> > Meaning "My extension field does not require a MAC after it".  This is
> > the "MAY" case as opposed to the "SHOULD" case.  An example of this is
> > Tal's checksum complement proposal, as currently written.  If ntpd 
sends
> > out an unauthenticated packet, the FPGA engine is free to rewrite the
> > transmit timestamp, but since the OS has already computed a UDP
> > checksum, if the transmit timestamp in the packet is changed it's 
almost
> > certain that a checksum complement will be needed to make sure the
> > existing UDP checksum will still be correct.  That's what Tal's 
proposal
> > is all about, and it's the first time we've seen a proposal for an
> > extension field where one MUST NOT have a MAC at the end of the 
packet.
> 
> Ok, but that information is already included in the specification. The
> client or server that generates that field needs to know that.
> 
> > > The SHA1 MAC is 24 octets, that's why there is a requirement for the
> > > last extension field to be at least 28 octets.
> > 
> > 4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
> > ambiguous.
> 
> A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.
> That's 192 bits or 24 octets total.
> 
> > Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
> > prohibit these lengths?
> 
> Because MAC in a packet from an old client could be parsed as one or
> multiple extension fields.
> 
> > >> - a MAC consists of a 4-byte keyid and a payload.  If there is no
> > >> autokey extension field, the keyid MUST be <65535, and we SHOULD 
have
> > > 
> > > Isn't that restriction for keyid just for the autokey RFC? There are
> > > NTP implementations that allow any keyid with symmetric keys.
> > 
> > Originally:
> > 
> > - any extension field meant there MUST be a MAC.
> > - the only defined extention field as been autokey.
> > - if no extension field was present, then no autokey, and a MAC meant
> >   symmetric key was being used.  keyid < 65535.
> > - if an extension field was present, the autokey was being used, there
> >   MUST be a MAC, and  keyid > 65535.
> 
> That applies to the reference implementation, but not necessarily for
> other NTPv4 implementations. They can parse extension fields, but they
> don't have to know anything about autokey and can authenticate with
> MACs using key IDs above 65535.
> 
> -- 
> Miroslav Lichvar
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg

--=_alternative 005E2415C1257F6F_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif"><br>
E-Mail: dieter.sibold@ptb.de<br>
</font>
<br>
<br><tt><font size=2>&quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;
schrieb am 07.03.2016 14:16:25:<br>
<br>
&gt; Von: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;</font></tt>
<br><tt><font size=2>&gt; An: Harlan Stenn &lt;stenn@ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; Kopie: &quot;'ntpwg@lists.ntp.org'&quot; &lt;ntpwg@lists.ntp.org&gt;,
&quot;Karen <br>
&gt; ODonoghue \(odonoghue@isoc.org\)&quot; &lt;odonoghue@isoc.org&gt;,
Suresh <br>
&gt; Krishnan &lt;suresh.krishnan@ericsson.com&gt;</font></tt>
<br><tt><font size=2>&gt; Datum: 07.03.2016 14:40</font></tt>
<br><tt><font size=2>&gt; Betreff: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer</font></tt>
<br><tt><font size=2>&gt; Gesendet von: &quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:<br>
&gt; &gt; Originally, if there was an extension field there MUST be a MAC.<br>
&gt; <br>
&gt; Right. That requirement was not necessary and it was later removed.<br>
&gt; <br>
&gt; &gt; Tal wrrote Errata 3627 (or whatever) and removed that requirement.<br>
&gt; <br>
&gt; Yes, but why is that a problem?<br>
&gt; <br>
&gt; &gt; MAC protection is good. &nbsp;NTS uses a 'single' Field Type,
but the first<br>
&gt; &gt; few packets have no MAC protection. &nbsp;Therefore, the first
few packets of<br>
&gt; &gt; an NTS exchange arguably MUST have MAC protection outside the
NTS<br>
&gt; &gt; packet<br>
&gt; <br>
&gt; With what key would that MAC be generated? Unless I misunderstood
how<br>
&gt; NTS is supposed to work, the first few packets are simply not<br>
&gt; authenticated and can't be used for anything except initialization
of<br>
&gt; the NTS association.<br>
</font></tt>
<br>
<br><tt><font size=2>Harlan, I do not agree that you need to protect the
association and key exchange of NTS. The goal of the first exchanged messages
of NTS is to securely authenticate the server and exchange the cookie.
And yes, tough these messages are piggybacked on NTP messages, they do
not protect NTP's time stamps. However the NTS messages in itself and especially
the cookie exchange message are cryptographically protected. A client has
the choice to trust or not to trust the time stamps exchanged during the
association and cookie exchange. &nbsp;After the cookie is being exchanged
all following time requests and responses are of course protected by a
MAC. So, a client always has the option only to trust the authenticated
time stamps. I don't see that anyone want to distribute manually symmetric
keys only for the purpose to protect the first three message exchanges
of NTS. And if you are in a situation in which you can exchange symmetric
keys with your customers you don't need to apply NTS. But in most cases,
distribution of symmetric keys are realistically not an option.</font></tt>
<br>
<br>
<br><tt><font size=2>&gt; <br>
&gt; &gt; We're getting ready to publish a &quot;MAC in an Extension Field&quot;,
and<br>
&gt; &gt; arguably this is how it should have been originally done. &nbsp;So
in keeping<br>
&gt; &gt; with the above logic, there are 2 pieces of information we want
to see<br>
&gt; &gt; for an extension field. &nbsp;One is &quot;SHOULD or MAY have
MAC protection after<br>
&gt; &gt; this field,&quot; and the other is &quot;This extension field
provides MAC<br>
&gt; &gt; protection.&quot;<br>
&gt; <br>
&gt; What will the receiver of this information do with it? The client
must<br>
&gt; have its own policy on what extension fields has to be covered with<br>
&gt; MAC in order to accept the packet. The server can't dictate that.<br>
&gt; Normally, the client will require all fields to be covered by MAC
if<br>
&gt; authentication is enabled.<br>
&gt; <br>
&gt; &gt; &gt; &gt; - Use a flag bit in the Field Type that says &quot;My
extension field does<br>
&gt; &gt; &gt; &gt; not require a following MAC.&quot;<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Meaning the field is not related to authentication?<br>
&gt; &gt; <br>
&gt; &gt; Meaning &quot;My extension field does not require a MAC after
it&quot;. &nbsp;This is<br>
&gt; &gt; the &quot;MAY&quot; case as opposed to the &quot;SHOULD&quot;
case. &nbsp;An example of this is<br>
&gt; &gt; Tal's checksum complement proposal, as currently written. &nbsp;If
ntpd sends<br>
&gt; &gt; out an unauthenticated packet, the FPGA engine is free to rewrite
the<br>
&gt; &gt; transmit timestamp, but since the OS has already computed a UDP<br>
&gt; &gt; checksum, if the transmit timestamp in the packet is changed
it's almost<br>
&gt; &gt; certain that a checksum complement will be needed to make sure
the<br>
&gt; &gt; existing UDP checksum will still be correct. &nbsp;That's what
Tal's proposal<br>
&gt; &gt; is all about, and it's the first time we've seen a proposal for
an<br>
&gt; &gt; extension field where one MUST NOT have a MAC at the end of the
packet.<br>
&gt; <br>
&gt; Ok, but that information is already included in the specification.
The<br>
&gt; client or server that generates that field needs to know that.<br>
&gt; <br>
&gt; &gt; &gt; The SHA1 MAC is 24 octets, that's why there is a requirement
for the<br>
&gt; &gt; &gt; last extension field to be at least 28 octets.<br>
&gt; &gt; <br>
&gt; &gt; 4 byte keyid plus 24 octets. &nbsp;So 28 bytes is clearly potentially<br>
&gt; &gt; ambiguous.<br>
&gt; <br>
&gt; A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.<br>
&gt; That's 192 bits or 24 octets total.<br>
&gt; <br>
&gt; &gt; Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.
&nbsp;Why<br>
&gt; &gt; prohibit these lengths?<br>
&gt; <br>
&gt; Because MAC in a packet from an old client could be parsed as one
or<br>
&gt; multiple extension fields.<br>
&gt; <br>
&gt; &gt; &gt;&gt; - a MAC consists of a 4-byte keyid and a payload. &nbsp;If
there is no<br>
&gt; &gt; &gt;&gt; autokey extension field, the keyid MUST be &lt;65535,
and we SHOULD have<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Isn't that restriction for keyid just for the autokey RFC?
There are<br>
&gt; &gt; &gt; NTP implementations that allow any keyid with symmetric
keys.<br>
&gt; &gt; <br>
&gt; &gt; Originally:<br>
&gt; &gt; <br>
&gt; &gt; - any extension field meant there MUST be a MAC.<br>
&gt; &gt; - the only defined extention field as been autokey.<br>
&gt; &gt; - if no extension field was present, then no autokey, and a MAC
meant<br>
&gt; &gt; &nbsp; symmetric key was being used. &nbsp;keyid &lt; 65535.<br>
&gt; &gt; - if an extension field was present, the autokey was being used,
there<br>
&gt; &gt; &nbsp; MUST be a MAC, and &nbsp;keyid &gt; 65535.<br>
&gt; <br>
&gt; That applies to the reference implementation, but not necessarily
for<br>
&gt; other NTPv4 implementations. They can parse extension fields, but
they<br>
&gt; don't have to know anything about autokey and can authenticate with<br>
&gt; MACs using key IDs above 65535.<br>
&gt; <br>
&gt; -- <br>
&gt; Miroslav Lichvar<br>
&gt; _______________________________________________<br>
&gt; ntpwg mailing list<br>
&gt; ntpwg@lists.ntp.org<br>
&gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 005E2415C1257F6F_=--

---------z10565_boundary_sign
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIImzgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIj4DCCA58w
ggKHoAMCAQICASYwDQYJKoZIhvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRz
Y2hlIFRlbGVrb20gQUcxHzAdBgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMT
GkRldXRzY2hlIFRlbGVrb20gUm9vdCBDQSAyMB4XDTk5MDcwOTEyMTEwMFoXDTE5MDcwOTIzNTkw
MFowcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAdBgNVBAsT
FlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20gUm9vdCBD
QSAyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqwujNeCLKRSxFIWvPBDkOW81XUqu
3ephjZVJ9G9koxpgZqSpQCKE2dSl5XiTDmgBrblNXDrO07ioQkDfz6O6gllqkhusHJraCCslJ/lp
I0fx4Ossepv1EwLQfjR8wp48AFmr9doM9TI8K6xQ2tbD3oOUyqgMmTIOCEhWW2r72uFYWAFJX3JB
PBUGAY5draq4k7TNnuun6GotUjTbOu9cdVHa2/Mx+e5xmDLEVBVEDPmbVe2t3xgIoKOGiknuUwWP
GUzV3lh5m9JqHEKrxdWnz2gPluThYZh2YciRfNY+AOKRUIfhnQrmrZfSHcY6fcu82gM01Y5bAfVq
B7cWtm5KfwIDAQABo0IwQDAdBgNVHQ4EFgQUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDwYDVR0TBAgw
BgEB/wIBBTAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAJRkWa05ZOcp6xP+WsOL
E1fIBCTwdHfAYONn++mJpoO/loJ8btTDPe+egG67KbSYerE7VOs5F0d+Go4L/B8xWTEEss4X8yzH
YjZV4iLYiVW0mEiqZPrWHDbYRHhaWiM6V5f1ejBPrp9qTEsrjqAD4z7gqdTSe9KzqOJyPK2e/4BZ
5JtFtPY7sM05GZgy5eohYZDkMSGONLH3LzVKhRDa54o3Ib5ZY+DyhYgxU9RUFIVwefQuBncndS8f
uIr5/sW62Dbkg+znZbe/Y1rzRq+BlDfUQYzWI9Yez/VoG0Rjolq6pzVZoeVwBZsOI1eZlAptujlj
KIaS8xiE2PvRzwVWZFcwggOfMIICh6ADAgECAgEmMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYT
AkRFMRwwGgYDVQQKExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1
c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw05OTA3MDkx
MjExMDBaFw0xOTA3MDkyMzU5MDBaMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0c2NoZSBU
ZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0
c2NoZSBUZWxla29tIFJvb3QgQ0EgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKsL
ozXgiykUsRSFrzwQ5DlvNV1Krt3qYY2VSfRvZKMaYGakqUAihNnUpeV4kw5oAa25TVw6ztO4qEJA
38+juoJZapIbrBya2ggrJSf5aSNH8eDrLHqb9RMC0H40fMKePABZq/XaDPUyPCusUNrWw96DlMqo
DJkyDghIVltq+9rhWFgBSV9yQTwVBgGOXa2quJO0zZ7rp+hqLVI02zrvXHVR2tvzMfnucZgyxFQV
RAz5m1Xtrd8YCKCjhopJ7lMFjxlM1d5YeZvSahxCq8XVp89oD5bk4WGYdmHIkXzWPgDikVCH4Z0K
5q2X0h3GOn3LvNoDNNWOWwH1age3FrZuSn8CAwEAAaNCMEAwHQYDVR0OBBYEFDHDeRu69VPXF+CJ
ei0XbAqzK50zMA8GA1UdEwQIMAYBAf8CAQUwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUA
A4IBAQCUZFmtOWTnKesT/lrDixNXyAQk8HR3wGDjZ/vpiaaDv5aCfG7Uwz3vnoBuuym0mHqxO1Tr
ORdHfhqOC/wfMVkxBLLOF/Msx2I2VeIi2IlVtJhIqmT61hw22ER4WlojOleX9XowT66fakxLK46g
A+M+4KnU0nvSs6jicjytnv+AWeSbRbT2O7DNORmYMuXqIWGQ5DEhjjSx9y81SoUQ2ueKNyG+WWPg
8oWIMVPUVBSFcHn0LgZ3J3UvH7iK+f7Futg25IPs52W3v2Na80avgZQ31EGM1iPWHs/1aBtEY6Ja
uqc1WaHlcAWbDiNXmZQKbbo5YyiGkvMYhNj70c8FVmRXMIIEITCCAwmgAwIBAgICAMcwDQYJKoZI
hvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAd
BgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20g
Um9vdCBDQSAyMB4XDTA2MTIxOTEwMjkwMFoXDTE5MDYzMDIzNTkwMFowWjELMAkGA1UEBhMCREUx
EzARBgNVBAoTCkRGTi1WZXJlaW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJl
aW4gUENBIEdsb2JhbCAtIEcwMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOmbw2eF
+Q2u9Y1Uw5ZQNT1i6W5M7ZTXAFuVInTUIOs0j9bswDEEC5mB4qYU0lKgKCOEi3SJBF5b4OJ4wXjL
FssoNTl7LZBF0O2gAHp8v0oOGwDDhulcKzERewzzgiRDjBw4i2poAJru3E94q9LGE5t2re7eJujv
Aa90D8EJovZrzr3TzRQwT/Xl46TIYpuCGgMnMA0CZWBN7dEJIyqWNVgn03bGcbaQHcTt/zWGfW8z
s9sPxRHCioOhlF1Ba9jSEPVM/cpRrNm975KDu9rrixZWVkPP4dUTPaYfJzDNSVTbyRM0mnF1xWzq
pwuY+SGdJ68+ozk5SGqMrcmZ+8MS8r0CAwEAAaOB2TCB1jBwBgNVHR8EaTBnMGWgY6Bhhl9odHRw
Oi8vcGtpLnRlbGVzZWMuZGUvY2dpLWJpbi9zZXJ2aWNlL2FmX0Rvd25sb2FkQVJMLmNybD8tY3Js
X2Zvcm1hdD1YXzUwOSYtaXNzdWVyPURUX1JPT1RfQ0FfMjAdBgNVHQ4EFgQUSbfGz+g9H3/qRHsT
KffxCnA+3mQwHwYDVR0jBBgwFoAUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDgYDVR0PAQH/BAQDAgEG
MBIGA1UdEwEB/wQIMAYBAf8CAQIwDQYJKoZIhvcNAQEFBQADggEBADvhWnfASBfcqRjsga9aifC9
KJKmylkYEnDsKPLnrn+WLOfyXRkx9hMrdL29gLK592fJOaJ5O+EREe5reJEzfjtfJid1U2WOM2Pu
z3PDsJIjSSFQdSOhHxjilIU9PzPpdyCNor3moYUpQPY/czJYDQlrptqFbMA/u41mZFYkTq4NPzI1
AVvpjILZcllPsYaF8XSFVuXD+Fzzje5Hs1MFcOflTYppgyjhEwmGnl7I6lgeDB/5pNRaBGj9KD6L
ArZYtfahLDdXAGerI2iNY6XvmWtc/UtW9qtAhzTUEZJs7IfFCgsHM3K0bwwdVCzYUcfMvzDTQ3Lx
Mr+MzkljqAD38hwwggQhMIIDCaADAgECAgIAxzANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJE
RTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0
IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNMDYxMjE5MTAy
OTAwWhcNMTkwNjMwMjM1OTAwWjBaMQswCQYDVQQGEwJERTETMBEGA1UEChMKREZOLVZlcmVpbjEQ
MA4GA1UECxMHREZOLVBLSTEkMCIGA1UEAxMbREZOLVZlcmVpbiBQQ0EgR2xvYmFsIC0gRzAxMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6ZvDZ4X5Da71jVTDllA1PWLpbkztlNcAW5Ui
dNQg6zSP1uzAMQQLmYHiphTSUqAoI4SLdIkEXlvg4njBeMsWyyg1OXstkEXQ7aAAeny/Sg4bAMOG
6VwrMRF7DPOCJEOMHDiLamgAmu7cT3ir0sYTm3at7t4m6O8Br3QPwQmi9mvOvdPNFDBP9eXjpMhi
m4IaAycwDQJlYE3t0QkjKpY1WCfTdsZxtpAdxO3/NYZ9bzOz2w/FEcKKg6GUXUFr2NIQ9Uz9ylGs
2b3vkoO72uuLFlZWQ8/h1RM9ph8nMM1JVNvJEzSacXXFbOqnC5j5IZ0nrz6jOTlIaoytyZn7wxLy
vQIDAQABo4HZMIHWMHAGA1UdHwRpMGcwZaBjoGGGX2h0dHA6Ly9wa2kudGVsZXNlYy5kZS9jZ2kt
YmluL3NlcnZpY2UvYWZfRG93bmxvYWRBUkwuY3JsPy1jcmxfZm9ybWF0PVhfNTA5Ji1pc3N1ZXI9
RFRfUk9PVF9DQV8yMB0GA1UdDgQWBBRJt8bP6D0ff+pEexMp9/EKcD7eZDAfBgNVHSMEGDAWgBQx
w3kbuvVT1xfgiXotF2wKsyudMzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAN
BgkqhkiG9w0BAQUFAAOCAQEAO+Fad8BIF9ypGOyBr1qJ8L0okqbKWRgScOwo8ueuf5Ys5/JdGTH2
Eyt0vb2Asrn3Z8k5onk74RER7mt4kTN+O18mJ3VTZY4zY+7Pc8OwkiNJIVB1I6EfGOKUhT0/M+l3
II2iveahhSlA9j9zMlgNCWum2oVswD+7jWZkViROrg0/MjUBW+mMgtlyWU+xhoXxdIVW5cP4XPON
7kezUwVw5+VNimmDKOETCYaeXsjqWB4MH/mk1FoEaP0oPosCtli19qEsN1cAZ6sjaI1jpe+Za1z9
S1b2q0CHNNQRkmzsh8UKCwczcrRvDB1ULNhRx8y/MNNDcvEyv4zOSWOoAPfyHDCCBO8wggPXoAMC
AQICBA0hCk0wDQYJKoZIhvcNAQEFBQAwWjELMAkGA1UEBhMCREUxEzARBgNVBAoTCkRGTi1WZXJl
aW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJlaW4gUENBIEdsb2JhbCAtIEcw
MTAeFw0wODEwMjQwODUyMTNaFw0xOTA2MzAwMDAwMDBaMGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQK
EyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0Ex
GTAXBgkqhkiG9w0BCQEWCnBraUBwdGIuZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
AQC8CsKDOSrDYswBi5TfxUlODIYEL4+n66/DnYua0jowQyIWvTFjpITNhwMbfPk1KiFmKx2cvtu7
wR7swUPdNlfWNUGJ7/9Q0AmpdsedTMTyFslgJHnJ1v1aojOhPk/MbTuolZuVuJ1ytlVwJAR5/1XU
JpHJ9e6qJJM6CJuo4Ms/3w3uMwgibPaKlSAx2gbI6BKH+p2zlIzoJSDAx64njZClg2i32uLUgoDB
7KEghrdMA2y7nqxzL4Vzb5dY5+y4iZ54txqK7ock+TpfnlBP6RZoChB/qonIle/xv+fqXWeZMhTY
BjYHkSc7+shP4Nb4wnLvv8c77uu3BrOe6e1cyDK3AgMBAAGjggGsMIIBqDASBgNVHRMBAf8ECDAG
AQH/AgEBMAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0j
BBgwFoAUSbfGz+g9H3/qRHsTKffxCnA+3mQwFQYDVR0RBA4wDIEKcGtpQHB0Yi5kZTCBiAYDVR0f
BIGAMH4wPaA7oDmGN2h0dHA6Ly9jZHAxLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2EvcHViL2Ny
bC9jYWNybC5jcmwwPaA7oDmGN2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2Ev
cHViL2NybC9jYWNybC5jcmwwgaIGCCsGAQUFBwEBBIGVMIGSMEcGCCsGAQUFBzAChjtodHRwOi8v
Y2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1yb290LWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBHBggr
BgEFBQcwAoY7aHR0cDovL2NkcDIucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBAJ3KSKdj6GjgE6pSuE74pBcKLfmC2Phy1Gfj
83Lzx9leQX67sL6uTIV5NTQgQDsjTlqyxRQJ5eYhj+ZjwfVS02pDdD+trg2iGp1WdFFsqyhts+oS
M4SpRUuZ83FHEieuWq9teT7bcWPUzckYy4k17u9LAp7+V1h7s6aOpk9RCyA1sSlFTP33O9tpLwXq
KpXHK+zG9JOV7kPDHYLAi2Krw5LB91EBSyXWLu7xK4i6prEUGRWVblckx116ikhBFy3cNr2NGfhh
KiOCphAeIFPCCxOEvRk/LkZRnZaMnHQsUHVuAs2SBB08coYSjF7/NZAXprZlpI2KZiUfeo6JU9bS
UbowggTvMIID16ADAgECAgQNIQpNMA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNVBAYTAkRFMRMwEQYD
VQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBD
QSBHbG9iYWwgLSBHMDEwHhcNMDgxMDI0MDg1MjEzWhcNMTkwNjMwMDAwMDAwWjBpMQswCQYDVQQG
EwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0G
A1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAvArCgzkqw2LMAYuU38VJTgyGBC+Pp+uvw52LmtI6MEMiFr0xY6SEzYcD
G3z5NSohZisdnL7bu8Ee7MFD3TZX1jVBie//UNAJqXbHnUzE8hbJYCR5ydb9WqIzoT5PzG07qJWb
lbidcrZVcCQEef9V1CaRyfXuqiSTOgibqODLP98N7jMIImz2ipUgMdoGyOgSh/qds5SM6CUgwMeu
J42QpYNot9ri1IKAweyhIIa3TANsu56scy+Fc2+XWOfsuImeeLcaiu6HJPk6X55QT+kWaAoQf6qJ
yJXv8b/n6l1nmTIU2AY2B5EnO/rIT+DW+MJy77/HO+7rtwaznuntXMgytwIDAQABo4IBrDCCAagw
EgYDVR0TAQH/BAgwBgEB/wIBATALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFMSA0G4oFWgxWuxwX3iO
4TBDOOo0MB8GA1UdIwQYMBaAFEm3xs/oPR9/6kR7Eyn38QpwPt5kMBUGA1UdEQQOMAyBCnBraUBw
dGIuZGUwgYgGA1UdHwSBgDB+MD2gO6A5hjdodHRwOi8vY2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1y
b290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMD2gO6A5hjdodHRwOi8vY2RwMi5wY2EuZGZuLmRlL2ds
b2JhbC1yb290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGiBggrBgEFBQcBAQSBlTCBkjBHBggrBgEF
BQcwAoY7aHR0cDovL2NkcDEucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0L2Nh
Y2VydC5jcnQwRwYIKwYBBQUHMAKGO2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3Qt
Y2EvcHViL2NhY2VydC9jYWNlcnQuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQCdykinY+ho4BOqUrhO
+KQXCi35gtj4ctRn4/Ny88fZXkF+u7C+rkyFeTU0IEA7I05assUUCeXmIY/mY8H1UtNqQ3Q/ra4N
ohqdVnRRbKsobbPqEjOEqUVLmfNxRxInrlqvbXk+23Fj1M3JGMuJNe7vSwKe/ldYe7OmjqZPUQsg
NbEpRUz99zvbaS8F6iqVxyvsxvSTle5Dwx2CwItiq8OSwfdRAUsl1i7u8SuIuqaxFBkVlW5XJMdd
eopIQRct3Da9jRn4YSojgqYQHiBTwgsThL0ZPy5GUZ2WjJx0LFB1bgLNkgQdPHKGEoxe/zWQF6a2
ZaSNimYlH3qOiVPW0lG6MIIFMTCCBBmgAwIBAgIHF5wEkEK5CzANBgkqhkiG9w0BAQUFADBpMQsw
CQYDVQQGEwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFs
dDEPMA0GA1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMB4XDTE0MDUyMTEw
NTkxMloXDTE3MDUyMDEwNTkxMlowaDELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNj
aC1UZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDTALBgNVBAsTBFEuNDIxGjAYBgNVBAMTEURyLiBE
aWV0ZXIgU2lib2xkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyYt5z0GIwexbe7Vv
kf+wpeCfISmM1FzPfdbR5jJ2l2AjGNAzqJ+aWKL0adslYl8m7JQE7pPXiTZ6sDiOhICg6XVVlLQl
j3ILO6pkvlIk9auqhRC+9Oo1yXSbbrX8BoFbHF0UdV65MtfzuIzvdInq1mpNW7/sZtlWBxen/HbC
QgVDRkXd5U0OU8wF4RW0OYnF5hxOnMsFIugFHq4oMA92zLk6j5Esk4syOiyJzuf3dDoLzTKg7n+K
3wRl0HvrE9mUgR/nuijICWdETRwKotQu27+VOjWU27w5Flpd8MYiSeV7sJEPukT11m0aQRE4h4VN
2yh24/aRJCxJOA25sW/I5QIDAQABo4IB3TCCAdkwLwYDVR0gBCgwJjARBg8rBgEEAYGtIYIsAQEE
AwEwEQYPKwYBBAGBrSGCLAIBBAMBMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMB8GA1UdJQQYMBYG
CCsGAQUFBwMEBgorBgEEAYI3FAICMB0GA1UdDgQWBBRsyFeB8XX9H0eJUJysSheMBkFZrzAfBgNV
HSMEGDAWgBTEgNBuKBVoMVrscF94juEwQzjqNDAfBgNVHREEGDAWgRRkaWV0ZXIuc2lib2xkQHB0
Yi5kZTB3BgNVHR8EcDBuMDWgM6Axhi9odHRwOi8vY2RwMS5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIv
Y3JsL2NhY3JsLmNybDA1oDOgMYYvaHR0cDovL2NkcDIucGNhLmRmbi5kZS9wdGItY2EvcHViL2Ny
bC9jYWNybC5jcmwwgZIGCCsGAQUFBwEBBIGFMIGCMD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMS5w
Y2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0L2NhY2VydC5jcnQwPwYIKwYBBQUHMAKGM2h0dHA6
Ly9jZHAyLnBjYS5kZm4uZGUvcHRiLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDANBgkqhkiG9w0B
AQUFAAOCAQEAt2XdEe0IxYuz1v6WhXz1+EfnFC3S0Yvx4J438lbPYHFkablzHsgedeZzURxl221T
5SC4i6lC36otU7xZkVuSfyJWkMbozxgE4aA+sTJW37IdRVzQSYXFZa95DPj4B7iw+RHGBTFxbVJm
USzMG8nvykOYcpRkxxLUAZglAPfmvu/X/ixsuy4oA/0OHvpIOG1SumSb325hiP9/dMxHFwjbdyqE
nxQAkGbV5kHE77yaydGlQftM5xheKiPOBzbS2ZlzPP8L8kGPrcLK0/mdW3aW+r35aru5E+515qKm
9O0r7SiTCoNbpGCwo4o+aPDVBSe/BBxTW7St2alvIpSKZjyW6TCCBTEwggQZoAMCAQICBxecBJBC
uQswDQYJKoZIhvcNAQEFBQAwaTELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNjaC1U
ZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDzANBgNVBAMTBlBUQiBDQTEZMBcGCSqGSIb3DQEJARYK
cGtpQHB0Yi5kZTAeFw0xNDA1MjExMDU5MTJaFw0xNzA1MjAxMDU5MTJaMGgxCzAJBgNVBAYTAkRF
MS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ0wCwYDVQQL
EwRRLjQyMRowGAYDVQQDExFEci4gRGlldGVyIFNpYm9sZDCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAMmLec9BiMHsW3u1b5H/sKXgnyEpjNRcz33W0eYydpdgIxjQM6ifmlii9GnbJWJf
JuyUBO6T14k2erA4joSAoOl1VZS0JY9yCzuqZL5SJPWrqoUQvvTqNcl0m261/AaBWxxdFHVeuTLX
87iM73SJ6tZqTVu/7GbZVgcXp/x2wkIFQ0ZF3eVNDlPMBeEVtDmJxeYcTpzLBSLoBR6uKDAPdsy5
Oo+RLJOLMjosic7n93Q6C80yoO5/it8EZdB76xPZlIEf57ooyAlnRE0cCqLULtu/lTo1lNu8ORZa
XfDGIknle7CRD7pE9dZtGkEROIeFTdsoduP2kSQsSTgNubFvyOUCAwEAAaOCAd0wggHZMC8GA1Ud
IAQoMCYwEQYPKwYBBAGBrSGCLAEBBAMBMBEGDysGAQQBga0hgiwCAQQDATAJBgNVHRMEAjAAMAsG
A1UdDwQEAwIF4DAfBgNVHSUEGDAWBggrBgEFBQcDBAYKKwYBBAGCNxQCAjAdBgNVHQ4EFgQUbMhX
gfF1/R9HiVCcrEoXjAZBWa8wHwYDVR0jBBgwFoAUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0R
BBgwFoEUZGlldGVyLnNpYm9sZEBwdGIuZGUwdwYDVR0fBHAwbjA1oDOgMYYvaHR0cDovL2NkcDEu
cGNhLmRmbi5kZS9wdGItY2EvcHViL2NybC9jYWNybC5jcmwwNaAzoDGGL2h0dHA6Ly9jZHAyLnBj
YS5kZm4uZGUvcHRiLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGSBggrBgEFBQcBAQSBhTCBgjA/Bggr
BgEFBQcwAoYzaHR0cDovL2NkcDEucGNhLmRmbi5kZS9wdGItY2EvcHViL2NhY2VydC9jYWNlcnQu
Y3J0MD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMi5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBALdl3RHtCMWLs9b+loV89fhH5xQt0tGL8eCe
N/JWz2BxZGm5cx7IHnXmc1EcZdttU+UguIupQt+qLVO8WZFbkn8iVpDG6M8YBOGgPrEyVt+yHUVc
0EmFxWWveQz4+Ae4sPkRxgUxcW1SZlEszBvJ78pDmHKUZMcS1AGYJQD35r7v1/4sbLsuKAP9Dh76
SDhtUrpkm99uYYj/f3TMRxcI23cqhJ8UAJBm1eZBxO+8msnRpUH7TOcYXiojzgc20tmZczz/C/JB
j63CytP5nVt2lvq9+Wq7uRPudeaipvTtK+0okwqDW6RgsKOKPmjw1QUnvwQcU1u0rdmpbyKUimY8
lukxggLJMIICxQIBATB0MGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVj
aG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0ExGTAXBgkqhkiG9w0BCQEWCnBr
aUBwdGIuZGUCBxecBJBCuQswCQYFKw4DAhoFAKCCASowGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMTYwMzA3MTcwODE3WjAjBgkqhkiG9w0BCQQxFgQUVKA1F/gPPlFe
k7C9q6wyKuALO00wQwYJKoZIhvcNAQkPMTYwNDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYI
KoZIhvcNAwcwDQYIKoZIhvcNAwICASgwgYUGCyqGSIb3DQEJEAILMXagdDBpMQswCQYDVQQGEwJE
RTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0GA1UE
AxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlAgcXnASQQrkLMA0GCSqGSIb3DQEB
AQUABIIBAENMjfk9s8s18ebZIy4GHGS7gs3/W1lkoLhN1qqy7IXx3Kd/23sSen1MkqYzqDjvQjIu
BNfew31m5CftdWUkpgegafizsABo15GIkDkdr6eNhKAxc/abN5no8t9ddn6qV1FBRzpRpPFI+nkD
WACIOTUw5PvyyJv7S1GbtOnSwzWW239lmZ0oTN5jkCzwFepGaXE3ib6/9u6BwPT2t+zTEmpaaxvu
vDKJMrYcypjwNJsKeYyEKEscQNOo9KgjALQz0oMj72J3se3TkluFra19aOw1O2UoMhTZnNeV1b+G
1mqakVGzChjKWWVSESlM7Sp+qrPE56jaCGmMSuQJip2jVW4AAAAA

---------z10565_boundary_sign--

--===============5254277575176808951==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5254277575176808951==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 15:11:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 172BA1CDD85 for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 15:11:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1hlIU_Xk5PBU for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 15:11:08 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfc.amsl.com (Postfix) with ESMTP id E9B8C1CDD7B for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 15:11:08 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7A09F86DB25 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 23:11:08 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id E096586D764 for <ntpwg@lists.ntp.org>; Mon,  7 Mar 2016 22:47:23 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ad3uf-000EcV-1I; Mon, 07 Mar 2016 22:46:05 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160307131625.GA3209@localhost>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Mon, 07 Mar 2016 14:16:25 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 07 Mar 2016 22:46:04 +0000
Message-Id: <E1ad3uf-000EcV-1I@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
> > Originally, if there was an extension field there MUST be a MAC.
> 
> Right. That requirement was not necessary and it was later removed.

Really?  Please say more.  Where can I learn about this?

> > Tal wrrote Errata 3627 (or whatever) and removed that requirement.
> 
> Yes, but why is that a problem?

Because one can legislate the value of pi to be 3 since that would
make so many things easier.  That doesn't mean it's going to work in the
real world.

>> MAC protection is good.  NTS uses a 'single' Field Type, but the first
>> few packets have no MAC protection.  Therefore, the first few packets of
>> an NTS exchange arguably MUST have MAC protection outside the NTS
>> packet
> 
> With what key would that MAC be generated? Unless I misunderstood how
> NTS is supposed to work, the first few packets are simply not
> authenticated and can't be used for anything except initialization of
> the NTS association.

Symmetric key would be an OK choice here.  Preferably using the "MAC in
an EF".

>> We're getting ready to publish a "MAC in an Extension Field", and
>> arguably this is how it should have been originally done.  So in keeping
>> with the above logic, there are 2 pieces of information we want to see
>> for an extension field.  One is "SHOULD or MAY have MAC protection after
>> this field," and the other is "This extension field provides MAC
>> protection."
> 
> What will the receiver of this information do with it?

Whatever it wants.  This goes to giving the client basic information
that is useful in deciding what to do in case the client  gets EFs it
doesn't understand.

> The client must
> have its own policy on what extension fields has to be covered with
> MAC in order to accept the packet. The server can't dictate that.

Of course.

> Normally, the client will require all fields to be covered by MAC if
> authentication is enabled.

Yes.

So where is the confusion here?

>>>> - Use a flag bit in the Field Type that says "My extension field does
>>>> not require a following MAC."
>>> 
>>> Meaning the field is not related to authentication?
>> 
>> Meaning "My extension field does not require a MAC after it".  This is
>> the "MAY" case as opposed to the "SHOULD" case.  An example of this is
>> Tal's checksum complement proposal, as currently written.  If ntpd sends
>> out an unauthenticated packet, the FPGA engine is free to rewrite the
>> transmit timestamp, but since the OS has already computed a UDP
>> checksum, if the transmit timestamp in the packet is changed it's almost
>> certain that a checksum complement will be needed to make sure the
>> existing UDP checksum will still be correct.  That's what Tal's proposal
>> is all about, and it's the first time we've seen a proposal for an
>> extension field where one MUST NOT have a MAC at the end of the packet.
> 
> Ok, but that information is already included in the specification. The
> client or server that generates that field needs to know that.

The >sender< needs to know.  The >recipient< might be running old
software, current software, or software that's aware of these new EFs.

This all goes to what happens down the road when a newer sender is
talking to an older recipient.

If a recipient gets data it does not understand, it may benefit from a
hint as to what's going on with that unknown EF.

>>> The SHA1 MAC is 24 octets, that's why there is a requirement for the
>>> last extension field to be at least 28 octets.
>> 
>> 4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
>> ambiguous.
> 
> A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.
> That's 192 bits or 24 octets total.

OK.  What I remember is hearing that we were seeing 3 sizes of old-style
MACs, and they were 20, 24, and 28 bytes' long.  I'll see what I can
find out.

>> Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
>> prohibit these lengths?
> 
> Because MAC in a packet from an old client could be parsed as one or
> multiple extension fields.

An old client will ONLY send autokey.  So this is a non-issue, right?

It's pretty easy to parse an EF and make sure it's sane.  If the current
spot in the extended payload parses as a good EF, then one can do a
quick check on any following data in the payload and get a good idea as
to what's going on.  At worst, you have a packet that CORRECTLY parses
as both "a bunch of EFs" and "an old-style MAC in a packet that either
has no extension field or is an autokey packet".  If only one of those
interpretations is correct, then we can dance on the head of the
false-negative or false-positive pin.

Remember, this is *only* a POTENTIAL problem when mixing new and old
implementations.  In that case folks may need to administratively
segregate these machines.  We can certainly solve this problem in NTPv5.

>>>> - a MAC consists of a 4-byte keyid and a payload.  If there is no
>>>> autokey extension field, the keyid MUST be <65535, and we SHOULD have
>>> 
>>> Isn't that restriction for keyid just for the autokey RFC? There are
>>> NTP implementations that allow any keyid with symmetric keys.
>> 
>> Originally:
>> 
>> - any extension field meant there MUST be a MAC.
>> - the only defined extention field as been autokey.
>> - if no extension field was present, then no autokey, and a MAC meant
>>   symmetric key was being used.  keyid < 65535.
>> - if an extension field was present, the autokey was being used, there
>>   MUST be a MAC, and  keyid > 65535.
> 
> That applies to the reference implementation, but not necessarily for
> other NTPv4 implementations. They can parse extension fields, but they
> don't have to know anything about autokey and can authenticate with
> MACs using key IDs above 65535.

The RFCs have clear requirements on the keyids.  If an implementation
chooses to be non-compliant that's the implementer's choice.  An
implementation that makes this choice has no leg to stand on if it
doesn't interoperate with compliant implementations.

And in this case it's not really that bad either - this older and
non-compliant implementation simply has to see if the 32-bit keyid is a
valid key in order to disambiguate the packet.

But we're back to the point where if you're running NTP networks where
you have both old and new NTP instances, you may need to have a way to
identify which machines are "old" and which are "new" and communicate
accordingly.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 15:28:13 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 39E381CDDE7 for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 15:28:13 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id vcGMCDX5ORlf for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 15:28:12 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfc.amsl.com (Postfix) with ESMTP id 3E2161CDDE9 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 15:28:12 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DBF0686DB3E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 23:28:11 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 415FD86D9BE; Mon,  7 Mar 2016 22:57:14 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ad42y-000EfP-Da; Mon, 07 Mar 2016 22:54:40 +0000
From: Harlan Stenn <stenn@ntp.org>
To: dieter.sibold@ptb.de
In-reply-to: <OFD1361D67.E13510CC-ONC1257F6F.005BF6CC-C1257F6F.005E2416@ptb.de>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost> <OFD1361D67.E13510CC-ONC1257F6F.005BF6CC-C1257F6F.005E2416@ptb.de>
Comments: In-reply-to dieter.sibold@ptb.de message dated "Mon, 07 Mar 2016 18:08:16 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 07 Mar 2016 22:54:40 +0000
Message-Id: <E1ad42y-000EfP-Da@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, ntpwg <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hi Dieter,

dieter.sibold@ptb.de writes:
> "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
> 07.03.2016 14:16:25:
> 
> > Von: Miroslav Lichvar <mlichvar@redhat.com>
> > An: Harlan Stenn <stenn@ntp.org>
> > Kopie: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen 
> > ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh 
> > Krishnan <suresh.krishnan@ericsson.com>
> > Datum: 07.03.2016 14:40
> > Betreff: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
> > Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> > 
> > On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
> > > Originally, if there was an extension field there MUST be a MAC.
> > 
> > Right. That requirement was not necessary and it was later removed.

The above claim has not yet been proven.

> > > Tal wrrote Errata 3627 (or whatever) and removed that requirement.
> > 
> > Yes, but why is that a problem?

The above is under discussion.

> > > MAC protection is good.  NTS uses a 'single' Field Type, but the first
> > > few packets have no MAC protection.  Therefore, the first few packets 
> of
> > > an NTS exchange arguably MUST have MAC protection outside the NTS
> > > packet
> > 
> > With what key would that MAC be generated? Unless I misunderstood how
> > NTS is supposed to work, the first few packets are simply not
> > authenticated and can't be used for anything except initialization of
> > the NTS association.

Answered in a separate email - symmetric key is AVAILABLE for this.
Doing this is a MAY/SHOULD.  Not a MUST.

> Harlan, I do not agree that you need to protect the association and key 
> exchange of NTS. The goal of the first exchanged messages of NTS is to 
> securely authenticate the server and exchange the cookie. And yes, tough 
> these messages are piggybacked on NTP messages, they do not protect NTP's 
> time stamps. However the NTS messages in itself and especially the cookie 
> exchange message are cryptographically protected. A client has the choice 
> to trust or not to trust the time stamps exchanged during the association 
> and cookie exchange.  After the cookie is being exchanged all following 
> time requests and responses are of course protected by a MAC. So, a client 
> always has the option only to trust the authenticated time stamps. I don't 
> see that anyone want to distribute manually symmetric keys only for the 
> purpose to protect the first three message exchanges of NTS. And if you 
> are in a situation in which you can exchange symmetric keys with your 
> customers you don't need to apply NTS. But in most cases, distribution of 
> symmetric keys are realistically not an option.

Correct.  I am not saying MUST.

Are you saying that each of these 6 initial packets MUST NOT be
protected by any sort of MAC?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 19:52:57 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id B70171CDC3B for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 19:52:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id C2s2-q2SOIHJ for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 19:52:56 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfc.amsl.com (Postfix) with ESMTP id D57011CDC37 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 19:52:56 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4B47186DB48 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 03:52:56 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1BC5486DAA7 for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 03:43:04 +0000 (UTC)
Received: from pool-71-174-223-139.bstnma.east.verizon.net ([71.174.223.139] helo=[10.10.10.102]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1ad8Xm-00059q-Dn; Tue, 08 Mar 2016 03:42:53 +0000
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost> <E1ad3uf-000EcV-1I@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>, Miroslav Lichvar <mlichvar@redhat.com>
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56DE4A34.1070106@ntp.org>
Date: Mon, 7 Mar 2016 22:42:44 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1ad3uf-000EcV-1I@stenn.ntp.org>
X-SA-Exim-Connect-IP: 71.174.223.139
X-SA-Exim-Rcpt-To: suresh.krishnan@ericsson.com, odonoghue@isoc.org, ntpwg@lists.ntp.org, mlichvar@redhat.com, stenn@ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/7/2016 5:46 PM, Harlan Stenn wrote:
> Miroslav Lichvar writes:
>> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
>>> Originally, if there was an extension field there MUST be a MAC.
>>
>> Right. That requirement was not necessary and it was later removed.
> 
> Really?  Please say more.  Where can I learn about this?
> 

I recall that there were conflicting statements in RFC5905 (NTPv4) and
RFC5906 (autokey) when we were doing the extension field draft and that
was one of the reasons that we clarified that the MAC was optional in
that draft. Section 7.3 of RFC5905 indicates that the MAC is optional
but elsewhere it seemed to be required. The EF draft makes it clear that
it is optional though any specific extension field may require it. The
draft was meant to remove the ambiguities.

>>> MAC protection is good.  NTS uses a 'single' Field Type, but the first
>>> few packets have no MAC protection.  Therefore, the first few packets of
>>> an NTS exchange arguably MUST have MAC protection outside the NTS
>>> packet
>>
>> With what key would that MAC be generated? Unless I misunderstood how
>> NTS is supposed to work, the first few packets are simply not
>> authenticated and can't be used for anything except initialization of
>> the NTS association.
> 

>From what I understand from the NTS architects, the early NTS protocol
are protected by the contents and a MAC is not necessary.

> Symmetric key would be an OK choice here.  Preferably using the "MAC in
> an EF".
> 
>>> We're getting ready to publish a "MAC in an Extension Field", and
>>> arguably this is how it should have been originally done.  So in keeping
>>> with the above logic, there are 2 pieces of information we want to see
>>> for an extension field.  One is "SHOULD or MAY have MAC protection after
>>> this field," and the other is "This extension field provides MAC
>>> protection."
>>
>> What will the receiver of this information do with it?
> 
> Whatever it wants.  This goes to giving the client basic information
> that is useful in deciding what to do in case the client  gets EFs it
> doesn't understand.
> 

If it gets EF's it doesn't understand it makes no difference whether or
not it indicates that it requires a MAC. You can't do anything with it.

>> The client must
>> have its own policy on what extension fields has to be covered with
>> MAC in order to accept the packet. The server can't dictate that.
> 
> Of course.
> 
>> Normally, the client will require all fields to be covered by MAC if
>> authentication is enabled.
> 
> Yes.
> 

If you mean the sender then either it provides a MAC of either style or
it doesn't. The MAC covers all parts of the packet until the MAC which
needs to be the last part of the packet. If it uses an extension field
that requires a MAC, not providing it needs to cause the packet to be
dropped by the receiving server.

> So where is the confusion here?
> 
>>>>> - Use a flag bit in the Field Type that says "My extension field does
>>>>> not require a following MAC."
>>>>
>>>> Meaning the field is not related to authentication?
>>>
>>> Meaning "My extension field does not require a MAC after it".  This is
>>> the "MAY" case as opposed to the "SHOULD" case.  An example of this is
>>> Tal's checksum complement proposal, as currently written.  If ntpd sends
>>> out an unauthenticated packet, the FPGA engine is free to rewrite the
>>> transmit timestamp, but since the OS has already computed a UDP
>>> checksum, if the transmit timestamp in the packet is changed it's almost
>>> certain that a checksum complement will be needed to make sure the
>>> existing UDP checksum will still be correct.  That's what Tal's proposal
>>> is all about, and it's the first time we've seen a proposal for an
>>> extension field where one MUST NOT have a MAC at the end of the packet.
>>
>> Ok, but that information is already included in the specification. The
>> client or server that generates that field needs to know that.
> 
> The >sender< needs to know.  The >recipient< might be running old
> software, current software, or software that's aware of these new EFs.
> 
> This all goes to what happens down the road when a newer sender is
> talking to an older recipient.

Yes. See my previous response.

> If a recipient gets data it does not understand, it may benefit from a
> hint as to what's going on with that unknown EF.
> 

No, it has no way of going on with any unknown EF. If you don't
understand it you can't do anything with it.

>>>> The SHA1 MAC is 24 octets, that's why there is a requirement for the
>>>> last extension field to be at least 28 octets.
>>>
>>> 4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
>>> ambiguous.
>>
>> A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.
>> That's 192 bits or 24 octets total.
> 
> OK.  What I remember is hearing that we were seeing 3 sizes of old-style
> MACs, and they were 20, 24, and 28 bytes' long.  I'll see what I can
> find out.

DES is 16, MD5 is 24, SHA1 is 28. Cryto-NAK is 4.
> 
>>> Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
>>> prohibit these lengths?
>>
>> Because MAC in a packet from an old client could be parsed as one or
>> multiple extension fields.
> 
> An old client will ONLY send autokey.  So this is a non-issue, right?

No. An old client may also send symmetric key, ie only a MAC and no EF.

> 
> It's pretty easy to parse an EF and make sure it's sane.  If the current
> spot in the extended payload parses as a good EF, then one can do a
> quick check on any following data in the payload and get a good idea as
> to what's going on.  At worst, you have a packet that CORRECTLY parses
> as both "a bunch of EFs" and "an old-style MAC in a packet that either
> has no extension field or is an autokey packet".  If only one of those
> interpretations is correct, then we can dance on the head of the
> false-negative or false-positive pin.
> 
> Remember, this is *only* a POTENTIAL problem when mixing new and old
> implementations.  In that case folks may need to administratively
> segregate these machines.  We can certainly solve this problem in NTPv5.
> 

See my previous analysis.

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 19:53:06 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id EAB901CDC44 for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 19:53:06 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 4Z5z4EJPGtHg for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 19:53:05 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfc.amsl.com (Postfix) with ESMTP id A4A6E1CDC43 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 19:53:05 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9914886DB4A for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 03:53:05 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 6BA6C86DAE0; Tue,  8 Mar 2016 03:49:39 +0000 (UTC)
Received: from pool-71-174-223-139.bstnma.east.verizon.net ([71.174.223.139] helo=[10.10.10.102]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1ad8eI-0005Jx-Fe; Tue, 08 Mar 2016 03:49:35 +0000
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost> <OFD1361D67.E13510CC-ONC1257F6F.005BF6CC-C1257F6F.005E2416@ptb.de> <E1ad42y-000EfP-Da@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>, dieter.sibold@ptb.de
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56DE4BC8.9000103@ntp.org>
Date: Mon, 7 Mar 2016 22:49:28 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1ad42y-000EfP-Da@stenn.ntp.org>
X-SA-Exim-Connect-IP: 71.174.223.139
X-SA-Exim-Rcpt-To: ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org, suresh.krishnan@ericsson.com, ntpwg@lists.ntp.org, odonoghue@isoc.org, dieter.sibold@ptb.de, stenn@ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, ntpwg <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/7/2016 5:54 PM, Harlan Stenn wrote:
> Hi Dieter,
> 
> dieter.sibold@ptb.de writes:
>> "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
>> 07.03.2016 14:16:25:
>>
>>> Von: Miroslav Lichvar <mlichvar@redhat.com>
>>> An: Harlan Stenn <stenn@ntp.org>
>>> Kopie: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, "Karen 
>>> ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, Suresh 
>>> Krishnan <suresh.krishnan@ericsson.com>
>>> Datum: 07.03.2016 14:40
>>> Betreff: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
>>> Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
>>>
>>> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
>>>> Originally, if there was an extension field there MUST be a MAC.
>>>
>>> Right. That requirement was not necessary and it was later removed.
> 
> The above claim has not yet been proven.
> 

See RFC 5905 Section 7.3 where it was optional but 7.5 said it was
required in the presence of an extension field. It was ambiguous and has
been clarified in the EF draft.

>>>> MAC protection is good.  NTS uses a 'single' Field Type, but the first
>>>> few packets have no MAC protection.  Therefore, the first few packets 
>> of
>>>> an NTS exchange arguably MUST have MAC protection outside the NTS
>>>> packet
>>>
>>> With what key would that MAC be generated? Unless I misunderstood how
>>> NTS is supposed to work, the first few packets are simply not
>>> authenticated and can't be used for anything except initialization of
>>> the NTS association.
> 
> Answered in a separate email - symmetric key is AVAILABLE for this.
> Doing this is a MAY/SHOULD.  Not a MUST.
> 
>> Harlan, I do not agree that you need to protect the association and key 
>> exchange of NTS. The goal of the first exchanged messages of NTS is to 
>> securely authenticate the server and exchange the cookie. And yes, tough 
>> these messages are piggybacked on NTP messages, they do not protect NTP's 
>> time stamps. However the NTS messages in itself and especially the cookie 
>> exchange message are cryptographically protected. A client has the choice 
>> to trust or not to trust the time stamps exchanged during the association 
>> and cookie exchange.  After the cookie is being exchanged all following 
>> time requests and responses are of course protected by a MAC. So, a client 
>> always has the option only to trust the authenticated time stamps. I don't 
>> see that anyone want to distribute manually symmetric keys only for the 
>> purpose to protect the first three message exchanges of NTS. And if you 
>> are in a situation in which you can exchange symmetric keys with your 
>> customers you don't need to apply NTS. But in most cases, distribution of 
>> symmetric keys are realistically not an option.
> 
> Correct.  I am not saying MUST.
> 
> Are you saying that each of these 6 initial packets MUST NOT be
> protected by any sort of MAC?

What he's sayinmg is that the NTS exchange does not need to be protected
by a MAC. The Timestamps may need it if you want to use them or you wait
for NTS to complete its protocol exchange before trusting the packets.

Danny
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 21:22:37 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 362261CDEF6 for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 21:22:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id saCSh0I5sZAN for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 21:22:35 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfc.amsl.com (Postfix) with ESMTP id C6ACA1CDEF1 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 21:22:35 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B2F8B86DB4E for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 05:22:35 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 8337A86D4A6 for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 05:01:42 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ad9m6-000FC3-9g; Tue, 08 Mar 2016 05:01:38 +0000
From: Harlan Stenn <stenn@ntp.org>
To: mayer@ntp.org
In-reply-to: <56DE4A34.1070106@ntp.org>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost> <E1ad3uf-000EcV-1I@stenn.ntp.org> <56DE4A34.1070106@ntp.org>
Comments: In-reply-to Danny Mayer <mayer@ntp.org> message dated "Mon, 07 Mar 2016 22:42:44 -0500."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 08 Mar 2016 05:01:38 +0000
Message-Id: <E1ad9m6-000FC3-9g@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny Mayer writes:
> On 3/7/2016 5:46 PM, Harlan Stenn wrote:
> > Miroslav Lichvar writes:
> >> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
> >>> Originally, if there was an extension field there MUST be a MAC.
> >>
> >> Right. That requirement was not necessary and it was later removed.
> > 
> > Really?  Please say more.  Where can I learn about this?
> > 
> 
> I recall that there were conflicting statements in RFC5905 (NTPv4) and
> RFC5906 (autokey) when we were doing the extension field draft and that
> was one of the reasons that we clarified that the MAC was optional in
> that draft. Section 7.3 of RFC5905 indicates that the MAC is optional
> but elsewhere it seemed to be required. The EF draft makes it clear that
> it is optional though any specific extension field may require it. The
> draft was meant to remove the ambiguities.

Autokey has ALWAYS required MAC authentication.

If y'all clarified it otherwise that was a mistake, and it SHOULD be
rectified.

See https://www.eecis.udel.edu/~mills/ntp/html/autokey.html for more
information.

I find it disturbing that an error of this magnitude was able to make it
this far given the level and quantity of people who looked at it.

I'm being a bit harsh.  Regardless of whether or not that harshness is
justified, I'm open to learning a better way to communicate these points.

>>>> MAC protection is good.  NTS uses a 'single' Field Type, but the first
>>>> few packets have no MAC protection.  Therefore, the first few packets of
>>>> an NTS exchange arguably MUST have MAC protection outside the NTS
>>>> packet
>>>
>>> With what key would that MAC be generated? Unless I misunderstood how
>>> NTS is supposed to work, the first few packets are simply not
>>> authenticated and can't be used for anything except initialization of
>>> the NTS association.
> 
> From what I understand from the NTS architects, the early NTS protocol
> are protected by the contents and a MAC is not necessary.

I've asked.

But this issue is more than just NTS.

>> Symmetric key would be an OK choice here.  Preferably using the "MAC in
>> an EF".
>> 
>>>> We're getting ready to publish a "MAC in an Extension Field", and
>>>> arguably this is how it should have been originally done.  So in keeping
>>>> with the above logic, there are 2 pieces of information we want to see
>>>> for an extension field.  One is "SHOULD or MAY have MAC protection after
>>>> this field," and the other is "This extension field provides MAC
>>>> protection."
>>>
>>> What will the receiver of this information do with it?
>> 
>> Whatever it wants.  This goes to giving the client basic information
>> that is useful in deciding what to do in case the client  gets EFs it
>> doesn't understand.
>> 
> 
> If it gets EF's it doesn't understand it makes no difference whether or
> not it indicates that it requires a MAC. You can't do anything with it.

That's not true.

If the EF says "I am a MAC" and the client doesn't
understand it, then the client can look for an old-style MAC.

If the unknown EF says "I don't NEED a MAC" then context can provide
information as to whether or not it makes a difference.

I think the better questiion is why do you want to categoricaly deny
this information to the client?

>>> The client must
>>> have its own policy on what extension fields has to be covered with
>>> MAC in order to accept the packet. The server can't dictate that.
>> 
>> Of course.
>> 
>>> Normally, the client will require all fields to be covered by MAC if
>>> authentication is enabled.
>> 
>> Yes.
> 
> If you mean the sender then either it provides a MAC of either style or
> it doesn't. The MAC covers all parts of the packet until the MAC

Yes.

> which needs to be the last part of the packet.

No.  It just means that the MAC verifies content up to the MAC.

My alternative to Tal's proposal *allows* a "MAC as an EF", and the
checksum complement that comes after this has the bit that says "I do
not need a MAC".  So what is protected is the base NTP packet, any other
EFs, and the "MAC as and EF".  The only other subsequent data in the
packet is the "precision transmit adjustmenet and the checksum
complement".

This last EF is *not* protected, and that's OK.

> If it uses an extension
> field that requires a MAC, not providing it needs to cause the packet
> to be dropped by the receiving server.

Sure.

>> So where is the confusion here?
>> 
>>>>>> - Use a flag bit in the Field Type that says "My extension field does
>>>>>> not require a following MAC."
>>>>>
>>>>> Meaning the field is not related to authentication?
>>>>
>>>> Meaning "My extension field does not require a MAC after it".  This is
>>>> the "MAY" case as opposed to the "SHOULD" case.  An example of this is
>>>> Tal's checksum complement proposal, as currently written.  If ntpd sends
>>>> out an unauthenticated packet, the FPGA engine is free to rewrite the
>>>> transmit timestamp, but since the OS has already computed a UDP
>>>> checksum, if the transmit timestamp in the packet is changed it's almost
>>>> certain that a checksum complement will be needed to make sure the
>>>> existing UDP checksum will still be correct.  That's what Tal's proposal
>>>> is all about, and it's the first time we've seen a proposal for an
>>>> extension field where one MUST NOT have a MAC at the end of the packet.
>>>
>>> Ok, but that information is already included in the specification. The
>>> client or server that generates that field needs to know that.
>> 
>> The >sender< needs to know.  The >recipient< might be running old
>> software, current software, or software that's aware of these new EFs.
>> 
>> This all goes to what happens down the road when a newer sender is
>> talking to an older recipient.
> 
> Yes. See my previous response.

Yes, and please note what I wrote above.

>> If a recipient gets data it does not understand, it may benefit from a
>> hint as to what's going on with that unknown EF.
> 
> No, it has no way of going on with any unknown EF. If you don't
> understand it you can't do anything with it.

Danny, I think you are too sure of your facts.

For example, if a client sees an EF that says "I don't need a MAC" and
the client doesn't understand that EF, the client has *less* reason to
drop the entire packet.

Note well what you wrote above:

  If it uses an extension
  field that requires a MAC, not providing it needs to cause the packet
  to be dropped by the receiving server.

so you are now arguing both sides of your position.

>>>>> The SHA1 MAC is 24 octets, that's why there is a requirement for the
>>>>> last extension field to be at least 28 octets.
>>>>
>>>> 4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
>>>> ambiguous.
>>>
>>> A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.
>>> That's 192 bits or 24 octets total.
>> 
>> OK.  What I remember is hearing that we were seeing 3 sizes of old-style
>> MACs, and they were 20, 24, and 28 bytes' long.  I'll see what I can
>> find out.
> 
> DES is 16, MD5 is 24, SHA1 is 28. Cryto-NAK is 4.

Miroslav disagrees with you, but what you wrote is what I recall, too.

If there is a 28 byte MAC field, then that errata is wrong.  Regardless,
the errata change does not allow for longer digests.

>>>> Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
>>>> prohibit these lengths?
>>>
>>> Because MAC in a packet from an old client could be parsed as one or
>>> multiple extension fields.
>> 
>> An old client will ONLY send autokey.  So this is a non-issue, right?
> 
> No. An old client may also send symmetric key, ie only a MAC and no EF.

Huh?  You don't seem to be paying attention.  The premise here is that
extension field that DOES NOT have the same length of a MAC is allowed.

So if we're to believe that "we should not allow an EF that has the same
length as a MAC" then what you say makes no sense.  Furthermoer, it's
only the *last* EF that would have this length restriction.

>> It's pretty easy to parse an EF and make sure it's sane.  If the current
>> spot in the extended payload parses as a good EF, then one can do a
>> quick check on any following data in the payload and get a good idea as
>> to what's going on.  At worst, you have a packet that CORRECTLY parses
>> as both "a bunch of EFs" and "an old-style MAC in a packet that either
>> has no extension field or is an autokey packet".  If only one of those
>> interpretations is correct, then we can dance on the head of the
>> false-negative or false-positive pin.
>> 
>> Remember, this is *only* a POTENTIAL problem when mixing new and old
>> implementations.  In that case folks may need to administratively
>> segregate these machines.  We can certainly solve this problem in NTPv5.
> 
> See my previous analysis.

Your analysis is clearly wrong from what I can see.

Please read what I wrote more carefully.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar  7 22:40:39 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfc.amsl.com (Postfix) with ESMTP id 317811CE0B4 for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 22:40:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([4.31.198.41]) by localhost (ietfc.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id k5_eKifWRmuC for <ietfarch-ntp-archives-ahFae6za@ietfc.amsl.com>; Mon,  7 Mar 2016 22:40:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfc.amsl.com (Postfix) with ESMTP id 1E2E41CE0B9 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon,  7 Mar 2016 22:40:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id AECE686DAF7 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 06:40:37 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 3FC7086D4A6; Tue,  8 Mar 2016 06:24:53 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1adAzY-000FGy-R5; Tue, 08 Mar 2016 06:19:36 +0000
From: Harlan Stenn <stenn@ntp.org>
To: mayer@ntp.org
In-reply-to: <56DE4BC8.9000103@ntp.org>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost> <OFD1361D67.E13510CC-ONC1257F6F.005BF6CC-C1257F6F.005E2416@ptb.de> <E1ad42y-000EfP-Da@stenn.ntp.org> <56DE4BC8.9000103@ntp.org>
Comments: In-reply-to Danny Mayer <mayer@ntp.org> message dated "Mon, 07 Mar 2016 22:49:28 -0500."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 08 Mar 2016 06:19:36 +0000
Message-Id: <E1adAzY-000FGy-R5@stenn.ntp.org>
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>, "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, ntpwg <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny Mayer writes:
> On 3/7/2016 5:54 PM, Harlan Stenn wrote:
>> Hi Dieter,
>> 
>> dieter.sibold@ptb.de writes:
>>> "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
>>> 07.03.2016 14:16:25:
>>>> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
>>>>> Originally, if there was an extension field there MUST be a MAC.
>>>>
>>>> Right. That requirement was not necessary and it was later removed.
>> 
>> The above claim has not yet been proven.
> 
> See RFC 5905 Section 7.3 where it was optional but 7.5 said it was
> required in the presence of an extension field. It was ambiguous and has
> been clarified in the EF draft.

Yes.  It is optional UNLESS THERE IS AN EF.  Then it is required.

If the errata does not make this clear or reinforce this, the
"clarification" in the errata is wrong.

>>>>> MAC protection is good.  NTS uses a 'single' Field Type, but the
>>>>> first few packets have no MAC protection.  Therefore, the first
>>>>> few packets of an NTS exchange arguably MUST have MAC protection
>>>>> outside the NTS packet
>>>>
>>>> With what key would that MAC be generated? Unless I misunderstood
>>>> how NTS is supposed to work, the first few packets are simply not
>>>> authenticated and can't be used for anything except initialization
>>>> of the NTS association.
>> 
>> Answered in a separate email - symmetric key is AVAILABLE for this.
>> Doing this is a MAY/SHOULD.  Not a MUST.

If the above quote came from me, it's not clear that the first few
packets of the NTS exchange MAY/SHOULD have MAC protection.  I don't
recall the context anymore.

Starting with the 7th NTS packet, the NTS EF has a MAC.

We need to see what, if any, extra protection should be applied to the
first 6 packets.

>>> Harlan, I do not agree that you need to protect the association and
>>> key exchange of NTS. The goal of the first exchanged messages of NTS
>>> is to securely authenticate the server and exchange the cookie.

Please 'splain to me how you can "securely authenticate the server and
exchange the cookie" with no MAC on the first exchanged message.

>>> And yes, tough these messages are piggybacked on NTP messages, they
>>> do not protect NTP's time stamps. However the NTS messages in itself
>>> and especially the cookie exchange message are cryptographically
>>> protected.

So the first 6 messages are cryptographically protected but the
timestamps are not protected?

I have not dug in to the NTS protocol dance.  I am curious how the
initial cookie exchange can be trusted if the timestamps are not
protected.

>>> A client has the choice to trust or not to trust the time
>>> stamps exchanged during the association and cookie exchange.

The iburst exchange is an ideal opportunity to exchange NTS keys.  It's
also a critically important time to exchange trustable timestamps.

So the first 3 of 8 exchanges SHOULD be protected with a MAC until NTS
is protecting the timestamps, as that's the startup period where we're
trying to quickly and safely get enough samples to get the filter primed
and see if the loop is stable.

>>> After the cookie is being exchanged all following time requests and
>>> responses are of course protected by a MAC. So, a client always has
>>> the option only to trust the authenticated time stamps. I don't see
>>> that anyone want to distribute manually symmetric keys only for the
>>> purpose to protect the first three message exchanges of NTS.

iburst.  Folks want ntpd stabilized in the first 11 seconds' time.  If
that takes 15 or 17 seconds' time because we have to ignore the first
few packets that will cause complaints, but these folks can set up
symmetric keys or make other changes to mitigate this problem.

We're expecting NTS to be of more value in a WAN setting than in a LAN
setting, right?

>>> And if you are in a situation in which you can exchange symmetric
>>> keys with your customers you don't need to apply NTS. But in most
>>> cases, distribution of symmetric keys are realistically not an
>>> option.
>> 
>> Correct.  I am not saying MUST.
>> 
>> Are you saying that each of these 6 initial packets MUST NOT be
>> protected by any sort of MAC?
> 
> What he's saying is that the NTS exchange does not need to be protected
> by a MAC. The Timestamps may need it if you want to use them or you wait
> for NTS to complete its protocol exchange before trusting the packets.

I asked what YOU were saying, Danny, not what Dieter was saying.
Somebody removed a response in there.

Let's get clarification from Dieter, et al on this point.

And you're assuming the sender can dictate policy to the recipient
again.

It's the recipient's choice as to whether or not it will accept
unauthenticated packets.

I'm also curious to see how NTS plays with iburst.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  8 04:25:08 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0517412D66A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 04:25:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.02
X-Spam-Level:
X-Spam-Status: No, score=-5.02 tagged_above=-999 required=5 tests=[BAYES_40=-0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id eNGml7qlwOGz for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 04:25:04 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id BA00A12D620 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 04:25:04 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 756BA86DB23 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 12:25:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id A165F86DB12 for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 10:48:08 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1adFBE-000BeC-D6 for ntpwg@lists.ntp.org; Tue, 08 Mar 2016 10:48:08 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u28AlsVq002936-u28AlsVs002936 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Tue, 8 Mar 2016 11:47:54 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id C826535743 for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 11:47:54 +0100 (CET)
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF20FC4223.F91D19C1-ONC1257F70.003B49E4-C1257F70.003B5121@ptb.de>
From: kristof.teichel@ptb.de
Date: Tue, 8 Mar 2016 11:47:53 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] WG: Some clarification on NTS topics in the context of overall MAC protection (Was: Re: The next step of draft-ietf-ntp-checksum-trailer)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5314914107171618077=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============5314914107171618077==
Content-Type: multipart/alternative; boundary="=_alternative 003B511FC1257F70_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 003B511FC1257F70_=
Content-Type: text/plain; charset="US-ASCII"

(Re-labeled because the content of this mail has next to nothing to do 
with the checksum trailer draft)

> >>> Harlan, I do not agree that you need to protect the association and
> >>> key exchange of NTS. The goal of the first exchanged messages of NTS
> >>> is to securely authenticate the server and exchange the cookie.
> 
> Please 'splain to me how you can "securely authenticate the server and
> exchange the cookie" with no MAC on the first exchanged message.

In one message exchange (association exchange), the client Alice receives 
a certificate (possibly a chain of certificates) from the server Bob, 
which links trust back to a trust anchor Trent.
Alice checks these certificates to obtain a guarantee of the pattern "I 
trust that Bob owns the private key X^-1 with which he can generate 
signatures that everyone can verify with the matching public key X. I 
trust that this is true because Trent says that it is."

In the following message exchange (cookie exchange), the client Alice 
supplies to Bob a certificate and a public key Y of her own, to which only 
she possesses the matching private key Y^-1. Bob generates the cookie C 
(from two input values: a secret seed Value S known only to him, and the 
hash value of Alice's certificate) which is to be used for the Alice-Bob 
association, he encrypts it with Alice's public key Y, signs the result 
with his own private key X^-1 and sends the whole resulting construct back 
to her.
Alice verifies the signature with Bob's public key X, and decrypts the 
cookie with her private key Y^-1. From this she obtains a guarantee of the 
pattern "I trust that the cookie C that I received is known only to me, 
because it was encrypted so that only I, the owner of Y, can read it. I 
further trust that C was intended for me by Bob, because the encrypted 
data was signed with X^-1, which Bob is the owner of."

>From there on out, Alice sends the hash of her certificate in every time 
request. If the answering participant is able to generate a MAC which uses 
the cookie C as key, then he must be Bob, since only Alice and Bob are 
able to know C.

This is roughly how we securely authenticate the server and exchange the 
cookie without a MAC.



> >>> And yes, tough these messages are piggybacked on NTP messages, they
> >>> do not protect NTP's time stamps. However the NTS messages in itself
> >>> and especially the cookie exchange message are cryptographically
> >>> protected.
> 
> So the first 6 messages are cryptographically protected but the
> timestamps are not protected?

Yes: during the initial 3 exchanges, the actual NTS-related security data 
is protected, but the timestamps are not.

> 
> I have not dug in to the NTS protocol dance.  I am curious how the
> initial cookie exchange can be trusted if the timestamps are not
> protected.

I hope the text above serves to answer this?


 
> So the first 3 of 8 exchanges SHOULD be protected with a MAC until NTS
> is protecting the timestamps, as that's the startup period where we're
> trying to quickly and safely get enough samples to get the filter primed
> and see if the loop is stable.
> 
> >>> After the cookie is being exchanged all following time requests and
> >>> responses are of course protected by a MAC. So, a client always has
> >>> the option only to trust the authenticated time stamps. I don't see
> >>> that anyone want to distribute manually symmetric keys only for the
> >>> purpose to protect the first three message exchanges of NTS.
> 
> iburst.  Folks want ntpd stabilized in the first 11 seconds' time.  If
> that takes 15 or 17 seconds' time because we have to ignore the first
> few packets that will cause complaints, but these folks can set up
> symmetric keys or make other changes to mitigate this problem.

I fail to see how setting up a symmetric key in order to save 4 to 6 
seconds of time during an initial exchange is a good trade-off: I imagine 
that setting a symmetric key up is going to take more time than what is 
saved. Am I wrong here?

This also leads to the next point: one huge benefit of NTS based security 
over symmetric-key based security is that a server does not have to 
memorize data for each secure client association. On the one hand, this is 
an additional cost that needs to be considered in the trade-off discussed 
above. On the other hand, it illustrates my answer to the following 
question: 

> We're expecting NTS to be of more value in a WAN setting than in a LAN
> setting, right?

I wouldn't differentiate WAN vs. LAN so much as I would differentiate 
"many clients per server" vs. "few clients per server". We are expecting 
that NTS gives more value the more clients a single server wants to supply 
with time.



Let me try and sort out a piece of conversation.
Dieter:
> >>> And if you are in a situation in which you can exchange symmetric
> >>> keys with your customers you don't need to apply NTS. But in most
> >>> cases, distribution of symmetric keys are realistically not an
> >>> option.

Harlan: 
> >> Correct.  I am not saying MUST.
> >> 
> >> Are you saying that each of these 6 initial packets MUST NOT be
> >> protected by any sort of MAC?

Danny:
> > What he's saying is that the NTS exchange does not need to be 
protected
> > by a MAC. The Timestamps may need it if you want to use them or you 
wait
> > for NTS to complete its protocol exchange before trusting the packets.

Harlan:
> I asked what YOU were saying, Danny, not what Dieter was saying.
> Somebody removed a response in there.
> 
> Let's get clarification from Dieter, et al on this point.

As discussed above, we do not require MACs to protect the security data in 
the initial NTS exchanges.
To clarify: we are not saying that the initial packets MUST NOT be 
protected by any kind of MAC. If there already is other security stuff 
going on when NTS is set up, I suppose it might make sense to continue 
with it, to protect the time data in the exchanges where NTS does not 
protect them or simply in addition to NTS.
What we are saying is that we would absolutely NOT RECOMMEND setting up 
any other kind of security association solely for the initial 3 exchanges, 
simply because this setup process is more than likely to cause more effort 
than waiting until those initial exchanges are over.


Best regards,
Kristof

--=_alternative 003B511FC1257F70_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">(Re-labeled because the content of this
mail has next to nothing to do with the checksum trailer draft)</font>
<br><tt><font size=2><br>
&gt; &gt;&gt;&gt; Harlan, I do not agree that you need to protect the association
and<br>
&gt; &gt;&gt;&gt; key exchange of NTS. The goal of the first exchanged
messages of NTS<br>
&gt; &gt;&gt;&gt; is to securely authenticate the server and exchange the
cookie.<br>
&gt; <br>
&gt; Please 'splain to me how you can &quot;securely authenticate the server
and<br>
&gt; exchange the cookie&quot; with no MAC on the first exchanged message.</font></tt>
<br>
<br><tt><font size=2>In one message exchange (association exchange), the
client Alice receives a certificate (possibly a chain of certificates)
from the server Bob, which links trust back to a trust anchor Trent.</font></tt>
<br><tt><font size=2>Alice checks these certificates to obtain a guarantee
of the pattern &quot;I trust that Bob owns the private key X^-1 with which
he can generate signatures that everyone can verify with the matching public
key X. I trust that this is true because Trent says that it is.&quot;</font></tt>
<br>
<br><tt><font size=2>In the following message exchange (cookie exchange),
the client Alice supplies to Bob a certificate and a public key Y of her
own, to which only she possesses the matching private key Y^-1. Bob generates
the cookie C (from two input values: a secret seed Value S known only to
him, and the hash value of Alice's certificate) which is to be used for
the Alice-Bob association, he encrypts it with Alice's public key Y, signs
the result with his own private key X^-1 and sends the whole resulting
construct back to her.</font></tt>
<br><tt><font size=2>Alice verifies the signature with Bob's public key
X, and decrypts the cookie with her private key Y^-1. From this she obtains
a guarantee of the pattern &quot;I trust that the cookie C that I received
is known only to me, because it was encrypted so that only I, the owner
of Y, can read it. I further trust that C was intended for me by Bob, because
the encrypted data was signed with X^-1, which Bob is the owner of.&quot;</font></tt>
<br>
<br><tt><font size=2>From there on out, Alice sends the hash of her certificate
in every time request. If the answering participant is able to generate
a MAC which uses the cookie C as key, then he must be Bob, since only Alice
and Bob are able to know C.</font></tt>
<br>
<br><tt><font size=2>This is roughly how we securely authenticate the server
and exchange the cookie without a MAC.</font></tt>
<br>
<br>
<br><tt><font size=2><br>
&gt; &gt;&gt;&gt; And yes, tough these messages are piggybacked on NTP
messages, they<br>
&gt; &gt;&gt;&gt; do not protect NTP's time stamps. However the NTS messages
in itself<br>
&gt; &gt;&gt;&gt; and especially the cookie exchange message are cryptographically<br>
&gt; &gt;&gt;&gt; protected.<br>
&gt; <br>
&gt; So the first 6 messages are cryptographically protected but the<br>
&gt; timestamps are not protected?</font></tt>
<br>
<br><tt><font size=2>Yes: during the initial 3 exchanges, the actual NTS-related
security data is protected, but the timestamps are not.</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; I have not dug in to the NTS protocol dance. &nbsp;I am curious how
the<br>
&gt; initial cookie exchange can be trusted if the timestamps are not<br>
&gt; protected.</font></tt>
<br>
<br><tt><font size=2>I hope the text above serves to answer this?</font></tt>
<br>
<br><tt><font size=2><br>
 <br>
&gt; So the first 3 of 8 exchanges SHOULD be protected with a MAC until
NTS<br>
&gt; is protecting the timestamps, as that's the startup period where we're<br>
&gt; trying to quickly and safely get enough samples to get the filter
primed<br>
&gt; and see if the loop is stable.<br>
&gt; <br>
&gt; &gt;&gt;&gt; After the cookie is being exchanged all following time
requests and<br>
&gt; &gt;&gt;&gt; responses are of course protected by a MAC. So, a client
always has<br>
&gt; &gt;&gt;&gt; the option only to trust the authenticated time stamps.
I don't see<br>
&gt; &gt;&gt;&gt; that anyone want to distribute manually symmetric keys
only for the<br>
&gt; &gt;&gt;&gt; purpose to protect the first three message exchanges
of NTS.<br>
&gt; <br>
&gt; iburst. &nbsp;Folks want ntpd stabilized in the first 11 seconds'
time. &nbsp;If<br>
&gt; that takes 15 or 17 seconds' time because we have to ignore the first<br>
&gt; few packets that will cause complaints, but these folks can set up<br>
&gt; symmetric keys or make other changes to mitigate this problem.</font></tt>
<br>
<br><tt><font size=2>I fail to see how setting up a symmetric key in order
to save 4 to 6 seconds of time during an initial exchange is a good trade-off:
I imagine that setting a symmetric key up is going to take more time than
what is saved. Am I wrong here?</font></tt>
<br>
<br><tt><font size=2>This also leads to the next point: one huge benefit
of NTS based security over symmetric-key based security is that a server
does not have to memorize data for each secure client association. On the
one hand, this is an additional cost that needs to be considered in the
trade-off discussed above. On the other hand, it illustrates my answer
to the following question: </font></tt>
<br><tt><font size=2><br>
&gt; We're expecting NTS to be of more value in a WAN setting than in a
LAN<br>
&gt; setting, right?</font></tt>
<br>
<br><tt><font size=2>I wouldn't differentiate WAN vs. LAN so much as I
would differentiate &quot;many clients per server&quot; vs. &quot;few clients
per server&quot;. We are expecting that NTS gives more value the more clients
a single server wants to supply with time.</font></tt>
<br>
<br>
<br>
<br><tt><font size=2>Let me try and sort out a piece of conversation.</font></tt>
<br><tt><font size=2>Dieter:<br>
&gt; &gt;&gt;&gt; And if you are in a situation in which you can exchange
symmetric<br>
&gt; &gt;&gt;&gt; keys with your customers you don't need to apply NTS.
But in most<br>
&gt; &gt;&gt;&gt; cases, distribution of symmetric keys are realistically
not an<br>
&gt; &gt;&gt;&gt; option.</font></tt>
<br><tt><font size=2><br>
Harlan: <br>
&gt; &gt;&gt; Correct. &nbsp;I am not saying MUST.<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Are you saying that each of these 6 initial packets MUST
NOT be<br>
&gt; &gt;&gt; protected by any sort of MAC?<br>
</font></tt>
<br><tt><font size=2>Danny:<br>
&gt; &gt; What he's saying is that the NTS exchange does not need to be
protected<br>
&gt; &gt; by a MAC. The Timestamps may need it if you want to use them
or you wait<br>
&gt; &gt; for NTS to complete its protocol exchange before trusting the
packets.<br>
</font></tt>
<br><tt><font size=2>Harlan:<br>
&gt; I asked what YOU were saying, Danny, not what Dieter was saying.<br>
&gt; Somebody removed a response in there.<br>
&gt; <br>
&gt; Let's get clarification from Dieter, et al on this point.</font></tt>
<br>
<br><tt><font size=2>As discussed above, we do not require MACs to protect
the security data in the initial NTS exchanges.</font></tt>
<br><tt><font size=2>To clarify: we are not saying that the initial packets
MUST NOT be protected by any kind of MAC. If there already is other security
stuff going on when NTS is set up, I suppose it might make sense to continue
with it, to protect the time data in the exchanges where NTS does not protect
them or simply in addition to NTS.</font></tt>
<br><tt><font size=2>What we are saying is that we would absolutely NOT
RECOMMEND setting up any other kind of security association solely for
the initial 3 exchanges, simply because this setup process is more than
likely to cause more effort than waiting until those initial exchanges
are over.<br>
</font></tt>
<br>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
<br>
--=_alternative 003B511FC1257F70_=--

--===============5314914107171618077==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5314914107171618077==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  8 04:27:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4011512D668 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 04:27:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id uN3StN14Lukb for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 04:27:14 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 9443912D620 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 04:27:14 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8A1C086DB5C for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 12:27:14 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id ACD8086DB12; Tue,  8 Mar 2016 11:05:22 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1adFRw-000BoY-HQ; Tue, 08 Mar 2016 11:05:22 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id B1424335EB7; Tue,  8 Mar 2016 11:05:11 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u28B59FA011732; Tue, 8 Mar 2016 06:05:10 -0500
Date: Tue, 8 Mar 2016 12:05:09 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: dieter.sibold@ptb.de
Message-ID: <20160308110509.GB21111@localhost>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org> <20160301114348.GA12938@localhost> <E1abXaT-0008P9-3o@stenn.ntp.org> <OF6C515E81.FF15F07D-ONC1257F6F.00573A94-C1257F6F.005874A0@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <OF6C515E81.FF15F07D-ONC1257F6F.00573A94-C1257F6F.005874A0@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, ntpwg <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Mon, Mar 07, 2016 at 05:06:10PM +0100, dieter.sibold@ptb.de wrote:
> Hi all,
> 
> according to our understanding of the symmetric mode we added the 
> following language to the draft in order to describe how NTS protects the 
> peer associations.

Thanks for looking into that. I've few comments. 

> First: We added section 4.2 "Symmetric (Peer) Modes"
> 
>       <section title="Symmetric (Peer) Modes">
>         <t>For the symmetric modes (active/active, active/passive), NTS 
> works
>         as it does for the client/server mode, except that both 
> participants
>         have to save state information. The participant who first sends a 
> peer
>         message takes the role of the client, a participant who first 
> receives
>         a peer message takes the role of the server, except that it keeps

This is an interesting approach.

For ephemeral associations I think the server/client direction of the
NTS association is clear. But for persistent associations, what if
both peers send packets before receiving reply from the other peer?
What should happen when one of them is restarted, is the NTS
server/client direction allowed to switch?

>         additional state to strengthen the security guarantees it
>         receives.</t>
>       </section>

An issue I pointed out earlier and that I'd like to see the NTS
implementation in NTP to address is DoS attack on symmetric
associations. The NTS association should be able to form and continue
to work even when an attacker is sending spoofed packets to the peers.

To allow that, I think the peer in the server NTS role shouldn't
keep or update any state and should respond to all packets from the
other peer immediately as if they were client mode packets until it
can save the KIV of the other peer and is ready for time_* messages.
That is also the point when ephemeral associations should be created.

> Second: We changed respectively added language to  the section 5.2.1 "The 
> Server in Unicast Mode". 
> 
>               <t>Upon receipt of a client_cook message, the server checks
>               whether it supports the given cryptographic algorithms. The
>               server MAY use the client's certificate to authenticate the
>               client and to check that it is authorized to use the secure 
> time
>               synchronization service. <list style="symbols">
>                   <t>In the case where a client_cook message was received 
> in
>                   the context of an NTP peer (mode 1) association, the
>                   aforementioned authentication and authorization checks 
> MUST
>                   be performed. If these checks are successfull, the 
> server
>                   MUST memorize the hash value of the client's
>                   certificate.</t>
>                 </list>After successfully performing the checks, the 
> server
>               MUST calculate the cookie and then construct a server_cook
>               message as described in <xref
>               target="I-D.ietf-ntp-network-time-security"/>.</t>
> 
>              <t>Upon receipt of a time_request message, the server
>               re-calculates the cookie and the MAC for that time_request
>               packet and compares this value with the MAC in the received
>               data. <list style="symbols">
>                   <t>If the re-calculated MAC does not match the MAC in 
> the
>                   received data the server MUST stop the processing of the
>                   request.</t>
> 
>                   <t>If the re-calculated MAC matches the MAC in the 
> received
>                   data the server computes the necessary time 
> synchronization
>                   data and constructs a time_response message as given in
>                   <xref target="I-D.ietf-ntp-network-time-security"/>.</t>
>                 </list>If the time_request message was received in the 
> context
>               of an NTP peer (mode 1) association, the server MUST check 
> that
>               it has memorized the given hash value of the client's
>               certificate. If it has not, it MUST NOT use the NTP message
>               contents for adjusting its own clock.</t>
>             </list></t>
> 
> Any comments?


-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  8 04:29:43 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E7E3112D694 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 04:29:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id DfJdI5wFWa42 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 04:29:42 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 607BD12D684 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 04:29:42 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 285AC86DB69 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 12:29:42 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 88AC886DB12 for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 11:30:00 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1adFpi-000H58-TR for ntpwg@lists.ntp.org; Tue, 08 Mar 2016 11:29:59 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u28BTjIS008048-u28BTjIU008048 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Tue, 8 Mar 2016 12:29:45 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 10A4B357BF for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 12:29:45 +0100 (CET)
In-Reply-To: <E1ad9m6-000FC3-9g@stenn.ntp.org>
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com>	<E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost>	<E1acsHr-000Dmy-Bf@stenn.ntp.org>	<20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost>	<E1ad3uf-000EcV-1I@stenn.ntp.org> <56DE4A34.1070106@ntp.org> <E1ad9m6-000FC3-9g@stenn.ntp.org>
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF10490EAF.08B1166E-ONC1257F70.003B7EA4-C1257F70.003F25A6@ptb.de>
From: kristof.teichel@ptb.de
Date: Tue, 8 Mar 2016 12:29:43 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2579820806178674446=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============2579820806178674446==
Content-Type: multipart/alternative; boundary="=_alternative 003F25A6C1257F70_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 003F25A6C1257F70_=
Content-Type: text/plain; charset="US-ASCII"

> > I recall that there were conflicting statements in RFC5905 (NTPv4) and
> > RFC5906 (autokey) when we were doing the extension field draft and 
that
> > was one of the reasons that we clarified that the MAC was optional in
> > that draft. Section 7.3 of RFC5905 indicates that the MAC is optional
> > but elsewhere it seemed to be required. The EF draft makes it clear 
that
> > it is optional though any specific extension field may require it. The
> > draft was meant to remove the ambiguities.
> 
> Autokey has ALWAYS required MAC authentication.

There is a distinction between "an Autokey EF always requires a MAC in the 
packet" (which makes sense) and "any EF always requires a MAC in the 
packet" (which does not make much sense).

However, the latter is what the language of RFC5905 implies:
> 7.5.  NTP Extension Field Format
>
>   In NTPv4, one or more extension fields can be inserted after the
>   header and before the MAC, which is always present when an extension
>   field is present.

This language was absolutely worth re-considering.



> >>>> We're getting ready to publish a "MAC in an Extension Field", and
> >>>> arguably this is how it should have been originally done.  So in 
keeping
> >>>> with the above logic, there are 2 pieces of information we want to 
see
> >>>> for an extension field.  One is "SHOULD or MAY have MAC protection 
after
> >>>> this field," and the other is "This extension field provides MAC
> >>>> protection."
> >>>
> >>> What will the receiver of this information do with it?
> >> 
> >> Whatever it wants.  This goes to giving the client basic information
> >> that is useful in deciding what to do in case the client  gets EFs it
> >> doesn't understand.
> >> 
> > 
> > If it gets EF's it doesn't understand it makes no difference whether 
or
> > not it indicates that it requires a MAC. You can't do anything with 
it.
> 
> That's not true.
> 
> If the EF says "I am a MAC" and the client doesn't
> understand it, then the client can look for an old-style MAC.

Shouldn't the client always scan for an old-style MAC?

> 
> If the unknown EF says "I don't NEED a MAC" then context can provide
> information as to whether or not it makes a difference.
> 
> I think the better questiion is why do you want to categoricaly deny
> this information to the client?

For a long time, my opinion on this topic was: "I don't see how the 
information [Do I require a MAC: Yes/No] and [Do I contain a MAC: Yes/No] 
is useful, but I also don't see how it would hurt."

This has changed after some more consideration: I now believe it would be 
dangerous to include a bit [Do I require a MAC: Yes/No]. An attacker would 
have the option of moving extension fields to the end of the packet (e.g. 
after a MAC-containing EF) and to be able to flag them as [Do I require a 
MAC: No]. If the receiver actually considered this in their processing of 
the packet, bad things could happen (in particular, this might lead to 
cases where false security is created).

> > If it uses an extension
> > field that requires a MAC, not providing it needs to cause the packet
> > to be dropped by the receiving server.

Yes, I would add to this: "If [a packet] uses an extension field that [as 
per the receiver's own policy] requires a MAC, then not providing [said 
MAC] needs to cause the packet to be dropped by the receiver [, even if 
the extension field claims in its field type flag that it does not need to 
be secured]."

Overall, I would prefer a requirement that the client MUST NOT change 
their behavior towards a packet because of the proposed new bits, 
especially those in unprotected EFs. Which makes me think that introducing 
those bits is maybe not a good idea after all.


ADDENDUM: I don't think it is a great idea, but IF you really want to 
communicate information about what contents of a packet are allowed to be 
included unsecured in the case where at least parts of the packet are 
secured, then the list of permitted unsecured content should be secured 
itself. Read: there would be an EF before the MAC, and the payload of that 
EF would contain a list of EF field type values, each representing an 
unsecured EF that is to be appended after the MAC (this assumes that the 
sender knows the number and type of unsecured EFs that it later wishes to 
append).
My proposal would solve the problem posed in the following:
 
> My alternative to Tal's proposal *allows* a "MAC as an EF", and the
> checksum complement that comes after this has the bit that says "I do
> not need a MAC".  So what is protected is the base NTP packet, any other
> EFs, and the "MAC as and EF".  The only other subsequent data in the
> packet is the "precision transmit adjustmenet and the checksum
> complement".
> 
> This last EF is *not* protected, and that's OK.
--=_alternative 003F25A6C1257F70_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>&gt; &gt; I recall that there were conflicting statements
in RFC5905 (NTPv4) and<br>
&gt; &gt; RFC5906 (autokey) when we were doing the extension field draft
and that<br>
&gt; &gt; was one of the reasons that we clarified that the MAC was optional
in<br>
&gt; &gt; that draft. Section 7.3 of RFC5905 indicates that the MAC is
optional<br>
&gt; &gt; but elsewhere it seemed to be required. The EF draft makes it
clear that<br>
&gt; &gt; it is optional though any specific extension field may require
it. The<br>
&gt; &gt; draft was meant to remove the ambiguities.<br>
&gt; <br>
&gt; Autokey has ALWAYS required MAC authentication.<br>
</font></tt>
<br><tt><font size=2>There is a distinction between &quot;an Autokey EF
always requires a MAC in the packet&quot; (which makes sense) and &quot;any
EF always requires a MAC in the packet&quot; (which does not make much
sense).</font></tt>
<br>
<br><tt><font size=2>However, the latter is what the language of RFC5905
implies:</font></tt>
<br><tt><font size=2>&gt; 7.5. &nbsp;NTP Extension Field Format<br>
&gt;<br>
&gt; &nbsp; In NTPv4, one or more extension fields can be inserted after
the<br>
&gt; &nbsp; header and before the MAC, which is always present when an
extension<br>
&gt; &nbsp; field is present.</font></tt>
<br>
<br><tt><font size=2>This language was absolutely worth re-considering.</font></tt>
<br>
<br><tt><font size=2><br>
</font></tt>
<br><tt><font size=2>&gt; &gt;&gt;&gt;&gt; We're getting ready to publish
a &quot;MAC in an Extension Field&quot;, and<br>
&gt; &gt;&gt;&gt;&gt; arguably this is how it should have been originally
done. &nbsp;So in keeping<br>
&gt; &gt;&gt;&gt;&gt; with the above logic, there are 2 pieces of information
we want to see<br>
&gt; &gt;&gt;&gt;&gt; for an extension field. &nbsp;One is &quot;SHOULD
or MAY have MAC protection after<br>
&gt; &gt;&gt;&gt;&gt; this field,&quot; and the other is &quot;This extension
field provides MAC<br>
&gt; &gt;&gt;&gt;&gt; protection.&quot;<br>
&gt; &gt;&gt;&gt;<br>
&gt; &gt;&gt;&gt; What will the receiver of this information do with it?<br>
&gt; &gt;&gt; <br>
&gt; &gt;&gt; Whatever it wants. &nbsp;This goes to giving the client basic
information<br>
&gt; &gt;&gt; that is useful in deciding what to do in case the client
&nbsp;gets EFs it<br>
&gt; &gt;&gt; doesn't understand.<br>
&gt; &gt;&gt; <br>
&gt; &gt; <br>
&gt; &gt; If it gets EF's it doesn't understand it makes no difference
whether or<br>
&gt; &gt; not it indicates that it requires a MAC. You can't do anything
with it.<br>
&gt; <br>
&gt; That's not true.<br>
&gt; <br>
&gt; If the EF says &quot;I am a MAC&quot; and the client doesn't<br>
&gt; understand it, then the client can look for an old-style MAC.</font></tt>
<br>
<br><tt><font size=2>Shouldn't the client always scan for an old-style
MAC?</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; If the unknown EF says &quot;I don't NEED a MAC&quot; then context
can provide<br>
&gt; information as to whether or not it makes a difference.<br>
&gt; <br>
&gt; I think the better questiion is why do you want to categoricaly deny<br>
&gt; this information to the client?</font></tt>
<br>
<br><tt><font size=2>For a long time, my opinion on this topic was: &quot;I
don't see how the information [Do I require a MAC: Yes/No] and [Do I contain
a MAC: Yes/No] is useful, but I also don't see how it would hurt.&quot;</font></tt>
<br>
<br><tt><font size=2>This has changed after some more consideration: I
now believe it would be dangerous to include a bit [Do I require a MAC:
Yes/No]. An attacker would have the option of moving extension fields to
the end of the packet (e.g. after a MAC-containing EF) and to be able to
flag them as [Do I require a MAC: No]. If the receiver actually considered
this in their processing of the packet, bad things could happen (in particular,
this might lead to cases where false security is created).</font></tt>
<br>
<br><tt><font size=2>&gt; &gt; If it uses an extension<br>
&gt; &gt; field that requires a MAC, not providing it needs to cause the
packet<br>
&gt; &gt; to be dropped by the receiving server.</font></tt>
<br>
<br><tt><font size=2>Yes, I would add to this: &quot;If [a packet] uses
an extension field that [as per the receiver's own policy] requires a MAC,
then not providing [said MAC] needs to cause the packet to be dropped by
the receiver [, even if the extension field claims in its field type flag
that it does not need to be secured].&quot;</font></tt>
<br>
<br><tt><font size=2>Overall, I would prefer a requirement that the client
MUST NOT change their behavior towards a packet because of the proposed
new bits, especially those in unprotected EFs. Which makes me think that
introducing those bits is maybe not a good idea after all.</font></tt>
<br>
<br>
<br><tt><font size=2>ADDENDUM: I don't think it is a great idea, but IF
you really want to communicate information about what contents of a packet
are allowed to be included unsecured in the case where at least parts of
the packet are secured, then the list of permitted unsecured content should
be secured itself. Read: there would be an EF before the MAC, and the payload
of that EF would contain a list of EF field type values, each representing
an unsecured EF that is to be appended after the MAC (this assumes that
the sender knows the number and type of unsecured EFs that it later wishes
to append).</font></tt>
<br><tt><font size=2>My proposal would solve the problem posed in the following:</font></tt>
<br><tt><font size=2>&nbsp;<br>
&gt; My alternative to Tal's proposal *allows* a &quot;MAC as an EF&quot;,
and the<br>
&gt; checksum complement that comes after this has the bit that says &quot;I
do<br>
&gt; not need a MAC&quot;. &nbsp;So what is protected is the base NTP packet,
any other<br>
&gt; EFs, and the &quot;MAC as and EF&quot;. &nbsp;The only other subsequent
data in the<br>
&gt; packet is the &quot;precision transmit adjustmenet and the checksum<br>
&gt; complement&quot;.<br>
&gt; <br>
&gt; This last EF is *not* protected, and that's OK.</font></tt>
--=_alternative 003F25A6C1257F70_=--

--===============2579820806178674446==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2579820806178674446==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar  8 12:28:35 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1AEC12DAB2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 12:28:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id XkfStw0-V5I7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue,  8 Mar 2016 12:28:33 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 7926412DAB1 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 12:28:33 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 31CDF86DB89 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue,  8 Mar 2016 20:28:33 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C6BBA86DAE4 for <ntpwg@lists.ntp.org>; Tue,  8 Mar 2016 20:01:42 +0000 (UTC)
Received: from [198.22.153.130] (helo=[10.2.184.97]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1adNoy-000OIt-6e; Tue, 08 Mar 2016 20:01:36 +0000
References: <4569da98236441699fb26aebb71f90a7@IL-EXCH01.marvell.com> <E1acVNL-000CK8-RW@stenn.ntp.org> <20160307093202.GJ20222@localhost> <E1acsHr-000Dmy-Bf@stenn.ntp.org> <20160307112840.GK20222@localhost> <E1acuOC-000Dwm-SV@stenn.ntp.org> <20160307131625.GA3209@localhost> <E1ad3uf-000EcV-1I@stenn.ntp.org> <56DE4A34.1070106@ntp.org> <E1ad9m6-000FC3-9g@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56DF2F99.2080903@ntp.org>
Date: Tue, 8 Mar 2016 15:01:29 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1ad9m6-000FC3-9g@stenn.ntp.org>
X-SA-Exim-Connect-IP: 198.22.153.130
X-SA-Exim-Rcpt-To: suresh.krishnan@ericsson.com, odonoghue@isoc.org, ntpwg@lists.ntp.org, mlichvar@redhat.com, stenn@ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] The next step of draft-ietf-ntp-checksum-trailer
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>, Suresh Krishnan <suresh.krishnan@ericsson.com>, "Karen ODonoghue \(odonoghue@isoc.org\)" <odonoghue@isoc.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/8/2016 12:01 AM, Harlan Stenn wrote:
> Danny Mayer writes:
>> On 3/7/2016 5:46 PM, Harlan Stenn wrote:
>>> Miroslav Lichvar writes:
>>>> On Mon, Mar 07, 2016 at 12:35:56PM +0000, Harlan Stenn wrote:
>>>>> Originally, if there was an extension field there MUST be a MAC.
>>>>
>>>> Right. That requirement was not necessary and it was later removed.
>>>
>>> Really?  Please say more.  Where can I learn about this?
>>>
>>
>> I recall that there were conflicting statements in RFC5905 (NTPv4) and
>> RFC5906 (autokey) when we were doing the extension field draft and that
>> was one of the reasons that we clarified that the MAC was optional in
>> that draft. Section 7.3 of RFC5905 indicates that the MAC is optional
>> but elsewhere it seemed to be required. The EF draft makes it clear that
>> it is optional though any specific extension field may require it. The
>> draft was meant to remove the ambiguities.
> 
> Autokey has ALWAYS required MAC authentication.

Yes.

> If y'all clarified it otherwise that was a mistake, and it SHOULD be
> rectified.
> 
> See https://www.eecis.udel.edu/~mills/ntp/html/autokey.html for more
> information.
> 
> I find it disturbing that an error of this magnitude was able to make it
> this far given the level and quantity of people who looked at it.
> 

No. See Section 7.5.1.1 of that draft. To quote: "A specification that
defines a new extension field MUST specify whether the extension field
requires a MAC or not."

>>>>> MAC protection is good.  NTS uses a 'single' Field Type, but the first
>>>>> few packets have no MAC protection.  Therefore, the first few packets of
>>>>> an NTS exchange arguably MUST have MAC protection outside the NTS
>>>>> packet
>>>>
>>>> With what key would that MAC be generated? Unless I misunderstood how
>>>> NTS is supposed to work, the first few packets are simply not
>>>> authenticated and can't be used for anything except initialization of
>>>> the NTS association.
>>
>> From what I understand from the NTS architects, the early NTS protocol
>> are protected by the contents and a MAC is not necessary.
> 
> I've asked.
> 
> But this issue is more than just NTS.
> 
>>> Symmetric key would be an OK choice here.  Preferably using the "MAC in
>>> an EF".
>>>
>>>>> We're getting ready to publish a "MAC in an Extension Field", and
>>>>> arguably this is how it should have been originally done.  So in keeping
>>>>> with the above logic, there are 2 pieces of information we want to see
>>>>> for an extension field.  One is "SHOULD or MAY have MAC protection after
>>>>> this field," and the other is "This extension field provides MAC
>>>>> protection."
>>>>
>>>> What will the receiver of this information do with it?
>>>
>>> Whatever it wants.  This goes to giving the client basic information
>>> that is useful in deciding what to do in case the client  gets EFs it
>>> doesn't understand.
>>>
>>
>> If it gets EF's it doesn't understand it makes no difference whether or
>> not it indicates that it requires a MAC. You can't do anything with it.
> 
> That's not true.

An extension field that requires a MAC will include the MAC unless it's
a rogue packet. Either way, if it's an unknown EF then it makes no
difference whether or not a MAC is present since there's nothing you can
do with an unknown extension field except to ignore it or drop the
packet. Either way it makes no difference whether or not an EF requires
a MAC.

> 
> If the EF says "I am a MAC" and the client doesn't
> understand it, then the client can look for an old-style MAC.
> 

It needs to provide for that possibility anyway.

> If the unknown EF says "I don't NEED a MAC" then context can provide
> information as to whether or not it makes a difference.
> 

If the EF is unknown there is no context since the EF is meaningless to
the receipient.

> I think the better questiion is why do you want to categoricaly deny
> this information to the client?
> 

Nothing is being denied to the recipient. If there is a MAC then there's
no issue whether or not the EF needs one. If there is no MAC and you
encounter an unknown EF it also makes no difference since there is
nothing you can do with the EF anyway.

>>>> The client must
>>>> have its own policy on what extension fields has to be covered with
>>>> MAC in order to accept the packet. The server can't dictate that.
>>>
>>> Of course.
>>>
>>>> Normally, the client will require all fields to be covered by MAC if
>>>> authentication is enabled.
>>>
>>> Yes.
>>
>> If you mean the sender then either it provides a MAC of either style or
>> it doesn't. The MAC covers all parts of the packet until the MAC
> 
> Yes.
> 
>> which needs to be the last part of the packet.
> 
> No.  It just means that the MAC verifies content up to the MAC.
> 

Which is what I said though in different words.

>>> If a recipient gets data it does not understand, it may benefit from a
>>> hint as to what's going on with that unknown EF.
>>
>> No, it has no way of going on with any unknown EF. If you don't
>> understand it you can't do anything with it.
> 
> Danny, I think you are too sure of your facts.
> 
> For example, if a client sees an EF that says "I don't need a MAC" and
> the client doesn't understand that EF, the client has *less* reason to
> drop the entire packet.
> 

Since it doesn't know the EF it has zero knowledge of what to do with
it. As I said earlier just because it may not need a MAC doesn't mean
that a MAC may not be available anyway because some other EF needs it.

> Note well what you wrote above:
> 
>   If it uses an extension
>   field that requires a MAC, not providing it needs to cause the packet
>   to be dropped by the receiving server.
> 
> so you are now arguing both sides of your position.
> 

In normal operation an sender which includes an EF that needs a MAC will
include one (or more). If the recipient doesn't understand the EF it
will still get the MAC and verify the digest but then what. It still has
no idea what to do with the EF.

>>>>>> The SHA1 MAC is 24 octets, that's why there is a requirement for the
>>>>>> last extension field to be at least 28 octets.
>>>>>
>>>>> 4 byte keyid plus 24 octets.  So 28 bytes is clearly potentially
>>>>> ambiguous.
>>>>
>>>> A SHA1 MAC has 160 bits for the digest and 32 bit for the key ID.
>>>> That's 192 bits or 24 octets total.
>>>
>>> OK.  What I remember is hearing that we were seeing 3 sizes of old-style
>>> MACs, and they were 20, 24, and 28 bytes' long.  I'll see what I can
>>> find out.
>>
>> DES is 16, MD5 is 24, SHA1 is 28. Cryto-NAK is 4.
> 
> Miroslav disagrees with you, but what you wrote is what I recall, too.
> 

I got the numbers from the reference implementation code. However the
only real requirement in that code is the it be no larger than 6*32 bits.

> If there is a 28 byte MAC field, then that errata is wrong.  Regardless,
> the errata change does not allow for longer digests.
> 
>>>>> Extension fields of 4, 8, 12, or 16 bytes are also unambiguous.  Why
>>>>> prohibit these lengths?
>>>>
>>>> Because MAC in a packet from an old client could be parsed as one or
>>>> multiple extension fields.
>>>
>>> An old client will ONLY send autokey.  So this is a non-issue, right?
>>
>> No. An old client may also send symmetric key, ie only a MAC and no EF.
> 
> Huh?  You don't seem to be paying attention.  The premise here is that
> extension field that DOES NOT have the same length of a MAC is allowed.
> 

But you don't know the actual size of the MAC so it's very hard to tell.

> So if we're to believe that "we should not allow an EF that has the same
> length as a MAC" then what you say makes no sense.  Furthermoer, it's
> only the *last* EF that would have this length restriction.
> 

See the EF Draft Section 7.5.1.2 to 7.5.1.4 which spells out the rules.

Danny
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 05:01:41 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C5A912D864 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 05:01:41 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WxoP9DLCi8gF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 05:01:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id B11E612D5AA for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 05:01:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A039C86DB72 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 13:01:34 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E27B886D4A6 for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 12:22:59 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1add8c-000IXR-Q6 for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 12:22:59 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u29CMleF010441-u29CMleH010441 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Wed, 9 Mar 2016 13:22:47 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 217D036232 for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 13:22:47 +0100 (CET)
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OFC8F7CB89.90B878C5-ONC1257F71.0043F802-C1257F71.0044007B@ptb.de>
From: kristof.teichel@ptb.de
Date: Wed, 9 Mar 2016 13:22:45 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] WG: Re: draft-ietf-ntp-cms-for-nts-message
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8713163046121589380=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============8713163046121589380==
Content-Type: multipart/alternative; boundary="=_alternative 0044007BC1257F71_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0044007BC1257F71_=
Content-Type: text/plain; charset="US-ASCII"

Russ

from our point of view there is no real reason not to include the 
suggested changes. Apart from the CMS-draft we shall have to introduce 
additional changes at least to the draft-ietf-network-time-security in 
order to make non hmac  MAC algorithm negotiable.

We shall send you the proposed changes in the CMS draft  and also include 
the proposed ASN.1 module additions.

Dieter

-------------------------------------
Dr. Dieter Sibold
Physikalisch-Technische Bundesanstalt
Q.42 - Serversysteme und Datenhaltung
QM-Verantwortlicher der Stelle IT
Bundesallee 100 
D-38116 Braunschweig
Tel:    +49-531-592-84 20
E-Mail: dieter.sibold@ptb.de


Russ Housley <housley@vigilsec.com> schrieb am 09.03.2016 00:34:50:

> Von: Russ Housley <housley@vigilsec.com>
> An: "Jim Schaad" <ietf@augustcellars.com>
> Kopie: <draft-ietf-ntp-cms-for-nts-message@tools.ietf.org>
> Datum: 09.03.2016 00:35
> Betreff: Re: draft-ietf-ntp-cms-for-nts-message
> 
> Jim:
> 
> That is a pretty simple change.  I support it.
> 
> Do the other authors of this document agree?
> 
> Russ
> 
> 
> On Mar 8, 2016, at 3:53 PM, Jim Schaad wrote:
> 
> > This draft popped up for an early review of content types due to the 
fact
> > that it is going to be released soon in OPENSSL.  I would like to 
strongly
> > push back on one of the features that is being placed in the 
structures for
> > algorithm selection.
> > 
> > You are fixing thing to only use HMAC by using the term hmacHashAlgos. 
 What
> > happens when NIST produces a MAC algorithm using the SHA-3 hash 
functions
> > which does not require HMAC?  Is there a reason for not making this 
field a
> > set of MAC algorithm identifiers?  RFC 4231 defines HMAC OIDs for all 
of the
> > SHA-2 algorithms and RFC 3370 defines the same for SHA-1.
> > 
> > Also, I experience a small irritation that you are not using 
authenticated
> > encryption but that is somewhat understandable.
> > 
> > Jim
> > 
> > 
> 



--=_alternative 0044007BC1257F71_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Russ</font>
<br>
<br><font size=2 face="sans-serif">from our point of view there is no real
reason not to include the suggested changes. Apart from the CMS-draft we
shall have to introduce additional changes at least to the draft-ietf-network-time-security
in order to make non hmac &nbsp;MAC algorithm negotiable.</font>
<br>
<br><font size=2 face="sans-serif">We shall send you the proposed changes
in the CMS draft &nbsp;and also include &nbsp;the proposed ASN.1 module
additions.</font>
<br>
<br><font size=2 face="sans-serif">Dieter<br>
<br>
-------------------------------------<br>
Dr. Dieter Sibold<br>
Physikalisch-Technische Bundesanstalt<br>
Q.42 - Serversysteme und Datenhaltung<br>
QM-Verantwortlicher der Stelle IT<br>
Bundesallee 100 <br>
D-38116 Braunschweig<br>
Tel: &nbsp; &nbsp;+49-531-592-84 20<br>
E-Mail: dieter.sibold@ptb.de<br>
</font>
<br>
<br><tt><font size=2>Russ Housley &lt;housley@vigilsec.com&gt; schrieb
am 09.03.2016 00:34:50:<br>
<br>
&gt; Von: Russ Housley &lt;housley@vigilsec.com&gt;</font></tt>
<br><tt><font size=2>&gt; An: &quot;Jim Schaad&quot; &lt;ietf@augustcellars.com&gt;</font></tt>
<br><tt><font size=2>&gt; Kopie: &lt;draft-ietf-ntp-cms-for-nts-message@tools.ietf.org&gt;</font></tt>
<br><tt><font size=2>&gt; Datum: 09.03.2016 00:35</font></tt>
<br><tt><font size=2>&gt; Betreff: Re: draft-ietf-ntp-cms-for-nts-message</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; Jim:<br>
&gt; <br>
&gt; That is a pretty simple change. &nbsp;I support it.<br>
&gt; <br>
&gt; Do the other authors of this document agree?<br>
&gt; <br>
&gt; Russ<br>
&gt; <br>
&gt; <br>
&gt; On Mar 8, 2016, at 3:53 PM, Jim Schaad wrote:<br>
&gt; <br>
&gt; &gt; This draft popped up for an early review of content types due
to the fact<br>
&gt; &gt; that it is going to be released soon in OPENSSL. &nbsp;I would
like to strongly<br>
&gt; &gt; push back on one of the features that is being placed in the
structures for<br>
&gt; &gt; algorithm selection.<br>
&gt; &gt; <br>
&gt; &gt; You are fixing thing to only use HMAC by using the term hmacHashAlgos.
&nbsp;What<br>
&gt; &gt; happens when NIST produces a MAC algorithm using the SHA-3 hash
functions<br>
&gt; &gt; which does not require HMAC? &nbsp;Is there a reason for not
making this field a<br>
&gt; &gt; set of MAC algorithm identifiers? &nbsp;RFC 4231 defines HMAC
OIDs for all of the<br>
&gt; &gt; SHA-2 algorithms and RFC 3370 defines the same for SHA-1.<br>
&gt; &gt; <br>
&gt; &gt; Also, I experience a small irritation that you are not using
authenticated<br>
&gt; &gt; encryption but that is somewhat understandable.<br>
&gt; &gt; <br>
&gt; &gt; Jim<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; <br>
</font></tt>
<br>
<br>
--=_alternative 0044007BC1257F71_=--

--===============8713163046121589380==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8713163046121589380==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 05:02:35 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 53AA512D5AA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 05:02:35 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 19a0oC2mIBup for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 05:02:33 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id DBBBE12D577 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 05:02:33 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id D4F2E86DB86 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 13:02:33 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id F407E86D4A6 for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 12:23:20 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1add8w-000IXc-MB for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 12:23:20 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u29CN9WO010478-u29CN9WQ010478 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Wed, 9 Mar 2016 13:23:09 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 4177E36234 for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 13:23:09 +0100 (CET)
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de>
From: kristof.teichel@ptb.de
Date: Wed, 9 Mar 2016 13:23:07 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] WG: Re: WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1879149335381880293=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============1879149335381880293==
Content-Type: multipart/alternative; boundary="=_alternative 00440913C1257F71_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 00440913C1257F71_=
Content-Type: text/plain; charset="US-ASCII"

Hi Miroslav,

> On Mon, Mar 07, 2016 at 05:06:10PM +0100, dieter.sibold@ptb.de wrote:
> > Hi all,
> > 
> > according to our understanding of the symmetric mode we added the 
> > following language to the draft in order to describe how NTS protects 
the 
> > peer associations.
> 
> Thanks for looking into that. I've few comments. 
> 
> > First: We added section 4.2 "Symmetric (Peer) Modes"
> > 
> >       <section title="Symmetric (Peer) Modes">
> >         <t>For the symmetric modes (active/active, active/passive), 
NTS 
> > works
> >         as it does for the client/server mode, except that both 
> > participants
> >         have to save state information. The participant who first 
sends a 
> > peer
> >         message takes the role of the client, a participant who first 
> > receives
> >         a peer message takes the role of the server, except that it 
keeps
> 
> This is an interesting approach.
> 
> For ephemeral associations I think the server/client direction of the
> NTS association is clear. But for persistent associations, what if
> both peers send packets before receiving reply from the other peer?

This depends heavily on the behavioral policy of an NTS participant who 
has sent request for which are as of yet unanswered.
There is not yet any specification text targeting this.

We are thinking about adding such text, in particular we feel that there 
are at least two obvious approaches: 
1.) "Any sent request starts a process waiting for a response. Any 
incoming message from the intended communication partner which does not 
represent a valid response ends this process and communication must be 
restarted. The process also ends when a valid response is received, or 
when a timeout value is reached."
2.) "Any sent request starts a process waiting for a response. This 
process is only ended either when a valid response is received, or when a 
timeout value is reached." (Implicitly saying that any incoming message is 
treated independently: if it is a request, it is processed as such and 
perhaps answered, if it is a response, it either represents a valid 
response to a pending request, or it is ignored and dropped.)
Currently we feel that the second approach is better for most cases.
In the particular case of peer mode with both peers sending requests 
before receiving replies, it might lead to two associations where only one 
would have been necessary, but this would be a rather benign error.


> What should happen when one of them is restarted, is the NTS
> server/client direction allowed to switch?

Yes, it is. This goes back to what I discussed above.


> 
> >         additional state to strengthen the security guarantees it
> >         receives.</t>
> >       </section>
> 
> An issue I pointed out earlier and that I'd like to see the NTS
> implementation in NTP to address is DoS attack on symmetric
> associations. The NTS association should be able to form and continue
> to work even when an attacker is sending spoofed packets to the peers.

We agree.


> 
> To allow that, I think the peer in the server NTS role shouldn't
> keep or update any state [until...]

We agree. We believe the specification to be consistent with this. If at 
some point it is not, please point this out to us.


> [...] and should respond to all packets from the
> other peer immediately as if they were client mode packets until it
> can save the KIV of the other peer and is ready for time_* messages.

This is tricky. We agree that this would be desirable. However, we think 
that the question of when a response is sent is not regulated by NTS so 
much as it is by the underlying NTP implementation. Since we wish to avoid 
any instances where our specification makes changes to the behavior of 
said underlying implementation, we will probably not add any text about 
this.

> That is also the point when ephemeral associations should be created.

I do not fully understand what your meaning is here. But as far as I can 
grasp it, the answer goes back to the point directly above: this would 
need to be regulated at an NTP level (I believe you would like to prevent 
NTP from creating an ephemeral association before NTS has performed 
authentication/authorization and determined that it will now keep state?).


Best regards,
Kristof

--=_alternative 00440913C1257F71_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>Hi Miroslav,</font></tt>
<br>
<br><tt><font size=2>&gt; On Mon, Mar 07, 2016 at 05:06:10PM +0100, dieter.sibold@ptb.de
wrote:<br>
&gt; &gt; Hi all,<br>
&gt; &gt; <br>
&gt; &gt; according to our understanding of the symmetric mode we added
the <br>
&gt; &gt; following language to the draft in order to describe how NTS
protects the <br>
&gt; &gt; peer associations.<br>
&gt; <br>
&gt; Thanks for looking into that. I've few comments. <br>
&gt; <br>
&gt; &gt; First: We added section 4.2 &quot;Symmetric (Peer) Modes&quot;<br>
&gt; &gt; <br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;section title=&quot;Symmetric (Peer)
Modes&quot;&gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; &lt;t&gt;For the symmetric modes
(active/active, active/passive), NTS <br>
&gt; &gt; works<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; as it does for the client/server
mode, except that both <br>
&gt; &gt; participants<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; have to save state information. The
participant who first sends a <br>
&gt; &gt; peer<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; message takes the role of the client,
a participant who first <br>
&gt; &gt; receives<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; a peer message takes the role of
the server, except that it keeps<br>
&gt; <br>
&gt; This is an interesting approach.<br>
&gt; <br>
&gt; For ephemeral associations I think the server/client direction of
the<br>
&gt; NTS association is clear. But for persistent associations, what if<br>
&gt; both peers send packets before receiving reply from the other peer?</font></tt>
<br>
<br><tt><font size=2>This depends heavily on the behavioral policy of an
NTS participant who has sent request for which are as of yet unanswered.</font></tt>
<br><tt><font size=2>There is not yet any specification text targeting
this.</font></tt>
<br>
<br><tt><font size=2>We are thinking about adding such text, in particular
we feel that there are at least two obvious approaches: </font></tt>
<br><tt><font size=2>1.) &quot;Any sent request starts a process waiting
for a response. Any incoming message from the intended communication partner
which does not represent a valid response ends this process and communication
must be restarted. The process also ends when a valid response is received,
or when a timeout value is reached.&quot;</font></tt>
<br><tt><font size=2>2.) &quot;Any sent request starts a process waiting
for a response. This process is only ended either when a valid response
is received, or when a timeout value is reached.&quot; (Implicitly saying
that any incoming message is treated independently: if it is a request,
it is processed as such and perhaps answered, if it is a response, it either
represents a valid response to a pending request, or it is ignored and
dropped.)</font></tt>
<br><tt><font size=2>Currently we feel that the second approach is better
for most cases.</font></tt>
<br><tt><font size=2>In the particular case of peer mode with both peers
sending requests before receiving replies, it might lead to two associations
where only one would have been necessary, but this would be a rather benign
error.</font></tt>
<br>
<br><tt><font size=2><br>
&gt; What should happen when one of them is restarted, is the NTS<br>
&gt; server/client direction allowed to switch?</font></tt>
<br>
<br><tt><font size=2>Yes, it is. This goes back to what I discussed above.</font></tt>
<br>
<br><tt><font size=2><br>
&gt; <br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; additional state to strengthen the
security guarantees it<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &nbsp; receives.&lt;/t&gt;<br>
&gt; &gt; &nbsp; &nbsp; &nbsp; &lt;/section&gt;<br>
&gt; <br>
&gt; An issue I pointed out earlier and that I'd like to see the NTS<br>
&gt; implementation in NTP to address is DoS attack on symmetric<br>
&gt; associations. The NTS association should be able to form and continue<br>
&gt; to work even when an attacker is sending spoofed packets to the peers.</font></tt>
<br>
<br><tt><font size=2>We agree.</font></tt>
<br>
<br><tt><font size=2><br>
&gt; <br>
&gt; To allow that, I think the peer in the server NTS role shouldn't<br>
&gt; keep or update any state [until...]</font></tt>
<br>
<br><tt><font size=2>We agree. We believe the specification to be consistent
with this. If at some point it is not, please point this out to us.</font></tt>
<br>
<br>
<br><tt><font size=2>&gt; [...] and should respond to all packets from
the<br>
&gt; other peer immediately as if they were client mode packets until it<br>
&gt; can save the KIV of the other peer and is ready for time_* messages.</font></tt>
<br>
<br><tt><font size=2>This is tricky. We agree that this would be desirable.
However, we think that the question of when a response is sent is not regulated
by NTS so much as it is by the underlying NTP implementation. Since we
wish to avoid any instances where our specification makes changes to the
behavior of said underlying implementation, we will probably not add any
text about this.</font></tt>
<br><tt><font size=2><br>
&gt; That is also the point when ephemeral associations should be created.</font></tt>
<br>
<br><tt><font size=2>I do not fully understand what your meaning is here.
But as far as I can grasp it, the answer goes back to the point directly
above: this would need to be regulated at an NTP level (I believe you would
like to prevent NTP from creating an ephemeral association before NTS has
performed authentication/authorization and determined that it will now
keep state?).</font></tt>
<br><tt><font size=2><br>
</font></tt>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
<br>
--=_alternative 00440913C1257F71_=--

--===============1879149335381880293==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============1879149335381880293==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 08:03:45 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E5AE112E214 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 08:03:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id QfzTekLfaWoM for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 08:03:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 874EF12E10F for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 07:54:07 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7D10886DB72 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 15:54:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9195B86DABF for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 15:19:39 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1adfta-000MkN-N9 for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 15:19:39 +0000
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id C30585F33; Wed,  9 Mar 2016 15:19:29 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u29FJRiA014660; Wed, 9 Mar 2016 10:19:28 -0500
Date: Wed, 9 Mar 2016 16:19:26 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: kristof.teichel@ptb.de
Message-ID: <20160309151926.GE21111@localhost>
References: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Wed, 09 Mar 2016 15:19:29 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WG: Re: WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 09, 2016 at 01:23:07PM +0100, kristof.teichel@ptb.de wrote:
> 2.) "Any sent request starts a process waiting for a response. This 
> process is only ended either when a valid response is received, or when a 
> timeout value is reached." (Implicitly saying that any incoming message is 
> treated independently: if it is a request, it is processed as such and 
> perhaps answered, if it is a response, it either represents a valid 
> response to a pending request, or it is ignored and dropped.)
> Currently we feel that the second approach is better for most cases.
> In the particular case of peer mode with both peers sending requests 
> before receiving replies, it might lead to two associations where only one 
> would have been necessary, but this would be a rather benign error.

Ok, that makes sense, but if the protocol allows and can't prevent two
active peers to accidentaly create two NTS associations instead of
one, why not do that always? The protocol would stay symmetric and the
NTS messages could be restricted by NTP packet mode. I think that
would be a cleaner approach.

> > To allow that, I think the peer in the server NTS role shouldn't
> > keep or update any state [until...]
> 
> We agree. We believe the specification to be consistent with this. If at 
> some point it is not, please point this out to us.

The NTP specification requires peers to update their state variables
even if the test of the origin timestamp failed, otherwise the
association couldn't be fully initialized and the peers wouldn't be
able to synchronize to each other. With a symmetric key, that's not a
problem as the authentication always works, there is no initialization
phase and packets with invalid MAC can be always dropped. But with
Autokey or NTS this allows the DoS attack. If we want to prevent it
with NTS, I think the NTS specification will need to modify the
behaviour of NTP peers in the initialization phase.

> > That is also the point when ephemeral associations should be created.
> 
> I do not fully understand what your meaning is here. But as far as I can 
> grasp it, the answer goes back to the point directly above: this would 
> need to be regulated at an NTP level (I believe you would like to prevent 
> NTP from creating an ephemeral association before NTS has performed 
> authentication/authorization and determined that it will now keep state?).

Yes, exactly.

To summarize my thoughts, I'd suggest the following for symmetric
associations in the NTS-in-NTP spec:

- active peers are always "NTS clients" and may be also "NTS servers"
  if their peer is active too, passive peers are always "NTS servers"
- active packets (mode 1) MUST NOT contain the following NTS messages:
  server_access, server_assoc, server_cook, time_response
- passive packets (mode 2) MUST NOT contain the following NTS messages:
  client_access, client_assoc, client_cook, time_request
- both active and passive peers MUST use passive packet (mode 2) when
  responding to packets with client_access or client_assoc NTS
  messages and they MUST NOT update their NTP state variables (one way
  to do that is to respond immediatelly as if it was a client mode
  packet)
- passive peers mobilize ephemeral associations when the client_cook
  message is accepted

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 09:49:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 282D412D89B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 09:49:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id kwhiSDLhuVKv for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 09:48:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 3CC3212D88C for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 09:48:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 07A7786DB86 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 17:48:53 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C7A3686DB1D for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 17:48:25 +0000 (UTC)
Received: from [198.22.153.130] (helo=[10.2.184.94]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1adiDf-000P2E-2M; Wed, 09 Mar 2016 17:48:24 +0000
References: <OFC8F7CB89.90B878C5-ONC1257F71.0043F802-C1257F71.0044007B@ptb.de>
To: kristof.teichel@ptb.de, ntpwg@lists.ntp.org
From: Danny Mayer <mayer@ntp.org>
X-Enigmail-Draft-Status: N1110
Organization: NTP
Message-ID: <56E061E5.3090407@ntp.org>
Date: Wed, 9 Mar 2016 12:48:21 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <OFC8F7CB89.90B878C5-ONC1257F71.0043F802-C1257F71.0044007B@ptb.de>
X-SA-Exim-Connect-IP: 198.22.153.130
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, kristof.teichel@ptb.de
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WG: Re: draft-ietf-ntp-cms-for-nts-message
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

My possibly erroneous assumption was that the protocol will include an
identifier to indicate which hashing algorithm to use for the digest and
that it be configurable outside the protocol. There shouldn't be any
limits on those algorithms especially as new ones become available on a
regular basis and it's better not to bake any particular flavour into
the protocol. Was I wrong?

I'm not sure I understood Jim's comment about authenticated encryption.
Can someone comment and explain what that means and what are the
implications and does it require an already valid time?

Danny

On 3/9/2016 7:22 AM, kristof.teichel@ptb.de wrote:
> Russ
> 
> from our point of view there is no real reason not to include the
> suggested changes. Apart from the CMS-draft we shall have to introduce
> additional changes at least to the draft-ietf-network-time-security in
> order to make non hmac  MAC algorithm negotiable.
> 
> We shall send you the proposed changes in the CMS draft  and also
> include  the proposed ASN.1 module additions.
> 
> Dieter
> 
> -------------------------------------
> Dr. Dieter Sibold
> Physikalisch-Technische Bundesanstalt
> Q.42 - Serversysteme und Datenhaltung
> QM-Verantwortlicher der Stelle IT
> Bundesallee 100
> D-38116 Braunschweig
> Tel:    +49-531-592-84 20
> E-Mail: dieter.sibold@ptb.de
> 
> 
> Russ Housley <housley@vigilsec.com> schrieb am 09.03.2016 00:34:50:
> 
>> Von: Russ Housley <housley@vigilsec.com>
>> An: "Jim Schaad" <ietf@augustcellars.com>
>> Kopie: <draft-ietf-ntp-cms-for-nts-message@tools.ietf.org>
>> Datum: 09.03.2016 00:35
>> Betreff: Re: draft-ietf-ntp-cms-for-nts-message
>>
>> Jim:
>>
>> That is a pretty simple change.  I support it.
>>
>> Do the other authors of this document agree?
>>
>> Russ
>>
>>
>> On Mar 8, 2016, at 3:53 PM, Jim Schaad wrote:
>>
>> > This draft popped up for an early review of content types due to the
> fact
>> > that it is going to be released soon in OPENSSL.  I would like to
> strongly
>> > push back on one of the features that is being placed in the
> structures for
>> > algorithm selection.
>> >
>> > You are fixing thing to only use HMAC by using the term
> hmacHashAlgos.  What
>> > happens when NIST produces a MAC algorithm using the SHA-3 hash
> functions
>> > which does not require HMAC?  Is there a reason for not making this
> field a
>> > set of MAC algorithm identifiers?  RFC 4231 defines HMAC OIDs for
> all of the
>> > SHA-2 algorithms and RFC 3370 defines the same for SHA-1.
>> >
>> > Also, I experience a small irritation that you are not using
> authenticated
>> > encryption but that is somewhat understandable.
>> >
>> > Jim
>> >
>> >
>>

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 09:53:36 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0349A12D7DD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 09:53:36 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([127.0.0.1]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id tZZfpfyeZAKN for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 09:53:31 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 96E9812D7E5 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 09:53:31 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 91E5F86DB97 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 17:53:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 96A3686DB1D for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 17:53:24 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@pdmconsulting.net>) id 1adiIN-000P5l-DT for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 17:53:24 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 1FC79B82A for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 17:53:15 +0000 (UTC)
Received: from [10.2.184.94] (unknown [198.22.153.130]) by chessie.everett.org (Postfix) with ESMTPSA id 80F46B80E; Wed,  9 Mar 2016 17:53:14 +0000 (UTC)
References: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de>
To: kristof.teichel@ptb.de, ntpwg@lists.ntp.org
From: Danny Mayer <mayer@pdmconsulting.net>
Message-ID: <56E06309.9020107@pdmconsulting.net>
Date: Wed, 9 Mar 2016 12:53:13 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Mar  9 17:53:14 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e0630a829931517688021
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@pdmconsulting.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WG: Re: WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@pdmconsulting.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/9/2016 7:23 AM, kristof.teichel@ptb.de wrote:
> Hi Miroslav,
> 
>> On Mon, Mar 07, 2016 at 05:06:10PM +0100, dieter.sibold@ptb.de wrote:
>> > Hi all,
>> >
>> > according to our understanding of the symmetric mode we added the
>> > following language to the draft in order to describe how NTS
> protects the
>> > peer associations.
>>
>> Thanks for looking into that. I've few comments.
>>
>> > First: We added section 4.2 "Symmetric (Peer) Modes"
>> >
>> >       <section title="Symmetric (Peer) Modes">
>> >         <t>For the symmetric modes (active/active, active/passive), NTS
>> > works
>> >         as it does for the client/server mode, except that both
>> > participants
>> >         have to save state information. The participant who first
> sends a
>> > peer
>> >         message takes the role of the client, a participant who first
>> > receives
>> >         a peer message takes the role of the server, except that it
> keeps
>>
>> This is an interesting approach.
>>
>> For ephemeral associations I think the server/client direction of the
>> NTS association is clear. But for persistent associations, what if
>> both peers send packets before receiving reply from the other peer?
> 
> This depends heavily on the behavioral policy of an NTS participant who
> has sent request for which are as of yet unanswered.
> There is not yet any specification text targeting this.
> 
> We are thinking about adding such text, in particular we feel that there
> are at least two obvious approaches:
> 1.) "Any sent request starts a process waiting for a response. Any
> incoming message from the intended communication partner which does not
> represent a valid response ends this process and communication must be
> restarted. The process also ends when a valid response is received, or
> when a timeout value is reached."

If you do this then an attacker can send a spoofed response forcing it
to restart the communication. This sounds like a non-starter.

> 2.) "Any sent request starts a process waiting for a response. This
> process is only ended either when a valid response is received, or when
> a timeout value is reached." (Implicitly saying that any incoming
> message is treated independently: if it is a request, it is processed as
> such and perhaps answered, if it is a response, it either represents a
> valid response to a pending request, or it is ignored and dropped.)
> Currently we feel that the second approach is better for most cases.
> In the particular case of peer mode with both peers sending requests
> before receiving replies, it might lead to two associations where only
> one would have been necessary, but this would be a rather benign error.

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 13:43:39 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D677212DA23 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 13:43:39 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 26NGgK-a-aeu for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 13:43:31 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 511B612D5AA for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 13:42:40 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 43B0886DB97 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 21:42:40 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id CA47F86DB2B for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 21:42:19 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <internet-drafts@ietf.org>) id 1adls2-0002YB-Ei for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 21:42:19 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id AF10F12D573; Wed,  9 Mar 2016 13:42:17 -0800 (PST)
MIME-Version: 1.0
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.16.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160309214217.2976.90636.idtracker@ietfa.amsl.com>
Date: Wed, 09 Mar 2016 13:42:17 -0800
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: internet-drafts@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] I-D Action: draft-reilly-ntp-bcp-01.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol of the IETF.

        Title           : Network Time Protocol Best Current Practices
        Authors         : Denis Reilly
                          Harlan Stenn
                          Dieter Sibold
	Filename        : draft-reilly-ntp-bcp-01.txt
	Pages           : 14
	Date            : 2016-03-09

Abstract:
   NTP Version 4 (NTPv4) has been widely used since its publication as
   RFC 5905 [RFC5905].  This documentation is a collection of Best
   Practices from across the NTP community.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-reilly-ntp-bcp/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-reilly-ntp-bcp-01

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-reilly-ntp-bcp-01


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 14:01:58 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D9B4812DA67 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 14:01:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.81
X-Spam-Level:
X-Spam-Status: No, score=-6.81 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=oroliagroup.onmicrosoft.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 kTrlauMotKsX for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 14:01:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C02ED12DA6A for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 14:01:18 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B2A4286DB9F for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 22:01:18 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 0435986DB36 for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 22:01:11 +0000 (UTC)
Received: from mail-db3on0062.outbound.protection.outlook.com ([157.55.234.62] helo=emea01-db3-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <denis.reilly@spectracom.orolia.com>) id 1admAB-0002zb-L4 for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 22:01:11 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=OROLIAGROUP.onmicrosoft.com; s=selector1-spectracom-orolia-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=xDcuBDOvUQ8aFEYQ3DXTHqgZ6tnuFQD7LHsQBNSiGu8=; b=EKG+Zz63sjyNvOZUc3YTj3ep+KSHd6rmBSnV5ivG6kbDZloeR01I5CGaoIC1AozvANmFGpsB/VIDMbGEvy9GAWQnU1q73JjkLy06NOqtHPxyCcVXJbJP7TrC3/3pXe/G7F0+kVefvK+rz1ijFZmk1D2HCiyrtpJuNuBGgjjKDNM=
Received: from DB5PR06MB1208.eurprd06.prod.outlook.com (10.162.153.158) by DB5PR06MB1205.eurprd06.prod.outlook.com (10.162.153.155) with Microsoft SMTP Server (TLS) id 15.1.427.16; Wed, 9 Mar 2016 22:01:01 +0000
Received: from DB5PR06MB1208.eurprd06.prod.outlook.com ([10.162.153.158]) by DB5PR06MB1208.eurprd06.prod.outlook.com ([10.162.153.158]) with mapi id 15.01.0427.019; Wed, 9 Mar 2016 22:01:01 +0000
From: Denis Reilly <denis.reilly@spectracom.orolia.com>
To: "'ntpwg@lists.ntp.org'" <ntpwg@lists.ntp.org>
Thread-Topic: New version of the NTP BCP
Thread-Index: AdF6TtYrBRZBdH5lSlyMVvqmYuqnUw==
Date: Wed, 9 Mar 2016 22:01:00 +0000
Message-ID: <DB5PR06MB1208C91523BD11214C9A73C3D2B30@DB5PR06MB1208.eurprd06.prod.outlook.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: lists.ntp.org; dkim=none (message not signed) header.d=none;lists.ntp.org; dmarc=none action=none header.from=spectracom.orolia.com;
x-originating-ip: [66.193.84.98]
x-ms-office365-filtering-correlation-id: 54d6fe46-6e3a-4406-ad6c-08d348664d53
x-microsoft-exchange-diagnostics: 1; DB5PR06MB1205; 5:N1zeBeVCxfvTynZQn+KqAGpfdnGAOBuQjU1JPd9MYwFrGfyv3dc2taGHuOHflzb+ceBnoZCbeguQnmp6HHMV2NzTdaX0vfE4Qiehe2pQHBIpeuMJDHuHZVj1jzi960ygNMOVb9nD3DJMreHXJX0EbQ==; 24:Kfe8Iq1Bm6+AUsifIynhZ8PxHSpW7+rmPxEchCUM7tSmFXLAnHLi2t8FaUEKpFETqLwphsMySaAYKFCyKgI7xoP0xrM8TwLsJPBylVSf3rQ=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DB5PR06MB1205;
x-microsoft-antispam-prvs: <DB5PR06MB12059E05F937B466CA94837AD2B30@DB5PR06MB1205.eurprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DB5PR06MB1205; BCL:0; PCL:0; RULEID:; SRVR:DB5PR06MB1205; 
x-forefront-prvs: 0876988AF0
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(41584004)(1096002)(189998001)(5004730100002)(122556002)(586003)(81166005)(87936001)(76576001)(19580395003)(107886002)(110136002)(19580405001)(66066001)(74316001)(450100001)(10400500002)(54356999)(15975445007)(50986999)(5008740100001)(2900100001)(5002640100001)(86362001)(33656002)(2906002)(77096005)(6116002)(3846002)(3660700001)(102836003)(92566002)(15974865002)(1220700001)(229853001)(11100500001)(3280700002)(5003600100002)(491001); DIR:OUT; SFP:1101; SCL:1; SRVR:DB5PR06MB1205; H:DB5PR06MB1208.eurprd06.prod.outlook.com; FPR:; SPF:None; MLV:sfv; LANG:en; 
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
MIME-Version: 1.0
X-OriginatorOrg: spectracom.orolia.com
X-MS-Exchange-CrossTenant-originalarrivaltime: 09 Mar 2016 22:01:00.9315 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: a263030c-9c1b-421f-9471-1dec0b29c664
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB5PR06MB1205
X-SA-Exim-Connect-IP: 157.55.234.62
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: denis.reilly@spectracom.orolia.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] New version of the NTP BCP
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

All,

There is a new version of the NTP BCP posted. There is a lot more informati=
on in it now, and Dieter and Harlan have graciously made some suggestions a=
nd have reviewed what is there so far. But we do have some work left to do.

If anyone has suggestions or submissions, I encourage you to either post th=
em here, or send them to me via E-mail.
I also have a git repo here if you prefer to look at the XML:

https://github.com/denisreilly/ntp-bcp

Best Regards,

--
Denis Reilly=A0=A0=A0 denis.reilly@spectracom.orolia.com

Lead Engineer, Spectracom
www.spectracomcorp.com
Office: (585) 321-5837
Fax:=A0=A0=A0 (585) 321-5219

An Orolia Group Business: www.orolia.com

This e-mail and any files transmitted with it are confidential and are inte=
nded solely for the use of the individual or entity to which they are addre=
ssed. If you received this e-mail in error please note that any use, dissem=
ination, forwarding, printing, or copying of this e-mail is strictly prohib=
ited.


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar  9 20:08:18 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 095C212DD75 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 20:08:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 g2Hzp3UxLSUD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed,  9 Mar 2016 20:08:15 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2ADAA12DD68 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed,  9 Mar 2016 20:08:15 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1CAB586DBAC for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 04:08:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9771A86D9BE for <ntpwg@lists.ntp.org>; Wed,  9 Mar 2016 19:22:31 +0000 (UTC)
Received: from krusty-motorsports.com ([192.94.170.8]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <rweltyap@krusty-motorsports.com>) id 1adjgb-0000Za-TT for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 19:22:31 +0000
Received: from dyn-169-226-93-130.wireless.albany.edu ([169.226.93.130]) by krusty-motorsports.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from <rweltyap@krusty-motorsports.com>) id 1adjgY-0003Gr-W8 for ntpwg@lists.ntp.org; Wed, 09 Mar 2016 14:22:19 -0500
To: ntpwg@lists.ntp.org
References: <OFC8F7CB89.90B878C5-ONC1257F71.0043F802-C1257F71.0044007B@ptb.de> <56E061E5.3090407@ntp.org>
From: Richard Welty <rwelty@averillpark.net>
Message-ID: <56E077E7.7070604@averillpark.net>
Date: Wed, 9 Mar 2016 14:22:15 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56E061E5.3090407@ntp.org>
X-SA-Exim-Connect-IP: 192.94.170.8
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: rweltyap@krusty-motorsports.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 10 Mar 2016 04:07:58 +0000
Subject: Re: [ntpwg] WG: Re: draft-ietf-ntp-cms-for-nts-message
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5724996424787883730=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============5724996424787883730==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="XVNwbI8rJtpHDdQlUm1Ifl9jIpWfUjhXk"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--XVNwbI8rJtpHDdQlUm1Ifl9jIpWfUjhXk
Content-Type: multipart/mixed; boundary="Qh693wKxWpqxKG9GIX3Qir3R5h56GURdn"
From: Richard Welty <rwelty@averillpark.net>
To: ntpwg@lists.ntp.org
Message-ID: <56E077E7.7070604@averillpark.net>
Subject: Re: [ntpwg] WG: Re: draft-ietf-ntp-cms-for-nts-message
References: <OFC8F7CB89.90B878C5-ONC1257F71.0043F802-C1257F71.0044007B@ptb.de>
 <56E061E5.3090407@ntp.org>
In-Reply-To: <56E061E5.3090407@ntp.org>

--Qh693wKxWpqxKG9GIX3Qir3R5h56GURdn
Content-Type: text/plain; charset=windows-1252
Content-Transfer-Encoding: quoted-printable

On 3/9/16 12:48 PM, Danny Mayer wrote:
> My possibly erroneous assumption was that the protocol will include an
> identifier to indicate which hashing algorithm to use for the digest an=
d
> that it be configurable outside the protocol. There shouldn't be any
> limits on those algorithms especially as new ones become available on a=

> regular basis and it's better not to bake any particular flavour into
> the protocol. Was I wrong?
>
my plan for the reference implementation was to enforce the basic
requirement of the drafts (nothing weaker than sha-256) and otherwise
allow access to whatever OpenSSL provides. the ntp config file will
contain a list of what algorithms a particular ntp peer wishes to support=
,
with a sensible set of defaults.
the ordering of this list on the server end will determine algorithm
priority.

richard

--=20
rwelty@averillpark.net
 Averill Park Networking - GIS & IT Consulting
 OpenStreetMap - PostgreSQL - Linux
 Java - Web Applications - Search



--Qh693wKxWpqxKG9GIX3Qir3R5h56GURdn--

--XVNwbI8rJtpHDdQlUm1Ifl9jIpWfUjhXk
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJW4HfnAAoJEKL/niN4P3QWD04P/RATeszW+o/WgDmScbqXGveL
Jlq49s2EPZqcEg2BEXJXpUD4ac3/5rUEyWtkn5ZrZL4YlK+ugjN2Gqd/54LvuhsW
8ZG1R2pvEWtKRy3nQQT48VLSvTHNogFZyC1Jlu66h1Oh8UYxievCch2qJJAY/LUj
xa+nfnU8F/lCX0bYlPSmezMKzddkn+Oxua5uj9ireuEtRh9m+sgaWVjfXkutAgyw
kTkxc+iF0MRw1efY3KjixXcKzcyQKkwzkJ4cOb+/E5YFmq3ZPYG5b9NVPDU5RBl3
Zs1XgBs5/9CX/kWJo2yKtwj2OMcIcjlFSdlVooJWdi7xpK0cJDoNZemH+Y9lWf8f
sQfQd+BdUZqQjABG3fUYHy7rjV+JstQ9bdzXLQM3a2Z3bG8OUAHVSGR1wPD+CIuY
vYsd6WMsnJooJF7rju9KwK6IeNs49Ypips4dNu4VX2GCbFpulp12XXzf7VU76Rsq
GSfks99aLnjM/TgcPmnrd5VLy2wx1pfbwip/mNrShgtwzil8NpiNMhOA1x8HDw6p
E+f5fY4SMGr/szW2LPszba00CVJGcseUESwGkmQDtxWqvyGzUReXtHVFV4VUw/CK
sazvm8027CvgNVk+NrvaMVhbSNlvBsV8iJmselGIN+rdAQ0TviEjhcbsWQVE9Ggx
XZFFOQNF/E92FqtZssXi
=t+bg
-----END PGP SIGNATURE-----

--XVNwbI8rJtpHDdQlUm1Ifl9jIpWfUjhXk--

--===============5724996424787883730==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5724996424787883730==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 10 06:58:11 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D189512D9DC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 06:58:11 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 Nwp5gtKvdueM for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 06:58:09 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id D701B12DA7B for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 06:49:55 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CE8D186DBED for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 14:49:55 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 947EF86DBC9 for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 14:49:32 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <internet-drafts@ietf.org>) id 1ae1tz-000Mwz-W0 for ntpwg@lists.ntp.org; Thu, 10 Mar 2016 14:49:32 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 81D7112D927; Thu, 10 Mar 2016 06:49:22 -0800 (PST)
MIME-Version: 1.0
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.16.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160310144922.29026.6361.idtracker@ietfa.amsl.com>
Date: Thu, 10 Mar 2016 06:49:22 -0800
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: internet-drafts@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] I-D Action: draft-ietf-ntp-checksum-trailer-07.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

A New Internet-Draft is available from the on-line Internet-Drafts directories.
This draft is a work item of the Network Time Protocol of the IETF.

        Title           : UDP Checksum Complement in the Network Time Protocol (NTP)
        Author          : Tal Mizrahi
	Filename        : draft-ietf-ntp-checksum-trailer-07.txt
	Pages           : 13
	Date            : 2016-03-10

Abstract:
   The Network Time Protocol (NTP) allows clients to synchronize to a
   time server using timestamped protocol messages. To facilitate
   accurate timestamping, some implementations use hardware-based
   timestamping engines that integrate the accurate transmission time
   into every outgoing NTP packet during transmission. Since these
   packets are transported over UDP, the UDP checksum field is then
   updated to reflect this modification. This document proposes an
   extension field that includes a 2-octet Checksum Complement, allowing
   timestamping engines to reflect the checksum modification in the last
   2 octets of the packet rather than in the UDP checksum field. The
   behavior defined in this document is interoperable with existing NTP
   implementations.


The IETF datatracker status page for this draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/

There's also a htmlized version available at:
https://tools.ietf.org/html/draft-ietf-ntp-checksum-trailer-07

A diff from the previous version is available at:
https://www.ietf.org/rfcdiff?url2=draft-ietf-ntp-checksum-trailer-07


Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

Internet-Drafts are also available by anonymous FTP at:
ftp://ftp.ietf.org/internet-drafts/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 10 07:00:58 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 790B412D94B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 07:00:58 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.81
X-Spam-Level:
X-Spam-Status: No, score=-6.81 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=isoc.onmicrosoft.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 HLByZ9cPdTG0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 07:00:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D814612DA55 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 06:53:19 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id D946486DC42 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 14:53:18 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1552B86DBCA for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 14:53:13 +0000 (UTC)
Received: from mail-bn1on0066.outbound.protection.outlook.com ([157.56.110.66] helo=na01-bn1-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <odonoghue@isoc.org>) id 1ae1xZ-000N29-13 for ntpwg@lists.ntp.org; Thu, 10 Mar 2016 14:53:13 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isoc.onmicrosoft.com;  s=selector1-isoc-org; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=SX+s3gV4fKsMxNBRgvyml9GI9It4HiboejzdVvmqHsE=; b=o0hsvOzYWHHCNwEcYK+DvoSyhMJvVM+vr7srUtSU8hG34Z9wSoZnvcViJzyX5XJG2e16dojWwWkzaaU054vRnLU9vSsGez/dLdTIur+Phn8w5hudGPD7APZra4X+C0tmYlqdR0jkK6NQHUsMm4WVG2gfNp9doqfmSg5Fa3xYB/A=
Received: from DM2PR0601MB1118.namprd06.prod.outlook.com (10.160.218.139) by DM2PR0601MB1119.namprd06.prod.outlook.com (10.160.218.14) with Microsoft SMTP Server (TLS) id 15.1.415.20; Thu, 10 Mar 2016 14:53:01 +0000
Received: from DM2PR0601MB1118.namprd06.prod.outlook.com ([10.160.218.139]) by DM2PR0601MB1118.namprd06.prod.outlook.com ([10.160.218.139]) with mapi id 15.01.0434.016; Thu, 10 Mar 2016 14:53:01 +0000
From: Karen O'Donoghue <odonoghue@isoc.org>
To: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: REMINDER: Joint NTP/TICTOC WG virtual interim - Thursday, 10 March 2016, 11:30 am EST / 16:30 UTC
Thread-Index: AQHRdZ1JRuQH9Pl+bkeo8kPWS8evsJ9SzdqA
Date: Thu, 10 Mar 2016 14:53:01 +0000
Message-ID: <FFB6819B-4082-4EE2-90A3-FC281FC94ACB@isoc.org>
References: <BC5013B6-3F1E-4F0A-96A0-E4968844D9EA@isoc.org>
In-Reply-To: <BC5013B6-3F1E-4F0A-96A0-E4968844D9EA@isoc.org>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
authentication-results: lists.ntp.org; dkim=none (message not signed) header.d=none; lists.ntp.org; dmarc=none action=none header.from=isoc.org; 
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [74.214.42.47]
x-microsoft-exchange-diagnostics: 1; DM2PR0601MB1119; 5:gC3WW4s8ZfUoIt3UEPpvmulDsMprg4E+BxQ0aTolODM7VnPAgJh1tePDSxPnDqUX34azLSl7YiwfjrMXclXMsFfT0FzVOi2XJiYUZiE1jBfRXa4+FWw2q3rTzRF4IL1gvxUvd+aq+AvJE9Nx+54z0Q==; 24:QAfyj0SuqwlMhYKD5yLZWp7wSVR4kYueY7zyDToWqVDDJKGXwcG9GAkf68GdcAaUQsyscOJLbQJgkdluQ4JHNr3zQTRtQJBBxE3//s6s8Kg=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:DM2PR0601MB1119;
x-ms-office365-filtering-correlation-id: 4e163f8f-814f-4111-c676-08d348f3ada6
x-microsoft-antispam-prvs: <DM2PR0601MB111950C5379309D8BEBDBDB9C2B40@DM2PR0601MB1119.namprd06.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:;
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:DM2PR0601MB1119; BCL:0; PCL:0; RULEID:; SRVR:DM2PR0601MB1119; 
x-forefront-prvs: 08770259B4
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(979002)(6009001)(377454003)(12213003)(24454002)(19580405001)(107886002)(19580395003)(76176999)(50986999)(54356999)(189998001)(229853001)(551544002)(6116002)(16799955002)(5004730100002)(5002640100001)(86362001)(82746002)(1220700001)(92566002)(66066001)(2950100001)(3846002)(2900100001)(586003)(10400500002)(15975445007)(36756003)(102836003)(5008740100001)(11100500001)(87936001)(83716003)(3660700001)(3280700002)(2501003)(81166005)(1096002)(77096005)(5001770100001)(2906002)(33656002)(106116001)(122556002)(106356001)(99286002)(97736004)(104396002)(969003)(989001)(999001)(1009001)(1019001); DIR:OUT; SFP:1101; SCL:1; SRVR:DM2PR0601MB1119; H:DM2PR0601MB1118.namprd06.prod.outlook.com; FPR:; SPF:None; MLV:ovrnspm; PTR:InfoNoRecords; LANG:en; 
spamdiagnosticoutput: 1:23
spamdiagnosticmetadata: NSPM
Content-ID: <1B35AD9A6F5C9043908C551D69BE7C55@namprd06.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: isoc.org
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Mar 2016 14:53:01.5606 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 89f84dfb-7285-4810-bc4d-8b9b5794554f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DM2PR0601MB1119
X-SA-Exim-Connect-IP: 157.56.110.66
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: odonoghue@isoc.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] REMINDER: Joint NTP/TICTOC WG virtual interim - Thursday, 10 March 2016, 11:30 am EST / 16:30 UTC
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Rm9sa3MsDQoNClJlbWluZGVyLCB3ZSB3aWxsIGhhdmUgYSBqb2ludCBOVFAvVElDVE9DIFdHIG1l
ZXRpbmcgbGF0ZXIgdG9kYXnigKYNCg0KVGhlIG1lZXRpbmcgaW5mb3JtYXRpb24gaXM6DQoNCk1l
ZXRpbmcgbGluazogIGh0dHBzOi8vaXNvYy53ZWJleC5jb20vaXNvYy9qLnBocD9NVElEPW1mMDJk
N2JlODU2YTIzNjJkZGFiMTM2YzRkNzNjNWIyYg0KTWVldGluZyBudW1iZXI6CTkyNCA1NDcgMTM3
DQpNZWV0aW5nIHBhc3N3b3JkOgl0aW1lIHN5bmNoDQoNCkpvaW4gYnkgcGhvbmUNCjEtODc3LTY2
OC00NDkzIENhbGwtaW4gdG9sbC1mcmVlIG51bWJlciAoVVMvQ2FuYWRhKQ0KMS02NTAtNDc5LTMy
MDggQ2FsbC1pbiB0b2xsIG51bWJlciAoVVMvQ2FuYWRhKQ0KQWRkaXRpb25hbCBnbG9iYWwgbnVt
YmVyczogDQpodHRwczovL2lzb2Mud2ViZXguY29tL2NtcDA0MDFsc3AxMS93ZWJjb21wb25lbnRz
L3dpZGdldC9nbG9iYWxjYWxsaW4vZ2xvYmFsY2FsbGluLmRvP3NpdGV1cmw9aXNvYyZzZXJ2aWNl
VHlwZT1NQyZldmVudElEPTMyNjk3MDA4NyZ0b2xsRnJlZT0wDQoNClRoZSBsaW5rcyB3ZXJlIGJy
b2tlbiBpbiB0aGUgb3JpZ2luYWwgZW1haWwgdG8gdGhlIGxpc3QuIA0KDQpLYXJlbg0KDQo+IE9u
IE1hciAzLCAyMDE2LCBhdCA1OjM3IFBNLCBLYXJlbiBPJ0Rvbm9naHVlIDxvZG9ub2dodWVAaXNv
Yy5vcmc+IHdyb3RlOg0KPiANCj4gRm9sa3MsDQo+IA0KPiBXZSB3aWxsIGhhdmUgYW5vdGhlciBp
bnRlcmltIHZpcnR1YWwgam9pbnQgbWVldGluZyBvZiB0aGUgTlRQIGFuZCBUSUNUT0Mgd29ya2lu
ZyBncm91cHMuIA0KPiBUaGlzIG1lZXRpbmcgaXMgc2NoZWR1bGVkIGZvciBUaHVyc2RheSwgMTAg
TWFyY2ggMjAxNiwgMTE6MzAgYW0gRVNUIC8gMTY6MzAgVVRDDQo+IA0KPiBUb3BpY3MgZm9yIHRo
ZSBhZ2VuZGEgaW5jbHVkZTogDQo+IC0gV0cgc3RhdHVzIHVwZGF0ZXMNCj4gLSBOVFMgV0dMQyBz
dGF0dXMgDQo+IC0gTlRQIGltcGxlbWVudGF0aW9uIHJlcG9ydHMNCj4gLSBOVFAgQkNQIHByb2dy
ZXNzIA0KPiAtIERpc2N1c3Npb24gb2YgcHJvcG9zZWQgY2hhcnRlciB1cGRhdGVzDQo+IC0gQU9C
DQo+IA0KPiBCZWxvdyBhcmUgdGhlIHdlYmV4IGRldGFpbHMgZm9yIHRoZSBtZWV0aW5nLiANCj4g
DQo+IElFVEYgTlRQL1RJQ1RPQyBXRyBKb2ludCBWaXJ0dWFsIEludGVyaW0gTWVldGluZw0KPiBU
aHVyc2RheSwgTWFyY2ggMTAsIDIwMTYNCj4gMTE6MzAgYW0gIHwgIEVhc3Rlcm4gU3RhbmRhcmQg
VGltZSAoTmV3IFlvcmssIEdNVC0wNTowMCkgIHwgIDEgaHIgMzAgbWlucw0KPiANCj4gSm9pbiBX
ZWJFeCBtZWV0aW5nDQo+IE1lZXRpbmcgbnVtYmVyOgk5MjQgNTQ3IDEzNw0KPiBNZWV0aW5nIHBh
c3N3b3JkOgl0aW1lc3luY2gNCj4gDQo+IEpvaW4gYnkgcGhvbmUNCj4gMS04NzctNjY4LTQ0OTMg
Q2FsbC1pbiB0b2xsLWZyZWUgbnVtYmVyIChVUy9DYW5hZGEpDQo+IDEtNjUwLTQ3OS0zMjA4IENh
bGwtaW4gdG9sbCBudW1iZXIgKFVTL0NhbmFkYSkNCj4gQWNjZXNzIGNvZGU6IDkyNCA1NDcgMTM3
DQo+IEdsb2JhbCBjYWxsLWluIG51bWJlcnMgIHwgIFRvbGwtZnJlZSBjYWxsaW5nIHJlc3RyaWN0
aW9ucw0KDQpfX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpu
dHB3ZyBtYWlsaW5nIGxpc3QKbnRwd2dAbGlzdHMubnRwLm9yZwpodHRwOi8vbGlzdHMubnRwLm9y
Zy9saXN0aW5mby9udHB3Zw==

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 10 08:12:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 320B412D9E9 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 08:12:28 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.92
X-Spam-Level:
X-Spam-Status: No, score=-106.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, USER_IN_WHITELIST=-100] autolearn=ham autolearn_force=no
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 lA7g_akFctcd for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 08:12:26 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 5156012D9E5 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 08:12:26 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4619786DC07 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 16:12:26 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BF0D686DBD6 for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 16:12:14 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <iesg-secretary@ietf.org>) id 1ae3C2-000OEt-LP for ntpwg@lists.ntp.org; Thu, 10 Mar 2016 16:12:14 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 57A2C12D847; Thu, 10 Mar 2016 08:12:06 -0800 (PST)
MIME-Version: 1.0
From: The IESG <iesg-secretary@ietf.org>
To: "IETF-Announce" <ietf-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.16.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160310161206.24112.59157.idtracker@ietfa.amsl.com>
Date: Thu, 10 Mar 2016 08:12:06 -0800
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: iesg-secretary@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Document Action: 'UDP Checksum Complement in the Network Time Protocol (NTP)' to Experimental RFC (draft-ietf-ntp-checksum-trailer-07.txt)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: odonoghue@isoc.org, ntpwg@lists.ntp.org, draft-ietf-ntp-checksum-trailer@ietf.org, The IESG <iesg@ietf.org>, ntp-chairs@ietf.org, rfc-editor@rfc-editor.org
Content-Type: multipart/mixed; boundary="===============0192870383023052416=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0192870383023052416==
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable

The IESG has approved the following document:
- 'UDP Checksum Complement in the Network Time Protocol (NTP)'
  (draft-ietf-ntp-checksum-trailer-07.txt) as Experimental RFC

This document is the product of the Network Time Protocol Working Group.

The IESG contact persons are Brian Haberman and Terry Manderson.

A URL of this Internet Draft is:
https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/




Technical Summary:=20

The Network Time Protocol (NTP) allows clients to synchronize to a time=20
server using timestamped protocol messages. To facilitate accurate=20
timestamping, some implementations use hardware-based timestamping=20
engines that integrate the accurate transmission time into every=20
outgoing NTP packet during transmission. Since these packets are=20
transported over UDP, the UDP checksum field is then updated to reflect=20
this modification. This document proposes an extension field that=20
includes a 2-octet Checksum Complement, allowing timestamping engines to=20
reflect the checksum modification in the last 2 octets of the packet=20
rather than in the UDP checksum field.=20

Working Group Summary:

The document has clear working group consensus for publication, and has=20
been reviewed by several WG participants since its initial adoption as a=20
working group item. This document is similar to the =E2=80=9CUDP Checksum=
=20
Complement in OWAMP and TWAMP=E2=80=9D (draft-ietf-ippm-checksum-trailer-=
05.txt)=20
in the IPPM working group. The hardware aspects of the functionality=20
described in this draft were implmented by Marvell.

Document Quality:
=20
This document has been reviewed and revised several times during its=20
development. There were no specific external expert reviews conducted.=20
=20
Personnel:=20

Karen O'Donoghue is acting as the Document Shepherd.  Brian Haberman is=20
the Responsible Area Director.=20

--===============0192870383023052416==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0192870383023052416==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 10 09:31:33 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEE8812DAA4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 09:31:33 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 8uNQO_AdgmOC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 09:31:31 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C4C0D12DAB6 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 09:31:19 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8BFC586DC0D for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 17:31:19 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 0529A86D77E for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 17:31:06 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <rwelty@nwtime.org>) id 1ae4QL-000POM-2u for ntpwg@lists.ntp.org; Thu, 10 Mar 2016 17:31:06 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 7B340B80E for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 17:30:56 +0000 (UTC)
Received: from Richards-MacBook-Air-2.local (cpe-74-70-243-84.nycap.res.rr.com [74.70.243.84]) by chessie.everett.org (Postfix) with ESMTPSA id C739DB82B for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 17:30:55 +0000 (UTC)
References: <56CF0BB9.4000702@nwtime.org>
To: ntpwg@lists.ntp.org
From: Richard Welty <rwelty@nwtime.org>
Organization: Network Time Foundation
X-Forwarded-Message-Id: <56CF0BB9.4000702@nwtime.org>
Message-ID: <56E1AF4D.8090702@nwtime.org>
Date: Thu, 10 Mar 2016 12:30:53 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56CF0BB9.4000702@nwtime.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Mar 10 17:30:56 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e1af50829931062260209
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: rwelty@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6628067608148735493=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============6628067608148735493==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="9skLUPSghhNPoAvTURk5dqgkuS48ktGmx"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--9skLUPSghhNPoAvTURk5dqgkuS48ktGmx
Content-Type: multipart/mixed; boundary="22LRAXNhtCx57NrTeF2dWeggPGJLJ9OrN"
From: Richard Welty <rwelty@nwtime.org>
To: ntpwg@lists.ntp.org
Message-ID: <56E1AF4D.8090702@nwtime.org>
Subject: Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
References: <56CF0BB9.4000702@nwtime.org>
In-Reply-To: <56CF0BB9.4000702@nwtime.org>

--22LRAXNhtCx57NrTeF2dWeggPGJLJ9OrN
Content-Type: multipart/mixed;
 boundary="------------060304050106000900070107"

This is a multi-part message in MIME format.
--------------060304050106000900070107
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

resending this with the correct from address; this is the message
Karen asked me to forward to the list.

richard


--------------060304050106000900070107
Content-Type: message/rfc822;
 name="Early Allocations for NTS drafts from the IETF NTP Working Group.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="Early Allocations for NTS drafts from the IETF NTP Working G";
 filename*1="roup.eml"

X-Mozilla-Keys: 
To: iana@iana.org
From: Richard Welty <rwelty@nwtime.org>
Subject: Early Allocations for NTS drafts from the IETF NTP Working Group
Organization: Network Time Foundation
Message-ID: <56CF0BB9.4000702@nwtime.org>
Date: Thu, 25 Feb 2016 09:12:09 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The IETF NTP Working Group requests allocation of OIDs and
extension field ids for the Network Time Security protocols in
advance of Working Group Last Call (which is pending.) We need
to have OID assignments before OpenSSL 1.1.0 goes to beta
testing which is about a month away.

The assignments requested are from
draft-ietf-ntp-cms-for-nts-messages.txt section 5 and
draft-ietf-ntp-using-nts-for-ntp.txt section 7.

the specific request is as follows:

==================================================

- From draft-ietf-ntp-cms-for-nts-messages.txt:

5.  IANA Considerations

5.1.  SMI Security for S/MIME Module Identifier Registry

   Within the "SMI Security for S/MIME Module Identifier
   (1.2.840.113549.1.9.16.0)" table, add one module identifier:

         Decimal  Description                             References
         -------  --------------------------------------  ----------
         TBD0     id-networkTimeSecurity-2015             [this doc]

5.2.  SMI Security for S/MIME CMS Content Type Registry

   Within the "SMI Security for S/MIME CMS Content Type
   (1.2.840.113549.1.9.16.1)" table, add eleven content type
   identifiers:

         Decimal  Description                             References
         -------  --------------------------------------  ----------
         TBD1     id-ct-nts-clientAccess                  [this doc]
         TBD2     id-ct-nts-serverAccess                  [this doc]
         TBD3     id-ct-nts-clientAssoc                   [this doc]
         TBD4     id-ct-nts-serverAssoc                   [this doc]
         TBD5     id-ct-nts-clientCookie                  [this doc]
         TBD6     id-ct-nts-serverCookie                  [this doc]
         TBD7     id-ct-nts-securityDataReq               [this doc]
         TBD8     id-ct-nts-securityDataResp              [this doc]


5.3.  SMI Security for PKIX Extended Key Purpose Registry

   Within the "SMI Security for PKIX Extended Key Purpose Identifiers
   (1.3.6.1.5.5.7.3)" table, add three key purpose identifiers:

         Decimal  Description                             References
         -------  --------------------------------------  ----------
         TBD14    id-kp-ntsServerAuth                     [this doc]
         TBD15    id-kp-ntsServerAuthz                    [this doc]
         TBD16    id-kp-ntsClientAuthz                    [this doc]

==================================================

- From draft-ietf-ntp-using-nts-for-ntp.txt



7.  IANA Considerations

7.1.  Field Type Registry

   Within the "NTP Extensions Field Types" registry table, add one field
   type:

   Field Type  Meaning                              References
   ----------  ------------------------------------ ----------
   TBD1        NTS-Related Content                  [this doc]

7.2.  SMI Security for S/MIME CMS Content Type Registry

   Within the "SMI Security for S/MIME CMS Content Type
   (1.2.840.113549.1.9.16.1)" table, add one content type identifier:

   Decimal  Description                                   References
   -------  --------------------------------------------  ----------
   TBD2     id-ct-nts-ntsForNtpMessageAuthenticationCode  [this doc]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJWzwu5AAoJEBg+LdNh/YEcREgP/jy5Wv8fk5jkR0LBT+bfpwmC
KrTzOEishA/9DThbsK7nJM8kdfQYFmA7yHr2BOm9E5JS7aZ5V9+oj2GmvqXK6OrC
NO3afnojuhuqGNK17FJHZtT+fkEXIzMO1xl6JptfgDHteKKbb4+/odMArsnVQu2q
anjSbIMayUm1u729SQ9iiCuQKxCecdC9mnUJjfZiu/qM6BY7fkyAIBUjDmnlqx83
2hiXWvQUIIaBuXoBfq+2tqsiJ09UfH+ey1aF8tnDd0Sgt+/d1Au1JNvF65vXj+qh
9+GSq7kIcdIi7zJsVMrRarnucUBBaeooa0NDibE99+evO5LT8XHx0dXKUGv+teg/
OstS1RSNfyYVlLywQkixlnc8ucSSjWKoMeyQA/baUAthBxa0It0s7qVZbmqLRyf6
Z4XQU2JuqP/PTQuolTeRf3EdUHx0kVkt80+PjoNEOOScjnPQHleTHu8wDsN5As5R
3PdgZJXguSpjRma9PAmY616d1VnlDp7ww+8W1jmN81FP4yE8XgJPzexVLd1QJeY0
PvgyXi/+O7//+VpbPy7HkgAez8URuA9s5DS7QB8OYEKrcslbR3+nyyo4aJC/glKN
XhGtsxuoFbf65imYiNT088qmCGUALdXNSWbOLbScKpwF9p/7lJsNAclMJ+8/IYVN
vhyszGUVMVSEFK2glOUw
=KGcT
-----END PGP SIGNATURE-----

--------------060304050106000900070107--

--22LRAXNhtCx57NrTeF2dWeggPGJLJ9OrN--

--9skLUPSghhNPoAvTURk5dqgkuS48ktGmx
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJW4a9NAAoJEBg+LdNh/YEcoTIP/0A+KpdLnvICjXJ4ikgPy3bE
Bze0YEUveTm+U2hdJHAlxY9LVuzx30DZYHMU2/9s3Vb5G6SIg5B9JvzSsfcQTYyn
mbzPb7mzEc3HBSkzj8Lm3dUiy8pY3OlVr8Zrv7w+TwszjgksxCkd2sVCWmDSd0qE
HTGeo/udMHVC84TCdLVA9mHBA3oDVkWNg8ObhkXCsoHVW8luBANt3FqI5Ol+0Ta9
rJBnxP/LCcRYRKyNiPRIb9QOkV8xPbZLNb1gG4+8WqQp5wjXgm3XfoHYJPT5u4gQ
6MG1KhX0ansNYRCVRSZ8k9ZDzWyAR0BZcC8pZfj7t8+gDipjsUchtDweirs5RWF2
NH+3WiJIwI3ADG24w0y0LKQG3fMnRpqWr4uTHbi/PL460k5MgHz+UCrK659hbIwB
1/5cTHwqXRLIAdCs/5EOL2orF2bFRWCIRPpOKjLSMXNO89CyP3EuuxDytgn+qddl
L1nY+egBwVcAlHXCP62iBiQ7lW8nXrltrNPqeRNisa32URKX7s+ovk7Qcktz5P7O
x5y7zHXiN6QcyXoNMBcH65ze0LLs9vZlD2lBWjCj7zoKH7eYmhsxloCzuZOnBYrh
IQBtjCfuw/Bh+r6lCDJFlsS8/jt+ix5HEOlq4Qu+4SWjZdZP6ufSDJtMOvt3IjPb
k7am42XxlIxRB+xMmZM5
=9z10
-----END PGP SIGNATURE-----

--9skLUPSghhNPoAvTURk5dqgkuS48ktGmx--



--===============6628067608148735493==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============6628067608148735493==--



From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 10 23:48:37 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FBFC12D56A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 23:48:37 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 HQ8BDLQZxAoq for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 10 Mar 2016 23:48:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 39C9512D569 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 10 Mar 2016 23:48:34 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1D13C86DBA3 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 07:48:33 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 0561386DBE2 for <ntpwg@lists.ntp.org>; Thu, 10 Mar 2016 16:57:37 +0000 (UTC)
Received: from krusty-motorsports.com ([192.94.170.8]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <rweltyap@krusty-motorsports.com>) id 1ae3tw-000OsE-2v for ntpwg@lists.ntp.org; Thu, 10 Mar 2016 16:57:37 +0000
Received: from cpe-74-70-243-84.nycap.res.rr.com ([74.70.243.84] helo=Richards-MacBook-Air-2.local) by krusty-motorsports.com with esmtpsa (TLSv1.2:ECDHE-RSA-AES128-GCM-SHA256:128) (Exim 4.86) (envelope-from <rweltyap@krusty-motorsports.com>) id 1ae3ts-0001dy-QH for ntpwg@lists.ntp.org; Thu, 10 Mar 2016 11:57:26 -0500
References: <56CF0BB9.4000702@nwtime.org>
To: ntpwg@lists.ntp.org
From: Richard Welty <rwelty@averillpark.net>
X-Forwarded-Message-Id: <56CF0BB9.4000702@nwtime.org>
Message-ID: <56E1A771.4030804@averillpark.net>
Date: Thu, 10 Mar 2016 11:57:21 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <56CF0BB9.4000702@nwtime.org>
X-SA-Exim-Connect-IP: 192.94.170.8
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: rweltyap@krusty-motorsports.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 11 Mar 2016 07:48:12 +0000
Subject: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3069373831641509193=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--===============3069373831641509193==
Content-Type: multipart/signed; micalg=pgp-sha256;
 protocol="application/pgp-signature";
 boundary="LBtPo214q6lWCtEID7xKPBCvLw9cISHK0"

This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--LBtPo214q6lWCtEID7xKPBCvLw9cISHK0
Content-Type: multipart/mixed; boundary="ge4h6pBsF1gWoNLGO4tM2K3PTHKkwbEhF"
From: Richard Welty <rwelty@averillpark.net>
To: ntpwg@lists.ntp.org
Message-ID: <56E1A771.4030804@averillpark.net>
Subject: Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
References: <56CF0BB9.4000702@nwtime.org>
In-Reply-To: <56CF0BB9.4000702@nwtime.org>

--ge4h6pBsF1gWoNLGO4tM2K3PTHKkwbEhF
Content-Type: multipart/mixed;
 boundary="------------090802040905060405040003"

This is a multi-part message in MIME format.
--------------090802040905060405040003
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: quoted-printable

this is the document that Karen requested i resend to the mailing list.

richard


--------------090802040905060405040003
Content-Type: message/rfc822;
 name="Early Allocations for NTS drafts from the IETF NTP Working Group.eml"
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
 filename*0="Early Allocations for NTS drafts from the IETF NTP Working G";
 filename*1="roup.eml"

X-Mozilla-Keys: 
To: iana@iana.org
From: Richard Welty <rwelty@nwtime.org>
Subject: Early Allocations for NTS drafts from the IETF NTP Working Group
Organization: Network Time Foundation
Message-ID: <56CF0BB9.4000702@nwtime.org>
Date: Thu, 25 Feb 2016 09:12:09 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0)
 Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

The IETF NTP Working Group requests allocation of OIDs and
extension field ids for the Network Time Security protocols in
advance of Working Group Last Call (which is pending.) We need
to have OID assignments before OpenSSL 1.1.0 goes to beta
testing which is about a month away.

The assignments requested are from
draft-ietf-ntp-cms-for-nts-messages.txt section 5 and
draft-ietf-ntp-using-nts-for-ntp.txt section 7.

the specific request is as follows:

==================================================

- From draft-ietf-ntp-cms-for-nts-messages.txt:

5.  IANA Considerations

5.1.  SMI Security for S/MIME Module Identifier Registry

   Within the "SMI Security for S/MIME Module Identifier
   (1.2.840.113549.1.9.16.0)" table, add one module identifier:

         Decimal  Description                             References
         -------  --------------------------------------  ----------
         TBD0     id-networkTimeSecurity-2015             [this doc]

5.2.  SMI Security for S/MIME CMS Content Type Registry

   Within the "SMI Security for S/MIME CMS Content Type
   (1.2.840.113549.1.9.16.1)" table, add eleven content type
   identifiers:

         Decimal  Description                             References
         -------  --------------------------------------  ----------
         TBD1     id-ct-nts-clientAccess                  [this doc]
         TBD2     id-ct-nts-serverAccess                  [this doc]
         TBD3     id-ct-nts-clientAssoc                   [this doc]
         TBD4     id-ct-nts-serverAssoc                   [this doc]
         TBD5     id-ct-nts-clientCookie                  [this doc]
         TBD6     id-ct-nts-serverCookie                  [this doc]
         TBD7     id-ct-nts-securityDataReq               [this doc]
         TBD8     id-ct-nts-securityDataResp              [this doc]


5.3.  SMI Security for PKIX Extended Key Purpose Registry

   Within the "SMI Security for PKIX Extended Key Purpose Identifiers
   (1.3.6.1.5.5.7.3)" table, add three key purpose identifiers:

         Decimal  Description                             References
         -------  --------------------------------------  ----------
         TBD14    id-kp-ntsServerAuth                     [this doc]
         TBD15    id-kp-ntsServerAuthz                    [this doc]
         TBD16    id-kp-ntsClientAuthz                    [this doc]

==================================================

- From draft-ietf-ntp-using-nts-for-ntp.txt



7.  IANA Considerations

7.1.  Field Type Registry

   Within the "NTP Extensions Field Types" registry table, add one field
   type:

   Field Type  Meaning                              References
   ----------  ------------------------------------ ----------
   TBD1        NTS-Related Content                  [this doc]

7.2.  SMI Security for S/MIME CMS Content Type Registry

   Within the "SMI Security for S/MIME CMS Content Type
   (1.2.840.113549.1.9.16.1)" table, add one content type identifier:

   Decimal  Description                                   References
   -------  --------------------------------------------  ----------
   TBD2     id-ct-nts-ntsForNtpMessageAuthenticationCode  [this doc]
-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJWzwu5AAoJEBg+LdNh/YEcREgP/jy5Wv8fk5jkR0LBT+bfpwmC
KrTzOEishA/9DThbsK7nJM8kdfQYFmA7yHr2BOm9E5JS7aZ5V9+oj2GmvqXK6OrC
NO3afnojuhuqGNK17FJHZtT+fkEXIzMO1xl6JptfgDHteKKbb4+/odMArsnVQu2q
anjSbIMayUm1u729SQ9iiCuQKxCecdC9mnUJjfZiu/qM6BY7fkyAIBUjDmnlqx83
2hiXWvQUIIaBuXoBfq+2tqsiJ09UfH+ey1aF8tnDd0Sgt+/d1Au1JNvF65vXj+qh
9+GSq7kIcdIi7zJsVMrRarnucUBBaeooa0NDibE99+evO5LT8XHx0dXKUGv+teg/
OstS1RSNfyYVlLywQkixlnc8ucSSjWKoMeyQA/baUAthBxa0It0s7qVZbmqLRyf6
Z4XQU2JuqP/PTQuolTeRf3EdUHx0kVkt80+PjoNEOOScjnPQHleTHu8wDsN5As5R
3PdgZJXguSpjRma9PAmY616d1VnlDp7ww+8W1jmN81FP4yE8XgJPzexVLd1QJeY0
PvgyXi/+O7//+VpbPy7HkgAez8URuA9s5DS7QB8OYEKrcslbR3+nyyo4aJC/glKN
XhGtsxuoFbf65imYiNT088qmCGUALdXNSWbOLbScKpwF9p/7lJsNAclMJ+8/IYVN
vhyszGUVMVSEFK2glOUw
=KGcT
-----END PGP SIGNATURE-----

--------------090802040905060405040003--

--ge4h6pBsF1gWoNLGO4tM2K3PTHKkwbEhF--

--LBtPo214q6lWCtEID7xKPBCvLw9cISHK0
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - http://gpgtools.org

iQIcBAEBCAAGBQJW4adxAAoJEKL/niN4P3QW9/kQAKWrJiahYYB49OzO1gaCP10k
WO2/FQDX8BfzzZS1n1FETb3UM6qj+U0reu3Zh0U0Euzles7X034VD9BIUJxZ0BTs
0ZwMltq50qYHbB6Zk1p037dX+iqIbhnKBB3fIafCCSSnvsHtOGMNry5539rMOczW
eNsSfYjkJBMU+mJwMY2kUGhAkc81vpW76HoKr+Qo5fr8h/WZ2nB5LDBg0kTnRGjk
M3j04Za5NR08TprMqQYu3nfQE3H50teYB0l+mwTqbLjv3QjFG5LE7niBSmFBhJfM
FY8f08KnQ96M8XG0pvaJF0aA7jIdln/fAD2BC/pfv6iiGYYCkdVrjA7YMHYlJqq4
knWcFxL9HL7A2IV1+jo4HRNaxjpye7dAyogBjwQ/pzhhnxPnrWU79Rm/9ERE8c9Q
q+ouwsdfxHD9BHdyiCGoXeoL6aNYh/161Vvk7iy+1c966CbTCzPgJur+IzhE8ms3
bAsu5C0mWj9XUX8S+qICdMJa9FxOSlOf5FMmLiCGt+avkfoq2qhy5pJN9+PyOxpu
zFXLNUig7SwW4bYK/IrxlG/8koe36KUtMC1jiV/sm0g4xOz7t1+QUIE+sQvHee8f
vVCp0qvilYBAQT8EiwCPF//bCgn3SIo03g1A3RWjzA6zxSgPH0mMNXobfkfvcpWq
lkkQIY7X0mWiToY1MHtj
=16Im
-----END PGP SIGNATURE-----

--LBtPo214q6lWCtEID7xKPBCvLw9cISHK0--

--===============3069373831641509193==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============3069373831641509193==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 00:43:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 672E712D580 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 00:43:17 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 a5jq_NoA2-00 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 00:43:15 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7A37F12D58D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 00:43:10 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3B1AD86DB9D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 08:43:10 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 1506486DAFA for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 08:42:51 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aeIep-000JxB-Ij for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 08:42:51 +0000
From: Harlan Stenn <stenn@ntp.org>
To: ntpwg@lists.ntp.org
In-reply-to: <56E1A771.4030804@averillpark.net>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net>
Comments: In-reply-to Richard Welty <rwelty@averillpark.net> message dated "Thu, 10 Mar 2016 11:57:21 -0500."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Fri, 11 Mar 2016 08:42:51 +0000
Message-Id: <E1aeIep-000JxB-Ij@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

I request that we recommend IANA allocate the following Field Types for
the NTS extension field:

 0x0004	NTS: MAC required
 0x1004	NTS: MAC included

Should we discuss if:

 0x2004 NTS: MAC not required

should also be permitted?  It would be used for the initial 6 packets if
the sender felt comfortable sending these initial packets with no
symmetric key MAC protection.

I'm not yet seeing any reason to allocate the:

 0x40xx Response
 0x80xx Error

Field Type flags for use with NTS.
-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 02:03:16 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0EC2912DFD8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 02:03:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 sgsmnHd_GCDh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 02:03:09 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id EEB6112E0D1 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 02:02:41 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DAB9286DB3D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 10:02:41 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id A14BA86DAB9 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 10:02:06 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aeJtF-000EXM-1f; Fri, 11 Mar 2016 10:02:05 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2BA1ksP028999-u2BA1ksR028999 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 11 Mar 2016 11:01:46 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 3E161375AC; Fri, 11 Mar 2016 11:01:46 +0100 (CET)
In-Reply-To: <E1aeIep-000JxB-Ij@stenn.ntp.org>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>
MIME-Version: 1.0
Message-ID: <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de>
From: dieter.sibold@ptb.de
Date: Fri, 11 Mar 2016 11:01:43 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP	Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============2459290572672967769=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an S/MIME signed message.

--===============2459290572672967769==
Content-Type: multipart/signed;
	 protocol="application/x-pkcs7-signature";
	 micalg=sha1;
	 boundary=-------z59195_boundary_sign

This is an S/MIME signed message.

---------z59195_boundary_sign
Content-Type: multipart/alternative; boundary="=_alternative 0037170BC1257F73_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0037170BC1257F73_=
Content-Type: text/plain; charset="US-ASCII"

I fail to see the necessity of the requested extension field types, 
mentioned below. The current specification only requires a single 
extension field type value. The requirement to append or not append a NTS 
MAC to the message is given unambiguously by the context.

Dieter


"ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
11.03.2016 09:42:51:

> Von: Harlan Stenn <stenn@ntp.org>
> An: ntpwg@lists.ntp.org
> Datum: 11.03.2016 09:43
> Betreff: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the 
> IETF NTP Working Group
> Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> 
> I request that we recommend IANA allocate the following Field Types for
> the NTS extension field:
> 
>  0x0004   NTS: MAC required
>  0x1004   NTS: MAC included
> 
> Should we discuss if:
> 
>  0x2004 NTS: MAC not required
> 
> should also be permitted?  It would be used for the initial 6 packets if
> the sender felt comfortable sending these initial packets with no
> symmetric key MAC protection.
> 
> I'm not yet seeing any reason to allocate the:
> 
>  0x40xx Response
>  0x80xx Error
> 
> Field Type flags for use with NTS.
> -- 
> Harlan Stenn <stenn@ntp.org>
> http://networktimefoundation.org - be a member!
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg

--=_alternative 0037170BC1257F73_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">I fail to see the necessity of the requested
extension field types, mentioned below. The current specification only
requires a single extension field type value. The requirement to append
or not append a NTS MAC to the message is given unambiguously by the context.</font>
<br>
<br><font size=2 face="sans-serif">Dieter<br>
</font>
<br>
<br><tt><font size=2>&quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;
schrieb am 11.03.2016 09:42:51:<br>
<br>
&gt; Von: Harlan Stenn &lt;stenn@ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; An: ntpwg@lists.ntp.org</font></tt>
<br><tt><font size=2>&gt; Datum: 11.03.2016 09:43</font></tt>
<br><tt><font size=2>&gt; Betreff: Re: [ntpwg] Fwd: Early Allocations for
NTS drafts from the <br>
&gt; IETF NTP Working Group</font></tt>
<br><tt><font size=2>&gt; Gesendet von: &quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; I request that we recommend IANA allocate the following Field Types
for<br>
&gt; the NTS extension field:<br>
&gt; <br>
&gt; &nbsp;0x0004 &nbsp; NTS: MAC required<br>
&gt; &nbsp;0x1004 &nbsp; NTS: MAC included<br>
&gt; <br>
&gt; Should we discuss if:<br>
&gt; <br>
&gt; &nbsp;0x2004 NTS: MAC not required<br>
&gt; <br>
&gt; should also be permitted? &nbsp;It would be used for the initial 6
packets if<br>
&gt; the sender felt comfortable sending these initial packets with no<br>
&gt; symmetric key MAC protection.<br>
&gt; <br>
&gt; I'm not yet seeing any reason to allocate the:<br>
&gt; <br>
&gt; &nbsp;0x40xx Response<br>
&gt; &nbsp;0x80xx Error<br>
&gt; <br>
&gt; Field Type flags for use with NTS.<br>
&gt; -- <br>
&gt; Harlan Stenn &lt;stenn@ntp.org&gt;<br>
&gt; </font></tt><a href=http://networktimefoundation.org/><tt><font size=2>http://networktimefoundation.org</font></tt></a><tt><font size=2>
- be a member!<br>
&gt; _______________________________________________<br>
&gt; ntpwg mailing list<br>
&gt; ntpwg@lists.ntp.org<br>
&gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 0037170BC1257F73_=--

---------z59195_boundary_sign
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIImzgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIj4DCCA58w
ggKHoAMCAQICASYwDQYJKoZIhvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRz
Y2hlIFRlbGVrb20gQUcxHzAdBgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMT
GkRldXRzY2hlIFRlbGVrb20gUm9vdCBDQSAyMB4XDTk5MDcwOTEyMTEwMFoXDTE5MDcwOTIzNTkw
MFowcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAdBgNVBAsT
FlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20gUm9vdCBD
QSAyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqwujNeCLKRSxFIWvPBDkOW81XUqu
3ephjZVJ9G9koxpgZqSpQCKE2dSl5XiTDmgBrblNXDrO07ioQkDfz6O6gllqkhusHJraCCslJ/lp
I0fx4Ossepv1EwLQfjR8wp48AFmr9doM9TI8K6xQ2tbD3oOUyqgMmTIOCEhWW2r72uFYWAFJX3JB
PBUGAY5draq4k7TNnuun6GotUjTbOu9cdVHa2/Mx+e5xmDLEVBVEDPmbVe2t3xgIoKOGiknuUwWP
GUzV3lh5m9JqHEKrxdWnz2gPluThYZh2YciRfNY+AOKRUIfhnQrmrZfSHcY6fcu82gM01Y5bAfVq
B7cWtm5KfwIDAQABo0IwQDAdBgNVHQ4EFgQUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDwYDVR0TBAgw
BgEB/wIBBTAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAJRkWa05ZOcp6xP+WsOL
E1fIBCTwdHfAYONn++mJpoO/loJ8btTDPe+egG67KbSYerE7VOs5F0d+Go4L/B8xWTEEss4X8yzH
YjZV4iLYiVW0mEiqZPrWHDbYRHhaWiM6V5f1ejBPrp9qTEsrjqAD4z7gqdTSe9KzqOJyPK2e/4BZ
5JtFtPY7sM05GZgy5eohYZDkMSGONLH3LzVKhRDa54o3Ib5ZY+DyhYgxU9RUFIVwefQuBncndS8f
uIr5/sW62Dbkg+znZbe/Y1rzRq+BlDfUQYzWI9Yez/VoG0Rjolq6pzVZoeVwBZsOI1eZlAptujlj
KIaS8xiE2PvRzwVWZFcwggOfMIICh6ADAgECAgEmMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYT
AkRFMRwwGgYDVQQKExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1
c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw05OTA3MDkx
MjExMDBaFw0xOTA3MDkyMzU5MDBaMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0c2NoZSBU
ZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0
c2NoZSBUZWxla29tIFJvb3QgQ0EgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKsL
ozXgiykUsRSFrzwQ5DlvNV1Krt3qYY2VSfRvZKMaYGakqUAihNnUpeV4kw5oAa25TVw6ztO4qEJA
38+juoJZapIbrBya2ggrJSf5aSNH8eDrLHqb9RMC0H40fMKePABZq/XaDPUyPCusUNrWw96DlMqo
DJkyDghIVltq+9rhWFgBSV9yQTwVBgGOXa2quJO0zZ7rp+hqLVI02zrvXHVR2tvzMfnucZgyxFQV
RAz5m1Xtrd8YCKCjhopJ7lMFjxlM1d5YeZvSahxCq8XVp89oD5bk4WGYdmHIkXzWPgDikVCH4Z0K
5q2X0h3GOn3LvNoDNNWOWwH1age3FrZuSn8CAwEAAaNCMEAwHQYDVR0OBBYEFDHDeRu69VPXF+CJ
ei0XbAqzK50zMA8GA1UdEwQIMAYBAf8CAQUwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUA
A4IBAQCUZFmtOWTnKesT/lrDixNXyAQk8HR3wGDjZ/vpiaaDv5aCfG7Uwz3vnoBuuym0mHqxO1Tr
ORdHfhqOC/wfMVkxBLLOF/Msx2I2VeIi2IlVtJhIqmT61hw22ER4WlojOleX9XowT66fakxLK46g
A+M+4KnU0nvSs6jicjytnv+AWeSbRbT2O7DNORmYMuXqIWGQ5DEhjjSx9y81SoUQ2ueKNyG+WWPg
8oWIMVPUVBSFcHn0LgZ3J3UvH7iK+f7Futg25IPs52W3v2Na80avgZQ31EGM1iPWHs/1aBtEY6Ja
uqc1WaHlcAWbDiNXmZQKbbo5YyiGkvMYhNj70c8FVmRXMIIEITCCAwmgAwIBAgICAMcwDQYJKoZI
hvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAd
BgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20g
Um9vdCBDQSAyMB4XDTA2MTIxOTEwMjkwMFoXDTE5MDYzMDIzNTkwMFowWjELMAkGA1UEBhMCREUx
EzARBgNVBAoTCkRGTi1WZXJlaW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJl
aW4gUENBIEdsb2JhbCAtIEcwMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOmbw2eF
+Q2u9Y1Uw5ZQNT1i6W5M7ZTXAFuVInTUIOs0j9bswDEEC5mB4qYU0lKgKCOEi3SJBF5b4OJ4wXjL
FssoNTl7LZBF0O2gAHp8v0oOGwDDhulcKzERewzzgiRDjBw4i2poAJru3E94q9LGE5t2re7eJujv
Aa90D8EJovZrzr3TzRQwT/Xl46TIYpuCGgMnMA0CZWBN7dEJIyqWNVgn03bGcbaQHcTt/zWGfW8z
s9sPxRHCioOhlF1Ba9jSEPVM/cpRrNm975KDu9rrixZWVkPP4dUTPaYfJzDNSVTbyRM0mnF1xWzq
pwuY+SGdJ68+ozk5SGqMrcmZ+8MS8r0CAwEAAaOB2TCB1jBwBgNVHR8EaTBnMGWgY6Bhhl9odHRw
Oi8vcGtpLnRlbGVzZWMuZGUvY2dpLWJpbi9zZXJ2aWNlL2FmX0Rvd25sb2FkQVJMLmNybD8tY3Js
X2Zvcm1hdD1YXzUwOSYtaXNzdWVyPURUX1JPT1RfQ0FfMjAdBgNVHQ4EFgQUSbfGz+g9H3/qRHsT
KffxCnA+3mQwHwYDVR0jBBgwFoAUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDgYDVR0PAQH/BAQDAgEG
MBIGA1UdEwEB/wQIMAYBAf8CAQIwDQYJKoZIhvcNAQEFBQADggEBADvhWnfASBfcqRjsga9aifC9
KJKmylkYEnDsKPLnrn+WLOfyXRkx9hMrdL29gLK592fJOaJ5O+EREe5reJEzfjtfJid1U2WOM2Pu
z3PDsJIjSSFQdSOhHxjilIU9PzPpdyCNor3moYUpQPY/czJYDQlrptqFbMA/u41mZFYkTq4NPzI1
AVvpjILZcllPsYaF8XSFVuXD+Fzzje5Hs1MFcOflTYppgyjhEwmGnl7I6lgeDB/5pNRaBGj9KD6L
ArZYtfahLDdXAGerI2iNY6XvmWtc/UtW9qtAhzTUEZJs7IfFCgsHM3K0bwwdVCzYUcfMvzDTQ3Lx
Mr+MzkljqAD38hwwggQhMIIDCaADAgECAgIAxzANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJE
RTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0
IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNMDYxMjE5MTAy
OTAwWhcNMTkwNjMwMjM1OTAwWjBaMQswCQYDVQQGEwJERTETMBEGA1UEChMKREZOLVZlcmVpbjEQ
MA4GA1UECxMHREZOLVBLSTEkMCIGA1UEAxMbREZOLVZlcmVpbiBQQ0EgR2xvYmFsIC0gRzAxMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6ZvDZ4X5Da71jVTDllA1PWLpbkztlNcAW5Ui
dNQg6zSP1uzAMQQLmYHiphTSUqAoI4SLdIkEXlvg4njBeMsWyyg1OXstkEXQ7aAAeny/Sg4bAMOG
6VwrMRF7DPOCJEOMHDiLamgAmu7cT3ir0sYTm3at7t4m6O8Br3QPwQmi9mvOvdPNFDBP9eXjpMhi
m4IaAycwDQJlYE3t0QkjKpY1WCfTdsZxtpAdxO3/NYZ9bzOz2w/FEcKKg6GUXUFr2NIQ9Uz9ylGs
2b3vkoO72uuLFlZWQ8/h1RM9ph8nMM1JVNvJEzSacXXFbOqnC5j5IZ0nrz6jOTlIaoytyZn7wxLy
vQIDAQABo4HZMIHWMHAGA1UdHwRpMGcwZaBjoGGGX2h0dHA6Ly9wa2kudGVsZXNlYy5kZS9jZ2kt
YmluL3NlcnZpY2UvYWZfRG93bmxvYWRBUkwuY3JsPy1jcmxfZm9ybWF0PVhfNTA5Ji1pc3N1ZXI9
RFRfUk9PVF9DQV8yMB0GA1UdDgQWBBRJt8bP6D0ff+pEexMp9/EKcD7eZDAfBgNVHSMEGDAWgBQx
w3kbuvVT1xfgiXotF2wKsyudMzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAN
BgkqhkiG9w0BAQUFAAOCAQEAO+Fad8BIF9ypGOyBr1qJ8L0okqbKWRgScOwo8ueuf5Ys5/JdGTH2
Eyt0vb2Asrn3Z8k5onk74RER7mt4kTN+O18mJ3VTZY4zY+7Pc8OwkiNJIVB1I6EfGOKUhT0/M+l3
II2iveahhSlA9j9zMlgNCWum2oVswD+7jWZkViROrg0/MjUBW+mMgtlyWU+xhoXxdIVW5cP4XPON
7kezUwVw5+VNimmDKOETCYaeXsjqWB4MH/mk1FoEaP0oPosCtli19qEsN1cAZ6sjaI1jpe+Za1z9
S1b2q0CHNNQRkmzsh8UKCwczcrRvDB1ULNhRx8y/MNNDcvEyv4zOSWOoAPfyHDCCBO8wggPXoAMC
AQICBA0hCk0wDQYJKoZIhvcNAQEFBQAwWjELMAkGA1UEBhMCREUxEzARBgNVBAoTCkRGTi1WZXJl
aW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJlaW4gUENBIEdsb2JhbCAtIEcw
MTAeFw0wODEwMjQwODUyMTNaFw0xOTA2MzAwMDAwMDBaMGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQK
EyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0Ex
GTAXBgkqhkiG9w0BCQEWCnBraUBwdGIuZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
AQC8CsKDOSrDYswBi5TfxUlODIYEL4+n66/DnYua0jowQyIWvTFjpITNhwMbfPk1KiFmKx2cvtu7
wR7swUPdNlfWNUGJ7/9Q0AmpdsedTMTyFslgJHnJ1v1aojOhPk/MbTuolZuVuJ1ytlVwJAR5/1XU
JpHJ9e6qJJM6CJuo4Ms/3w3uMwgibPaKlSAx2gbI6BKH+p2zlIzoJSDAx64njZClg2i32uLUgoDB
7KEghrdMA2y7nqxzL4Vzb5dY5+y4iZ54txqK7ock+TpfnlBP6RZoChB/qonIle/xv+fqXWeZMhTY
BjYHkSc7+shP4Nb4wnLvv8c77uu3BrOe6e1cyDK3AgMBAAGjggGsMIIBqDASBgNVHRMBAf8ECDAG
AQH/AgEBMAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0j
BBgwFoAUSbfGz+g9H3/qRHsTKffxCnA+3mQwFQYDVR0RBA4wDIEKcGtpQHB0Yi5kZTCBiAYDVR0f
BIGAMH4wPaA7oDmGN2h0dHA6Ly9jZHAxLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2EvcHViL2Ny
bC9jYWNybC5jcmwwPaA7oDmGN2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2Ev
cHViL2NybC9jYWNybC5jcmwwgaIGCCsGAQUFBwEBBIGVMIGSMEcGCCsGAQUFBzAChjtodHRwOi8v
Y2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1yb290LWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBHBggr
BgEFBQcwAoY7aHR0cDovL2NkcDIucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBAJ3KSKdj6GjgE6pSuE74pBcKLfmC2Phy1Gfj
83Lzx9leQX67sL6uTIV5NTQgQDsjTlqyxRQJ5eYhj+ZjwfVS02pDdD+trg2iGp1WdFFsqyhts+oS
M4SpRUuZ83FHEieuWq9teT7bcWPUzckYy4k17u9LAp7+V1h7s6aOpk9RCyA1sSlFTP33O9tpLwXq
KpXHK+zG9JOV7kPDHYLAi2Krw5LB91EBSyXWLu7xK4i6prEUGRWVblckx116ikhBFy3cNr2NGfhh
KiOCphAeIFPCCxOEvRk/LkZRnZaMnHQsUHVuAs2SBB08coYSjF7/NZAXprZlpI2KZiUfeo6JU9bS
UbowggTvMIID16ADAgECAgQNIQpNMA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNVBAYTAkRFMRMwEQYD
VQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBD
QSBHbG9iYWwgLSBHMDEwHhcNMDgxMDI0MDg1MjEzWhcNMTkwNjMwMDAwMDAwWjBpMQswCQYDVQQG
EwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0G
A1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAvArCgzkqw2LMAYuU38VJTgyGBC+Pp+uvw52LmtI6MEMiFr0xY6SEzYcD
G3z5NSohZisdnL7bu8Ee7MFD3TZX1jVBie//UNAJqXbHnUzE8hbJYCR5ydb9WqIzoT5PzG07qJWb
lbidcrZVcCQEef9V1CaRyfXuqiSTOgibqODLP98N7jMIImz2ipUgMdoGyOgSh/qds5SM6CUgwMeu
J42QpYNot9ri1IKAweyhIIa3TANsu56scy+Fc2+XWOfsuImeeLcaiu6HJPk6X55QT+kWaAoQf6qJ
yJXv8b/n6l1nmTIU2AY2B5EnO/rIT+DW+MJy77/HO+7rtwaznuntXMgytwIDAQABo4IBrDCCAagw
EgYDVR0TAQH/BAgwBgEB/wIBATALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFMSA0G4oFWgxWuxwX3iO
4TBDOOo0MB8GA1UdIwQYMBaAFEm3xs/oPR9/6kR7Eyn38QpwPt5kMBUGA1UdEQQOMAyBCnBraUBw
dGIuZGUwgYgGA1UdHwSBgDB+MD2gO6A5hjdodHRwOi8vY2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1y
b290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMD2gO6A5hjdodHRwOi8vY2RwMi5wY2EuZGZuLmRlL2ds
b2JhbC1yb290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGiBggrBgEFBQcBAQSBlTCBkjBHBggrBgEF
BQcwAoY7aHR0cDovL2NkcDEucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0L2Nh
Y2VydC5jcnQwRwYIKwYBBQUHMAKGO2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3Qt
Y2EvcHViL2NhY2VydC9jYWNlcnQuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQCdykinY+ho4BOqUrhO
+KQXCi35gtj4ctRn4/Ny88fZXkF+u7C+rkyFeTU0IEA7I05assUUCeXmIY/mY8H1UtNqQ3Q/ra4N
ohqdVnRRbKsobbPqEjOEqUVLmfNxRxInrlqvbXk+23Fj1M3JGMuJNe7vSwKe/ldYe7OmjqZPUQsg
NbEpRUz99zvbaS8F6iqVxyvsxvSTle5Dwx2CwItiq8OSwfdRAUsl1i7u8SuIuqaxFBkVlW5XJMdd
eopIQRct3Da9jRn4YSojgqYQHiBTwgsThL0ZPy5GUZ2WjJx0LFB1bgLNkgQdPHKGEoxe/zWQF6a2
ZaSNimYlH3qOiVPW0lG6MIIFMTCCBBmgAwIBAgIHF5wEkEK5CzANBgkqhkiG9w0BAQUFADBpMQsw
CQYDVQQGEwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFs
dDEPMA0GA1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMB4XDTE0MDUyMTEw
NTkxMloXDTE3MDUyMDEwNTkxMlowaDELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNj
aC1UZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDTALBgNVBAsTBFEuNDIxGjAYBgNVBAMTEURyLiBE
aWV0ZXIgU2lib2xkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyYt5z0GIwexbe7Vv
kf+wpeCfISmM1FzPfdbR5jJ2l2AjGNAzqJ+aWKL0adslYl8m7JQE7pPXiTZ6sDiOhICg6XVVlLQl
j3ILO6pkvlIk9auqhRC+9Oo1yXSbbrX8BoFbHF0UdV65MtfzuIzvdInq1mpNW7/sZtlWBxen/HbC
QgVDRkXd5U0OU8wF4RW0OYnF5hxOnMsFIugFHq4oMA92zLk6j5Esk4syOiyJzuf3dDoLzTKg7n+K
3wRl0HvrE9mUgR/nuijICWdETRwKotQu27+VOjWU27w5Flpd8MYiSeV7sJEPukT11m0aQRE4h4VN
2yh24/aRJCxJOA25sW/I5QIDAQABo4IB3TCCAdkwLwYDVR0gBCgwJjARBg8rBgEEAYGtIYIsAQEE
AwEwEQYPKwYBBAGBrSGCLAIBBAMBMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMB8GA1UdJQQYMBYG
CCsGAQUFBwMEBgorBgEEAYI3FAICMB0GA1UdDgQWBBRsyFeB8XX9H0eJUJysSheMBkFZrzAfBgNV
HSMEGDAWgBTEgNBuKBVoMVrscF94juEwQzjqNDAfBgNVHREEGDAWgRRkaWV0ZXIuc2lib2xkQHB0
Yi5kZTB3BgNVHR8EcDBuMDWgM6Axhi9odHRwOi8vY2RwMS5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIv
Y3JsL2NhY3JsLmNybDA1oDOgMYYvaHR0cDovL2NkcDIucGNhLmRmbi5kZS9wdGItY2EvcHViL2Ny
bC9jYWNybC5jcmwwgZIGCCsGAQUFBwEBBIGFMIGCMD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMS5w
Y2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0L2NhY2VydC5jcnQwPwYIKwYBBQUHMAKGM2h0dHA6
Ly9jZHAyLnBjYS5kZm4uZGUvcHRiLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDANBgkqhkiG9w0B
AQUFAAOCAQEAt2XdEe0IxYuz1v6WhXz1+EfnFC3S0Yvx4J438lbPYHFkablzHsgedeZzURxl221T
5SC4i6lC36otU7xZkVuSfyJWkMbozxgE4aA+sTJW37IdRVzQSYXFZa95DPj4B7iw+RHGBTFxbVJm
USzMG8nvykOYcpRkxxLUAZglAPfmvu/X/ixsuy4oA/0OHvpIOG1SumSb325hiP9/dMxHFwjbdyqE
nxQAkGbV5kHE77yaydGlQftM5xheKiPOBzbS2ZlzPP8L8kGPrcLK0/mdW3aW+r35aru5E+515qKm
9O0r7SiTCoNbpGCwo4o+aPDVBSe/BBxTW7St2alvIpSKZjyW6TCCBTEwggQZoAMCAQICBxecBJBC
uQswDQYJKoZIhvcNAQEFBQAwaTELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNjaC1U
ZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDzANBgNVBAMTBlBUQiBDQTEZMBcGCSqGSIb3DQEJARYK
cGtpQHB0Yi5kZTAeFw0xNDA1MjExMDU5MTJaFw0xNzA1MjAxMDU5MTJaMGgxCzAJBgNVBAYTAkRF
MS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ0wCwYDVQQL
EwRRLjQyMRowGAYDVQQDExFEci4gRGlldGVyIFNpYm9sZDCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAMmLec9BiMHsW3u1b5H/sKXgnyEpjNRcz33W0eYydpdgIxjQM6ifmlii9GnbJWJf
JuyUBO6T14k2erA4joSAoOl1VZS0JY9yCzuqZL5SJPWrqoUQvvTqNcl0m261/AaBWxxdFHVeuTLX
87iM73SJ6tZqTVu/7GbZVgcXp/x2wkIFQ0ZF3eVNDlPMBeEVtDmJxeYcTpzLBSLoBR6uKDAPdsy5
Oo+RLJOLMjosic7n93Q6C80yoO5/it8EZdB76xPZlIEf57ooyAlnRE0cCqLULtu/lTo1lNu8ORZa
XfDGIknle7CRD7pE9dZtGkEROIeFTdsoduP2kSQsSTgNubFvyOUCAwEAAaOCAd0wggHZMC8GA1Ud
IAQoMCYwEQYPKwYBBAGBrSGCLAEBBAMBMBEGDysGAQQBga0hgiwCAQQDATAJBgNVHRMEAjAAMAsG
A1UdDwQEAwIF4DAfBgNVHSUEGDAWBggrBgEFBQcDBAYKKwYBBAGCNxQCAjAdBgNVHQ4EFgQUbMhX
gfF1/R9HiVCcrEoXjAZBWa8wHwYDVR0jBBgwFoAUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0R
BBgwFoEUZGlldGVyLnNpYm9sZEBwdGIuZGUwdwYDVR0fBHAwbjA1oDOgMYYvaHR0cDovL2NkcDEu
cGNhLmRmbi5kZS9wdGItY2EvcHViL2NybC9jYWNybC5jcmwwNaAzoDGGL2h0dHA6Ly9jZHAyLnBj
YS5kZm4uZGUvcHRiLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGSBggrBgEFBQcBAQSBhTCBgjA/Bggr
BgEFBQcwAoYzaHR0cDovL2NkcDEucGNhLmRmbi5kZS9wdGItY2EvcHViL2NhY2VydC9jYWNlcnQu
Y3J0MD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMi5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBALdl3RHtCMWLs9b+loV89fhH5xQt0tGL8eCe
N/JWz2BxZGm5cx7IHnXmc1EcZdttU+UguIupQt+qLVO8WZFbkn8iVpDG6M8YBOGgPrEyVt+yHUVc
0EmFxWWveQz4+Ae4sPkRxgUxcW1SZlEszBvJ78pDmHKUZMcS1AGYJQD35r7v1/4sbLsuKAP9Dh76
SDhtUrpkm99uYYj/f3TMRxcI23cqhJ8UAJBm1eZBxO+8msnRpUH7TOcYXiojzgc20tmZczz/C/JB
j63CytP5nVt2lvq9+Wq7uRPudeaipvTtK+0okwqDW6RgsKOKPmjw1QUnvwQcU1u0rdmpbyKUimY8
lukxggLJMIICxQIBATB0MGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVj
aG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0ExGTAXBgkqhkiG9w0BCQEWCnBr
aUBwdGIuZGUCBxecBJBCuQswCQYFKw4DAhoFAKCCASowGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMTYwMzExMTAwMTQ1WjAjBgkqhkiG9w0BCQQxFgQUFoDFha79DsgB
SIse99qg+DYGE5kwQwYJKoZIhvcNAQkPMTYwNDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYI
KoZIhvcNAwcwDQYIKoZIhvcNAwICASgwgYUGCyqGSIb3DQEJEAILMXagdDBpMQswCQYDVQQGEwJE
RTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0GA1UE
AxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlAgcXnASQQrkLMA0GCSqGSIb3DQEB
AQUABIIBALJZ8L0dN7ftalbO39b8AaOEPucfMkCw1sWSXenWdQO6wAML84R2+pIlQNSqgYqX2AWT
7uvn3hDJ2jBFgh2u/f2tG5JOxQBcFV6ooBb0lCnTN3YT023klgD+/LTPrPBx2rxW6jDn/gsnappk
tALcWk3UH8XqcOPl4jgdt0FkgCEaleJH+2Ko4/i19oqwpOON3TNK7vy/ofCmMK1/wLP/6eFgLB9B
Dlg1efrdOL2YDcoG21YPrZJjuQOolXWRGb2dSw08YWkE+G6ntJElyMzBjI2eyf82+GglX8R6hP8L
CnrFrvvazHt55Af57EH2TxiXOhAvBSFEUqsWKsx4w194TKAAAAAA

---------z59195_boundary_sign--

--===============2459290572672967769==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2459290572672967769==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 02:03:49 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 96C4C12DC40 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 02:03:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 jAIkn39O8cJE for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 02:03:48 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 39F5C12DFF5 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 02:03:27 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 11A8686DC1D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 10:03:26 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5A9F486DB33 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 10:02:57 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aeJuC-000EZI-JM for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 10:02:57 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 189008E23E; Fri, 11 Mar 2016 10:02:48 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2BA2lO9000729; Fri, 11 Mar 2016 05:02:47 -0500
Date: Fri, 11 Mar 2016 11:02:46 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: kristof.teichel@ptb.de
Message-ID: <20160311100246.GB28476@localhost>
References: <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org> <20160301114348.GA12938@localhost> <E1abXaT-0008P9-3o@stenn.ntp.org> <OF95964823.C0C88655-ONC1257F6C.0038C18F-C1257F6C.003D3BF3@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <OF95964823.C0C88655-ONC1257F6C.0038C18F-C1257F6C.003D3BF3@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Fri, Mar 04, 2016 at 12:08:50PM +0100, kristof.teichel@ptb.de wrote:
> I am attaching a tabular overview of estimated message sizes for the NTP 
> packets carrying different NTS messages (I translated it from data 
> supplied by Martin).

> @All: Overall feedback? Are there ideas as to how IP fragmentation could 
> cause problems that we did not consider?

My concern is that if NTS requires fragmentation even with the
ethernet MTU (1500), it will be a problem for a lot of users. Is there
any widely used protocol that needs IP fragmentation with MTU of 1500? 

My understanding (which may be completely wrong) is that it's not
uncommon for firewalls to drop ICMP packets or IP fragments. Also, in
IPv6 it seems hosts are not even required to defragment packets larger
than 1500. Wouldn't that be a problem?

On an unrelated note, I noticed in the table with expected NTS message
sizes that time_request is different from time_response. Would it make
sense to pad time_response to keep the time needed for HMAC
calculation and transmission/reception of the packet symmetric to not
add an extra offset to the measurements (assuming same HW on both
ends)?

Do the time_* messages actually include the NTS version? The
cms-for-ntp draft doesn't seem to include that field, but the ntp-nts
draft does. Also, I'm wondering if it's really necessary to include
the nonce in the time_* messages (shouldn't be the origin timestamp
enough?) and if NTP packets with the most common NTS messages couldn't
be shorter.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 05:13:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8565912D6AE for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:13:34 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 VyoQZschlNf8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:13:32 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 046CE12D680 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 05:13:32 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id F21F286DB56 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 13:13:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D9B5E86DAE7 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 11:48:22 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aeLYD-000Ku6-BC for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 11:48:22 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2BBmARH010467-u2BBmARJ010467 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 11 Mar 2016 12:48:10 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 4635937740; Fri, 11 Mar 2016 12:48:10 +0100 (CET)
In-Reply-To: <20160309151926.GE21111@localhost>
References: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de> <20160309151926.GE21111@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>
MIME-Version: 1.0
Message-ID: <OF8A6E1AE0.169BDC8E-ONC1257F73.0040375E-C1257F73.0040D4D9@ptb.de>
From: dieter.sibold@ptb.de
Date: Fri, 11 Mar 2016 12:48:07 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WG: Re: WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============8389308714635975324=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is an S/MIME signed message.

--===============8389308714635975324==
Content-Type: multipart/signed;
	 protocol="application/x-pkcs7-signature";
	 micalg=sha1;
	 boundary=-------z45833_boundary_sign

This is an S/MIME signed message.

---------z45833_boundary_sign
Content-Type: multipart/alternative; boundary="=_alternative 0040D4D8C1257F73_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0040D4D8C1257F73_=
Content-Type: text/plain; charset="US-ASCII"

Hello Miroslav, thanks for your suggestions. See questions below

"ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org> schrieb am 
09.03.2016 16:19:26:

> Von: Miroslav Lichvar <mlichvar@redhat.com>
> An: .kristof.teichel@ptb.de
> Kopie: ntpwg@lists.ntp.org
> Datum: 09.03.2016 16:54
> Betreff: Re: [ntpwg] WG: Re: WGLC on Network Time Security documents
> (3 documents)
> Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> 
> On Wed, Mar 09, 2016 at 01:23:07PM +0100, kristof.teichel@ptb.de wrote:
> > 2.) "Any sent request starts a process waiting for a response. This 
> > process is only ended either when a valid response is received, or 
when a 
> > timeout value is reached." (Implicitly saying that any incoming 
message is 
> > treated independently: if it is a request, it is processed as such and 

> > perhaps answered, if it is a response, it either represents a valid 
> > response to a pending request, or it is ignored and dropped.)
> > Currently we feel that the second approach is better for most cases.
> > In the particular case of peer mode with both peers sending requests 
> > before receiving replies, it might lead to two associations where only 
one 
> > would have been necessary, but this would be a rather benign error.
> 
> Ok, that makes sense, but if the protocol allows and can't prevent two
> active peers to accidentaly create two NTS associations instead of
> one, why not do that always? The protocol would stay symmetric and the
> NTS messages could be restricted by NTP packet mode. I think that
> would be a cleaner approach.
> 
> > > To allow that, I think the peer in the server NTS role shouldn't
> > > keep or update any state [until...]
> > 
> > We agree. We believe the specification to be consistent with this. If 
at 
> > some point it is not, please point this out to us.
> 
> The NTP specification requires peers to update their state variables
> even if the test of the origin timestamp failed, otherwise the
> association couldn't be fully initialized and the peers wouldn't be
> able to synchronize to each other. With a symmetric key, that's not a
> problem as the authentication always works, there is no initialization
> phase and packets with invalid MAC can be always dropped. But with
> Autokey or NTS this allows the DoS attack. If we want to prevent it
> with NTS, I think the NTS specification will need to modify the
> behaviour of NTP peers in the initialization phase.
> 
> > > That is also the point when ephemeral associations should be 
created.
> > 
> > I do not fully understand what your meaning is here. But as far as I 
can 
> > grasp it, the answer goes back to the point directly above: this would 

> > need to be regulated at an NTP level (I believe you would like to 
prevent 
> > NTP from creating an ephemeral association before NTS has performed 
> > authentication/authorization and determined that it will now keep 
state?).
> 
> Yes, exactly.
> 
> To summarize my thoughts, I'd suggest the following for symmetric
> associations in the NTS-in-NTP spec:
> 
> - active peers are always "NTS clients" and may be also "NTS servers"
>   if their peer is active too, passive peers are always "NTS servers"

Does this mean that in an active/active association both peers are client 
and server at the same time?

> - active packets (mode 1) MUST NOT contain the following NTS messages:
>   server_access, server_assoc, server_cook, time_response
> - passive packets (mode 2) MUST NOT contain the following NTS messages:
>   client_access, client_assoc, client_cook, time_request
> - both active and passive peers MUST use passive packet (mode 2) when
>   responding to packets with client_access or client_assoc NTS
>   messages

Why is this bullet point restricted to client_access and client_assoc? 
What about client_cook and time_request? 

>   and they MUST NOT update their NTP state variables (one way
>   to do that is to respond immediatelly as if it was a client mode
>   packet)

Shall the peers respond also to time_request messages immediately?


> - passive peers mobilize ephemeral associations when the client_cook
>   message is accepted
> 
> -- 
> Miroslav Lichvar
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg

--=_alternative 0040D4D8C1257F73_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>Hello Miroslav, thanks for your suggestions. See questions
below</font></tt>
<br>
<br><tt><font size=2>&quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;
schrieb am 09.03.2016 16:19:26:<br>
<br>
&gt; Von: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;</font></tt>
<br><tt><font size=2>&gt; An: .kristof.teichel@ptb.de</font></tt>
<br><tt><font size=2>&gt; Kopie: ntpwg@lists.ntp.org</font></tt>
<br><tt><font size=2>&gt; Datum: 09.03.2016 16:54</font></tt>
<br><tt><font size=2>&gt; Betreff: Re: [ntpwg] WG: Re: WGLC on Network
Time Security documents<br>
&gt; (3 documents)</font></tt>
<br><tt><font size=2>&gt; Gesendet von: &quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;</font></tt>
<br><tt><font size=2>&gt; <br>
&gt; On Wed, Mar 09, 2016 at 01:23:07PM +0100, kristof.teichel@ptb.de wrote:<br>
&gt; &gt; 2.) &quot;Any sent request starts a process waiting for a response.
This <br>
&gt; &gt; process is only ended either when a valid response is received,
or when a <br>
&gt; &gt; timeout value is reached.&quot; (Implicitly saying that any incoming
message is <br>
&gt; &gt; treated independently: if it is a request, it is processed as
such and <br>
&gt; &gt; perhaps answered, if it is a response, it either represents a
valid <br>
&gt; &gt; response to a pending request, or it is ignored and dropped.)<br>
&gt; &gt; Currently we feel that the second approach is better for most
cases.<br>
&gt; &gt; In the particular case of peer mode with both peers sending requests
<br>
&gt; &gt; before receiving replies, it might lead to two associations where
only one <br>
&gt; &gt; would have been necessary, but this would be a rather benign
error.<br>
&gt; <br>
&gt; Ok, that makes sense, but if the protocol allows and can't prevent
two<br>
&gt; active peers to accidentaly create two NTS associations instead of<br>
&gt; one, why not do that always? The protocol would stay symmetric and
the<br>
&gt; NTS messages could be restricted by NTP packet mode. I think that<br>
&gt; would be a cleaner approach.<br>
&gt; <br>
&gt; &gt; &gt; To allow that, I think the peer in the server NTS role shouldn't<br>
&gt; &gt; &gt; keep or update any state [until...]<br>
&gt; &gt; <br>
&gt; &gt; We agree. We believe the specification to be consistent with
this. If at <br>
&gt; &gt; some point it is not, please point this out to us.<br>
&gt; <br>
&gt; The NTP specification requires peers to update their state variables<br>
&gt; even if the test of the origin timestamp failed, otherwise the<br>
&gt; association couldn't be fully initialized and the peers wouldn't be<br>
&gt; able to synchronize to each other. With a symmetric key, that's not
a<br>
&gt; problem as the authentication always works, there is no initialization<br>
&gt; phase and packets with invalid MAC can be always dropped. But with<br>
&gt; Autokey or NTS this allows the DoS attack. If we want to prevent it<br>
&gt; with NTS, I think the NTS specification will need to modify the<br>
&gt; behaviour of NTP peers in the initialization phase.<br>
&gt; <br>
&gt; &gt; &gt; That is also the point when ephemeral associations should
be created.<br>
&gt; &gt; <br>
&gt; &gt; I do not fully understand what your meaning is here. But as far
as I can <br>
&gt; &gt; grasp it, the answer goes back to the point directly above: this
would <br>
&gt; &gt; need to be regulated at an NTP level (I believe you would like
to prevent <br>
&gt; &gt; NTP from creating an ephemeral association before NTS has performed
<br>
&gt; &gt; authentication/authorization and determined that it will now
keep state?).<br>
&gt; <br>
&gt; Yes, exactly.<br>
&gt; <br>
&gt; To summarize my thoughts, I'd suggest the following for symmetric<br>
&gt; associations in the NTS-in-NTP spec:<br>
&gt; <br>
&gt; - active peers are always &quot;NTS clients&quot; and may be also
&quot;NTS servers&quot;<br>
&gt; &nbsp; if their peer is active too, passive peers are always &quot;NTS
servers&quot;</font></tt>
<br>
<br><tt><font size=2>Does this mean that in an active/active association
both peers are client and server at the same time?</font></tt>
<br><tt><font size=2><br>
&gt; - active packets (mode 1) MUST NOT contain the following NTS messages:<br>
&gt; &nbsp; server_access, server_assoc, server_cook, time_response<br>
&gt; - passive packets (mode 2) MUST NOT contain the following NTS messages:<br>
&gt; &nbsp; client_access, client_assoc, client_cook, time_request<br>
&gt; - both active and passive peers MUST use passive packet (mode 2) when<br>
&gt; &nbsp; responding to packets with client_access or client_assoc NTS<br>
&gt; &nbsp; messages</font></tt>
<br>
<br><tt><font size=2>Why is this bullet point restricted to client_access
and client_assoc? What about client_cook and time_request? </font></tt>
<br>
<br><tt><font size=2>&gt; &nbsp; and they MUST NOT update their NTP state
variables (one way<br>
&gt; &nbsp; to do that is to respond immediatelly as if it was a client
mode<br>
&gt; &nbsp; packet)<br>
</font></tt>
<br><tt><font size=2>Shall the peers respond also to time_request messages
immediately?</font></tt>
<br>
<br>
<br><tt><font size=2>&gt; - passive peers mobilize ephemeral associations
when the client_cook<br>
&gt; &nbsp; message is accepted<br>
&gt; <br>
&gt; -- <br>
&gt; Miroslav Lichvar<br>
&gt; _______________________________________________<br>
&gt; ntpwg mailing list<br>
&gt; ntpwg@lists.ntp.org<br>
&gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 0040D4D8C1257F73_=--

---------z45833_boundary_sign
Content-Type: application/x-pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIImzgIBATELMAkGBSsOAwIaBQAwCwYJKoZIhvcNAQcBoIIj4DCCA58w
ggKHoAMCAQICASYwDQYJKoZIhvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRz
Y2hlIFRlbGVrb20gQUcxHzAdBgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMT
GkRldXRzY2hlIFRlbGVrb20gUm9vdCBDQSAyMB4XDTk5MDcwOTEyMTEwMFoXDTE5MDcwOTIzNTkw
MFowcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAdBgNVBAsT
FlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20gUm9vdCBD
QSAyMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAqwujNeCLKRSxFIWvPBDkOW81XUqu
3ephjZVJ9G9koxpgZqSpQCKE2dSl5XiTDmgBrblNXDrO07ioQkDfz6O6gllqkhusHJraCCslJ/lp
I0fx4Ossepv1EwLQfjR8wp48AFmr9doM9TI8K6xQ2tbD3oOUyqgMmTIOCEhWW2r72uFYWAFJX3JB
PBUGAY5draq4k7TNnuun6GotUjTbOu9cdVHa2/Mx+e5xmDLEVBVEDPmbVe2t3xgIoKOGiknuUwWP
GUzV3lh5m9JqHEKrxdWnz2gPluThYZh2YciRfNY+AOKRUIfhnQrmrZfSHcY6fcu82gM01Y5bAfVq
B7cWtm5KfwIDAQABo0IwQDAdBgNVHQ4EFgQUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDwYDVR0TBAgw
BgEB/wIBBTAOBgNVHQ8BAf8EBAMCAQYwDQYJKoZIhvcNAQEFBQADggEBAJRkWa05ZOcp6xP+WsOL
E1fIBCTwdHfAYONn++mJpoO/loJ8btTDPe+egG67KbSYerE7VOs5F0d+Go4L/B8xWTEEss4X8yzH
YjZV4iLYiVW0mEiqZPrWHDbYRHhaWiM6V5f1ejBPrp9qTEsrjqAD4z7gqdTSe9KzqOJyPK2e/4BZ
5JtFtPY7sM05GZgy5eohYZDkMSGONLH3LzVKhRDa54o3Ib5ZY+DyhYgxU9RUFIVwefQuBncndS8f
uIr5/sW62Dbkg+znZbe/Y1rzRq+BlDfUQYzWI9Yez/VoG0Rjolq6pzVZoeVwBZsOI1eZlAptujlj
KIaS8xiE2PvRzwVWZFcwggOfMIICh6ADAgECAgEmMA0GCSqGSIb3DQEBBQUAMHExCzAJBgNVBAYT
AkRFMRwwGgYDVQQKExNEZXV0c2NoZSBUZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1
c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0c2NoZSBUZWxla29tIFJvb3QgQ0EgMjAeFw05OTA3MDkx
MjExMDBaFw0xOTA3MDkyMzU5MDBaMHExCzAJBgNVBAYTAkRFMRwwGgYDVQQKExNEZXV0c2NoZSBU
ZWxla29tIEFHMR8wHQYDVQQLExZULVRlbGVTZWMgVHJ1c3QgQ2VudGVyMSMwIQYDVQQDExpEZXV0
c2NoZSBUZWxla29tIFJvb3QgQ0EgMjCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAKsL
ozXgiykUsRSFrzwQ5DlvNV1Krt3qYY2VSfRvZKMaYGakqUAihNnUpeV4kw5oAa25TVw6ztO4qEJA
38+juoJZapIbrBya2ggrJSf5aSNH8eDrLHqb9RMC0H40fMKePABZq/XaDPUyPCusUNrWw96DlMqo
DJkyDghIVltq+9rhWFgBSV9yQTwVBgGOXa2quJO0zZ7rp+hqLVI02zrvXHVR2tvzMfnucZgyxFQV
RAz5m1Xtrd8YCKCjhopJ7lMFjxlM1d5YeZvSahxCq8XVp89oD5bk4WGYdmHIkXzWPgDikVCH4Z0K
5q2X0h3GOn3LvNoDNNWOWwH1age3FrZuSn8CAwEAAaNCMEAwHQYDVR0OBBYEFDHDeRu69VPXF+CJ
ei0XbAqzK50zMA8GA1UdEwQIMAYBAf8CAQUwDgYDVR0PAQH/BAQDAgEGMA0GCSqGSIb3DQEBBQUA
A4IBAQCUZFmtOWTnKesT/lrDixNXyAQk8HR3wGDjZ/vpiaaDv5aCfG7Uwz3vnoBuuym0mHqxO1Tr
ORdHfhqOC/wfMVkxBLLOF/Msx2I2VeIi2IlVtJhIqmT61hw22ER4WlojOleX9XowT66fakxLK46g
A+M+4KnU0nvSs6jicjytnv+AWeSbRbT2O7DNORmYMuXqIWGQ5DEhjjSx9y81SoUQ2ueKNyG+WWPg
8oWIMVPUVBSFcHn0LgZ3J3UvH7iK+f7Futg25IPs52W3v2Na80avgZQ31EGM1iPWHs/1aBtEY6Ja
uqc1WaHlcAWbDiNXmZQKbbo5YyiGkvMYhNj70c8FVmRXMIIEITCCAwmgAwIBAgICAMcwDQYJKoZI
hvcNAQEFBQAwcTELMAkGA1UEBhMCREUxHDAaBgNVBAoTE0RldXRzY2hlIFRlbGVrb20gQUcxHzAd
BgNVBAsTFlQtVGVsZVNlYyBUcnVzdCBDZW50ZXIxIzAhBgNVBAMTGkRldXRzY2hlIFRlbGVrb20g
Um9vdCBDQSAyMB4XDTA2MTIxOTEwMjkwMFoXDTE5MDYzMDIzNTkwMFowWjELMAkGA1UEBhMCREUx
EzARBgNVBAoTCkRGTi1WZXJlaW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJl
aW4gUENBIEdsb2JhbCAtIEcwMTCCASIwDQYJKoZIhvcNAQEBBQADggEPADCCAQoCggEBAOmbw2eF
+Q2u9Y1Uw5ZQNT1i6W5M7ZTXAFuVInTUIOs0j9bswDEEC5mB4qYU0lKgKCOEi3SJBF5b4OJ4wXjL
FssoNTl7LZBF0O2gAHp8v0oOGwDDhulcKzERewzzgiRDjBw4i2poAJru3E94q9LGE5t2re7eJujv
Aa90D8EJovZrzr3TzRQwT/Xl46TIYpuCGgMnMA0CZWBN7dEJIyqWNVgn03bGcbaQHcTt/zWGfW8z
s9sPxRHCioOhlF1Ba9jSEPVM/cpRrNm975KDu9rrixZWVkPP4dUTPaYfJzDNSVTbyRM0mnF1xWzq
pwuY+SGdJ68+ozk5SGqMrcmZ+8MS8r0CAwEAAaOB2TCB1jBwBgNVHR8EaTBnMGWgY6Bhhl9odHRw
Oi8vcGtpLnRlbGVzZWMuZGUvY2dpLWJpbi9zZXJ2aWNlL2FmX0Rvd25sb2FkQVJMLmNybD8tY3Js
X2Zvcm1hdD1YXzUwOSYtaXNzdWVyPURUX1JPT1RfQ0FfMjAdBgNVHQ4EFgQUSbfGz+g9H3/qRHsT
KffxCnA+3mQwHwYDVR0jBBgwFoAUMcN5G7r1U9cX4Il6LRdsCrMrnTMwDgYDVR0PAQH/BAQDAgEG
MBIGA1UdEwEB/wQIMAYBAf8CAQIwDQYJKoZIhvcNAQEFBQADggEBADvhWnfASBfcqRjsga9aifC9
KJKmylkYEnDsKPLnrn+WLOfyXRkx9hMrdL29gLK592fJOaJ5O+EREe5reJEzfjtfJid1U2WOM2Pu
z3PDsJIjSSFQdSOhHxjilIU9PzPpdyCNor3moYUpQPY/czJYDQlrptqFbMA/u41mZFYkTq4NPzI1
AVvpjILZcllPsYaF8XSFVuXD+Fzzje5Hs1MFcOflTYppgyjhEwmGnl7I6lgeDB/5pNRaBGj9KD6L
ArZYtfahLDdXAGerI2iNY6XvmWtc/UtW9qtAhzTUEZJs7IfFCgsHM3K0bwwdVCzYUcfMvzDTQ3Lx
Mr+MzkljqAD38hwwggQhMIIDCaADAgECAgIAxzANBgkqhkiG9w0BAQUFADBxMQswCQYDVQQGEwJE
RTEcMBoGA1UEChMTRGV1dHNjaGUgVGVsZWtvbSBBRzEfMB0GA1UECxMWVC1UZWxlU2VjIFRydXN0
IENlbnRlcjEjMCEGA1UEAxMaRGV1dHNjaGUgVGVsZWtvbSBSb290IENBIDIwHhcNMDYxMjE5MTAy
OTAwWhcNMTkwNjMwMjM1OTAwWjBaMQswCQYDVQQGEwJERTETMBEGA1UEChMKREZOLVZlcmVpbjEQ
MA4GA1UECxMHREZOLVBLSTEkMCIGA1UEAxMbREZOLVZlcmVpbiBQQ0EgR2xvYmFsIC0gRzAxMIIB
IjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEA6ZvDZ4X5Da71jVTDllA1PWLpbkztlNcAW5Ui
dNQg6zSP1uzAMQQLmYHiphTSUqAoI4SLdIkEXlvg4njBeMsWyyg1OXstkEXQ7aAAeny/Sg4bAMOG
6VwrMRF7DPOCJEOMHDiLamgAmu7cT3ir0sYTm3at7t4m6O8Br3QPwQmi9mvOvdPNFDBP9eXjpMhi
m4IaAycwDQJlYE3t0QkjKpY1WCfTdsZxtpAdxO3/NYZ9bzOz2w/FEcKKg6GUXUFr2NIQ9Uz9ylGs
2b3vkoO72uuLFlZWQ8/h1RM9ph8nMM1JVNvJEzSacXXFbOqnC5j5IZ0nrz6jOTlIaoytyZn7wxLy
vQIDAQABo4HZMIHWMHAGA1UdHwRpMGcwZaBjoGGGX2h0dHA6Ly9wa2kudGVsZXNlYy5kZS9jZ2kt
YmluL3NlcnZpY2UvYWZfRG93bmxvYWRBUkwuY3JsPy1jcmxfZm9ybWF0PVhfNTA5Ji1pc3N1ZXI9
RFRfUk9PVF9DQV8yMB0GA1UdDgQWBBRJt8bP6D0ff+pEexMp9/EKcD7eZDAfBgNVHSMEGDAWgBQx
w3kbuvVT1xfgiXotF2wKsyudMzAOBgNVHQ8BAf8EBAMCAQYwEgYDVR0TAQH/BAgwBgEB/wIBAjAN
BgkqhkiG9w0BAQUFAAOCAQEAO+Fad8BIF9ypGOyBr1qJ8L0okqbKWRgScOwo8ueuf5Ys5/JdGTH2
Eyt0vb2Asrn3Z8k5onk74RER7mt4kTN+O18mJ3VTZY4zY+7Pc8OwkiNJIVB1I6EfGOKUhT0/M+l3
II2iveahhSlA9j9zMlgNCWum2oVswD+7jWZkViROrg0/MjUBW+mMgtlyWU+xhoXxdIVW5cP4XPON
7kezUwVw5+VNimmDKOETCYaeXsjqWB4MH/mk1FoEaP0oPosCtli19qEsN1cAZ6sjaI1jpe+Za1z9
S1b2q0CHNNQRkmzsh8UKCwczcrRvDB1ULNhRx8y/MNNDcvEyv4zOSWOoAPfyHDCCBO8wggPXoAMC
AQICBA0hCk0wDQYJKoZIhvcNAQEFBQAwWjELMAkGA1UEBhMCREUxEzARBgNVBAoTCkRGTi1WZXJl
aW4xEDAOBgNVBAsTB0RGTi1QS0kxJDAiBgNVBAMTG0RGTi1WZXJlaW4gUENBIEdsb2JhbCAtIEcw
MTAeFw0wODEwMjQwODUyMTNaFw0xOTA2MzAwMDAwMDBaMGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQK
EyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0Ex
GTAXBgkqhkiG9w0BCQEWCnBraUBwdGIuZGUwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIB
AQC8CsKDOSrDYswBi5TfxUlODIYEL4+n66/DnYua0jowQyIWvTFjpITNhwMbfPk1KiFmKx2cvtu7
wR7swUPdNlfWNUGJ7/9Q0AmpdsedTMTyFslgJHnJ1v1aojOhPk/MbTuolZuVuJ1ytlVwJAR5/1XU
JpHJ9e6qJJM6CJuo4Ms/3w3uMwgibPaKlSAx2gbI6BKH+p2zlIzoJSDAx64njZClg2i32uLUgoDB
7KEghrdMA2y7nqxzL4Vzb5dY5+y4iZ54txqK7ock+TpfnlBP6RZoChB/qonIle/xv+fqXWeZMhTY
BjYHkSc7+shP4Nb4wnLvv8c77uu3BrOe6e1cyDK3AgMBAAGjggGsMIIBqDASBgNVHRMBAf8ECDAG
AQH/AgEBMAsGA1UdDwQEAwIBBjAdBgNVHQ4EFgQUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0j
BBgwFoAUSbfGz+g9H3/qRHsTKffxCnA+3mQwFQYDVR0RBA4wDIEKcGtpQHB0Yi5kZTCBiAYDVR0f
BIGAMH4wPaA7oDmGN2h0dHA6Ly9jZHAxLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2EvcHViL2Ny
bC9jYWNybC5jcmwwPaA7oDmGN2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3QtY2Ev
cHViL2NybC9jYWNybC5jcmwwgaIGCCsGAQUFBwEBBIGVMIGSMEcGCCsGAQUFBzAChjtodHRwOi8v
Y2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1yb290LWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDBHBggr
BgEFBQcwAoY7aHR0cDovL2NkcDIucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBAJ3KSKdj6GjgE6pSuE74pBcKLfmC2Phy1Gfj
83Lzx9leQX67sL6uTIV5NTQgQDsjTlqyxRQJ5eYhj+ZjwfVS02pDdD+trg2iGp1WdFFsqyhts+oS
M4SpRUuZ83FHEieuWq9teT7bcWPUzckYy4k17u9LAp7+V1h7s6aOpk9RCyA1sSlFTP33O9tpLwXq
KpXHK+zG9JOV7kPDHYLAi2Krw5LB91EBSyXWLu7xK4i6prEUGRWVblckx116ikhBFy3cNr2NGfhh
KiOCphAeIFPCCxOEvRk/LkZRnZaMnHQsUHVuAs2SBB08coYSjF7/NZAXprZlpI2KZiUfeo6JU9bS
UbowggTvMIID16ADAgECAgQNIQpNMA0GCSqGSIb3DQEBBQUAMFoxCzAJBgNVBAYTAkRFMRMwEQYD
VQQKEwpERk4tVmVyZWluMRAwDgYDVQQLEwdERk4tUEtJMSQwIgYDVQQDExtERk4tVmVyZWluIFBD
QSBHbG9iYWwgLSBHMDEwHhcNMDgxMDI0MDg1MjEzWhcNMTkwNjMwMDAwMDAwWjBpMQswCQYDVQQG
EwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0G
A1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMIIBIjANBgkqhkiG9w0BAQEF
AAOCAQ8AMIIBCgKCAQEAvArCgzkqw2LMAYuU38VJTgyGBC+Pp+uvw52LmtI6MEMiFr0xY6SEzYcD
G3z5NSohZisdnL7bu8Ee7MFD3TZX1jVBie//UNAJqXbHnUzE8hbJYCR5ydb9WqIzoT5PzG07qJWb
lbidcrZVcCQEef9V1CaRyfXuqiSTOgibqODLP98N7jMIImz2ipUgMdoGyOgSh/qds5SM6CUgwMeu
J42QpYNot9ri1IKAweyhIIa3TANsu56scy+Fc2+XWOfsuImeeLcaiu6HJPk6X55QT+kWaAoQf6qJ
yJXv8b/n6l1nmTIU2AY2B5EnO/rIT+DW+MJy77/HO+7rtwaznuntXMgytwIDAQABo4IBrDCCAagw
EgYDVR0TAQH/BAgwBgEB/wIBATALBgNVHQ8EBAMCAQYwHQYDVR0OBBYEFMSA0G4oFWgxWuxwX3iO
4TBDOOo0MB8GA1UdIwQYMBaAFEm3xs/oPR9/6kR7Eyn38QpwPt5kMBUGA1UdEQQOMAyBCnBraUBw
dGIuZGUwgYgGA1UdHwSBgDB+MD2gO6A5hjdodHRwOi8vY2RwMS5wY2EuZGZuLmRlL2dsb2JhbC1y
b290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMD2gO6A5hjdodHRwOi8vY2RwMi5wY2EuZGZuLmRlL2ds
b2JhbC1yb290LWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGiBggrBgEFBQcBAQSBlTCBkjBHBggrBgEF
BQcwAoY7aHR0cDovL2NkcDEucGNhLmRmbi5kZS9nbG9iYWwtcm9vdC1jYS9wdWIvY2FjZXJ0L2Nh
Y2VydC5jcnQwRwYIKwYBBQUHMAKGO2h0dHA6Ly9jZHAyLnBjYS5kZm4uZGUvZ2xvYmFsLXJvb3Qt
Y2EvcHViL2NhY2VydC9jYWNlcnQuY3J0MA0GCSqGSIb3DQEBBQUAA4IBAQCdykinY+ho4BOqUrhO
+KQXCi35gtj4ctRn4/Ny88fZXkF+u7C+rkyFeTU0IEA7I05assUUCeXmIY/mY8H1UtNqQ3Q/ra4N
ohqdVnRRbKsobbPqEjOEqUVLmfNxRxInrlqvbXk+23Fj1M3JGMuJNe7vSwKe/ldYe7OmjqZPUQsg
NbEpRUz99zvbaS8F6iqVxyvsxvSTle5Dwx2CwItiq8OSwfdRAUsl1i7u8SuIuqaxFBkVlW5XJMdd
eopIQRct3Da9jRn4YSojgqYQHiBTwgsThL0ZPy5GUZ2WjJx0LFB1bgLNkgQdPHKGEoxe/zWQF6a2
ZaSNimYlH3qOiVPW0lG6MIIFMTCCBBmgAwIBAgIHF5wEkEK5CzANBgkqhkiG9w0BAQUFADBpMQsw
CQYDVQQGEwJERTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFs
dDEPMA0GA1UEAxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlMB4XDTE0MDUyMTEw
NTkxMloXDTE3MDUyMDEwNTkxMlowaDELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNj
aC1UZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDTALBgNVBAsTBFEuNDIxGjAYBgNVBAMTEURyLiBE
aWV0ZXIgU2lib2xkMIIBIjANBgkqhkiG9w0BAQEFAAOCAQ8AMIIBCgKCAQEAyYt5z0GIwexbe7Vv
kf+wpeCfISmM1FzPfdbR5jJ2l2AjGNAzqJ+aWKL0adslYl8m7JQE7pPXiTZ6sDiOhICg6XVVlLQl
j3ILO6pkvlIk9auqhRC+9Oo1yXSbbrX8BoFbHF0UdV65MtfzuIzvdInq1mpNW7/sZtlWBxen/HbC
QgVDRkXd5U0OU8wF4RW0OYnF5hxOnMsFIugFHq4oMA92zLk6j5Esk4syOiyJzuf3dDoLzTKg7n+K
3wRl0HvrE9mUgR/nuijICWdETRwKotQu27+VOjWU27w5Flpd8MYiSeV7sJEPukT11m0aQRE4h4VN
2yh24/aRJCxJOA25sW/I5QIDAQABo4IB3TCCAdkwLwYDVR0gBCgwJjARBg8rBgEEAYGtIYIsAQEE
AwEwEQYPKwYBBAGBrSGCLAIBBAMBMAkGA1UdEwQCMAAwCwYDVR0PBAQDAgXgMB8GA1UdJQQYMBYG
CCsGAQUFBwMEBgorBgEEAYI3FAICMB0GA1UdDgQWBBRsyFeB8XX9H0eJUJysSheMBkFZrzAfBgNV
HSMEGDAWgBTEgNBuKBVoMVrscF94juEwQzjqNDAfBgNVHREEGDAWgRRkaWV0ZXIuc2lib2xkQHB0
Yi5kZTB3BgNVHR8EcDBuMDWgM6Axhi9odHRwOi8vY2RwMS5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIv
Y3JsL2NhY3JsLmNybDA1oDOgMYYvaHR0cDovL2NkcDIucGNhLmRmbi5kZS9wdGItY2EvcHViL2Ny
bC9jYWNybC5jcmwwgZIGCCsGAQUFBwEBBIGFMIGCMD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMS5w
Y2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0L2NhY2VydC5jcnQwPwYIKwYBBQUHMAKGM2h0dHA6
Ly9jZHAyLnBjYS5kZm4uZGUvcHRiLWNhL3B1Yi9jYWNlcnQvY2FjZXJ0LmNydDANBgkqhkiG9w0B
AQUFAAOCAQEAt2XdEe0IxYuz1v6WhXz1+EfnFC3S0Yvx4J438lbPYHFkablzHsgedeZzURxl221T
5SC4i6lC36otU7xZkVuSfyJWkMbozxgE4aA+sTJW37IdRVzQSYXFZa95DPj4B7iw+RHGBTFxbVJm
USzMG8nvykOYcpRkxxLUAZglAPfmvu/X/ixsuy4oA/0OHvpIOG1SumSb325hiP9/dMxHFwjbdyqE
nxQAkGbV5kHE77yaydGlQftM5xheKiPOBzbS2ZlzPP8L8kGPrcLK0/mdW3aW+r35aru5E+515qKm
9O0r7SiTCoNbpGCwo4o+aPDVBSe/BBxTW7St2alvIpSKZjyW6TCCBTEwggQZoAMCAQICBxecBJBC
uQswDQYJKoZIhvcNAQEFBQAwaTELMAkGA1UEBhMCREUxLjAsBgNVBAoTJVBoeXNpa2FsaXNjaC1U
ZWNobmlzY2hlIEJ1bmRlc2Fuc3RhbHQxDzANBgNVBAMTBlBUQiBDQTEZMBcGCSqGSIb3DQEJARYK
cGtpQHB0Yi5kZTAeFw0xNDA1MjExMDU5MTJaFw0xNzA1MjAxMDU5MTJaMGgxCzAJBgNVBAYTAkRF
MS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVjaG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ0wCwYDVQQL
EwRRLjQyMRowGAYDVQQDExFEci4gRGlldGVyIFNpYm9sZDCCASIwDQYJKoZIhvcNAQEBBQADggEP
ADCCAQoCggEBAMmLec9BiMHsW3u1b5H/sKXgnyEpjNRcz33W0eYydpdgIxjQM6ifmlii9GnbJWJf
JuyUBO6T14k2erA4joSAoOl1VZS0JY9yCzuqZL5SJPWrqoUQvvTqNcl0m261/AaBWxxdFHVeuTLX
87iM73SJ6tZqTVu/7GbZVgcXp/x2wkIFQ0ZF3eVNDlPMBeEVtDmJxeYcTpzLBSLoBR6uKDAPdsy5
Oo+RLJOLMjosic7n93Q6C80yoO5/it8EZdB76xPZlIEf57ooyAlnRE0cCqLULtu/lTo1lNu8ORZa
XfDGIknle7CRD7pE9dZtGkEROIeFTdsoduP2kSQsSTgNubFvyOUCAwEAAaOCAd0wggHZMC8GA1Ud
IAQoMCYwEQYPKwYBBAGBrSGCLAEBBAMBMBEGDysGAQQBga0hgiwCAQQDATAJBgNVHRMEAjAAMAsG
A1UdDwQEAwIF4DAfBgNVHSUEGDAWBggrBgEFBQcDBAYKKwYBBAGCNxQCAjAdBgNVHQ4EFgQUbMhX
gfF1/R9HiVCcrEoXjAZBWa8wHwYDVR0jBBgwFoAUxIDQbigVaDFa7HBfeI7hMEM46jQwHwYDVR0R
BBgwFoEUZGlldGVyLnNpYm9sZEBwdGIuZGUwdwYDVR0fBHAwbjA1oDOgMYYvaHR0cDovL2NkcDEu
cGNhLmRmbi5kZS9wdGItY2EvcHViL2NybC9jYWNybC5jcmwwNaAzoDGGL2h0dHA6Ly9jZHAyLnBj
YS5kZm4uZGUvcHRiLWNhL3B1Yi9jcmwvY2FjcmwuY3JsMIGSBggrBgEFBQcBAQSBhTCBgjA/Bggr
BgEFBQcwAoYzaHR0cDovL2NkcDEucGNhLmRmbi5kZS9wdGItY2EvcHViL2NhY2VydC9jYWNlcnQu
Y3J0MD8GCCsGAQUFBzAChjNodHRwOi8vY2RwMi5wY2EuZGZuLmRlL3B0Yi1jYS9wdWIvY2FjZXJ0
L2NhY2VydC5jcnQwDQYJKoZIhvcNAQEFBQADggEBALdl3RHtCMWLs9b+loV89fhH5xQt0tGL8eCe
N/JWz2BxZGm5cx7IHnXmc1EcZdttU+UguIupQt+qLVO8WZFbkn8iVpDG6M8YBOGgPrEyVt+yHUVc
0EmFxWWveQz4+Ae4sPkRxgUxcW1SZlEszBvJ78pDmHKUZMcS1AGYJQD35r7v1/4sbLsuKAP9Dh76
SDhtUrpkm99uYYj/f3TMRxcI23cqhJ8UAJBm1eZBxO+8msnRpUH7TOcYXiojzgc20tmZczz/C/JB
j63CytP5nVt2lvq9+Wq7uRPudeaipvTtK+0okwqDW6RgsKOKPmjw1QUnvwQcU1u0rdmpbyKUimY8
lukxggLJMIICxQIBATB0MGkxCzAJBgNVBAYTAkRFMS4wLAYDVQQKEyVQaHlzaWthbGlzY2gtVGVj
aG5pc2NoZSBCdW5kZXNhbnN0YWx0MQ8wDQYDVQQDEwZQVEIgQ0ExGTAXBgkqhkiG9w0BCQEWCnBr
aUBwdGIuZGUCBxecBJBCuQswCQYFKw4DAhoFAKCCASowGAYJKoZIhvcNAQkDMQsGCSqGSIb3DQEH
ATAcBgkqhkiG9w0BCQUxDxcNMTYwMzExMTE0ODA5WjAjBgkqhkiG9w0BCQQxFgQUMZtzKS94OtG2
iRE9G6xxdHuCLbUwQwYJKoZIhvcNAQkPMTYwNDAHBgUrDgMCHTAOBggqhkiG9w0DAgICAIAwCgYI
KoZIhvcNAwcwDQYIKoZIhvcNAwICASgwgYUGCyqGSIb3DQEJEAILMXagdDBpMQswCQYDVQQGEwJE
RTEuMCwGA1UEChMlUGh5c2lrYWxpc2NoLVRlY2huaXNjaGUgQnVuZGVzYW5zdGFsdDEPMA0GA1UE
AxMGUFRCIENBMRkwFwYJKoZIhvcNAQkBFgpwa2lAcHRiLmRlAgcXnASQQrkLMA0GCSqGSIb3DQEB
AQUABIIBAIXVzUsLFc9yv9R4Mf/Ob6cD2vxzzOMJAT/fe1gynVUB81z8VHonPnvMUAtChVKxRoXx
EU4G9ePp3o54tXrF5QJxLATZwW1DZm0U2aUHesCZ5YbIF3NT0jgoBL2J8ez5cEWfpLxk5am/Kbbx
34dGNnqkfke1UeFyuO10pLiAC+aRKXBgYIR0XbGArZZNKK/9Js+8TWP/1RxwE7FiiNHieQTQWxA2
XJiaa6+7mEpo8785VfBEgkl2XjqpLtqL6z5XVsDz3EYC+WJSQSqZbl2eGCekqb1WqYNtJHbbMJpC
r5UbJd8ZHyzCQ8IJzg6NJKUpF0OmjjxOyPxXfSmahPut2A0AAAAA

---------z45833_boundary_sign--

--===============8389308714635975324==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8389308714635975324==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 05:15:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BF0C512D5C5 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:15:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 RuCYdbH6rjwW for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:15:01 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B9E7A12D1DC for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 05:15:01 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B196A86DB61 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 13:15:01 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id A7BE986D90D for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 12:15:16 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aeLvx-000K9w-No; Fri, 11 Mar 2016 12:12:45 +0000
From: Harlan Stenn <stenn@ntp.org>
To: dieter.sibold@ptb.de
In-reply-to: <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de>
Comments: In-reply-to dieter.sibold@ptb.de message dated "Fri, 11 Mar 2016 11:01:43 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
MIME-Version: 1.0
Content-ID: <77494.1457698365.1@stenn.ntp.org>
Date: Fri, 11 Mar 2016 12:12:45 +0000
Message-Id: <E1aeLvx-000K9w-No@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

dieter.sibold@ptb.de writes:
> I fail to see the necessity of the requested extension field types, 
> mentioned below. The current specification only requires a single 
> extension field type value. The requirement to append or not append a NTS 
> MAC to the message is given unambiguously by the context.
> 
> Dieter

The need for MAC protection is generic, and increasing.

The flags I describe do not care if the MAC is NTS, old-style, or something
"new".

I think your statement about the requirement to (not) append a MAC to the
message is known unambiguously by the context is white-box.  We need a
black-box answer/information.  The described flag bits convey this
information, black-box, with no extra processing.

An increasing number of systems (want to) require MAC protection before they
will believe timestamps.

There is also increasing pressure to have correct time on a machine as soon
as possible.  Delaying the availability of MAC-protected timestamps until
the beginning of the 4th NTS exchange (the 7th packet) in this case is
unacceptable.

If you see another way to authenticate time packets before the beginning
of the 4th exchange (or 7th packet), please describe it.

I'm also about to submit a number of other extension field proposals that
make use of these flags.

H
--
> > Von: Harlan Stenn <stenn@ntp.org>
> > An: ntpwg@lists.ntp.org
> > Datum: 11.03.2016 09:43
> > Betreff: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the 
> > IETF NTP Working Group
> > Gesendet von: "ntpwg" <ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> > 
> > I request that we recommend IANA allocate the following Field Types for
> > the NTS extension field:
> > 
> >  0x0004   NTS: MAC required
> >  0x1004   NTS: MAC included
> > 
> > Should we discuss if:
> > 
> >  0x2004 NTS: MAC not required
> > 
> > should also be permitted?  It would be used for the initial 6 packets if
> > the sender felt comfortable sending these initial packets with no
> > symmetric key MAC protection.
> > 
> > I'm not yet seeing any reason to allocate the:
> > 
> >  0x40xx Response
> >  0x80xx Error
> > 
> > Field Type flags for use with NTS.
> > -- 
> > Harlan Stenn <stenn@ntp.org>
> > http://networktimefoundation.org - be a member!
> > _______________________________________________
> > ntpwg mailing list
> > ntpwg@lists.ntp.org
> > http://lists.ntp.org/listinfo/ntpwg
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 05:46:54 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC85E12D6C7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:46:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 5zqrzXq9yM-J for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:46:48 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 5627E12D65C for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 05:46:48 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3588186DB8F for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 13:46:48 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D25CF86DADE for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 12:57:46 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aeMdO-000Lti-Cc for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 12:57:46 +0000
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 70353C00EB2D; Fri, 11 Mar 2016 12:57:37 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2BCvasU028115; Fri, 11 Mar 2016 07:57:37 -0500
Date: Fri, 11 Mar 2016 13:57:36 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: dieter.sibold@ptb.de
Message-ID: <20160311125736.GC28476@localhost>
References: <OF33D674E2.24C1F1CE-ONC1257F71.00440418-C1257F71.00440914@ptb.de> <20160309151926.GE21111@localhost> <OF8A6E1AE0.169BDC8E-ONC1257F73.0040375E-C1257F73.0040D4D9@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <OF8A6E1AE0.169BDC8E-ONC1257F73.0040375E-C1257F73.0040D4D9@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WG: Re: WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Fri, Mar 11, 2016 at 12:48:07PM +0100, dieter.sibold@ptb.de wrote:
> > To summarize my thoughts, I'd suggest the following for symmetric
> > associations in the NTS-in-NTP spec:
> > 
> > - active peers are always "NTS clients" and may be also "NTS servers"
> >   if their peer is active too, passive peers are always "NTS servers"
> 
> Does this mean that in an active/active association both peers are client 
> and server at the same time?

Yes, they both "push" NTS. They save the KIV of the other peer and
compare it with values in received time_request packets. There are no
time_response messages.

To avoid confusion, maybe it would be good to explicitly say that the
direction of the NTP synchronization is not related to the direction
of the NTS server/client association.

> > - active packets (mode 1) MUST NOT contain the following NTS messages:
> >   server_access, server_assoc, server_cook, time_response
> > - passive packets (mode 2) MUST NOT contain the following NTS messages:
> >   client_access, client_assoc, client_cook, time_request
> > - both active and passive peers MUST use passive packet (mode 2) when
> >   responding to packets with client_access or client_assoc NTS
> >   messages
> 
> Why is this bullet point restricted to client_access and client_assoc? 
> What about client_cook and time_request? 

It actually follows from the first two points, maybe a better wording
would be:
- both active and passive peers use passive packets (mode 2) when
  responding to client_access, client_assoc and client_cook messages
- passive peers respond to time_request with time_response in passive
  packets, active peers never send time_response messages

The second part could then be:
- peers MUST NOT update their NTP state variables when responding to
  the client_access and client_assoc messages

> >   and they MUST NOT update their NTP state variables (one way
> >   to do that is to respond immediatelly as if it was a client mode
> >   packet)
> 
> Shall the peers respond also to time_request messages immediately?

No, I think that should be up to the normal NTP polling process. The
point is that they can update their NTP state variables only from the
client_cook and time_request messages. With the client_cook message
implementations may want to respond immediately as well to not require
additional state, but NTS probably doesn't have to require it.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 05:47:55 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2440D12D6CA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:47:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 R79xjofoiKy8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 05:47:51 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C4C4B12D6C7 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 05:47:51 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C2D5086DB98 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 13:47:51 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 629E686DADE for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 13:00:15 +0000 (UTC)
Received: from pool-71-174-223-139.bstnma.east.verizon.net ([71.174.223.139] helo=[10.10.10.102]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1aeMfu-000Lwg-MK; Fri, 11 Mar 2016 13:00:15 +0000
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>, ntpwg@lists.ntp.org
From: Danny Mayer <mayer@ntp.org>
Organization: NTP
Message-ID: <56E2C15D.6060405@ntp.org>
Date: Fri, 11 Mar 2016 08:00:13 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1aeIep-000JxB-Ij@stenn.ntp.org>
X-SA-Exim-Connect-IP: 71.174.223.139
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, stenn@ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/11/2016 3:42 AM, Harlan Stenn wrote:
> I request that we recommend IANA allocate the following Field Types for
> the NTS extension field:
> 
>  0x0004	NTS: MAC required
>  0x1004	NTS: MAC included
> 
> Should we discuss if:
> 
>  0x2004 NTS: MAC not required
> 

None of this is needed. NTS already knows what it needs.

Danny

> should also be permitted?  It would be used for the initial 6 packets if
> the sender felt comfortable sending these initial packets with no
> symmetric key MAC protection.
> 
> I'm not yet seeing any reason to allocate the:
> 
>  0x40xx Response
>  0x80xx Error
> 
> Field Type flags for use with NTS.
> 

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 06:56:45 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2FD8A12D784 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 06:56:45 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 5pMB5vQ2umS3 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 06:56:43 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B07E312D814 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 06:56:21 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8D1FF86DB8A for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 14:56:21 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 770CF86DB16 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 13:56:49 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aeNYU-000Moj-EY for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 13:56:48 +0000
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id EDCFB7F0A8; Fri, 11 Mar 2016 13:56:37 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2BDuZGs029957; Fri, 11 Mar 2016 08:56:36 -0500
Date: Fri, 11 Mar 2016 14:56:35 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160311135635.GD28476@localhost>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1aeLvx-000K9w-No@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Fri, Mar 11, 2016 at 12:12:45PM +0000, Harlan Stenn wrote:
> There is also increasing pressure to have correct time on a machine as soon
> as possible.  Delaying the availability of MAC-protected timestamps until
> the beginning of the 4th NTS exchange (the 7th packet) in this case is
> unacceptable.

I'm not sure I follow here. If you have a symmetric key or another
authentication mechanism enabled, why would you use NTS?

IIRC, Autokey in the client/server mode has the same delay (4th reply
is authenticated). Why is that now a problem with NTS? I don't
remember seeing any complaints on Autokey.

> If you see another way to authenticate time packets before the beginning
> of the 4th exchange (or 7th packet), please describe it.

I guess the packet with the server_cook message could include a MAC
using the cookie that the message contains, so the client could have
authenticated timestamps in the third reply.

> I'm also about to submit a number of other extension field proposals that
> make use of these flags.

I'm still not sure why would an extension field need to specify it
needs a MAC. Maybe if we saw for what the proposals use these flags,
it would make more sense.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 06:56:53 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1746912D83A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 06:56:53 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ydlgEdDPJQaR for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 06:56:45 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id E93A012D820 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 06:56:28 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DD9ED86DB54 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 14:56:28 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1F6BE86DB16 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 14:01:53 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1aeNdP-000Mra-V0 for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 14:01:53 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2BE1gfo024564-u2BE1gfq024564 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 15:01:42 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 3BE6E37943 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 15:01:42 +0100 (CET)
In-Reply-To: <E1aeLvx-000K9w-No@stenn.ntp.org>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net>	<E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org>
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF17E73DCF.177178A2-ONC1257F73.004A7AD8-C1257F73.004D0F17@ptb.de>
From: kristof.teichel@ptb.de
Date: Fri, 11 Mar 2016 15:01:40 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP	Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7607199589911922038=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============7607199589911922038==
Content-Type: multipart/alternative; boundary="=_alternative 004D0F17C1257F73_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 004D0F17C1257F73_=
Content-Type: text/plain; charset="US-ASCII"

> dieter.sibold@ptb.de writes:
> > I fail to see the necessity of the requested extension field types, 
> > mentioned below. The current specification only requires a single 
> > extension field type value. The requirement to append or not append a 
NTS 
> > MAC to the message is given unambiguously by the context.
> > 
> > Dieter
> 
> The need for MAC protection is generic, and increasing.
> 
> The flags I describe do not care if the MAC is NTS, old-style, or 
something
> "new".

In this case I do not understand: Why do you list them as "NTS: MAC 
required/included"?

If there is a way to communicate these things independently from the fact 
that the extension field is NTS-related, then that is another discussion. 
But from what I understand, you are proposing values that explicitly 
identify more than multiple different identifiers for NTS-related 
extension fields. In which case I agree with Dieter: I do not see a need 
to differentiate at that point (where a participant has seen, but not 
begun to process, an extension field).

> 
> I think your statement about the requirement to (not) append a MAC to 
the
> message is known unambiguously by the context is white-box.  We need a
> black-box answer/information.  The described flag bits convey this
> information, black-box, with no extra processing.
> 
> An increasing number of systems (want to) require MAC protection before 
they
> will believe timestamps.
> 
> There is also increasing pressure to have correct time on a machine as 
soon
> as possible.  Delaying the availability of MAC-protected timestamps 
until
> the beginning of the 4th NTS exchange (the 7th packet) in this case is
> unacceptable.

Any kind of MAC protection requires that the participants perform some 
kind of key exchange beforehand. In the case of NTS, this exchange is 
performed over NTP packets. 
This should not be looked at as delaying authenticated time exchange, but 
as doing the key exchange procedure (which has to be done anyway) 
in-protocol. The alternative would be to do it out-of-protocol, but 
overall: does this save any time or effort?

Instead of the time that passes between the first NTP packet sent and the 
first authenticated timestamp available to the client, consider the time 
that passes between the decision to obtain authenticated time and the 
first authenticated timestamp being available. This will in fact take more 
time and effort if the client needs to do some out-of-protocol key 
exchange first (as in the case of e.g. symmetric key MAC protection).

> 
> If you see another way to authenticate time packets before the beginning
> of the 4th exchange (or 7th packet), please describe it.
> 
> I'm also about to submit a number of other extension field proposals 
that
> make use of these flags.
> 
> H
> --
> > > Von: Harlan Stenn <stenn@ntp.org>
> > > An: ntpwg@lists.ntp.org
> > > Datum: 11.03.2016 09:43
> > > Betreff: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the 
> > > IETF NTP Working Group
> > > Gesendet von: "ntpwg" 
<ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org>
> > > 
> > > I request that we recommend IANA allocate the following Field Types 
for
> > > the NTS extension field:
> > > 
> > >  0x0004   NTS: MAC required
> > >  0x1004   NTS: MAC included
> > > 
> > > Should we discuss if:
> > > 
> > >  0x2004 NTS: MAC not required
> > > 
> > > should also be permitted?  It would be used for the initial 6 
packets if
> > > the sender felt comfortable sending these initial packets with no
> > > symmetric key MAC protection.
> > > 
> > > I'm not yet seeing any reason to allocate the:
> > > 
> > >  0x40xx Response
> > >  0x80xx Error
> > > 
> > > Field Type flags for use with NTS.
> > > -- 
> > > Harlan Stenn <stenn@ntp.org>
> > > http://networktimefoundation.org - be a member!
> > > _______________________________________________
> > > ntpwg mailing list
> > > ntpwg@lists.ntp.org
> > > http://lists.ntp.org/listinfo/ntpwg
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg

--=_alternative 004D0F17C1257F73_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>&gt; dieter.sibold@ptb.de writes:<br>
&gt; &gt; I fail to see the necessity of the requested extension field
types, <br>
&gt; &gt; mentioned below. The current specification only requires a single
<br>
&gt; &gt; extension field type value. The requirement to append or not
append a NTS <br>
&gt; &gt; MAC to the message is given unambiguously by the context.<br>
&gt; &gt; <br>
&gt; &gt; Dieter<br>
&gt; <br>
&gt; The need for MAC protection is generic, and increasing.<br>
&gt; <br>
&gt; The flags I describe do not care if the MAC is NTS, old-style, or
something<br>
&gt; &quot;new&quot;.</font></tt>
<br>
<br><tt><font size=2>In this case I do not understand: Why do you list
them as &quot;NTS: MAC required/included&quot;?</font></tt>
<br>
<br><tt><font size=2>If there is a way to communicate these things independently
from the fact that the extension field is NTS-related, then that is another
discussion. But from what I understand, you are proposing values that explicitly
identify more than multiple different identifiers for NTS-related extension
fields. In which case I agree with Dieter: I do not see a need to differentiate
at that point (where a participant has seen, but not begun to process,
an extension field).</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; I think your statement about the requirement to (not) append a MAC
to the<br>
&gt; message is known unambiguously by the context is white-box. &nbsp;We
need a<br>
&gt; black-box answer/information. &nbsp;The described flag bits convey
this<br>
&gt; information, black-box, with no extra processing.<br>
&gt; <br>
&gt; An increasing number of systems (want to) require MAC protection before
they<br>
&gt; will believe timestamps.<br>
&gt; <br>
&gt; There is also increasing pressure to have correct time on a machine
as soon<br>
&gt; as possible. &nbsp;Delaying the availability of MAC-protected timestamps
until<br>
&gt; the beginning of the 4th NTS exchange (the 7th packet) in this case
is<br>
&gt; unacceptable.</font></tt>
<br>
<br><tt><font size=2>Any kind of MAC protection requires that the participants
perform some kind of key exchange beforehand. In the case of NTS, this
exchange is performed over NTP packets. </font></tt>
<br><tt><font size=2>This should not be looked at as delaying authenticated
time exchange, but as doing the key exchange procedure (which has to be
done anyway) in-protocol. The alternative would be to do it out-of-protocol,
but overall: does this save any time or effort?</font></tt>
<br>
<br><tt><font size=2>Instead of the time that passes between the first
NTP packet sent and the first authenticated timestamp available to the
client, consider the time that passes between the decision to obtain authenticated
time and the first authenticated timestamp being available. This will in
fact take more time and effort if the client needs to do some out-of-protocol
key exchange first (as in the case of e.g. symmetric key MAC protection).</font></tt>
<br><tt><font size=2><br>
&gt; <br>
&gt; If you see another way to authenticate time packets before the beginning<br>
&gt; of the 4th exchange (or 7th packet), please describe it.<br>
&gt; <br>
&gt; I'm also about to submit a number of other extension field proposals
that<br>
&gt; make use of these flags.<br>
&gt; <br>
&gt; H<br>
&gt; --<br>
&gt; &gt; &gt; Von: Harlan Stenn &lt;stenn@ntp.org&gt;<br>
&gt; &gt; &gt; An: ntpwg@lists.ntp.org<br>
&gt; &gt; &gt; Datum: 11.03.2016 09:43<br>
&gt; &gt; &gt; Betreff: Re: [ntpwg] Fwd: Early Allocations for NTS drafts
from the <br>
&gt; &gt; &gt; IETF NTP Working Group<br>
&gt; &gt; &gt; Gesendet von: &quot;ntpwg&quot; &lt;ntpwg-bounces+dieter.sibold=ptb.de@lists.ntp.org&gt;<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I request that we recommend IANA allocate the following
Field Types for<br>
&gt; &gt; &gt; the NTS extension field:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; &nbsp;0x0004 &nbsp; NTS: MAC required<br>
&gt; &gt; &gt; &nbsp;0x1004 &nbsp; NTS: MAC included<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Should we discuss if:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; &nbsp;0x2004 NTS: MAC not required<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; should also be permitted? &nbsp;It would be used for the
initial 6 packets if<br>
&gt; &gt; &gt; the sender felt comfortable sending these initial packets
with no<br>
&gt; &gt; &gt; symmetric key MAC protection.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; I'm not yet seeing any reason to allocate the:<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; &nbsp;0x40xx Response<br>
&gt; &gt; &gt; &nbsp;0x80xx Error<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Field Type flags for use with NTS.<br>
&gt; &gt; &gt; -- <br>
&gt; &gt; &gt; Harlan Stenn &lt;stenn@ntp.org&gt;<br>
&gt; &gt; &gt; </font></tt><a href=http://networktimefoundation.org/><tt><font size=2>http://networktimefoundation.org</font></tt></a><tt><font size=2>
- be a member!<br>
&gt; &gt; &gt; _______________________________________________<br>
&gt; &gt; &gt; ntpwg mailing list<br>
&gt; &gt; &gt; ntpwg@lists.ntp.org<br>
&gt; &gt; &gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
&gt; _______________________________________________<br>
&gt; ntpwg mailing list<br>
&gt; ntpwg@lists.ntp.org<br>
&gt; </font></tt><a href=http://lists.ntp.org/listinfo/ntpwg><tt><font size=2>http://lists.ntp.org/listinfo/ntpwg</font></tt></a><tt><font size=2><br>
</font></tt>
--=_alternative 004D0F17C1257F73_=--

--===============7607199589911922038==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============7607199589911922038==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 11:01:55 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1A10512DA8F for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 11:01:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level:
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 XGRiPCYmA4KM for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 11:01:52 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 1AD6D12DA93 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 11:01:45 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id EB41886DBBA for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 19:01:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E68D286DB39 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 19:01:23 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1aeSJF-0001GN-Ip for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 19:01:23 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2BJ1A7P007984-u2BJ1A7R007984 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 20:01:10 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 597B037AFF for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 20:01:10 +0100 (CET)
MIME-Version: 1.0
X-Disclaimed: 1
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <20160311135635.GD28476@localhost>
References: <20160311135635.GD28476@localhost>, <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net>	<E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de>	<E1aeLvx-000K9w-No@stenn.ntp.org>
From: kristof.teichel@ptb.de
To: ntpwg@lists.ntp.org
Message-ID: <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
Date: Fri, 11 Mar 2016 20:01:09 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1110524564981462190=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============1110524564981462190==
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2">&gt;&gt; There is also increasing pressure to have correct time on a=
 machine&nbsp;as soon<br>&gt;&gt; as possible.  Delaying the availability o=
f MAC-protected timestamps&nbsp;until<br>&gt;&gt; the beginning of the 4th =
NTS exchange (the 7th packet) in this case&nbsp;is<br>&gt;&gt; unacceptable=
.<br>&gt;<br>&gt;I'm not sure I follow here. If you have a symmetric key or=
 another<br>&gt;authentication mechanism enabled, why would you use NTS?<br=
>&gt;<br>&gt;IIRC, Autokey in the client/server mode has the same delay (4t=
h reply<br>&gt;is authenticated). Why is that now a problem with NTS? I don=
't<br>&gt;remember seeing any complaints on Autokey.<div><br></div><div>Tha=
t's a point I've been meaning to bring up, but somehow didn't get around to=
: this "issue" is not new, or unique to NTS.</div><div>One could even have =
the association done in fewer excahnges, but at a significant security cost=
 (and I would therefore absolutley not recommend it): 1 exchange could be s=
aved if we cut algorithm negotiation, another 1 echange could be cut if we =
disabled the defense mechanism against crypto DoS.</div><div><br>&gt;&gt; I=
f you see another way to authenticate time packets before the&nbsp;beginnin=
g<br>&gt;&gt; of the 4th exchange (or 7th packet), please describe it.<br>&=
gt;<br>&gt;I guess the packet with the server=5Fcook message could include =
a MAC<br>&gt;using the cookie that the message contains, so the client coul=
d have<br>&gt;authenticated timestamps in the third reply.<div><span style=
=3D"font-size: 12.8px;"><br></span></div><div><span style=3D"font-size: 12.=
8px;">You are right in that all necessary arrangements are ready by that po=
int. In fact, w</span><span style=3D"font-size: 12.8px;">e thought about th=
is recently, but we decided that the drawback was too severe:</span></div><=
div>In contrast to the crypto operations for a time=5Fresponse (which are f=
ast by design), the processing of the NTS extension fields for a server=5Fc=
ook are computationally expensive, and precision might be degraded beyond a=
cceptable limits.</div><div><br>&gt;<br>&gt;&gt; I'm also about to submit a=
 number of other extension field&nbsp;proposals that<br>&gt;&gt; make use o=
f these flags.<br>&gt;<br>&gt;I'm still not sure why would an extension fie=
ld need to specify it<br>&gt;needs a MAC. Maybe if we saw for what the prop=
osals use these flags,<br>&gt;it would make more sense.<br>&gt;<br>&gt;-- <=
br>&gt;Miroslav Lichvar<br>&gt;=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F<br>&gt;ntpwg mailing list<br>&gt;ntpwg@lists.ntp.o=
rg<br>&gt;http://lists.ntp.org/listinfo/ntpwg<br>&gt;</div></div><div></div=
></font>

--===============1110524564981462190==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============1110524564981462190==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 14:28:56 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7A97E12D6E5 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 14:28:56 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.828
X-Spam-Level:
X-Spam-Status: No, score=-5.828 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_FONT_FACE_BAD=0.981, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 g4M5TmHagREY for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 14:28:54 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B782E12DB53 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 14:28:43 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6BB7686DBA7 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 22:28:43 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 46A5F86DB01 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 22:28:15 +0000 (UTC)
Received: from mail-qg0-x231.google.com ([2607:f8b0:400d:c04::231]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <kodonog@gmail.com>) id 1aeVXS-0004LB-Va for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 22:28:15 +0000
Received: by mail-qg0-x231.google.com with SMTP id t4so110487868qge.0 for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 14:28:06 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=sender:reply-to:subject:references:to:from:message-id:date :user-agent:mime-version:in-reply-to; bh=3y1fsmQ4/MA7p7NFaYoh3ALI++66rQ8RfJYozhHAs3M=; b=GKxxEjWBJR79fb57R6AXlGCHhXl8SYdJW7XrMxpT2+9BHbum0Z8V4+XVn2meh015iU 2DE9uhNgfALF+8L1KGg390y9/q88lO6VqN7U1e9ycAyTt46om1B3kpKUHN/yBCSPjB5L lVzLpnsbgsLgCd8uxIoGrA1MPder2Xv+9R5/ZSaWO/WTx3+RxfJLOGx71hssX6dWa2uQ 9zVh9GPtLM0o2olPhJNq9/E1CaWjYrhdCHq42K+F94FiCLoBswTYpLSXXDDWsXTQFJ8n Rtnp9KTdIE9O2aT7qcusYsq/OBpaiQh5IeWZ5N4Vc0IpTjqiDoP19odBQ73iXk2vDNcy sETQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:sender:reply-to:subject:references:to:from :message-id:date:user-agent:mime-version:in-reply-to; bh=3y1fsmQ4/MA7p7NFaYoh3ALI++66rQ8RfJYozhHAs3M=; b=UqmSr5exmPXS5x0Veo0LlnV3hcKGIqR5uw7rZhiwIIXxae/uMp3C4gPifbta64KcJy IiXLQTajxgD4/LGOmKmu4tnTWlcnBYuKvS2+78yX/N+ofU3m3vwrM+35BGyyja6bFL9K meAmycU9Zvevsjw1i7sl2HkM4SHEEPhi4UBEi4HeutP+JzT6L6g47HhwpBmfXgDUVpBA bPoxm2EbXFlNif0d8gOQRgGRgo7VkMpIvHg3WSNPYsoVWVZin8AzBI+fE3Fv4aKq783V 2CXwUpmjk2VelqZnVZ4LsJwM2HMMRi8q+38ziiAO+yuavBEpaPe3EoslIcpBW3aoxQPB a2Lg==
X-Gm-Message-State: AD7BkJKMTZWPhHj3kmA/L+1XJiTIV23IFs27BilmoPg+u62Pj9oWra4b8XLuavknactHKQ==
X-Received: by 10.140.230.207 with SMTP id a198mr16031971qhc.94.1457735286023;  Fri, 11 Mar 2016 14:28:06 -0800 (PST)
Received: from [192.168.1.138] (d-74-214-42-47.cpe.metrocast.net. [74.214.42.47]) by smtp.googlemail.com with ESMTPSA id u102sm4887911qge.27.2016.03.11.14.28.04 for <ntpwg@lists.ntp.org> (version=TLSv1/SSLv3 cipher=OTHER); Fri, 11 Mar 2016 14:28:04 -0800 (PST)
References: <20160311135635.GD28476@localhost> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
To: ntpwg@lists.ntp.org
From: Karen ODonoghue <kodonog@pobox.com>
Message-ID: <56E34673.2060000@pobox.com>
Date: Fri, 11 Mar 2016 17:28:03 -0500
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.11; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
X-SA-Exim-Connect-IP: 2607:f8b0:400d:c04::231
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kodonog@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: kodonog@pobox.com
Content-Type: multipart/mixed; boundary="===============5322752285317851599=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is a multi-part message in MIME format.
--===============5322752285317851599==
Content-Type: multipart/alternative;
 boundary="------------020609030108090200080503"

This is a multi-part message in MIME format.
--------------020609030108090200080503
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

Folks,

Based on the process outlined in RFC 7120, I have decided to proceed 
with the early allocation request as documented by Richard. This request 
was discussed in previous IETF NTP wg meetings and on the previous (Feb 
2016) virtual interim. Please note that this request does not restrict 
any additional allocations that are needed. The issues raised regarding 
additional allocations can be resolved during the development of the 
spec and the implementation. Thanks to Richard for putting together the 
final request.

Regards,
Karen


On 3/11/16 2:01 PM, kristof.teichel@ptb.de wrote:
> >> There is also increasing pressure to have correct time on a 
> machine as soon
> >> as possible. Delaying the availability of MAC-protected 
> timestamps until
> >> the beginning of the 4th NTS exchange (the 7th packet) in this case is
> >> unacceptable.
> >
> >I'm not sure I follow here. If you have a symmetric key or another
> >authentication mechanism enabled, why would you use NTS?
> >
> >IIRC, Autokey in the client/server mode has the same delay (4th reply
> >is authenticated). Why is that now a problem with NTS? I don't
> >remember seeing any complaints on Autokey.
>
> That's a point I've been meaning to bring up, but somehow didn't get 
> around to: this "issue" is not new, or unique to NTS.
> One could even have the association done in fewer excahnges, but at a 
> significant security cost (and I would therefore absolutley not 
> recommend it): 1 exchange could be saved if we cut algorithm 
> negotiation, another 1 echange could be cut if we disabled the defense 
> mechanism against crypto DoS.
>
> >> If you see another way to authenticate time packets before 
> the beginning
> >> of the 4th exchange (or 7th packet), please describe it.
> >
> >I guess the packet with the server_cook message could include a MAC
> >using the cookie that the message contains, so the client could have
> >authenticated timestamps in the third reply.
>
> You are right in that all necessary arrangements are ready by that 
> point. In fact, we thought about this recently, but we decided that 
> the drawback was too severe:
> In contrast to the crypto operations for a time_response (which are 
> fast by design), the processing of the NTS extension fields for a 
> server_cook are computationally expensive, and precision might be 
> degraded beyond acceptable limits.
>
> >
> >> I'm also about to submit a number of other extension 
> field proposals that
> >> make use of these flags.
> >
> >I'm still not sure why would an extension field need to specify it
> >needs a MAC. Maybe if we saw for what the proposals use these flags,
> >it would make more sense.
> >
> >--
> >Miroslav Lichvar
> >_______________________________________________
> >ntpwg mailing list
> >ntpwg@lists.ntp.org
> >http://lists.ntp.org/listinfo/ntpwg
> >
>
>
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg


--------------020609030108090200080503
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 8bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Folks,<br>
    <br>
    Based on the process outlined in RFC 7120, I have decided to proceed
    with the early allocation request as documented by Richard. This
    request was discussed in previous IETF NTP wg meetings and on the
    previous (Feb 2016) virtual interim. Please note that this request
    does not restrict any additional allocations that are needed. The
    issues raised regarding additional allocations can be resolved
    during the development of the spec and the implementation. Thanks to
    Richard for putting together the final request. <br>
    <br>
    Regards,<br>
    Karen<br>
    <br>
    <br>
    <div class="moz-cite-prefix">On 3/11/16 2:01 PM,
      <a class="moz-txt-link-abbreviated" href="mailto:kristof.teichel@ptb.de">kristof.teichel@ptb.de</a> wrote:<br>
    </div>
    <blockquote
cite="mid:OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de"
      type="cite"><font size="2" face="Default Sans
        Serif,Verdana,Arial,Helvetica,sans-serif">&gt;&gt; There is also
        increasing pressure to have correct time on a machine as soon<br>
        &gt;&gt; as possible. Delaying the availability of MAC-protected
        timestamps until<br>
        &gt;&gt; the beginning of the 4th NTS exchange (the 7th packet)
        in this case is<br>
        &gt;&gt; unacceptable.<br>
        &gt;<br>
        &gt;I'm not sure I follow here. If you have a symmetric key or
        another<br>
        &gt;authentication mechanism enabled, why would you use NTS?<br>
        &gt;<br>
        &gt;IIRC, Autokey in the client/server mode has the same delay
        (4th reply<br>
        &gt;is authenticated). Why is that now a problem with NTS? I
        don't<br>
        &gt;remember seeing any complaints on Autokey.
        <div><br>
        </div>
        <div>That's a point I've been meaning to bring up, but somehow
          didn't get around to: this "issue" is not new, or unique to
          NTS.</div>
        <div>One could even have the association done in fewer
          excahnges, but at a significant security cost (and I would
          therefore absolutley not recommend it): 1 exchange could be
          saved if we cut algorithm negotiation, another 1 echange could
          be cut if we disabled the defense mechanism against crypto
          DoS.</div>
        <div><br>
          &gt;&gt; If you see another way to authenticate time packets
          before the beginning<br>
          &gt;&gt; of the 4th exchange (or 7th packet), please describe
          it.<br>
          &gt;<br>
          &gt;I guess the packet with the server_cook message could
          include a MAC<br>
          &gt;using the cookie that the message contains, so the client
          could have<br>
          &gt;authenticated timestamps in the third reply.
          <div><span style="font-size: 12.8px;"><br>
            </span></div>
          <div><span style="font-size: 12.8px;">You are right in that
              all necessary arrangements are ready by that point. In
              fact, w</span><span style="font-size: 12.8px;">e thought
              about this recently, but we decided that the drawback was
              too severe:</span></div>
          <div>In contrast to the crypto operations for a time_response
            (which are fast by design), the processing of the NTS
            extension fields for a server_cook are computationally
            expensive, and precision might be degraded beyond acceptable
            limits.</div>
          <div><br>
            &gt;<br>
            &gt;&gt; I'm also about to submit a number of other
            extension field proposals that<br>
            &gt;&gt; make use of these flags.<br>
            &gt;<br>
            &gt;I'm still not sure why would an extension field need to
            specify it<br>
            &gt;needs a MAC. Maybe if we saw for what the proposals use
            these flags,<br>
            &gt;it would make more sense.<br>
            &gt;<br>
            &gt;-- <br>
            &gt;Miroslav Lichvar<br>
            &gt;_______________________________________________<br>
            &gt;ntpwg mailing list<br>
            &gt;<a class="moz-txt-link-abbreviated" href="mailto:ntpwg@lists.ntp.org">ntpwg@lists.ntp.org</a><br>
            &gt;<a class="moz-txt-link-freetext" href="http://lists.ntp.org/listinfo/ntpwg">http://lists.ntp.org/listinfo/ntpwg</a><br>
            &gt;</div>
        </div>
      </font>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
ntpwg mailing list
<a class="moz-txt-link-abbreviated" href="mailto:ntpwg@lists.ntp.org">ntpwg@lists.ntp.org</a>
<a class="moz-txt-link-freetext" href="http://lists.ntp.org/listinfo/ntpwg">http://lists.ntp.org/listinfo/ntpwg</a></pre>
    </blockquote>
    <br>
  </body>
</html>

--------------020609030108090200080503--

--===============5322752285317851599==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5322752285317851599==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 16:17:57 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E08A312DDD3 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 16:17:57 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 CZa9OMk7rV0M for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 16:17:56 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5C09412DDD2 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 16:17:56 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 2B43886DBD4 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 00:17:56 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id F3CC886D910 for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 00:17:28 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aeXFI-000Kq0-3i; Sat, 12 Mar 2016 00:17:28 +0000
From: Harlan Stenn <stenn@ntp.org>
To: mayer@ntp.org
In-reply-to: <56E2C15D.6060405@ntp.org>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <56E2C15D.6060405@ntp.org>
Comments: In-reply-to Danny Mayer <mayer@ntp.org> message dated "Fri, 11 Mar 2016 08:00:13 -0500."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 12 Mar 2016 00:17:27 +0000
Message-Id: <E1aeXFI-000Kq0-3i@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny Mayer writes:
> On 3/11/2016 3:42 AM, Harlan Stenn wrote:
> > I request that we recommend IANA allocate the following Field Types for
> > the NTS extension field:
> > 
> >  0x0004	NTS: MAC required
> >  0x1004	NTS: MAC included
> > 
> > Should we discuss if:
> > 
> >  0x2004 NTS: MAC not required
> > 
> 
> None of this is needed. NTS already knows what it needs.

That's not the point.  I've repeatedly stated it's not the point, and
explained the reasonings for my choices.

You have repeatedly said "NTS already know what it needs."

We can continue if something new happens.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 16:58:18 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0ECE012D9D7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 16:58:18 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 fFlaW3JXA8s1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 16:58:16 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 4528212D80C for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 16:58:16 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1345286DBBA for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 00:58:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id C159186DADF for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 00:58:05 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aeXq8-000KsN-LL; Sat, 12 Mar 2016 00:55:32 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160311135635.GD28476@localhost>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Fri, 11 Mar 2016 14:56:35 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 12 Mar 2016 00:55:32 +0000
Message-Id: <E1aeXq8-000KsN-LL@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Fri, Mar 11, 2016 at 12:12:45PM +0000, Harlan Stenn wrote:
>> There is also increasing pressure to have correct time on a machine
>> as soon as possible.  Delaying the availability of MAC-protected
>> timestamps until the beginning of the 4th NTS exchange (the 7th
>> packet) in this case is unacceptable.
> 
> I'm not sure I follow here. If you have a symmetric key or another
> authentication mechanism enabled, why would you use NTS?

How do you protect the first few packets otherwise?

I'm offering a mechanism that would permit symmetric key for the first
few packets.  At that point one can shift to NTS.

Put another way, we just saw an enhancement request wrapped in a CVE
about how the current symmetric key scheme does not protect broadcast
group members from receiving spoofed packets from any server that has
the private key.  CVE-2015-7974, or NTP Bug 2936.

This goes to the distinction between authentication and authorization.

> IIRC, Autokey in the client/server mode has the same delay (4th reply
> is authenticated). Why is that now a problem with NTS? I don't
> remember seeing any complaints on Autokey.

*All* autokey packets use a MAC, so they always have that level of
authentication and protection.  Autokey is an extra means to
authenticate the server to the client.

>> If you see another way to authenticate time packets before the
>> beginning of the 4th exchange (or 7th packet), please describe it.
> 
> I guess the packet with the server_cook message could include a MAC
> using the cookie that the message contains, so the client could have
> authenticated timestamps in the third reply.

That's closer, but even if that works it still means one has to wait
until the 6th packet to get MAC-protected time.

>> I'm also about to submit a number of other extension field proposals
>> that make use of these flags.
> 
> I'm still not sure why would an extension field need to specify it
> needs a MAC. Maybe if we saw for what the proposals use these flags,
> it would make more sense.

Because Tal's extension field proposal, as written, requires *no* MAC.

This triggered a bunch of changes to extension fields that I have strong
objections to.

In a short while you'll see the other proposals.

One of the first ones will be the proposal Danny and I are working on to
put MACs in an extension field.

That is an extension field that:

- contains a MAC
- requires no MAC after the extension field

-- 
Harlan Stenn <stenn@ntp.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 17:30:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E59FF12DB92 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 17:30:03 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 iYz0oE-dDHay for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 17:30:00 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 7099312DA09 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 17:29:57 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7D48486DBCC for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 01:29:57 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 4519386DB45 for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 01:24:20 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aeYI0-000Ku1-Pb; Sat, 12 Mar 2016 01:24:20 +0000
From: Harlan Stenn <stenn@ntp.org>
To: kristof.teichel@ptb.de
In-reply-to: <OF17E73DCF.177178A2-ONC1257F73.004A7AD8-C1257F73.004D0F17@ptb.de>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <OF17E73DCF.177178A2-ONC1257F73.004A7AD8-C1257F73.004D0F17@ptb.de>
Comments: In-reply-to kristof.teichel@ptb.de message dated "Fri, 11 Mar 2016 15:01:40 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 12 Mar 2016 01:24:20 +0000
Message-Id: <E1aeYI0-000Ku1-Pb@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

kristof.teichel@ptb.de writes:
> Dies ist eine mehrteilige Nachricht im MIME-Format.
> --===============8193363747663456345==
> Content-Type: multipart/alternative; boundary="=_alternative 004D0F17C1257F73
> _="
> 
> Dies ist eine mehrteilige Nachricht im MIME-Format.
> --=_alternative 004D0F17C1257F73_=
> Content-Type: text/plain; charset="US-ASCII"
> 
>> dieter.sibold@ptb.de writes:
>>> I fail to see the necessity of the requested extension field types,
>>> mentioned below. The current specification only requires a single
>>> extension field type value. The requirement to append or not append
>>> a NTS MAC to the message is given unambiguously by the context.
>>> 
>>> Dieter
>> 
>> The need for MAC protection is generic, and increasing.
>> 
>> The flags I describe do not care if the MAC is NTS, old-style, or
>> something "new".
> 
> In this case I do not understand: Why do you list them as "NTS: MAC 
> required/included"?

Each NTS packet would use *one* of the following Field Types:

 0x0004 NTS: MAC required (later in the packet)
 0x1004 NTS: MAC included in this extension field

One could also use:

 0x2004 NTS: MAC not required

which would mean "The NTS packet I'm sending does not expect any MAC
protection."

Compare this with the Autokey Field Types:

 0xXX02 Autokey: MAC required (later in the packet)

> If there is a way to communicate these things independently from the
> fact that the extension field is NTS-related, then that is another
> discussion.  But from what I understand, you are proposing values that
> explicitly identify more than multiple different identifiers for
> NTS-related extension fields. In which case I agree with Dieter: I do
> not see a need to differentiate at that point (where a participant has
> seen, but not begun to process, an extension field).

See RFC5906 for the description of the Field Types for autokey.  In
these. the 2nd nibble describes the packet content.  NTS does not want
to make this information public, and that's fine.

But that does not obviate the black-box need to know if any given
extension field is expecting additional MAC protection, or if any given
extension field provides MAC protection over the preceding packet
contents.

>> I think your statement about the requirement to (not) append a MAC to
>> the message is known unambiguously by the context is white-box.  We
>> need a black-box answer/information.  The described flag bits convey
>> this information, black-box, with no extra processing.
>> 
>> An increasing number of systems (want to) require MAC protection
>> before they will believe timestamps.
>> 
>> There is also increasing pressure to have correct time on a machine
>> as soon as possible.  Delaying the availability of MAC-protected
>> timestamps until the beginning of the 4th NTS exchange (the 7th
>> packet) in this case is unacceptable.
> 
> Any kind of MAC protection requires that the participants perform some 
> kind of key exchange beforehand. In the case of NTS, this exchange is 
> performed over NTP packets. 

Yes, and until that time there is *no* MAC protection available.

If that doesn't matter for you, that's your local policy choice.

If it matters to somebody else, that's their local policy choice.

You don't get to dictate their policy choices.

I'm talking about mechanism, which gives people the ability to make
local policy choices.

> This should not be looked at as delaying authenticated time exchange,
> but as doing the key exchange procedure (which has to be done anyway)
> in-protocol.

I'm happy for you.  And if that works for you, fine.

I'm telling you it won't work for others who have a different use-case,
and I'm going to do my best to provide a robust mechanism that will
permit folks to make local policy choices that meet their needs.

> The alternative would be to do it out-of-protocol, but
> overall: does this save any time or effort?

That's a local policy choice.  What I describe permits this *now* with
the existing symmetric key mechanism.  If somebody wants something else,
they can make a proposal.

> Instead of the time that passes between the first NTP packet sent and
> the first authenticated timestamp available to the client, consider
> the time that passes between the decision to obtain authenticated time
> and the first authenticated timestamp being available. This will in
> fact take more time and effort if the client needs to do some
> out-of-protocol key exchange first (as in the case of e.g. symmetric
> key MAC protection).

If an ntp.keys file exists already then it takes no time at all to offer
traditional MAC protection, as good or bad as that is.  We have *many*
choices for algorithms here.  If using this is importanant, key
distribution has already been considered and addressed.

>> If you see another way to authenticate time packets before the beginning
>> of the 4th exchange (or 7th packet), please describe it.

If that needs to be changed to "... before the response portion on the
3rd exchange (or the 6th packet), please describe it.

We need to permit MAC protection on or before the 2nd packet, as that
provides iburst with the fastest way to get the local clock stabilized.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 17:42:22 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 64C2C12DE5B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 17:42:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 FeRpd83jijiw for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 17:42:20 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 9D5F212DE5A for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 17:42:20 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8E68886DBDF for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 01:42:20 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id AEA1A86DB9C for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 01:42:12 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1aeYZA-0007Hg-JT for ntpwg@lists.ntp.org; Sat, 12 Mar 2016 01:42:12 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 496DDB814 for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 01:42:04 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id C7970B80E; Sat, 12 Mar 2016 01:42:03 +0000 (UTC)
To: ntpwg@lists.ntp.org
References: <20160311135635.GD28476@localhost> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56E37451.8070307@nwtime.org>
Date: Fri, 11 Mar 2016 17:43:45 -0800
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Mar 12 01:42:03 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e373eb829931922812347
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/11/16 11:01 AM, kristof.teichel@ptb.de wrote:
>>> There is also increasing pressure to have correct time on a machine as soon
>>> as possible. Delaying the availability of MAC-protected timestamps until
>>> the beginning of the 4th NTS exchange (the 7th packet) in this case is
>>> unacceptable.
>>
>> I'm not sure I follow here. If you have a symmetric key or another
>> authentication mechanism enabled, why would you use NTS?
>>
>> IIRC, Autokey in the client/server mode has the same delay (4th reply
>> is authenticated). Why is that now a problem with NTS? I don't
>> remember seeing any complaints on Autokey.
> 
> That's a point I've been meaning to bring up, but somehow didn't get around to: 
> this "issue" is not new, or unique to NTS.
> One could even have the association done in fewer excahnges, but at a 
> significant security cost (and I would therefore absolutley not recommend it): 1 
> exchange could be saved if we cut algorithm negotiation, another 1 echange could 
> be cut if we disabled the defense mechanism against crypto DoS.

That doesn't seem to be a useful solution.

But as I mentioned earlier, autokey packets are already *always*
MAC-protected.  That's all we need here.

>>> If you see another way to authenticate time packets before the beginning
>>> of the 4th exchange (or 7th packet), please describe it.
>
> Miroslav wrote:
>> I guess the packet with the server_cook message could include a MAC
>> using the cookie that the message contains, so the client could have
>> authenticated timestamps in the third reply.
> 
> You are right in that all necessary arrangements are ready by that point. In 
> fact, we thought about this recently, but we decided that the drawback was too 
> severe:
> In contrast to the crypto operations for a time_response (which are fast by 
> design), the processing of the NTS extension fields for a server_cook are 
> computationally expensive, and precision might be degraded beyond acceptable limits.

I thought this might be the case.

iburst sends 8 packets at 2-second intervals.

If the NTS handshake process takes more than 2 seconds to finish, iburst
will be sending its next query before we have time to finish preparing
the next NTS field.

>>> I'm also about to submit a number of other extension field proposals that
>>> make use of these flags.
>>
>> I'm still not sure why would an extension field need to specify it
>> needs a MAC. Maybe if we saw for what the proposals use these flags,
>> it would make more sense.

As I said before, from the beginnings of NTPv4, if there was an
extension field, a MAC was REQUIRED.

The thing is we're now seeing our first case where an extension field
does *not* require a MAC.

I'm comfortable being strongly in favor of having this sort of knowledge
be black-box obvious, at the level of the overall extension field API.

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 19:13:50 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D2F8D12DB73 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 19:13:49 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 99hDfO4vDCBF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 19:13:48 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 4EDD712DB5D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 19:13:48 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 03A7786DBBD for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 03:13:47 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E631486D9B3 for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 03:13:29 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1aeZzF-00097y-2n for ntpwg@lists.ntp.org; Sat, 12 Mar 2016 03:13:29 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 2D516B814 for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 03:13:04 +0000 (UTC)
Received: from [10.10.10.102] (pool-71-174-223-139.bstnma.east.verizon.net [71.174.223.139]) by chessie.everett.org (Postfix) with ESMTPSA id 33D5BB80E; Sat, 12 Mar 2016 03:13:03 +0000 (UTC)
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <E1aeXq8-000KsN-LL@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>, Miroslav Lichvar <mlichvar@redhat.com>
From: Danny Mayer <mayer@ntp.org>
Message-ID: <56E3893D.2030300@ntp.org>
Date: Fri, 11 Mar 2016 22:13:01 -0500
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E1aeXq8-000KsN-LL@stenn.ntp.org>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Sat Mar 12 03:13:03 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e3893f829932712113547
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/11/2016 7:55 PM, Harlan Stenn wrote:
> Miroslav Lichvar writes:
>> On Fri, Mar 11, 2016 at 12:12:45PM +0000, Harlan Stenn wrote:
>>> There is also increasing pressure to have correct time on a machine
>>> as soon as possible.  Delaying the availability of MAC-protected
>>> timestamps until the beginning of the 4th NTS exchange (the 7th
>>> packet) in this case is unacceptable.
>>
>> I'm not sure I follow here. If you have a symmetric key or another
>> authentication mechanism enabled, why would you use NTS?
> 
> How do you protect the first few packets otherwise?
> 
> I'm offering a mechanism that would permit symmetric key for the first
> few packets.  At that point one can shift to NTS.
> 
> Put another way, we just saw an enhancement request wrapped in a CVE
> about how the current symmetric key scheme does not protect broadcast
> group members from receiving spoofed packets from any server that has
> the private key.  CVE-2015-7974, or NTP Bug 2936.
> 
> This goes to the distinction between authentication and authorization.
> 
>> IIRC, Autokey in the client/server mode has the same delay (4th reply
>> is authenticated). Why is that now a problem with NTS? I don't
>> remember seeing any complaints on Autokey.
> 
> *All* autokey packets use a MAC, so they always have that level of
> authentication and protection.  Autokey is an extra means to
> authenticate the server to the client.
> 
>>> If you see another way to authenticate time packets before the
>>> beginning of the 4th exchange (or 7th packet), please describe it.
>>
>> I guess the packet with the server_cook message could include a MAC
>> using the cookie that the message contains, so the client could have
>> authenticated timestamps in the third reply.
> 
> That's closer, but even if that works it still means one has to wait
> until the 6th packet to get MAC-protected time.
> 
>>> I'm also about to submit a number of other extension field proposals
>>> that make use of these flags.
>>
>> I'm still not sure why would an extension field need to specify it
>> needs a MAC. Maybe if we saw for what the proposals use these flags,
>> it would make more sense.
> 
> Because Tal's extension field proposal, as written, requires *no* MAC.
> 

That's because his proposal changes the transmit timestamp and any MAC
that might be present would therefore be invalidated and would not be
correctable.

> This triggered a bunch of changes to extension fields that I have strong
> objections to.
> 

The only real change was to clarify whether or not a MAC was required in
the presence of any extension field and some guidance on handling
unknown extension fields.

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 11 21:04:09 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8070B12DEB3 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 21:04:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=unavailable autolearn_force=no
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 vBbSGT5Q59Rd for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 11 Mar 2016 21:04:08 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 3BECE12DE0D for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 11 Mar 2016 20:57:08 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 30B9B86DB74 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 04:57:08 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id C5BF986DAEB for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 04:56:55 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aebWs-000LIt-8M; Sat, 12 Mar 2016 04:51:54 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Danny Mayer <mayer@ntp.org>
In-reply-to: <56E3893D.2030300@ntp.org>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <E1aeXq8-000KsN-LL@stenn.ntp.org> <56E3893D.2030300@ntp.org>
Comments: In-reply-to Danny Mayer <mayer@ntp.org> message dated "Fri, 11 Mar 2016 22:13:01 -0500."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 12 Mar 2016 04:51:54 +0000
Message-Id: <E1aebWs-000LIt-8M@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny Mayer writes:
> On 3/11/2016 7:55 PM, Harlan Stenn wrote:
>> Miroslav wrote:
>>> I'm still not sure why would an extension field need to specify it
>>> needs a MAC. Maybe if we saw for what the proposals use these flags,
>>> it would make more sense.
>>
>> Because Tal's extension field proposal, as written, requires *no* MAC.
> 
> That's because his proposal changes the transmit timestamp and any MAC
> that might be present would therefore be invalidated and would not be
> correctable.

Yes.

>> This triggered a bunch of changes to extension fields that I have
>> strong objections to.
> 
> The only real change was to clarify whether or not a MAC was required in
> the presence of any extension field and some guidance on handling
> unknown extension fields.

I strongly disagree with your position.  There were several other
significant changes, and I think they are wrong.

But I hope to have time to respond properly to these soon.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 12 04:29:08 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8CAD312D568 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 12 Mar 2016 04:29:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.471
X-Spam-Level:
X-Spam-Status: No, score=-6.471 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, MIME_HTML_MOSTLY=0.428, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 BATQ3uGxIR5d for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 12 Mar 2016 04:29:06 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C49C712D522 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 04:29:05 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B0F6986DBCA for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 12:29:05 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B482A86D60E for <ntpwg@lists.ntp.org>; Sat, 12 Mar 2016 12:28:28 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aeieY-000Lzs-Sf; Sat, 12 Mar 2016 12:28:28 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2CCSEL7029615-u2CCSEL9029615 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Sat, 12 Mar 2016 13:28:14 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 9A8C237BE3; Sat, 12 Mar 2016 13:28:14 +0100 (CET)
MIME-Version: 1.0
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <E1aeXq8-000KsN-LL@stenn.ntp.org>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org>, <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost>
From: dieter.sibold@ptb.de
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de>
Date: Sat, 12 Mar 2016 13:28:13 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============4616250527399538182=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============4616250527399538182==
Content-Type: multipart/alternative; boundary="=_alternative 004480A0C1257F74_="

--=_alternative 004480A0C1257F74_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=ISO-8859-1

Hi Harlan,
see comments below.




-----Harlan Stenn <stenn@ntp.org> wrote: -----

>To: Miroslav Lichvar <mlichvar@redhat.com>
>From: Harlan Stenn <stenn@ntp.org>
>Date: 03/12/2016 01:58
>Cc: Harlan Stenn <stenn@ntp.org>, dieter.sibold@ptb.de,
>ntpwg@lists.ntp.org
>Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the
>IETF NTP Working Group
>
>Miroslav Lichvar writes:
>> On Fri, Mar 11, 2016 at 12:12:45PM +0000, Harlan Stenn wrote:
>>> There is also increasing pressure to have correct time on a
>machine
>>> as soon as possible. Delaying the availability of MAC-protected
>>> timestamps until the beginning of the 4th NTS exchange (the 7th
>>> packet) in this case is unacceptable.
>>=20
>> I'm not sure I follow here. If you have a symmetric key or another
>> authentication mechanism enabled, why would you use NTS?
>
>How do you protect the first few packets otherwise?
>
>I'm offering a mechanism that would permit symmetric key for the
>first
>few packets. At that point one can shift to NTS.
>
>Put another way, we just saw an enhancement request wrapped in a CVE
>about how the current symmetric key scheme does not protect broadcast
>group members from receiving spoofed packets from any server that has
>the private key. CVE-2015-7974, or NTP Bug 2936.
>
>This goes to the distinction between authentication and
>authorization.
>
>> IIRC, Autokey in the client/server mode has the same delay (4th
>reply
>> is authenticated). Why is that now a problem with NTS? I don't
>> remember seeing any complaints on Autokey.
>
>*All* autokey packets use a MAC, so they always have that level of
>authentication and protection. Autokey is an extra means to
>authenticate the server to the client.

Autokey adds an extension field to each packet only because of the requirem=
ent that there has to be a MAC field after an extension field. But the MAC =
during the initial phase of autokey, in which the challenge-response scheme=
 and then the cookie exchange runs, are without any information, because th=
e underlying cookie, which is the base for the =A0autokeys, which are used =
to calculate the MAC has the public value zero. You can read this in RFC590=
6, Page 10.=A0
The NTP packet format has been augmented to include one or more
extension fields piggybacked between the original NTP header and the
MAC.=A0 For packets without extension fields, the cookie is a shared
private value.=A0 For packets with extension fields, the cookie has a
default public value of zero, since these packets are validated
independently using digital signatures.=A0=A0

That's in principal just the same principle as with NTS. NTS also protects =
there initial exchanges via signatures.



>
>>> If you see another way to authenticate time packets before the
>>> beginning of the 4th exchange (or 7th packet), please describe it.
>>=20
>> I guess the packet with the server=5Fcook message could include a MAC
>> using the cookie that the message contains, so the client could
>have
>> authenticated timestamps in the third reply.
>
>That's closer, but even if that works it still means one has to wait
>until the 6th packet to get MAC-protected time.
>
>>> I'm also about to submit a number of other extension field
>proposals
>>> that make use of these flags.
>>=20
>> I'm still not sure why would an extension field need to specify it
>> needs a MAC. Maybe if we saw for what the proposals use these
>flags,
>> it would make more sense.
>
>Because Tal's extension field proposal, as written, requires *no*
>MAC.
>
>This triggered a bunch of changes to extension fields that I have
>strong
>objections to.
>
>In a short while you'll see the other proposals.
>
>One of the first ones will be the proposal Danny and I are working on
>to
>put MACs in an extension field.
>
>That is an extension field that:
>
>- contains a MAC
>- requires no MAC after the extension field
>
>--=20
>Harlan Stenn <stenn@ntp.org>
>http://networktimefoundation.org - be a member!
>
>
--=_alternative 004480A0C1257F74_=
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1
Content-ID: <>

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><div style=3D"">Hi Harlan,<br></div><div style=3D"">see comments bel=
ow.</div><div style=3D""><br></div><div style=3D""><br></div><div><div></di=
v></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Ar=
ial, Helvetica, sans-serif;"><br></div><div style=3D"margin: 0px; direction=
: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;"><br></div><div =
style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetic=
a, sans-serif;"><font color=3D"#990099">-----Harlan Stenn &lt;stenn@ntp.org=
&gt; wrote: -----</font><br></div><div style=3D"margin: 0px; direction: ltr=
; font-family: Verdana, Arial, Helvetica, sans-serif;"><br></div><div style=
=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sa=
ns-serif;">&gt;To: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;<br></div><d=
iv style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helve=
tica, sans-serif;">&gt;From: Harlan Stenn &lt;stenn@ntp.org&gt;<br></div><d=
iv style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helve=
tica, sans-serif;">&gt;Date: 03/12/2016 01:58<br></div><div style=3D"margin=
: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;"=
>&gt;Cc: Harlan Stenn &lt;stenn@ntp.org&gt;, dieter.sibold@ptb.de,<br></div=
><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, He=
lvetica, sans-serif;">&gt;ntpwg@lists.ntp.org<br></div><div style=3D"margin=
: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;"=
>&gt;Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the<br=
></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Ari=
al, Helvetica, sans-serif;">&gt;IETF NTP Working Group<br></div><div style=
=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sa=
ns-serif;">&gt;<br></div><div style=3D"margin: 0px; direction: ltr; font-fa=
mily: Verdana, Arial, Helvetica, sans-serif;">&gt;Miroslav Lichvar writes:<=
br></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, A=
rial, Helvetica, sans-serif;">&gt;&gt; On Fri, Mar 11, 2016 at 12:12:45PM +=
0000, Harlan Stenn wrote:<br></div><div style=3D"margin: 0px; direction: lt=
r; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt;&gt; There =
is also increasing pressure to have correct time on a<br></div><div style=
=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sa=
ns-serif;">&gt;machine<br></div><div style=3D"margin: 0px; direction: ltr; =
font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt;&gt; as soon a=
s possible.  Delaying the availability of MAC-protected<br></div><div style=
=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sa=
ns-serif;">&gt;&gt;&gt; timestamps until the beginning of the 4th NTS excha=
nge (the 7th<br></div><div style=3D"margin: 0px; direction: ltr; font-famil=
y: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt;&gt; packet) in this cas=
e is unacceptable.<br></div><div style=3D"margin: 0px; direction: ltr; font=
-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt; <br></div><div st=
yle=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica,=
 sans-serif;">&gt;&gt; I'm not sure I follow here. If you have a symmetric =
key or another<br></div><div style=3D"margin: 0px; direction: ltr; font-fam=
ily: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt; authentication mechan=
ism enabled, why would you use NTS?<br></div><div style=3D"margin: 0px; dir=
ection: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<br><=
/div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial=
, Helvetica, sans-serif;">&gt;How do you protect the first few packets othe=
rwise?<br></div><div style=3D"margin: 0px; direction: ltr; font-family: Ver=
dana, Arial, Helvetica, sans-serif;">&gt;<br></div><div style=3D"margin: 0p=
x; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt=
;I'm offering a mechanism that would permit symmetric key for the<br></div>=
<div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Hel=
vetica, sans-serif;">&gt;first<br></div><div style=3D"margin: 0px; directio=
n: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;few packet=
s.  At that point one can shift to NTS.<br></div><div style=3D"margin: 0px;=
 direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<=
br></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, A=
rial, Helvetica, sans-serif;">&gt;Put another way, we just saw an enhanceme=
nt request wrapped in a CVE<br></div><div style=3D"margin: 0px; direction: =
ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;about how the=
 current symmetric key scheme does not protect broadcast<br></div><div styl=
e=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, s=
ans-serif;">&gt;group members from receiving spoofed packets from any serve=
r that has<br></div><div style=3D"margin: 0px; direction: ltr; font-family:=
 Verdana, Arial, Helvetica, sans-serif;">&gt;the private key.  CVE-2015-797=
4, or NTP Bug 2936.<br></div><div style=3D"margin: 0px; direction: ltr; fon=
t-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<br></div><div style=
=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sa=
ns-serif;">&gt;This goes to the distinction between authentication and<br><=
/div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial=
, Helvetica, sans-serif;">&gt;authorization.<br></div><div style=3D"margin:=
 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">=
&gt;<br></div><div style=3D"margin: 0px; direction: ltr; font-family: Verda=
na, Arial, Helvetica, sans-serif;">&gt;&gt; IIRC, Autokey in the client/ser=
ver mode has the same delay (4th<br></div><div style=3D"margin: 0px; direct=
ion: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;reply<br=
></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Ari=
al, Helvetica, sans-serif;">&gt;&gt; is authenticated). Why is that now a p=
roblem with NTS? I don't<br></div><div style=3D"margin: 0px; direction: ltr=
; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt; remember se=
eing any complaints on Autokey.<br></div><div style=3D"margin: 0px; directi=
on: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<br></div=
><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, He=
lvetica, sans-serif;">&gt;*All* autokey packets use a MAC, so they always h=
ave that level of<br></div><div style=3D"margin: 0px; direction: ltr; font-=
family: Verdana, Arial, Helvetica, sans-serif;">&gt;authentication and prot=
ection.  Autokey is an extra means to<br></div><div style=3D"margin: 0px; d=
irection: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;aut=
henticate the server to the client.<br></div><div style=3D"margin: 0px; dir=
ection: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;"><br></div=
><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, He=
lvetica, sans-serif;">Autokey adds an extension field to each packet only b=
ecause of the requirement that there has to be a MAC field after an extensi=
on field. But the MAC during the initial phase of autokey, in which the cha=
llenge-response scheme and then the cookie exchange runs, are without any i=
nformation, because the underlying cookie, which is the base for the &nbsp;=
autokeys, which are used to calculate the MAC has the public value zero. Yo=
u can read this in RFC5906, Page 10.&nbsp;</div><p style=3D"margin: 0px; fo=
nt-size: 10px; line-height: normal; font-family: Courier;">The NTP packet f=
ormat has been augmented to include one or more</p>=0D<p style=3D"margin: 0=
px; font-size: 10px; line-height: normal; font-family: Courier;">extension =
fields piggybacked between the original NTP header and the</p>=0D<p style=
=3D"margin: 0px; font-size: 10px; line-height: normal; font-family: Courier=
;">MAC.&nbsp; For packets without extension fields, the cookie is a shared<=
/p>=0D<p style=3D"margin: 0px; font-size: 10px; line-height: normal; font-f=
amily: Courier;">private value.&nbsp; For packets with extension fields, th=
e cookie has a</p>=0D<p style=3D"margin: 0px; font-size: 10px; line-height:=
 normal; font-family: Courier;">default public value of zero, since these p=
ackets are validated</p>=0D<div style=3D"margin: 0px; direction: ltr; font-=
family: Verdana, Arial, Helvetica, sans-serif;"><span style=3D"font-family:=
 Courier; font-size: 10px;">independently using digital signatures.</span>&=
nbsp;&nbsp;</div><div style=3D"margin: 0px; direction: ltr; font-family: Ve=
rdana, Arial, Helvetica, sans-serif;"><br></div><div style=3D"margin: 0px; =
direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">That's=
 in principal just the same principle as with NTS. NTS also protects there =
initial exchanges via signatures.</div><div style=3D"margin: 0px; direction=
: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;"><br></div><div =
style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetic=
a, sans-serif;"><br></div><div style=3D"margin: 0px; direction: ltr; font-f=
amily: Verdana, Arial, Helvetica, sans-serif;"><br></div><div style=3D"marg=
in: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif=
;">&gt;<br></div><div style=3D"margin: 0px; direction: ltr; font-family: Ve=
rdana, Arial, Helvetica, sans-serif;">&gt;&gt;&gt; If you see another way t=
o authenticate time packets before the<br></div><div style=3D"margin: 0px; =
direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&g=
t;&gt; beginning of the 4th exchange (or 7th packet), please describe it.<b=
r></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Ar=
ial, Helvetica, sans-serif;">&gt;&gt; <br></div><div style=3D"margin: 0px; =
direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&g=
t; I guess the packet with the server=5Fcook message could include a MAC<br=
></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Ari=
al, Helvetica, sans-serif;">&gt;&gt; using the cookie that the message cont=
ains, so the client could<br></div><div style=3D"margin: 0px; direction: lt=
r; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;have<br></div><=
div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helv=
etica, sans-serif;">&gt;&gt; authenticated timestamps in the third reply.<b=
r></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Ar=
ial, Helvetica, sans-serif;">&gt;<br></div><div style=3D"margin: 0px; direc=
tion: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;That's =
closer, but even if that works it still means one has to wait<br></div><div=
 style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helveti=
ca, sans-serif;">&gt;until the 6th packet to get MAC-protected time.<br></d=
iv><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, =
Helvetica, sans-serif;">&gt;<br></div><div style=3D"margin: 0px; direction:=
 ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt;&gt; I'm=
 also about to submit a number of other extension field<br></div><div style=
=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sa=
ns-serif;">&gt;proposals<br></div><div style=3D"margin: 0px; direction: ltr=
; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt;&gt; that ma=
ke use of these flags.<br></div><div style=3D"margin: 0px; direction: ltr; =
font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt; <br></div><di=
v style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvet=
ica, sans-serif;">&gt;&gt; I'm still not sure why would an extension field =
need to specify it<br></div><div style=3D"margin: 0px; direction: ltr; font=
-family: Verdana, Arial, Helvetica, sans-serif;">&gt;&gt; needs a MAC. Mayb=
e if we saw for what the proposals use these<br></div><div style=3D"margin:=
 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">=
&gt;flags,<br></div><div style=3D"margin: 0px; direction: ltr; font-family:=
 Verdana, Arial, Helvetica, sans-serif;">&gt;&gt; it would make more sense.=
<br></div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, =
Arial, Helvetica, sans-serif;">&gt;<br></div><div style=3D"margin: 0px; dir=
ection: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;Becau=
se Tal's extension field proposal, as written, requires *no*<br></div><div =
style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetic=
a, sans-serif;">&gt;MAC.<br></div><div style=3D"margin: 0px; direction: ltr=
; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<br></div><div s=
tyle=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica=
, sans-serif;">&gt;This triggered a bunch of changes to extension fields th=
at I have<br></div><div style=3D"margin: 0px; direction: ltr; font-family: =
Verdana, Arial, Helvetica, sans-serif;">&gt;strong<br></div><div style=3D"m=
argin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-se=
rif;">&gt;objections to.<br></div><div style=3D"margin: 0px; direction: ltr=
; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<br></div><div s=
tyle=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica=
, sans-serif;">&gt;In a short while you'll see the other proposals.<br></di=
v><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, H=
elvetica, sans-serif;">&gt;<br></div><div style=3D"margin: 0px; direction: =
ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;One of the fi=
rst ones will be the proposal Danny and I are working on<br></div><div styl=
e=3D"margin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, s=
ans-serif;">&gt;to<br></div><div style=3D"margin: 0px; direction: ltr; font=
-family: Verdana, Arial, Helvetica, sans-serif;">&gt;put MACs in an extensi=
on field.<br></div><div style=3D"margin: 0px; direction: ltr; font-family: =
Verdana, Arial, Helvetica, sans-serif;">&gt;<br></div><div style=3D"margin:=
 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">=
&gt;That is an extension field that:<br></div><div style=3D"margin: 0px; di=
rection: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&gt;<br>=
</div><div style=3D"margin: 0px; direction: ltr; font-family: Verdana, Aria=
l, Helvetica, sans-serif;">&gt;- contains a MAC<br></div><div style=3D"marg=
in: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif=
;">&gt;- requires no MAC after the extension field<br></div><div style=3D"m=
argin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-se=
rif;">&gt;<br></div><div style=3D"margin: 0px; direction: ltr; font-family:=
 Verdana, Arial, Helvetica, sans-serif;">&gt;-- <br></div><div style=3D"mar=
gin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-seri=
f;">&gt;Harlan Stenn &lt;stenn@ntp.org&gt;<br></div><div style=3D"margin: 0=
px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-serif;">&g=
t;http://networktimefoundation.org - be a member!<br></div><div style=3D"ma=
rgin: 0px; direction: ltr; font-family: Verdana, Arial, Helvetica, sans-ser=
if;">&gt;<br></div><div style=3D"margin: 0px; direction: ltr; font-family: =
Verdana, Arial, Helvetica, sans-serif;">&gt;</div></font>
--=_alternative 004480A0C1257F74_=--

--===============4616250527399538182==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============4616250527399538182==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 12 18:47:43 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD29612D94A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 12 Mar 2016 18:47:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 JA_IJJHZaPDI for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 12 Mar 2016 18:47:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B93C212D949 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 12 Mar 2016 18:47:38 -0800 (PST)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id AC06786DC4E for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 13 Mar 2016 02:47:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 3696886DC20 for <ntpwg@lists.ntp.org>; Sun, 13 Mar 2016 02:47:09 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aew1D-000MXa-KR; Sun, 13 Mar 2016 02:44:35 +0000
From: Harlan Stenn <stenn@ntp.org>
To: dieter.sibold@ptb.de
In-reply-to: <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org>, <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de>
Comments: In-reply-to dieter.sibold@ptb.de message dated "Sat, 12 Mar 2016 13:28:13 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sun, 13 Mar 2016 02:44:35 +0000
Message-Id: <E1aew1D-000MXa-KR@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

dieter.sibold@ptb.de writes:
> Hi Harlan,
> see comments below.
> -----Harlan Stenn <stenn@ntp.org> wrote: -----
>> *All* autokey packets use a MAC, so they always have that level of
>> authentication and protection. Autokey is an extra means to
>> authenticate the server to the client.
> 
> Autokey adds an extension field to each packet only because of the
> requirement that there has to be a MAC field after an extension
> field. But the MAC during the initial phase of autokey, in which the
> challenge-response scheme and then the cookie exchange runs, are
> without any information, because the underlying cookie, which is the
> base for the =A0autokeys, which are used to calculate the MAC has the
> public value zero. You can read this in RFC5906, Page 10.

I'm not digging in to the reasoning underneath.  I'm just saying the
reality is that until *very* recently, the presence of an extension
field REQUIRED a MAC.

That the initial algorithm for autokey is NULL is, I believe, a
shortcoming.

It could be easily fixed, if anybody cared enough to fix it.

I'm fine *allowing* the current behavior to move forward with NTS, and
my preference is to *allow* MAC protection on initial NTS packets until
the state of an NTS-protected association can provide MAC protection as
part of its packets.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sun Mar 13 09:56:59 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5626512D67C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun, 13 Mar 2016 09:56:59 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 Zj7Snu45XT6s for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun, 13 Mar 2016 09:56:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D98BA12D576 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 13 Mar 2016 09:56:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9602486DB20 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 13 Mar 2016 16:56:57 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id DF85086DB8B for <ntpwg@lists.ntp.org>; Fri, 11 Mar 2016 23:05:55 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <agenda@ietf.org>) id 1aeW7t-0004pS-Te for ntpwg@lists.ntp.org; Fri, 11 Mar 2016 23:05:55 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 42A1C12DDA1; Fri, 11 Mar 2016 15:05:24 -0800 (PST)
MIME-Version: 1.0
From: "\"IETF Secretariat\"" <agenda@ietf.org>
To: <ntp-chairs@ietf.org>, <odonoghue@isoc.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.16.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160311230524.15028.59700.idtracker@ietfa.amsl.com>
Date: Fri, 11 Mar 2016 15:05:24 -0800
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: agenda@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Sun, 13 Mar 2016 16:56:32 +0000
Subject: [ntpwg] ntp - Requested session has been scheduled for IETF 95
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dear Karen O&#39;Donoghue,

The session(s) that you have requested have been scheduled.
Below is the scheduled session information followed by
the original request. 

ntp Session 1 (2:00:00)
    Tuesday, Afternoon Session I 1400-1600
    Room Name: Quebracho B size: 75
    ---------------------------------------------
    

Special Note: Combined with TICTOC


Request Information:


---------------------------------------------------------
Working Group Name: Network Time Protocol
Area Name: Internet Area
Session Requester: Karen O&#39;Donoghue

Number of Sessions: 1
Length of Session(s):  2 Hours
Number of Attendees: 30
Conflicts to Avoid: 
 First Priority: jose oauth trans tls cfrg saag uta sacm




Special Requests:
  Please schedule jointly with the tictoc wg. 
---------------------------------------------------------

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sun Mar 13 12:21:35 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B340D12D784 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun, 13 Mar 2016 12:21:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 bhBpvdpdMtdl for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sun, 13 Mar 2016 12:21:34 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9E03E12D763 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 13 Mar 2016 12:21:33 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 956F286DB14 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 13 Mar 2016 19:21:33 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9856686D779 for <ntpwg@lists.ntp.org>; Sun, 13 Mar 2016 19:21:20 +0000 (UTC)
Received: from mail225c25.carrierzone.com ([64.29.147.239] helo=mail24c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1afBZc-0003EA-Tb for ntpwg@lists.ntp.org; Sun, 13 Mar 2016 19:21:20 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail24c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2DJL5Gf022535 for <ntpwg@lists.ntp.org>; Sun, 13 Mar 2016 19:21:06 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id B3B79406057;  Sun, 13 Mar 2016 12:21:04 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: ntpwg@lists.ntp.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from "Karen O'Donoghue" <odonoghue@isoc.org> of "Tue, 01 Mar 2016 06:36:13 GMT." <B615D188-C3F4-4E53-BF88-98CE808DBE2D@isoc.org>
Mime-Version: 1.0
Date: Sun, 13 Mar 2016 12:21:04 -0700
Message-Id: <20160313192104.B3B79406057@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=UP7kQkvy c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=X5o-4ixMvTIzHyDhVKMA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010202.56E5BDA2.015E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.239
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on Network Time Security documents (3 documents)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: hmurray@megapathdsl.net, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

As best as I can understand things, it's not possible to get started with 
authentication using current technology without already knowing the time.  
You don't have to know it very accurately, but it can't be wildly off or you 
are opening a crack for MITM attacks.

For example, page 18, section 9.3 of draft-ietf-ntp-network-time-security-13 
says:
  "To solve this chicken-egg problem, the client has to rely on external 
means."

If we are serious about security, the problem with getting started needs to 
be acknowledged prominently and frequently rather than buried in a paragraph 
that most implementers will skim over.  That holds for both the NTS document 
and all documents that reference it.

Is getting started complicated enough that we should put the discussion in 
another document?  Has anybody thought about how close you need to know the 
time when getting started?


A variation on this problem is that DNSSEC requries time, so you can't use 
DNS to locate time servers until you know the time.  Again, you don't have to 
know it precisely, just close enough.

Page 16, section 8.2 of draft-ietf-ntp-using-nts-for-ntp-04 says:
"Therefore, NTS is unable to provide secure usage of NTP pools."  I think 
that's misleading.  It doesn't include the non-pool usage of DNS and you can 
use a pool after you know the time if the pool (and your API) supports DNSSEC.

Is there an API to require the use of DNSSEC when doing DNS lookups?

A well managed /etc/hosts (or equivalent) might be good enough, but the "well 
managed" part seems to be asking for trouble.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 02:52:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 68AE712D530 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 02:52:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 3PBVwZ_e9MZ8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 02:52:15 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D0F8512D52E for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 02:52:15 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C31AB86DADD for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 09:52:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1E92586DABB for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 09:51:46 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1afPA2-000GHQ-Mi for ntpwg@lists.ntp.org; Mon, 14 Mar 2016 09:51:46 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 796F7804F1; Mon, 14 Mar 2016 09:51:37 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2E9pY4t028355; Mon, 14 Mar 2016 05:51:36 -0400
Date: Mon, 14 Mar 2016 10:51:33 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160314095133.GA3234@localhost>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1aew1D-000MXa-KR@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Sun, Mar 13, 2016 at 02:44:35AM +0000, Harlan Stenn wrote:
> dieter.sibold@ptb.de writes:
> > -----Harlan Stenn <stenn@ntp.org> wrote: -----
> >> *All* autokey packets use a MAC, so they always have that level of
> >> authentication and protection. Autokey is an extra means to
> >> authenticate the server to the client.
> > 
> > Autokey adds an extension field to each packet only because of the
> > requirement that there has to be a MAC field after an extension
> > field. But the MAC during the initial phase of autokey, in which the
> > challenge-response scheme and then the cookie exchange runs, are
> > without any information, because the underlying cookie, which is the
> > base for the =A0autokeys, which are used to calculate the MAC has the
> > public value zero. You can read this in RFC5906, Page 10.
> 
> I'm not digging in to the reasoning underneath.  I'm just saying the
> reality is that until *very* recently, the presence of an extension
> field REQUIRED a MAC.

I thought you wanted to include a MAC to have authenticated data
sooner. Now you say you want to include a dummy MAC to fulfill a
requirement from time when no other extension fields than Autokey
existed?

> That the initial algorithm for autokey is NULL is, I believe, a
> shortcoming.

The algorithm doesn't change, but the key is public, which means the
MAC doesn't protect anything and can't be used for authentication.

> I'm fine *allowing* the current behavior to move forward with NTS, and
> my preference is to *allow* MAC protection on initial NTS packets until
> the state of an NTS-protected association can provide MAC protection as
> part of its packets.

If you really want I think you can already do that it with a symmetric
key. Or is there anything in the current NTS draft that forbids the
old-style MACs in packets containing NTS messages?

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 04:24:47 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6957A12D975 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 04:24:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 rhVbDbz-jGzi for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 04:24:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 88E1E12D79A for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 04:24:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7CF3786DAF8 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 11:24:45 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E236686D55E for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 10:44:09 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1afPyj-000LxU-QZ for ntpwg@lists.ntp.org; Mon, 14 Mar 2016 10:44:09 +0000
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 2D90F627DB; Mon, 14 Mar 2016 10:44:01 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2EAi0MN012753; Mon, 14 Mar 2016 06:44:00 -0400
Date: Mon, 14 Mar 2016 11:43:59 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: kristof.teichel@ptb.de
Message-ID: <20160314104359.GC3234@localhost>
References: <20160311135635.GD28476@localhost> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Mon, 14 Mar 2016 10:44:01 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Fri, Mar 11, 2016 at 08:01:09PM +0100, kristof.teichel@ptb.de wrote:
>    >I guess the packet with the server_cook message could include a MAC
>    >using the cookie that the message contains, so the client could have
>    >authenticated timestamps in the third reply.
>    You are right in that all necessary arrangements are ready by that
>    point. In fact, we thought about this recently, but we decided that the
>    drawback was too severe:
>    In contrast to the crypto operations for a time_response (which are
>    fast by design), the processing of the NTS extension fields for a
>    server_cook are computationally expensive, and precision might be
>    degraded beyond acceptable limits.

Yes, it would likely add an error to the measurement. I think it would
rather be due to packets being longer (and possibly fragmented) as
more time would be needed to send and receive them. The time needed
for processing of the NTS fields shouldn't matter as the RX/TX
timestamps are captured before/after the fields are processed.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 04:25:41 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23DE312D975 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 04:25:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 nP3MUPhp0rzL for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 04:25:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 7296312D593 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 04:25:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1152286DB88 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 11:25:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 933D486D55E for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 10:45:14 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1afPzh-000Lyf-Mn for ntpwg@lists.ntp.org; Mon, 14 Mar 2016 10:45:14 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2EAixNm006376-u2EAixNo006376 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 11:44:59 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 893D2381EA for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 11:44:59 +0100 (CET)
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OFF7AC8F3F.565D937E-ONC1257F76.0031FBA6-C1257F76.003B0C5F@ptb.de>
From: kristof.teichel@ptb.de
Date: Mon, 14 Mar 2016 11:44:57 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg]  Different security mechanisms (NTS, Autokey, Symmetric Security) and key exchange techniques
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5010912494738263834=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============5010912494738263834==
Content-Type: multipart/alternative; boundary="=_alternative 003B0C5CC1257F76_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 003B0C5CC1257F76_=
Content-Type: text/plain; charset="US-ASCII"

(Was "Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP 
Working Group"
Re-labeled because the discussion has largely moved away from the early 
allocations)


(Miroslav:)
> > I'm not sure I follow here. If you have a symmetric key or another
> > authentication mechanism enabled, why would you use NTS?
> 
> How do you protect the first few packets otherwise?
> 
> I'm offering a mechanism that would permit symmetric key for the first
> few packets.  At that point one can shift to NTS.

I cannot stress enough that while we have nothing against continuing the 
use of an existing symmetric key security association, I view it as a 
severe mistake to set one of those up *just* to protect the first 3 
exchanges of an NTS-secured association!
Harlan, for associations where the participants have *not* initially set 
up a symmetric key security association and want to start using NTS, what 
would be your proposed plan?


(Kristof:)
> > If there is a way to communicate these things independently from the
> > fact that the extension field is NTS-related, then that is another
> > discussion.  But from what I understand, you are proposing values that
> > explicitly identify more than multiple different identifiers for
> > NTS-related extension fields. In which case I agree with Dieter: I do
> > not see a need to differentiate at that point (where a participant has
> > seen, but not begun to process, an extension field).
> 
> See RFC5906 for the description of the Field Types for autokey.  In
> these. the 2nd nibble describes the packet content.  NTS does not want
> to make this information public, and that's fine.
> 
> But that does not obviate the black-box need to know if any given
> extension field is expecting additional MAC protection, or if any given
> extension field provides MAC protection over the preceding packet
> contents.

I still fail to see a concrete reasoning for this being a need.
Can you name an example where a client would benefit from modifying their 
behavior as a result from having information of the kind "I contain a 
MAC"/"I require a MAC later" availabe?


(Kristof:)
> > Any kind of MAC protection requires that the participants perform some 

> > kind of key exchange beforehand. In the case of NTS, this exchange is 
> > performed over NTP packets. 
> 
> Yes, and until that time there is *no* MAC protection available.
> If that doesn't matter for you, that's your local policy choice.
> If it matters to somebody else, that's their local policy choice.
> You don't get to dictate their policy choices.
> I'm talking about mechanism, which gives people the ability to make
> local policy choices.

I strongly object to writing this off as mere policy choices. If there 
were a way to have security from the first packet on (without it causing 
costs so huge that they negate the benefits of using NTS), we would gladly 
enable that.


> [...]
> I'm telling you it won't work for others who have a different use-case,
> and I'm going to do my best to provide a robust mechanism that will
> permit folks to make local policy choices that meet their needs.

That is a valiant effort, all I am arguing is that your mechanism is just 
not as universally available as you describe it.


(Kristof:)
> > The alternative would be to do it out-of-protocol, but
> > overall: does this save any time or effort?
> 
> That's a local policy choice.

The answer to the question whether an out-of-protocol key exchange saves 
time or effort is not a policy choice. There are objective criteria and 
calculations involved. If anything, the question whether a participant is 
willing to accept any additional time or effort necessary is up to policy 
choices.

> What I describe permits this *now* with the existing symmetric key 
mechanism.

Like every other MAC-based security mechanism, the symmetric key approach 
needs to exchange a key. Overall, it therefore provides just as little 
instant availability as NTS, or Autokey (arguably the availability of the 
symmetric key approach is even less instant than that of its 
alternatives).


(Kristof:)
> > Instead of the time that passes between the first NTP packet sent and
> > the first authenticated timestamp available to the client, consider
> > the time that passes between the decision to obtain authenticated time
> > and the first authenticated timestamp being available. This will in
> > fact take more time and effort if the client needs to do some
> > out-of-protocol key exchange first (as in the case of e.g. symmetric
> > key MAC protection).
> 
> If an ntp.keys file exists already then it takes no time at all to offer
> traditional MAC protection, as good or bad as that is. 

Isn't this a really big IF?


(Kristof:)
> > That's a point I've been meaning to bring up, but somehow didn't get 
around to: 
> > this "issue" is not new, or unique to NTS.
> > One could even have the association done in fewer excahnges, but at a 
> > significant security cost (and I would therefore absolutley not 
recommend it): 1 
> > exchange could be saved if we cut algorithm negotiation, another 1 
echange could 
> > be cut if we disabled the defense mechanism against crypto DoS.
> 
> That doesn't seem to be a useful solution.
> 
> But as I mentioned earlier, autokey packets are already *always*
> MAC-protected.  That's all we need here.

No. The early autokey packets do carry a MAC, but such MAC does not in 
fact protect the packet, as Dieter explained (see below).


(Dieter:)
> > Autokey adds an extension field to each packet only because of the
> > requirement that there has to be a MAC field after an extension
> > field. But the MAC during the initial phase of autokey, in which the
> > challenge-response scheme and then the cookie exchange runs, are
> > without any information, because the underlying cookie, which is the
> > base for the =A0autokeys, which are used to calculate the MAC has the
> > public value zero. You can read this in RFC5906, Page 10.
> 
> I'm not digging in to the reasoning underneath.  I'm just saying the
> reality is that until *very* recently, the presence of an extension
> field REQUIRED a MAC.
> 
> That the initial algorithm for autokey is NULL is, I believe, a
> shortcoming.

Arguably maybe, but the whole point here is that it is also a necessity 
(i.e. it is not possible to work around it without serious detriments).

> It could be easily fixed, if anybody cared enough to fix it.

The above statement is absolutely not true.
If you have no data exchanged initially (which is the only solid basis to 
work from for any security specification), then you need to exchange key 
data before you can start using MAC-based security (or most other 
security, for that matter). Again, this holds true for NTS, for Autokey, 
and for the symmetric key approach.


-------------
Best regards,
Kristof
--=_alternative 003B0C5CC1257F76_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>(Was &quot;Re: [ntpwg] Fwd: Early Allocations for NTS
drafts from the IETF NTP Working Group&quot;</font></tt>
<br><tt><font size=2>Re-labeled because the discussion has largely moved
away from the early allocations)</font></tt>
<br>
<br>
<br><tt><font size=2>(Miroslav:)<br>
&gt; &gt; I'm not sure I follow here. If you have a symmetric key or another<br>
&gt; &gt; authentication mechanism enabled, why would you use NTS?<br>
&gt; <br>
&gt; How do you protect the first few packets otherwise?<br>
&gt; <br>
&gt; I'm offering a mechanism that would permit symmetric key for the first<br>
&gt; few packets. &nbsp;At that point one can shift to NTS.</font></tt>
<br>
<br><tt><font size=2>I cannot stress enough that while we have nothing
against continuing the use of an existing symmetric key security association,
I view it as a severe mistake to set one of those up *just* to protect
the first 3 exchanges of an NTS-secured association!</font></tt>
<br><tt><font size=2>Harlan, for associations where the participants have
*not* initially set up a symmetric key security association and want to
start using NTS, what would be your proposed plan?<br>
<br>
<br>
(Kristof:)<br>
&gt; &gt; If there is a way to communicate these things independently from
the<br>
&gt; &gt; fact that the extension field is NTS-related, then that is another<br>
&gt; &gt; discussion. &nbsp;But from what I understand, you are proposing
values that<br>
&gt; &gt; explicitly identify more than multiple different identifiers
for<br>
&gt; &gt; NTS-related extension fields. In which case I agree with Dieter:
I do<br>
&gt; &gt; not see a need to differentiate at that point (where a participant
has<br>
&gt; &gt; seen, but not begun to process, an extension field).<br>
&gt; <br>
&gt; See RFC5906 for the description of the Field Types for autokey. &nbsp;In<br>
&gt; these. the 2nd nibble describes the packet content. &nbsp;NTS does
not want<br>
&gt; to make this information public, and that's fine.<br>
&gt; <br>
&gt; But that does not obviate the black-box need to know if any given<br>
&gt; extension field is expecting additional MAC protection, or if any
given<br>
&gt; extension field provides MAC protection over the preceding packet<br>
&gt; contents.</font></tt>
<br>
<br><tt><font size=2>I still fail to see a concrete reasoning for this
being a need.</font></tt>
<br><tt><font size=2>Can you name an example where a client would benefit
from modifying their behavior as a result from having information of the
kind &quot;I contain a MAC&quot;/&quot;I require a MAC later&quot; availabe?</font></tt>
<br>
<br><tt><font size=2><br>
(Kristof:)<br>
&gt; &gt; Any kind of MAC protection requires that the participants perform
some <br>
&gt; &gt; kind of key exchange beforehand. In the case of NTS, this exchange
is <br>
&gt; &gt; performed over NTP packets. <br>
&gt; <br>
&gt; Yes, and until that time there is *no* MAC protection available.<br>
&gt; If that doesn't matter for you, that's your local policy choice.<br>
&gt; If it matters to somebody else, that's their local policy choice.<br>
&gt; You don't get to dictate their policy choices.<br>
&gt; I'm talking about mechanism, which gives people the ability to make<br>
&gt; local policy choices.</font></tt>
<br>
<br><tt><font size=2>I strongly object to writing this off as mere policy
choices. If there were a way to have security from the first packet on
(without it causing costs so huge that they negate the benefits of using
NTS), we would gladly enable that.</font></tt>
<br>
<br>
<br><tt><font size=2>&gt; [...]<br>
&gt; I'm telling you it won't work for others who have a different use-case,<br>
&gt; and I'm going to do my best to provide a robust mechanism that will<br>
&gt; permit folks to make local policy choices that meet their needs.</font></tt>
<br>
<br><tt><font size=2>That is a valiant effort, all I am arguing is that
your mechanism is just not as universally available as you describe it.</font></tt>
<br>
<br>
<br><tt><font size=2>(Kristof:)<br>
&gt; &gt; The alternative would be to do it out-of-protocol, but<br>
&gt; &gt; overall: does this save any time or effort?<br>
&gt; <br>
&gt; That's a local policy choice.</font></tt>
<br>
<br><tt><font size=2>The answer to the question whether an out-of-protocol
key exchange saves time or effort is not a policy choice. There are objective
criteria and calculations involved. If anything, the question whether a
participant is willing to accept any additional time or effort necessary
is up to policy choices.</font></tt>
<br>
<br><tt><font size=2>&gt; What I describe permits this *now* with the existing
symmetric key mechanism.</font></tt>
<br>
<br><tt><font size=2>Like every other MAC-based security mechanism, the
symmetric key approach needs to exchange a key. Overall, it therefore provides
just as little instant availability as NTS, or Autokey (arguably the availability
of the symmetric key approach is even less instant than that of its alternatives).</font></tt>
<br>
<br>
<br><tt><font size=2>(Kristof:)<br>
&gt; &gt; Instead of the time that passes between the first NTP packet
sent and<br>
&gt; &gt; the first authenticated timestamp available to the client, consider<br>
&gt; &gt; the time that passes between the decision to obtain authenticated
time<br>
&gt; &gt; and the first authenticated timestamp being available. This will
in<br>
&gt; &gt; fact take more time and effort if the client needs to do some<br>
&gt; &gt; out-of-protocol key exchange first (as in the case of e.g. symmetric<br>
&gt; &gt; key MAC protection).<br>
&gt; <br>
&gt; If an ntp.keys file exists already then it takes no time at all to
offer<br>
&gt; traditional MAC protection, as good or bad as that is. &nbsp;</font></tt>
<br>
<br><tt><font size=2>Isn't this a really big IF?</font></tt>
<br>
<br>
<br><tt><font size=2>(Kristof:)</font></tt>
<br><tt><font size=2>&gt; &gt; That's a point I've been meaning to bring
up, but somehow didn't get around to: <br>
&gt; &gt; this &quot;issue&quot; is not new, or unique to NTS.<br>
&gt; &gt; One could even have the association done in fewer excahnges,
but at a <br>
&gt; &gt; significant security cost (and I would therefore absolutley not
recommend it): 1 <br>
&gt; &gt; exchange could be saved if we cut algorithm negotiation, another
1 echange could <br>
&gt; &gt; be cut if we disabled the defense mechanism against crypto DoS.<br>
&gt; <br>
&gt; That doesn't seem to be a useful solution.<br>
&gt; <br>
&gt; But as I mentioned earlier, autokey packets are already *always*<br>
&gt; MAC-protected. &nbsp;That's all we need here.</font></tt>
<br>
<br><tt><font size=2>No. The early autokey packets do carry a MAC, but
such MAC does not in fact protect the packet, as Dieter explained (see
below).</font></tt>
<br>
<br>
<br><tt><font size=2>(Dieter:)</font></tt>
<br><tt><font size=2>&gt; &gt; Autokey adds an extension field to each
packet only because of the<br>
&gt; &gt; requirement that there has to be a MAC field after an extension<br>
&gt; &gt; field. But the MAC during the initial phase of autokey, in which
the<br>
&gt; &gt; challenge-response scheme and then the cookie exchange runs,
are<br>
&gt; &gt; without any information, because the underlying cookie, which
is the<br>
&gt; &gt; base for the =A0autokeys, which are used to calculate the MAC
has the<br>
&gt; &gt; public value zero. You can read this in RFC5906, Page 10.<br>
&gt; <br>
&gt; I'm not digging in to the reasoning underneath. &nbsp;I'm just saying
the<br>
&gt; reality is that until *very* recently, the presence of an extension<br>
&gt; field REQUIRED a MAC.<br>
&gt; <br>
&gt; That the initial algorithm for autokey is NULL is, I believe, a<br>
&gt; shortcoming.</font></tt>
<br>
<br><tt><font size=2>Arguably maybe, but the whole point here is that it
is also a necessity (i.e. it is not possible to work around it without
serious detriments).</font></tt>
<br><tt><font size=2><br>
&gt; It could be easily fixed, if anybody cared enough to fix it.</font></tt>
<br>
<br><tt><font size=2>The above statement is absolutely not true.</font></tt>
<br><tt><font size=2>If you have no data exchanged initially (which is
the only solid basis to work from for any security specification), then
you need to exchange key data before you can start using MAC-based security
(or most other security, for that matter). Again, this holds true for NTS,
for Autokey, and for the symmetric key approach.</font></tt>
<br>
<br>
<br><tt><font size=2>-------------</font></tt>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
--=_alternative 003B0C5CC1257F76_=--

--===============5010912494738263834==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5010912494738263834==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 04:26:44 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 946B512D975 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 04:26:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 dGj_g5XtSVYC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 04:26:43 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 4C1DB12D79A for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 04:26:43 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 46E7686DAE7 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 11:26:43 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3405E86D55E for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 10:51:02 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1afQ5J-000M5I-RG for ntpwg@lists.ntp.org; Mon, 14 Mar 2016 10:51:02 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2EAomji006707-u2EAomjk006707 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 11:50:48 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 0AF15381FA for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 11:50:48 +0100 (CET)
In-Reply-To: <20160314095133.GA3234@localhost>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org>	<56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org>	<OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org>	<20160311135635.GD28476@localhost>	<OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost>
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF86A5A368.C749D8B2-ONC1257F76.003B0E4F-C1257F76.003B94DB@ptb.de>
From: kristof.teichel@ptb.de
Date: Mon, 14 Mar 2016 11:50:47 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5744214214321983462=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============5744214214321983462==
Content-Type: multipart/alternative; boundary="=_alternative 003B94DBC1257F76_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 003B94DBC1257F76_=
Content-Type: text/plain; charset="US-ASCII"

> Von: Miroslav Lichvar <mlichvar@redhat.com>
> > 
> > I'm not digging in to the reasoning underneath.  I'm just saying the
> > reality is that until *very* recently, the presence of an extension
> > field REQUIRED a MAC.
> 
> I thought you wanted to include a MAC to have authenticated data
> sooner. Now you say you want to include a dummy MAC to fulfill a
> requirement from time when no other extension fields than Autokey
> existed?
> 
> > That the initial algorithm for autokey is NULL is, I believe, a
> > shortcoming.
> 
> The algorithm doesn't change, but the key is public, which means the
> MAC doesn't protect anything and can't be used for authentication.

Exactly. And I for one am strongly against the use of such a feature, as 
it arguably creates false security.

> > I'm fine *allowing* the current behavior to move forward with NTS, and
> > my preference is to *allow* MAC protection on initial NTS packets 
until
> > the state of an NTS-protected association can provide MAC protection 
as
> > part of its packets.
> 
> If you really want I think you can already do that it with a symmetric
> key. Or is there anything in the current NTS draft that forbids the
> old-style MACs in packets containing NTS messages?

No, there is not.
Harlan, maybe this is a point where we have a misunderstanding? Do you 
think that NTS somehow prohibits the use of old-style MACs?


-------------
Best regards,
Kristof
--=_alternative 003B94DBC1257F76_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>&gt; Von: Miroslav Lichvar &lt;mlichvar@redhat.com&gt;<br>
&gt; &gt; <br>
&gt; &gt; I'm not digging in to the reasoning underneath. &nbsp;I'm just
saying the<br>
&gt; &gt; reality is that until *very* recently, the presence of an extension<br>
&gt; &gt; field REQUIRED a MAC.<br>
&gt; <br>
&gt; I thought you wanted to include a MAC to have authenticated data<br>
&gt; sooner. Now you say you want to include a dummy MAC to fulfill a<br>
&gt; requirement from time when no other extension fields than Autokey<br>
&gt; existed?<br>
&gt; <br>
&gt; &gt; That the initial algorithm for autokey is NULL is, I believe,
a<br>
&gt; &gt; shortcoming.<br>
&gt; <br>
&gt; The algorithm doesn't change, but the key is public, which means the<br>
&gt; MAC doesn't protect anything and can't be used for authentication.</font></tt>
<br>
<br><tt><font size=2>Exactly. And I for one am strongly against the use
of such a feature, as it arguably creates false security.</font></tt>
<br><tt><font size=2><br>
&gt; &gt; I'm fine *allowing* the current behavior to move forward with
NTS, and<br>
&gt; &gt; my preference is to *allow* MAC protection on initial NTS packets
until<br>
&gt; &gt; the state of an NTS-protected association can provide MAC protection
as<br>
&gt; &gt; part of its packets.<br>
&gt; <br>
&gt; If you really want I think you can already do that it with a symmetric<br>
&gt; key. Or is there anything in the current NTS draft that forbids the<br>
&gt; old-style MACs in packets containing NTS messages?</font></tt>
<br>
<br><tt><font size=2>No, there is not.</font></tt>
<br><tt><font size=2>Harlan, maybe this is a point where we have a misunderstanding?
Do you think that NTS somehow prohibits the use of old-style MACs?</font></tt>
<br>
<br>
<br><tt><font size=2>-------------</font></tt>
<br><tt><font size=2>Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
--=_alternative 003B94DBC1257F76_=--

--===============5744214214321983462==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5744214214321983462==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 06:52:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 193E612DA7B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 06:52:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.9
X-Spam-Level:
X-Spam-Status: No, score=-5.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HK_NAME_DR=1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ssVYIoMooEvZ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 06:52:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 04A4D12DA95 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 06:52:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id EA96886DB29 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 13:52:39 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C48B486D779 for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 13:26:22 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1afSVg-000OSh-Lz; Mon, 14 Mar 2016 13:26:22 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2EDQ9LU022994-u2EDQ9LW022994 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Mon, 14 Mar 2016 14:26:09 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 5F75C3847D; Mon, 14 Mar 2016 14:26:09 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
X-Pgp-Agent: GPGMail 2.6b2
From: "Dr. Dieter Sibold" <dieter.sibold@ptb.de>
In-Reply-To: <20160314095133.GA3234@localhost>
Date: Mon, 14 Mar 2016 14:26:01 +0100
Message-Id: <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============6058875301467231774=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============6058875301467231774==
Content-Type: multipart/signed; boundary="Apple-Mail=_E6DCE9F8-9CA0-42B7-968F-37F3ED8F0AF8"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_E6DCE9F8-9CA0-42B7-968F-37F3ED8F0AF8
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii

Hi all,
to end this discussion, I propose that we add the following language to =
the Security Considerations of the draft: =
draft-ietf-ntp-using-nts-for-ntp-04

      <section title=3D"Protection for Initial Messages">
        <t>The messages for access, association, and cookie exchange are
        encapsulated in NTP extension fields which are piggybacked onto =
NTP
        packets. The MAC for the protection of the NTP packet cannot be
        calculated until the cookie exchange has been successfully =
finished.
        Therefore, NTS does not append a MAC to (and thus does not =
protect the
        NTP header of) the messages associated to access, association =
and
        cookie exchange.</t>
      </section>


Dieter



> Am 14.03.2016 um 10:51 schrieb Miroslav Lichvar <mlichvar@redhat.com>:
>=20
> On Sun, Mar 13, 2016 at 02:44:35AM +0000, Harlan Stenn wrote:
>> dieter.sibold@ptb.de writes:
>>> -----Harlan Stenn <stenn@ntp.org> wrote: -----
>>>> *All* autokey packets use a MAC, so they always have that level of
>>>> authentication and protection. Autokey is an extra means to
>>>> authenticate the server to the client.
>>>=20
>>> Autokey adds an extension field to each packet only because of the
>>> requirement that there has to be a MAC field after an extension
>>> field. But the MAC during the initial phase of autokey, in which the
>>> challenge-response scheme and then the cookie exchange runs, are
>>> without any information, because the underlying cookie, which is the
>>> base for the =3DA0autokeys, which are used to calculate the MAC has =
the
>>> public value zero. You can read this in RFC5906, Page 10.
>>=20
>> I'm not digging in to the reasoning underneath.  I'm just saying the
>> reality is that until *very* recently, the presence of an extension
>> field REQUIRED a MAC.
>=20
> I thought you wanted to include a MAC to have authenticated data
> sooner. Now you say you want to include a dummy MAC to fulfill a
> requirement from time when no other extension fields than Autokey
> existed?
>=20
>> That the initial algorithm for autokey is NULL is, I believe, a
>> shortcoming.
>=20
> The algorithm doesn't change, but the key is public, which means the
> MAC doesn't protect anything and can't be used for authentication.
>=20
>> I'm fine *allowing* the current behavior to move forward with NTS, =
and
>> my preference is to *allow* MAC protection on initial NTS packets =
until
>> the state of an NTS-protected association can provide MAC protection =
as
>> part of its packets.
>=20
> If you really want I think you can already do that it with a symmetric
> key. Or is there anything in the current NTS draft that forbids the
> old-style MACs in packets containing NTS messages?
>=20
> --
> Miroslav Lichvar


--Apple-Mail=_E6DCE9F8-9CA0-42B7-968F-37F3ED8F0AF8
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW5rvwAAoJEGX4ie6lYtkjnGAP/Axmd6nefTUZQt+DjRVCvVni
NCUcA0ohZuct9MjsnfCytRW0Kx+kmiix+vgN7y1LFrmyXbGyxdTLeUPeqVNKZ7/t
sBzDLE5j3elsDGKTwDtIT3tlmigO8rYvysvzAYMlC+zyVtVs1p9c6grLe7325YT8
DPiifZHoYzXbXG3L81U/xM9eLSm8gtpOc0ukvaXOuadM1Q5wGG7wYcuSDqaxpVGh
0b2a2VtQXeuPcNoVKsx+jubNv9JngZ7bUlW4essHe9YehXebVxjGMxdgxLkbbnBW
D186p9nW2Ymewx7w41cl60f/Ch6CmdNVqZ+fXrWSV17QZPq9Z8m3qsmZA46rT0UE
3tHE/lb/7Saiku7mZg8zCg8XRYKjcCGnwBwF6E8BOYWLmfiI37IFSIaJEd15pTft
IL/WHwr4BQo0ctNKl207D4Bgi+daOwJeQbM/u9ePoScKeToztxKGG+pDRaTQvRvn
mzNeA8BpCJpqiY6441tRZicxkRZ0oXYn8ITrzrs2FVpr20ZPz/Onqv2ly2+VvXBa
bAmRrjipSBQ8rxDw2RBVh8iPayXxsi2opXUj1I220LNu7u7cBTSEpn6pFZKF7JS+
lkvcqiDXM3lMaasp9STP8uu8JTn4Sppr7aNT55hkuHHKsgqTRpq1THvKXSaZL3D2
HoC061UBK0UusKI9L+la
=AA3Y
-----END PGP SIGNATURE-----

--Apple-Mail=_E6DCE9F8-9CA0-42B7-968F-37F3ED8F0AF8--

--===============6058875301467231774==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============6058875301467231774==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 11:26:36 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2639512D6C4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 11:26:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 lr4A6kazL3hR for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 11:26:34 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 43BEA12D6E2 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 11:26:34 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 260E086DB2A for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 18:26:34 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C0F7986DAAF for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 18:26:08 +0000 (UTC)
Received: from [198.22.153.130] (helo=[10.2.184.132]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1afXBs-0003NQ-4E for ntpwg@lists.ntp.org; Mon, 14 Mar 2016 18:26:07 +0000
References: <20160314182316.16917.68822.idtracker@ietfa.amsl.com>
To: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
From: Danny Mayer <mayer@ntp.org>
Organization: NTP
X-Forwarded-Message-Id: <20160314182316.16917.68822.idtracker@ietfa.amsl.com>
Message-ID: <56E7023A.7090206@ntp.org>
Date: Mon, 14 Mar 2016 14:26:02 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <20160314182316.16917.68822.idtracker@ietfa.amsl.com>
X-SA-Exim-Connect-IP: 198.22.153.130
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Fwd: New Version Notification for draft-mayer-ntp-mac-extension-field-00.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

I have now posted the first draft of the MAC Extension Field and I am
requesting that it be adopted by the Working Group.

Danny


-------- Forwarded Message --------
Subject: New Version Notification for
draft-mayer-ntp-mac-extension-field-00.txt
Date: Mon, 14 Mar 2016 11:23:16 -0700
From: internet-drafts@ietf.org
To: Harlan Stenn <stenn@nwtime.org>, Danny Mayer <mayer@ntp.org>


A new version of I-D, draft-mayer-ntp-mac-extension-field-00.txt
has been successfully submitted by Danny Mayer and posted to the
IETF repository.

Name:		draft-mayer-ntp-mac-extension-field
Revision:	00
Title:		The Network Time Protocol Version 4 (NTPv4) MAC Extension Field
Document date:	2016-03-14
Group:		Individual Submission
Pages:		6
URL:
https://www.ietf.org/internet-drafts/draft-mayer-ntp-mac-extension-field-00.txt
Status:
https://datatracker.ietf.org/doc/draft-mayer-ntp-mac-extension-field/
Htmlized:
https://tools.ietf.org/html/draft-mayer-ntp-mac-extension-field-00


Abstract:
   The Network Time Protocol Version 4 (NTPv4) defines in RFC5905 the
   optional usage of Message Authentication Code (MAC). The MAC is an
   optional component of the NTP packet at the end of the packet. There
   can only be one MAC segment in the packet but there is no way of
   knowing if the last data segment at the end of an NTP packet is a MAC
   or an extension field, which is also defined in RFC5905. This draft
   defines a MAC extension field which will allow the existing MAC
   segment to be moved into an extension field and have a known length
   and deprecates the existing MAC.





Please note that it may take a couple of minutes from the time of submission
until the htmlized version and diff are available at tools.ietf.org.

The IETF Secretariat





_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 14:45:49 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6172312D78E for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 14:45:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 kEGquffhlbwL for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 14:45:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9AC1B12D789 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 14:45:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5AD6586DB69 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 21:45:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id EFC1C86DB11 for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 21:45:24 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afaIk-000PJr-Ew; Mon, 14 Mar 2016 21:45:22 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160314104359.GC3234@localhost>
References: <20160311135635.GD28476@localhost> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de> <20160314104359.GC3234@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Mon, 14 Mar 2016 11:43:59 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 14 Mar 2016 21:45:22 +0000
Message-Id: <E1afaIk-000PJr-Ew@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Fri, Mar 11, 2016 at 08:01:09PM +0100, kristof.teichel@ptb.de wrote:
> >    >I guess the packet with the server_cook message could include a MAC
> >    >using the cookie that the message contains, so the client could have
> >    >authenticated timestamps in the third reply.
> >    You are right in that all necessary arrangements are ready by that
> >    point. In fact, we thought about this recently, but we decided that the
> >    drawback was too severe:
> >    In contrast to the crypto operations for a time_response (which are
> >    fast by design), the processing of the NTS extension fields for a
> >    server_cook are computationally expensive, and precision might be
> >    degraded beyond acceptable limits.
> 
> Yes, it would likely add an error to the measurement. I think it would
> rather be due to packets being longer (and possibly fragmented) as
> more time would be needed to send and receive them. The time needed
> for processing of the NTS fields shouldn't matter as the RX/TX
> timestamps are captured before/after the fields are processed.

If one can get the arrival timestamp of the first fragment then what
additional error is being accumulated?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 14:46:45 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C9D7F12D78E for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 14:46:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 UpazHSjbP7xd for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 14:46:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 56FB112D7A5 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 14:46:43 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4F73A86DBE0 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 21:46:43 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 81D7186DB11 for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 21:46:38 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afaHU-000PJc-Sw; Mon, 14 Mar 2016 21:44:04 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160314095133.GA3234@localhost>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Mon, 14 Mar 2016 10:51:33 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Mon, 14 Mar 2016 21:44:04 +0000
Message-Id: <E1afaHU-000PJc-Sw@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Sun, Mar 13, 2016 at 02:44:35AM +0000, Harlan Stenn wrote:
> > dieter.sibold@ptb.de writes:
> > > -----Harlan Stenn <stenn@ntp.org> wrote: -----
> > >> *All* autokey packets use a MAC, so they always have that level of
> > >> authentication and protection. Autokey is an extra means to
> > >> authenticate the server to the client.
> > > 
> > > Autokey adds an extension field to each packet only because of the
> > > requirement that there has to be a MAC field after an extension
> > > field. But the MAC during the initial phase of autokey, in which the
> > > challenge-response scheme and then the cookie exchange runs, are
> > > without any information, because the underlying cookie, which is the
> > > base for the =A0autokeys, which are used to calculate the MAC has the
> > > public value zero. You can read this in RFC5906, Page 10.
> > 
> > I'm not digging in to the reasoning underneath.  I'm just saying the
> > reality is that until *very* recently, the presence of an extension
> > field REQUIRED a MAC.
> 
> I thought you wanted to include a MAC to have authenticated data
> sooner. Now you say you want to include a dummy MAC to fulfill a
> requirement from time when no other extension fields than Autokey
> existed?

You are seriously misunderstanding what's going on here.

For autokey, the MAC is ALWAYS there.  The first few packets apparently
have a "null" algorithm, and we can certainly do better there.

For NTS, there is *no* MAC coverage until the 7th packet *that contains
NTS data*.  If there is enough work "behind the scenes" that we can't
get the NTS work done in the 2 second window between iburst packets then
the iburst exchange will be done before NTS gets completed, and we'll be
making additional progress every poll interval.

If that's OK for some people, that's great.

If that's not OK for some people, that's great.  The instant solution
for these folks is to use symmetric keys with the traditional MAC to
protect packet contents before NTS can provide a MAC itself.

> > That the initial algorithm for autokey is NULL is, I believe, a
> > shortcoming.
> 
> The algorithm doesn't change, but the key is public, which means the
> MAC doesn't protect anything and can't be used for authentication.

I don't understand what you mean.  What is the key you are talking about
that is public?

> > I'm fine *allowing* the current behavior to move forward with NTS, and
> > my preference is to *allow* MAC protection on initial NTS packets until
> > the state of an NTS-protected association can provide MAC protection as
> > part of its packets.
> 
> If you really want I think you can already do that it with a symmetric
> key. Or is there anything in the current NTS draft that forbids the
> old-style MACs in packets containing NTS messages?

This is exactly what I have proposed.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 15:07:06 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 897C912D7BA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 15:07:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 Z8OLt-gLNw3d for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 15:07:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7B1F412D7AD for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 15:07:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 69D7D86DB95 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 22:07:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E93CA86DAE6 for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 22:06:57 +0000 (UTC)
Received: from mail225c25.carrierzone.com ([64.29.147.239] helo=mail24c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1afadU-0006tE-Gb; Mon, 14 Mar 2016 22:06:57 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail24c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2EM6iRT012330; Mon, 14 Mar 2016 22:06:45 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 240EC406057;  Mon, 14 Mar 2016 15:06:44 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@ntp.org> of "Mon, 14 Mar 2016 21:44:04 -0000." <E1afaHU-000PJc-Sw@stenn.ntp.org>
Mime-Version: 1.0
Date: Mon, 14 Mar 2016 15:06:44 -0700
Message-Id: <20160314220644.240EC406057@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=UP7kQkvy c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=3WPoozlpmUoND_OC8KgA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56E735F6.0070, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.239
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

stenn@ntp.org said:
> If that's not OK for some people, that's great.  The instant solution for
> these folks is to use symmetric keys with the traditional MAC to protect
> packet contents before NTS can provide a MAC itself. 

If I have symmetric keys, why would I bother with NTS?

Is there some crypto argument about changing keys after using a key on X 
bytes of data?  If so, what is X and/or how does that translate to something 
like years of NTP traffic?


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 15:35:30 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5CBA212D7BF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 15:35:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 f-vENHxXCVIf for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 15:35:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 10AC112D7AA for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 15:35:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 084B286DB71 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 22:35:28 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B029286DB1B for <ntpwg@lists.ntp.org>; Mon, 14 Mar 2016 22:35:21 +0000 (UTC)
Received: from excelsior.roeckx.be ([2a01:70:ffff:1::3]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kurt@roeckx.be>) id 1afb56-00079V-2M for ntpwg@lists.ntp.org; Mon, 14 Mar 2016 22:35:21 +0000
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id 4AFB9A8A14CE; Mon, 14 Mar 2016 22:35:17 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id DE3EB1FE0237; Mon, 14 Mar 2016 23:35:16 +0100 (CET)
Date: Mon, 14 Mar 2016 23:35:16 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Hal Murray <hmurray@megapathdsl.net>
Message-ID: <20160314223516.GA8205@roeckx.be>
References: <stenn@ntp.org> <E1afaHU-000PJc-Sw@stenn.ntp.org> <20160314220644.240EC406057@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <20160314220644.240EC406057@ip-64-139-1-69.sjc.megapath.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: 2a01:70:ffff:1::3
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kurt@roeckx.be
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Mon, Mar 14, 2016 at 03:06:44PM -0700, Hal Murray wrote:
>
> If I have symmetric keys, why would I bother with NTS?
>
> Is there some crypto argument about changing keys after using a
> key on X
> bytes of data?

As far as I know, it depends on how you use that key, but I would
say yes.

Even if it doesn't depend on it, it might still be a good idea to
replace it on regular basis.

> If so, what is X

I think here the answer is even more complicated.

> how does that translate to something like years of NTP traffic?

Depending on how you use the key, it might not relate to the NTP
traffic.  That is, the key used for the NTP traffic might not be
the same.

If you want more specific answers you should ask more specific
questions, including on how you intend to use it.  And you should
probably ask someone who knows more about such things.

I also have no idea if there has been a real study of the proposal
or not, and I would strongly suggest that happens.


Kurt

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 17:47:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2C64B12D81B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 17:47:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 sr0Duz56WWzm for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 17:47:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id D2EB312D501 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 17:47:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A9B9486DB67 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 00:47:39 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 87D6486DB5D for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 00:47:13 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afd8i-000PUU-Lu; Tue, 15 Mar 2016 00:47:12 +0000
From: Harlan Stenn <stenn@ntp.org>
To: kristof.teichel@ptb.de
In-reply-to: <OFF7AC8F3F.565D937E-ONC1257F76.0031FBA6-C1257F76.003B0C5F@ptb.de>
References: <OFF7AC8F3F.565D937E-ONC1257F76.0031FBA6-C1257F76.003B0C5F@ptb.de>
Comments: In-reply-to kristof.teichel@ptb.de message dated "Mon, 14 Mar 2016 11:44:57 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 00:47:12 +0000
Message-Id: <E1afd8i-000PUU-Lu@stenn.ntp.org>
Subject: Re: [ntpwg] Different security mechanisms (NTS, Autokey, Symmetric Security) and key exchange techniques
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

kristof.teichel@ptb.de writes:
> Dies ist eine mehrteilige Nachricht im MIME-Format.
> --===============1313932938896456893==
> Content-Type: multipart/alternative; boundary="=_alternative 003B0C5CC1257F76
> _="
> 
> (Miroslav:)
> > > I'm not sure I follow here. If you have a symmetric key or another
> > > authentication mechanism enabled, why would you use NTS?
> > 
> > How do you protect the first few packets otherwise?
> > 
> > I'm offering a mechanism that would permit symmetric key for the first
> > few packets.  At that point one can shift to NTS.
> 
> I cannot stress enough that while we have nothing against continuing
> the use of an existing symmetric key security association, I view it
> as a severe mistake to set one of those up *just* to protect the first
> 3 exchanges of an NTS-secured association!

Please say more about how this is a "severe mistake".

Talking only about the iburst case for now, are you saying *no*
protection is better than *some* protection during this inital volley?

> Harlan, for associations where the participants have *not* initially set 
> up a symmetric key security association and want to start using NTS, what 
> would be your proposed plan?

If they want these initial packets protected, they must set up a
framework for that effort.  Right now the easiest thing to set up is
symmetric key.

If they dont want these initial packets protected then it doesn't
matter.

I still haven't heard an answer to my question about "how long does it
take to do whatever work needs to be done upon receipt of one of these
initial packets.  Specifically, how much time is spent processing each
of the first 6 packets?  I'm curious how many of these steps are
expected to take 1.75 seconds or longer.

> (Kristof:)
> > > If there is a way to communicate these things independently from the
> > > fact that the extension field is NTS-related, then that is another
> > > discussion.  But from what I understand, you are proposing values that
> > > explicitly identify more than multiple different identifiers for
> > > NTS-related extension fields. In which case I agree with Dieter: I do
> > > not see a need to differentiate at that point (where a participant has
> > > seen, but not begun to process, an extension field).
> > 
> > See RFC5906 for the description of the Field Types for autokey.  In
> > these. the 2nd nibble describes the packet content.  NTS does not want
> > to make this information public, and that's fine.
> > 
> > But that does not obviate the black-box need to know if any given
> > extension field is expecting additional MAC protection, or if any given
> > extension field provides MAC protection over the preceding packet
> > contents.
> 
> I still fail to see a concrete reasoning for this being a need.
> Can you name an example where a client would benefit from modifying their 
> behavior as a result from having information of the kind "I contain a 
> MAC"/"I require a MAC later" available?

I'm about to publish a number of proposals.

Old clients will do whatever old clients will do - they don't know about
any of these things so they will gain nothing, and if those systems are
designed to drop packets with unknown extension fields they will lose.
But these old systems will not be asking for NTS connections, so there
is less likely to be a chance that "I'm dropping a packet because it has
an unknown extension field" will happen.

New clients will have this information, and they may use it in the case
where they get an unknown extension field.  If they understand all the
extensions except "MAC in and Extension Field" but they see the EF they
don't understand is "I contain a MAC and a subsquent MAC is OPTIONAL for
me" then the client can make a "better" choice about how to proceed.

It's a *help*.  That's all.

Why are you so opposed to providing this help?

> (Kristof:)
> > > Any kind of MAC protection requires that the participants perform some 
> > > kind of key exchange beforehand. In the case of NTS, this exchange is 
> > > performed over NTP packets. 
> > 
> > Yes, and until that time there is *no* MAC protection available.
> > If that doesn't matter for you, that's your local policy choice.
> > If it matters to somebody else, that's their local policy choice.
> > You don't get to dictate their policy choices.
> > I'm talking about mechanism, which gives people the ability to make
> > local policy choices.
> 
> I strongly object to writing this off as mere policy choices. If there 
> were a way to have security from the first packet on (without it causing 
> costs so huge that they negate the benefits of using NTS), we would gladly 
> enable that.

Symmetric key MAC protection is a way to have security from the first
packet without incurring any new costs. 

I'm not saying it MUST be done, my proposal says doing this is
OPTIONAL.  But if you as a server send a Field Type of 0x0004 that means
"NTS, MAC SHOULD (or MAC MUST)", and if you send 0x2004 that means "NTS,
MAC MAY".  Once the NTS exchange has progressed to the point where they
include a MAC, the would use a Field Tupe of 0x3004, "NTS, MAC Included,
MAC MAY follow".

> > [...]
> > I'm telling you it won't work for others who have a different use-case,
> > and I'm going to do my best to provide a robust mechanism that will
> > permit folks to make local policy choices that meet their needs.
> 
> That is a valiant effort, all I am arguing is that your mechanism is just 
> not as universally available as you describe it.

None of this is available now.  I'm not sure what you mean.

> (Kristof:)
> > > The alternative would be to do it out-of-protocol, but
> > > overall: does this save any time or effort?
> > 
> > That's a local policy choice.
> 
> The answer to the question whether an out-of-protocol key exchange saves 
> time or effort is not a policy choice. There are objective criteria and 
> calculations involved. If anything, the question whether a participant is 
> willing to accept any additional time or effort necessary is up to policy 
> choices.

How is the evaluation of objective criteria and calculations *not* a
local policy decision?  It's certainly not a mechanism decision.

But still we arrive at the same point, where we seem to agree: is one
side willing to put forth the effort to allow the use of a symmetric key
to protect the initial packet.

If somebody wants this protection but via some other mechanism, they can
do that too, if they prefer.

> > What I describe permits this *now* with the existing symmetric key 
> mechanism.
> 
> Like every other MAC-based security mechanism, the symmetric key approach 
> needs to exchange a key. Overall, it therefore provides just as little 
> instant availability as NTS, or Autokey (arguably the availability of the 
> symmetric key approach is even less instant than that of its 
> alternatives).

Once symmetric keys are distributed there is *no* startup time required
to use them.

You are taking the position that at least 3 poll exchanges is just as
good as having it immediately.  That's a local policy evaluation.

I promise you others do not hold that belief, they want that initial
time sync to be faster, even for cold-start.

> (Kristof:)
> > > Instead of the time that passes between the first NTP packet sent and
> > > the first authenticated timestamp available to the client, consider
> > > the time that passes between the decision to obtain authenticated time
> > > and the first authenticated timestamp being available. This will in
> > > fact take more time and effort if the client needs to do some
> > > out-of-protocol key exchange first (as in the case of e.g. symmetric
> > > key MAC protection).
> > 
> > If an ntp.keys file exists already then it takes no time at all to offer
> > traditional MAC protection, as good or bad as that is. 
> 
> Isn't this a really big IF?

Not at all.  If one wants this, one propagates an ntp.keys file.

If one doesn't want this protection, one doesn't bother.

Distributing something in a file within an organization is a well-solved
problem, that is in wide deployment.

Doing it between organizations was solved long ago, and requires minimum
to little effort.  Not counting political issues, of course.

> (Kristof:)
>>> That's a point I've been meaning to bring up, but somehow didn't get
>>> around to: this "issue" is not new, or unique to NTS.  One could
>>> even have the association done in fewer excahnges, but at a
>>> significant security cost (and I would therefore absolutley not
>>> recommend it): 1 exchange could be saved if we cut algorithm
>>> negotiation, another 1 exchange could be cut if we disabled the
>>> defense mechanism against crypto DoS.
>> 
>> That doesn't seem to be a useful solution.
>> 
>> But as I mentioned earlier, autokey packets are already *always*
>> MAC-protected.  That's all we need here.
> 
> No. The early autokey packets do carry a MAC, but such MAC does not in 
> fact protect the packet, as Dieter explained (see below).

Yes.  And this is an easily solvable shortcoming, if anybody wanted to
fix it.

> (Dieter:)
>>> Autokey adds an extension field to each packet only because of the
>>> requirement that there has to be a MAC field after an extension
>>> field. But the MAC during the initial phase of autokey, in which the
>>> challenge-response scheme and then the cookie exchange runs, are
>>> without any information, because the underlying cookie, which is the
>>> base for the =A0autokeys, which are used to calculate the MAC has the
>>> public value zero. You can read this in RFC5906, Page 10.
>> 
>> I'm not digging in to the reasoning underneath.  I'm just saying the
>> reality is that until *very* recently, the presence of an extension
>> field REQUIRED a MAC.
>> 
>> That the initial algorithm for autokey is NULL is, I believe, a
>> shortcoming.
> 
> Arguably maybe, but the whole point here is that it is also a necessity 
> (i.e. it is not possible to work around it without serious detriments).

I'm not sure what you mean.  It would be trivial to use the symmetric
key until autokey was up and running, then switch to that session key.

>> It could be easily fixed, if anybody cared enough to fix it.
> 
> The above statement is absolutely not true.  If you have no data
> exchanged initially (which is the only solid basis to work from for
> any security specification), then you need to exchange key data before
> you can start using MAC-based security (or most other security, for
> that matter). Again, this holds true for NTS, for Autokey, and for the
> symmetric key approach.

I disagree completely.  Symmemtrc key works just fine for this, to the
extent one is willing to use symmetric keys.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 17:57:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 54D3F12D836 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 17:57:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 U9o_4TY1_Ovy for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 17:57:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2435F12D833 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 17:57:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0F27086DB60 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 00:57:39 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 7D58E86D779 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 00:57:34 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afdIk-000PVO-1T; Tue, 15 Mar 2016 00:57:34 +0000
From: Harlan Stenn <stenn@ntp.org>
To: kristof.teichel@ptb.de
In-reply-to: <OF86A5A368.C749D8B2-ONC1257F76.003B0E4F-C1257F76.003B94DB@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <OF86A5A368.C749D8B2-ONC1257F76.003B0E4F-C1257F76.003B94DB@ptb.de>
Comments: In-reply-to kristof.teichel@ptb.de message dated "Mon, 14 Mar 2016 11:50:47 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 00:57:34 +0000
Message-Id: <E1afdIk-000PVO-1T@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

kristof.teichel@ptb.de writes:
> > Von: Miroslav Lichvar <mlichvar@redhat.com>
> > > 
> > > I'm not digging in to the reasoning underneath.  I'm just saying the
> > > reality is that until *very* recently, the presence of an extension
> > > field REQUIRED a MAC.
> > 
> > I thought you wanted to include a MAC to have authenticated data
> > sooner. Now you say you want to include a dummy MAC to fulfill a
> > requirement from time when no other extension fields than Autokey
> > existed?
> > 
> > > That the initial algorithm for autokey is NULL is, I believe, a
> > > shortcoming.
> > 
> > The algorithm doesn't change, but the key is public, which means the
> > MAC doesn't protect anything and can't be used for authentication.
> 
> Exactly. And I for one am strongly against the use of such a feature, as 
> it arguably creates false security.

It creates nothing.  It's the current situation for autokey.  It can be
easily fixed if anybody cares enough to do this.  With autokey being
deprecated in favor of NTS, I'm not sure who cares.  If a volunteer
steps up with a working patch we'll put it in place.  If somebody wants
to fund the development of this patch, that works, too.

>>> I'm fine *allowing* the current behavior to move forward with NTS,
>>> and my preference is to *allow* MAC protection on initial NTS
>>> packets until the state of an NTS-protected association can provide
>>> MAC protection as part of its packets.
>> 
>> If you really want I think you can already do that it with a symmetric
>> key. Or is there anything in the current NTS draft that forbids the
>> old-style MACs in packets containing NTS messages?
> 
> No, there is not.
> Harlan, maybe this is a point where we have a misunderstanding? Do you 
> think that NTS somehow prohibits the use of old-style MACs?

Not at all.  My proposal has been to *allow* a legacy-MAC in addition to
the NTS MAC.

If one want initial packet content protection, they get it if they use a
MAC after the NTS EF.

If one does not care about initial packet content protection, fine.
They don't do any other MAC after the NTS EF.

If one wants *both* NTS MAC and some other MAC after the NTS EF, they
may have that too.  Their choice.  

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 18:17:22 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A09F812D82B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 18:17:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 HN0rriwFlZO8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 18:17:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C896A12D783 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 18:17:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C425A86DB6F for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 01:17:20 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 1476B86DB25 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 01:17:13 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afdbj-000PXK-SU; Tue, 15 Mar 2016 01:17:11 +0000
From: Harlan Stenn <stenn@ntp.org>
To: "Dr. Dieter Sibold" <dieter.sibold@ptb.de>
In-reply-to: <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de>
Comments: In-reply-to "Dr. Dieter Sibold" <dieter.sibold@ptb.de> message dated "Mon, 14 Mar 2016 14:26:01 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 01:17:11 +0000
Message-Id: <E1afdbj-000PXK-SU@stenn.ntp.org>
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

"Dr. Dieter Sibold" writes:
> 
> Hi all,
> to end this discussion, I propose that we add the following language to 
> the Security Considerations of the draft: 
> draft-ietf-ntp-using-nts-for-ntp-04
> 
>   <section title=3D"Protection for Initial Messages">
>     <t>The messages for access, association, and cookie exchange are
>     encapsulated in NTP extension fields which are piggybacked onto NTP
>     packets. The MAC for the protection of the NTP packet cannot be
>     calculated until the cookie exchange has been successfully finished.
>      Therefore, NTS does not append a MAC to (and thus does not protect the
>     NTP header of) the messages associated to access, association and
>     cookie exchange.</t>
>   </section>
>   <section title=3D"Protection for Initial Messages">
>     <t>The messages for access, association, and cookie exchange are
>     encapsulated in NTP extension fields which are piggybacked onto NTP
>     packets. The MAC for the protection of the NTP packet cannot be
>     calculated until the cookie exchange has been successfully finished.
>      Therefore, NTS does not append a MAC to (and thus does not protect the
>     NTP header of) the messages associated to access, association and
>     cookie exchange.</t>
>   </section>

How about this instead:

   <section title="Protection for Initial Messages">
     <t>The NTS messages providing access, association, and cookie
     exchange are encapsulated in an NTP extension field which is
     piggybacked onto NTP packets. NTS does not itself provide MAC
     protection of the NTP packet until the NTS cookie exchange has been
     successfully finished.  If some other form of MAC protection of the
     NTP packet and the NTS access, association, and cookie exchange is
     desired before NTS is able to provide it, existing alternative MAC
     protection MAY be used.</t>
     <t>The state of NTS MAC protection can be seen in the Field Type of
     the NTS extension field.</t> 
   </section>

My understanding is that there will be at most 1 NTS EF in any given NTP
packet.  I might wrong about that, and if I am, I'm curious why we'd
want multiple NTS EFs in a single NTP packet.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 14 19:55:54 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7A6D12D855 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 19:55:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 Yx9QSO9zDdLV for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 14 Mar 2016 19:55:53 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 4AC2912D6A6 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 14 Mar 2016 19:55:53 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 28B4186DB83 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 02:55:53 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 27AB786DB71 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 02:55:29 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aff6Q-000Pcz-7h; Tue, 15 Mar 2016 02:52:58 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Hal Murray <hmurray@megapathdsl.net>
In-reply-to: <20160314220644.240EC406057@ip-64-139-1-69.sjc.megapath.net>
References: <20160314220644.240EC406057@ip-64-139-1-69.sjc.megapath.net>
Comments: In-reply-to Hal Murray <hmurray@megapathdsl.net> message dated "Mon, 14 Mar 2016 15:06:44 -0700."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 02:52:57 +0000
Message-Id: <E1aff6Q-000Pcz-7h@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hal Murray writes:
> 
> stenn@ntp.org said:
> > If that's not OK for some people, that's great.  The instant solution for
> > these folks is to use symmetric keys with the traditional MAC to protect
> > packet contents before NTS can provide a MAC itself. 
> 
> If I have symmetric keys, why would I bother with NTS?

I have no strong opinion on this.

> Is there some crypto argument about changing keys after using a key on X 
> bytes of data?  If so, what is X and/or how does that translate to something 
> like years of NTP traffic?

I have no strong opinion on this.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 01:05:09 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AEB2C12D94A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 01:05:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 lNbQE5yuPbuJ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 01:05:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 3293C12D8DF for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 01:05:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0BEA186DBD0 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 08:05:06 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 4110086DBA3 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 08:04:50 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1afjy7-000G1W-EI for ntpwg@lists.ntp.org; Tue, 15 Mar 2016 08:04:50 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 21B10B82A for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 08:04:43 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id AA19DB80E; Tue, 15 Mar 2016 08:04:42 +0000 (UTC)
To: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56E7C280.70009@nwtime.org>
Date: Tue, 15 Mar 2016 01:06:24 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Tue Mar 15 08:04:42 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e7c21a829931182510160
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] New draft proposals
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Folks,

I've submitted some proposals:

 https://datatracker.ietf.org/doc/draft-stenn-ntp-i-do/
 https://datatracker.ietf.org/doc/draft-stenn-ntp-ipv6-refid-hash/
 https://datatracker.ietf.org/doc/draft-stenn-ntp-last-extension/
 https://datatracker.ietf.org/doc/draft-stenn-ntp-leap-smear-refid/
 https://datatracker.ietf.org/doc/draft-stenn-ntp-suggest-refid/

The first, "I-Do", is a way for one ntpd instance to say "I support the
following extension fields, what EFs to you support?".

The "IPv6 REFID hash" is a way to specify an IPv6-based refid in a way
that does not collide with usable IPv4-based refids.

The "Last Extension" proposal is a way to say "I'm the last Extension
Field.  What comes next is a legacy MAC."

The "Leap Smear REFID" codifies what the reference implementation
currently does if leap-smear support is enabled and >actively processing
a leap smear<.

The "Suggest REFID" proposal is a mechanism for system A to offer a
nonce to system B to be used as B's refid in the case where B decides A
is its system peer.

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 01:17:00 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7698312D956 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 01:17:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 Q5OZox77oLi0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 01:16:58 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9C9EA12D92F for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 01:16:58 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 96FEF86DBE7 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 08:16:58 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5B3B986DBAC for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 08:16:52 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1afk9j-000GDr-8a for ntpwg@lists.ntp.org; Tue, 15 Mar 2016 08:16:52 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 25855C00EB31; Tue, 15 Mar 2016 08:16:42 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2F8Gea7021084; Tue, 15 Mar 2016 04:16:41 -0400
Date: Tue, 15 Mar 2016 09:16:40 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160315081640.GE3234@localhost>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E1afaHU-000PJc-Sw@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1afaHU-000PJc-Sw@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Mon, Mar 14, 2016 at 09:44:04PM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > I thought you wanted to include a MAC to have authenticated data
> > sooner. Now you say you want to include a dummy MAC to fulfill a
> > requirement from time when no other extension fields than Autokey
> > existed?
> 
> You are seriously misunderstanding what's going on here.
> 
> For autokey, the MAC is ALWAYS there.

Yes, the packets have a MAC, but as people in this thread have been
trying to explain to you, that MAC is worthless until the cookie is
exchanged. If ntpd used the first few packets for time
synchronization, a MITM attacker could easily modify the packets and
feed the client with bogus time. (I'm ignoring here the fact that
Autokey has a number of vulnerabilities that allow the attacker to do
that anyway.)

> The first few packets apparently
> have a "null" algorithm, and we can certainly do better there.

No, you can't. There is no secret that could be used to create a
proper MAC yet.

> For NTS, there is *no* MAC coverage until the 7th packet *that contains
> NTS data*.  If there is enough work "behind the scenes" that we can't
> get the NTS work done in the 2 second window between iburst packets then
> the iburst exchange will be done before NTS gets completed, and we'll be
> making additional progress every poll interval.

I think with NTS it will be (assuming no further changes in the
protocol) exactly the same as it's with Autokey using an identity
scheme. The client gets authenticated timestamps in the fourth reply.
If it's using iburst (2s interval) that is about 6 seconds after the
start.

> If that's OK for some people, that's great.

I think that's ok for most people. At least with Autokey, I didn't see
any complaints.

> If that's not OK for some people, that's great.  The instant solution
> for these folks is to use symmetric keys with the traditional MAC to
> protect packet contents before NTS can provide a MAC itself.

That's not really a solution. NTS is using public-key crypto so you
don't have to deal with secret keys. If you are able to distribute
symmetric keys between the hosts and trust it enough that you will
accept packets for synchronization, you probably don't need NTS at
all.

> > If you really want I think you can already do that it with a symmetric
> > key. Or is there anything in the current NTS draft that forbids the
> > old-style MACs in packets containing NTS messages?
> 
> This is exactly what I have proposed.

Well, you can add old-style MACs to packets with NTS messages. Nothing
in the draft as it's currently written prevents you from doing that
apparently. You can use add an old-style MAC using a symmetric key to
packets that don't have the NTS MAC yet, so you can use them for
synchronization. You can also add it to packets that have the NTS MAC
for "extra protection".

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 03:16:40 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03A6B12D525 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 03:16:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 BNKtL75-azcj for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 03:16:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id F230312D51A for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 03:16:37 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E08DE86DBF0 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 10:16:37 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 74A7786DBBE for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 10:16:01 +0000 (UTC)
Received: from mail146c25.carrierzone.com ([64.29.147.216] helo=mail239c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1afm12-000Mmw-FS; Tue, 15 Mar 2016 10:16:01 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail239c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2FAFmH8000645; Tue, 15 Mar 2016 10:15:49 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id A1F6B406061;  Tue, 15 Mar 2016 00:47:49 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@ntp.org> of "Tue, 15 Mar 2016 00:47:12 -0000." <E1afd8i-000PUU-Lu@stenn.ntp.org>
Mime-Version: 1.0
Date: Tue, 15 Mar 2016 00:47:49 -0700
Message-Id: <20160315074749.A1F6B406061@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=CYcxutbl c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=dMOfeVZ5Pk92_cRUO74A:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010203.56E7E0D6.004B, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.216
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Different security mechanisms (NTS, Autokey, Symmetric  Security) and key exchange techniques
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

stenn@ntp.org said:
> Specifically, how much time is spent processing each of the first 6 packets?
>  I'm curious how many of these steps are expected to take 1.75 seconds or
> longer. 

Where did the magic number of 1.75 come from?

There is a big difference between "expected" for the normal case and 
something like "happens often enough" so we shouldn't rule it out.

Are you asking about CPU time for client or server to process a packet or are 
you including network transit time?  In either case, it's not hard to come up 
with nasty cases that take a long time.

Bufferbloat can easily get over 2 seconds.  My DSL line is close to 4.

I leave it to your imagination as to how a CPU can take that long.  My straw 
man would be a busy system without enough memory so it's swapping.  Logging 
to a stuck NFS server is another good choice.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 03:31:00 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 516F212D981 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 03:31:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.9
X-Spam-Level:
X-Spam-Status: No, score=-5.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HK_NAME_DR=1, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ub-RX7KWBjvA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 03:30:58 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id BD52A12D97A for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 03:30:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id AFE2186DC36 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 10:30:56 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 63BC386DBC1 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 10:26:18 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1afmAy-000MsS-HB; Tue, 15 Mar 2016 10:26:18 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2FAQ6DU028061-u2FAQ6DW028061 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 15 Mar 2016 11:26:06 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 8FF5D38C17; Tue, 15 Mar 2016 11:26:06 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: "Dr. Dieter Sibold" <dieter.sibold@ptb.de>
In-Reply-To: <E1afdbj-000PXK-SU@stenn.ntp.org>
Date: Tue, 15 Mar 2016 11:26:04 +0100
Message-Id: <BC364786-C84B-4BB3-9AF8-D4C92FA0BFA5@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de> <E1afdbj-000PXK-SU@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>
X-TNEFEvaluated: 1
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Cj4gQW0gMTUuMDMuMjAxNiB1bSAwMjoxNyBzY2hyaWViIEhhcmxhbiBTdGVubiA8c3Rlbm5AbnRw
Lm9yZz46Cj4gCj4gIkRyLiBEaWV0ZXIgU2lib2xkIiB3cml0ZXM6Cj4+IAo+PiBIaSBhbGwsCj4+
IHRvIGVuZCB0aGlzIGRpc2N1c3Npb24sIEkgcHJvcG9zZSB0aGF0IHdlIGFkZCB0aGUgZm9sbG93
aW5nIGxhbmd1YWdlIHRvIAo+PiB0aGUgU2VjdXJpdHkgQ29uc2lkZXJhdGlvbnMgb2YgdGhlIGRy
YWZ0OiAKPj4gZHJhZnQtaWV0Zi1udHAtdXNpbmctbnRzLWZvci1udHAtMDQKPj4gCj4+ICA8c2Vj
dGlvbiB0aXRsZT0zRCJQcm90ZWN0aW9uIGZvciBJbml0aWFsIE1lc3NhZ2VzIj4KPj4gICAgPHQ+
VGhlIG1lc3NhZ2VzIGZvciBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQgY29va2llIGV4Y2hhbmdl
IGFyZQo+PiAgICBlbmNhcHN1bGF0ZWQgaW4gTlRQIGV4dGVuc2lvbiBmaWVsZHMgd2hpY2ggYXJl
IHBpZ2d5YmFja2VkIG9udG8gTlRQCj4+ICAgIHBhY2tldHMuIFRoZSBNQUMgZm9yIHRoZSBwcm90
ZWN0aW9uIG9mIHRoZSBOVFAgcGFja2V0IGNhbm5vdCBiZQo+PiAgICBjYWxjdWxhdGVkIHVudGls
IHRoZSBjb29raWUgZXhjaGFuZ2UgaGFzIGJlZW4gc3VjY2Vzc2Z1bGx5IGZpbmlzaGVkLgo+PiAg
ICAgVGhlcmVmb3JlLCBOVFMgZG9lcyBub3QgYXBwZW5kIGEgTUFDIHRvIChhbmQgdGh1cyBkb2Vz
IG5vdCBwcm90ZWN0IHRoZQo+PiAgICBOVFAgaGVhZGVyIG9mKSB0aGUgbWVzc2FnZXMgYXNzb2Np
YXRlZCB0byBhY2Nlc3MsIGFzc29jaWF0aW9uIGFuZAo+PiAgICBjb29raWUgZXhjaGFuZ2UuPC90
Pgo+PiAgPC9zZWN0aW9uPgo+PiAgPHNlY3Rpb24gdGl0bGU9M0QiUHJvdGVjdGlvbiBmb3IgSW5p
dGlhbCBNZXNzYWdlcyI+Cj4+ICAgIDx0PlRoZSBtZXNzYWdlcyBmb3IgYWNjZXNzLCBhc3NvY2lh
dGlvbiwgYW5kIGNvb2tpZSBleGNoYW5nZSBhcmUKPj4gICAgZW5jYXBzdWxhdGVkIGluIE5UUCBl
eHRlbnNpb24gZmllbGRzIHdoaWNoIGFyZSBwaWdneWJhY2tlZCBvbnRvIE5UUAo+PiAgICBwYWNr
ZXRzLiBUaGUgTUFDIGZvciB0aGUgcHJvdGVjdGlvbiBvZiB0aGUgTlRQIHBhY2tldCBjYW5ub3Qg
YmUKPj4gICAgY2FsY3VsYXRlZCB1bnRpbCB0aGUgY29va2llIGV4Y2hhbmdlIGhhcyBiZWVuIHN1
Y2Nlc3NmdWxseSBmaW5pc2hlZC4KPj4gICAgIFRoZXJlZm9yZSwgTlRTIGRvZXMgbm90IGFwcGVu
ZCBhIE1BQyB0byAoYW5kIHRodXMgZG9lcyBub3QgcHJvdGVjdCB0aGUKPj4gICAgTlRQIGhlYWRl
ciBvZikgdGhlIG1lc3NhZ2VzIGFzc29jaWF0ZWQgdG8gYWNjZXNzLCBhc3NvY2lhdGlvbiBhbmQK
Pj4gICAgY29va2llIGV4Y2hhbmdlLjwvdD4KPj4gIDwvc2VjdGlvbj4KPiAKPiBIb3cgYWJvdXQg
dGhpcyBpbnN0ZWFkOgo+IAo+ICAgPHNlY3Rpb24gdGl0bGU9IlByb3RlY3Rpb24gZm9yIEluaXRp
YWwgTWVzc2FnZXMiPgo+ICAgICA8dD5UaGUgTlRTIG1lc3NhZ2VzIHByb3ZpZGluZyBhY2Nlc3Ms
IGFzc29jaWF0aW9uLCBhbmQgY29va2llCj4gICAgIGV4Y2hhbmdlIGFyZSBlbmNhcHN1bGF0ZWQg
aW4gYW4gTlRQIGV4dGVuc2lvbiBmaWVsZCB3aGljaCBpcwo+ICAgICBwaWdneWJhY2tlZCBvbnRv
IE5UUCBwYWNrZXRzLiBOVFMgZG9lcyBub3QgaXRzZWxmIHByb3ZpZGUgTUFDCj4gICAgIHByb3Rl
Y3Rpb24gb2YgdGhlIE5UUCBwYWNrZXQgdW50aWwgdGhlIE5UUyBjb29raWUgZXhjaGFuZ2UgaGFz
IGJlZW4KPiAgICAgc3VjY2Vzc2Z1bGx5IGZpbmlzaGVkLiAgSWYgc29tZSBvdGhlciBmb3JtIG9m
IE1BQyBwcm90ZWN0aW9uIG9mIHRoZQo+ICAgICBOVFAgcGFja2V0IGFuZCB0aGUgTlRTIGFjY2Vz
cywgYXNzb2NpYXRpb24sIGFuZCBjb29raWUgZXhjaGFuZ2UgaXMKPiAgICAgZGVzaXJlZCBiZWZv
cmUgTlRTIGlzIGFibGUgdG8gcHJvdmlkZSBpdCwgZXhpc3RpbmcgYWx0ZXJuYXRpdmUgTUFDCj4g
ICAgIHByb3RlY3Rpb24gTUFZIGJlIHVzZWQuPC90Pgo+ICAgICA8dD5UaGUgc3RhdGUgb2YgTlRT
IE1BQyBwcm90ZWN0aW9uIGNhbiBiZSBzZWVuIGluIHRoZSBGaWVsZCBUeXBlIG9mCj4gICAgIHRo
ZSBOVFMgZXh0ZW5zaW9uIGZpZWxkLjwvdD4gCj4gICA8L3NlY3Rpb24+Cj4gCj4gTXkgdW5kZXJz
dGFuZGluZyBpcyB0aGF0IHRoZXJlIHdpbGwgYmUgYXQgbW9zdCAxIE5UUyBFRiBpbiBhbnkgZ2l2
ZW4gTlRQCj4gcGFja2V0LiAgSSBtaWdodCB3cm9uZyBhYm91dCB0aGF0LCBhbmQgaWYgSSBhbSwg
SSdtIGN1cmlvdXMgd2h5IHdlJ2QKPiB3YW50IG11bHRpcGxlIE5UUyBFRnMgaW4gYSBzaW5nbGUg
TlRQIHBhY2tldC4KPiAKPiBICkhhcmxhbiwgSSBkb27igJl0IGFncmVlLiBUaGlzIG1pZ2h0IGJl
IHdvcmssIGJ1dCBJIHN0cm9uZ2x5IHJlY29tbWVuZCBOT1QgdG8gaW5jbHVkZSB0aGlzIHRleHQg
aW50byB0aGUgZG9jdW1lbnQuCgpEaWV0ZXIKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fX19fX18KbnRwd2cgbWFpbGluZyBsaXN0Cm50cHdnQGxpc3RzLm50cC5vcmcK
aHR0cDovL2xpc3RzLm50cC5vcmcvbGlzdGluZm8vbnRwd2c=

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 03:32:07 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 275F012D7C8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 03:32:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 EvAs2m3bcKSr for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 03:32:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 603C212D886 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 03:32:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5410786DC03 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 10:32:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 3580986DBC1 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 10:31:58 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afmGZ-0000FO-6A; Tue, 15 Mar 2016 10:31:55 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160315081640.GE3234@localhost>
References: <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E1afaHU-000PJc-Sw@stenn.ntp.org> <20160315081640.GE3234@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Tue, 15 Mar 2016 09:16:40 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 10:31:55 +0000
Message-Id: <E1afmGZ-0000FO-6A@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Mon, Mar 14, 2016 at 09:44:04PM +0000, Harlan Stenn wrote:
> > Miroslav Lichvar writes:
> > > I thought you wanted to include a MAC to have authenticated data
> > > sooner. Now you say you want to include a dummy MAC to fulfill a
> > > requirement from time when no other extension fields than Autokey
> > > existed?
> > 
> > You are seriously misunderstanding what's going on here.
> > 
> > For autokey, the MAC is ALWAYS there.
> 
> Yes, the packets have a MAC, but as people in this thread have been
> trying to explain to you, that MAC is worthless until the cookie is
> exchanged. If ntpd used the first few packets for time
> synchronization, a MITM attacker could easily modify the packets and
> feed the client with bogus time. (I'm ignoring here the fact that
> Autokey has a number of vulnerabilities that allow the attacker to do
> that anyway.)

Yes.  We are in violent agreement.

> > The first few packets apparently
> > have a "null" algorithm, and we can certainly do better there.
> 
> No, you can't. There is no secret that could be used to create a
> proper MAC yet.

Yes we can,  with a symmetric key.

> > For NTS, there is *no* MAC coverage until the 7th packet *that contains
> > NTS data*.  If there is enough work "behind the scenes" that we can't
> > get the NTS work done in the 2 second window between iburst packets then
> > the iburst exchange will be done before NTS gets completed, and we'll be
> > making additional progress every poll interval.
> 
> I think with NTS it will be (assuming no further changes in the
> protocol) exactly the same as it's with Autokey using an identity
> scheme. The client gets authenticated timestamps in the fourth reply.
> If it's using iburst (2s interval) that is about 6 seconds after the
> start.

Yes, except it's not yet clear the we can validate the certificate chain
in these various steps quickly enough for this to happen.

For situations that require some degree of proof about timestamps, we
may not get fast startup if we cannot use the first 3 timestamps of the
iburst volley.

There is also currently no way to invalidate timestamps once they have
been "accepted".

We might discover this is possible, but we have no idea yet.

> > If that's OK for some people, that's great.
> 
> I think that's ok for most people. At least with Autokey, I didn't see
> any complaints.

>From what I have seen, not that many people used autokey, and it was
used in situations where fast startup was not a critical need.

The world has changed, and many more sites are being extra security
conscious.  That means they also need reliable time, quickly, to
continue certificate validation or DNSSEC or other things.

> > If that's not OK for some people, that's great.  The instant solution
> > for these folks is to use symmetric keys with the traditional MAC to
> > protect packet contents before NTS can provide a MAC itself.
> 
> That's not really a solution. NTS is using public-key crypto so you
> don't have to deal with secret keys. If you are able to distribute
> symmetric keys between the hosts and trust it enough that you will
> accept packets for synchronization, you probably don't need NTS at
> all.

Lots of this is a non-issue if certain aspects don't matter for a given
local policy.

I agree, if it's not important it's not important.

The thing is, where it *is* important it needs to be available.

> > > If you really want I think you can already do that it with a symmetric
> > > key. Or is there anything in the current NTS draft that forbids the
> > > old-style MACs in packets containing NTS messages?
> > 
> > This is exactly what I have proposed.
> 
> Well, you can add old-style MACs to packets with NTS messages. Nothing
> in the draft as it's currently written prevents you from doing that
> apparently. You can use add an old-style MAC using a symmetric key to
> packets that don't have the NTS MAC yet, so you can use them for
> synchronization. You can also add it to packets that have the NTS MAC
> for "extra protection".

That's exactly what I've been saying.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 09:32:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AFCE712DBAA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 09:32:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 q3-7nHJxXdhS for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 09:32:27 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C3FF412DBAD for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 09:32:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B2B4386DBF0 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 16:32:14 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1022286D76A for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 16:31:53 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1afrsj-0002JQ-4k for ntpwg@lists.ntp.org; Tue, 15 Mar 2016 16:31:53 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2FGVbqc000376-u2FGVbqe000376 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 17:31:37 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 811DA391B7 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 17:31:37 +0100 (CET)
MIME-Version: 1.0
X-Disclaimed: 1
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <E1afd8i-000PUU-Lu@stenn.ntp.org>
References: <E1afd8i-000PUU-Lu@stenn.ntp.org>, <OFF7AC8F3F.565D937E-ONC1257F76.0031FBA6-C1257F76.003B0C5F@ptb.de>
From: kristof.teichel@ptb.de
To: ntpwg@lists.ntp.org
Message-ID: <OF640BA648.5194AE9A-ONC1257F77.0057126C-C1257F77.005AC913@ptb.de>
Date: Tue, 15 Mar 2016 17:31:37 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Different security mechanisms (NTS, Autokey, Symmetric Security) and key exchange techniques
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0624756860431354189=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0624756860431354189==
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2">&gt;&gt; I cannot stress enough that while we have nothing against&n=
bsp;continuing<br>&gt;&gt; the use of an existing symmetric key security as=
sociation, I view&nbsp;it<br>&gt;&gt; as a severe mistake to set one of tho=
se up *just* to protect the&nbsp;first<br>&gt;&gt; 3 exchanges of an NTS-se=
cured association!<br>&gt;<br>&gt;Please say more about how this is a "seve=
re mistake".<div><br></div><div><br></div><div>Scalability:<br><br><div>NTS=
 is designed to scale nicely with large numbers of participants, especially=
 in the area of necessary preparations. The symmetric key approach is not.<=
/div><div><span style=3D"font-size: 12.8px;">Let's look at a case where a l=
arger number of participants</span><span style=3D"font-size: 12.8px;">&nbsp=
;</span><span style=3D"font-size: 12.8px;">(say 5000)</span><span style=3D"=
font-size: 12.8px;">&nbsp;are setting up a new network, and for some reason=
 they require secure time synchronization. Let's take a look at the prepara=
tions (before any secured NTP communication is started) for two scenarios, =
the first being them using NTS, the second being them using the symmetric k=
ey approach. We assume that it is necessary to perform all preparations so =
that every participant can perform secured NTP communication with every oth=
er participant&nbsp;</span><span style=3D"font-size: 12.8px;">(the situatio=
n which you seem to assume as given when you describe how the symmetric key=
 approach can be used at any time to secure those NTS messages which don't =
offer MAC protection by themselves).</span></div><div><span style=3D"font-s=
ize: 12.8px;"><br></span></div><div><span style=3D"font-size: 12.8px;"><br>=
</span></div><div><span style=3D"font-size: 12.8px;">NTS:</span></div><div>=
<span style=3D"font-size: 12.8px;">- Each participant needs to have one sec=
ure exchange with one trust anchor, where they obtain up to two certificate=
s (one for each role, client and server) with the associated public/private=
 key pairs. This means that overall, 5000 secured exchanges need to happen.=
</span></div><div><span style=3D"font-size: 12.8px;">- Each participant nee=
ds to memorize its own certificates and keys (1 overall set of key data) an=
d have them available.</span></div><div><span style=3D"font-size: 12.8px;">=
<br></span></div><div><span style=3D"font-size: 12.8px;">Now any of those p=
articipants can have NTS-secured NTP communication with any other of those =
participants.&nbsp;</span></div><div><span style=3D"font-size: 12.8px;">Thi=
s comes at the cost of having the three initial exchanges we've been talkin=
g about for a long time now (where the NTP header is not MAC-protected by N=
TS, and during which the actual key data is exchanged). The benefit is that=
 these initial exchanges will only be performed on demand (if and when two =
participants actually set up an association).</span></div><div><span style=
=3D"font-size: 12.8px;"><br></span></div><div><span style=3D"font-size: 12.=
8px;"><br></span></div><div><span style=3D"font-size: 12.8px;">Symmetric Ke=
y Approach:</span></div><div><span style=3D"font-size: 12.8px;">- Each part=
icipant needs to exchange a symmetric key with each of the other participan=
ts. This needs to happen over a secured channel. For the randomly chosen nu=
mber of 5000 participants, that means that roughly 12.5 million secured exc=
hanges need to happen.</span></div><div><span style=3D"font-size: 12.8px;">=
- Each participant needs to memorize the key data for each of the potential=
 associations it could have. That means roughly 5000 sets of key data per p=
articipant.</span></div><div><span style=3D"font-size: 12.8px;"><br></span>=
</div><div><span style=3D"font-size: 12.8px;">Only with these preparations =
is every participant ready to instantly perform&nbsp;</span><span style=3D"=
font-size: 12.8px;">symmetric-key secured&nbsp;</span><span style=3D"font-s=
ize: 12.8px;">NTP communication with any other participant.</span></div><di=
v><span style=3D"font-size: 12.8px;"><br></span></div><div><span style=3D"f=
ont-size: 12.8px;"><br></span></div><div><span style=3D"font-size: 12.8px;"=
>In a general situation with n participants, the numbers scale as follows:<=
/span></div><div><span style=3D"font-size: 12.8px;">For NTS, the number of =
secured exchanges performed before any secured NTP communication can happen=
 scales proportionally to n. For the symmetric key approach, it scales prop=
ortionally to n^2.</span></div><div><span style=3D"font-size: 12.8px;">For =
NTS, the number of key data sets that need to be memorized per participant =
in order to enable secured NTP communication with all potential partners sc=
ales proportionally to 1 (i.e. it is a constant). For the symmetric key app=
roach, it scales proportionally to n.</span></div><div><span style=3D"font-=
size: 12.8px;">As you can see, this constitutes a huge advantage of NTS ove=
r the symmetric key approach, as far as necessary preparation effort goes.<=
/span></div><div><span style=3D"font-size: 12.8px;"><br></span></div><div><=
span style=3D"font-size: 12.8px;"><br></span></div><div><span style=3D"font=
-size: 12.8px;">For low numbers of participants, this advantage of NTS over=
 the symmetric key approach can be ignored. For high numbers of participant=
s, it really shouldn't.</span></div><div><span style=3D"font-size: 12.8px;"=
>Requiring every NTS association to also require a symmetric-key secured as=
sociation negates this advantage of NTS completely (because in that case, a=
ll preparations necessary for symmetric key approach would be necessary for=
 NTS as well).</span></div><div><span style=3D"font-size: 12.8px;">Just rec=
ommending it as a general rule still negates the advantage to a degree, whi=
ch is dependent on the number of people who adhere to the recommendation. I=
 am therefore in favor of not giving said recommendation at all.</span></di=
v></div><div><span style=3D"font-size: 12.8px;"><br></span></div><div><span=
 style=3D"font-size: 12.8px;"><br></span></div><div><span style=3D"font-siz=
e: 12.8px;">---------------</span></div><div><span style=3D"font-size: 12.8=
px;">Best regards,</span></div><div><span style=3D"font-size: 12.8px;">Kris=
tof</span></div><div><span style=3D"font-size: 12.8px;"><br></span></div><d=
iv><span style=3D"font-size: 12.8px;"><br></span></div><div><span style=3D"=
font-size: 12.8px;">P.S.: Of course, the discussion above is applicable to =
most discussions of the type "asymmetric keys vs. symmetric keys". In parti=
cular, Autokey for example has about the same scaling properties as NTS.</s=
pan></div><div></div></font>

--===============0624756860431354189==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0624756860431354189==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 09:49:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9E9FB12D621 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 09:49:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ZK2FlRuWcvQ1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 09:49:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C19A412D505 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 09:49:21 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BAF0086DBD2 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 16:49:21 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C63CF86DAB1 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 16:49:14 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1afs9S-0002XD-2P for ntpwg@lists.ntp.org; Tue, 15 Mar 2016 16:49:14 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2FGmuuJ001336-u2FGmuuL001336 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 17:48:56 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 46761391DA for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 17:48:56 +0100 (CET)
MIME-Version: 1.0
X-Disclaimed: 1
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <E1afaHU-000PJc-Sw@stenn.ntp.org>
References: <E1afaHU-000PJc-Sw@stenn.ntp.org>, <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org>	<56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org>	<OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org>	<20160311135635.GD28476@localhost>	<OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost>
From: kristof.teichel@ptb.de
To: ntpwg@lists.ntp.org
Message-ID: <OFD3C2364A.876F27BE-ONC1257F77.005BC1A7-C1257F77.005C5EC3@ptb.de>
Date: Tue, 15 Mar 2016 17:48:55 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP	Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8181603074740699797=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============8181603074740699797==
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2">&gt;&gt;&gt; That the initial algorithm for autokey is NULL is, I be=
lieve, a<br>&gt;&gt;&gt; shortcoming.<br>&gt;&gt; <br>&gt;&gt; The algorith=
m doesn't change, but the key is public, which means&nbsp;the<br>&gt;&gt; M=
AC doesn't protect anything and can't be used for authentication.<br>&gt;<b=
r>&gt;I don't understand what you mean.  What is the key you are talking&nb=
sp;about<br>&gt;that is public?<div><br><div>If you want to secure a messag=
e via a MAC, you need:</div><div>- Some MAC algorithm M which takes two par=
ameters:</div><div><span style=3D"font-size: 12.8px;">- A key K</span></div=
><div>- The message X that is supposed to be secured</div><div><br></div><d=
iv>Then you send the message X and attach M(K, X) to it to have MAC securit=
y.</div><div>MAC security is based on the assumption that only the involved=
 participants can create the MAC (because only they know the key K).</div><=
div><br></div><div>The point here is that for the initial message exchagnes=
, Autokey does not use a NULL algorithm (which would mean M =3D NULL and wh=
ich yes, could be fixed simply by saying "use something that is not NULL as=
 the algorithm").&nbsp;</div><div>Instead, Autokey --much like NTS-- uses i=
ts initial message exchanges to actually exchange the key K. Therefore, it =
does not have it available during those exchanges.</div><div>Only&nbsp;<spa=
n style=3D"font-size: 12.8px;">(presumably)&nbsp;</span><span style=3D"font=
-size: 12.8px;">because of the self-inflicted requirement to always have a =
MAC when there is an extension field does Autokey even attach a MAC for tho=
se exchanges. The MAC that is always attached for any message X during thes=
e exchanges is M(NULL, X).&nbsp;</span></div><div><span style=3D"font-size:=
 12.8px;">The key that Miroslav (?) is talking about that is publically ava=
ilable is the NULL key. The fact that there is no "real" key available for =
those exchanges is exactly the reason why this "shortcoming" is not (!) eas=
ily fixable.</span></div><div><br><br>&gt;&gt;&gt; I'm fine *allowing* the =
current behavior to move forward with&nbsp;NTS, and<br>&gt;&gt;&gt; my pref=
erence is to *allow* MAC protection on initial NTS packets&nbsp;until<br>&g=
t;&gt;&gt; the state of an NTS-protected association can provide MAC&nbsp;p=
rotection as<br>&gt;&gt;&gt; part of its packets.<br>&gt;&gt; <br>&gt;&gt; =
If you really want I think you can already do that it with a&nbsp;symmetric=
<br>&gt;&gt; key. Or is there anything in the current NTS draft that forbid=
s the<br>&gt;&gt; old-style MACs in packets containing NTS messages?<br>&gt=
;<br>&gt;This is exactly what I have proposed.</div><div><br><div>I think t=
he point here is that we do not need a proposal. The NTS spec already allow=
s everyone to do just this.&nbsp;</div><div>I am strongly opposed to includ=
e any text to the effect of recommending it (for reasons explained in a sep=
arate mail).</div></div></div><div></div></font>

--===============8181603074740699797==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8181603074740699797==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 11:04:43 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1D3AC12D673 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 11:04:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 wCT8rr0L0Hlt for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 11:04:41 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id D7AD112D66B for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 11:04:36 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id AD12286DBDD for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 18:04:36 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3E78A86DABE for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 18:04:25 +0000 (UTC)
Received: from mail230c25.carrierzone.com ([64.29.147.244] helo=mail237c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1aftKJ-0003cw-Uy; Tue, 15 Mar 2016 18:04:25 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail237c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2FI45og014345; Tue, 15 Mar 2016 18:04:08 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 30EFB406057;  Tue, 15 Mar 2016 11:04:03 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@ntp.org> of "Tue, 15 Mar 2016 10:31:55 -0000." <E1afmGZ-0000FO-6A@stenn.ntp.org>
Mime-Version: 1.0
Date: Tue, 15 Mar 2016 11:04:03 -0700
Message-Id: <20160315180403.30EFB406057@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=TZev63gh c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=Ml9mYWmxSj7ZUBLEGvEA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010201.56E84E9B.0092, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.244
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

stenn@ntp.org said:
>> No, you can't. There is no secret that could be used to create a
>> proper MAC yet.
> Yes we can,  with a symmetric key. 

If you have a symmetric key you don't need NTS.

It may be that the right approach is to dump NTS and use shared keys.  If so, 
we should be working on ways to distribute shared keys out of band from NTP 
proper.

Is there any reason to tightly couple distributing keys with NTP?


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 14:02:13 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D800012DDA6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 14:02:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ohxunqxSP_sg for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 14:02:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7E89D12DD9F for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 14:02:05 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6BA8986DBFC for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 21:02:05 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 7009286DB57 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 20:59:12 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afw3b-0000oR-8F; Tue, 15 Mar 2016 20:59:11 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Hal Murray <hmurray@megapathdsl.net>
In-reply-to: <20160315074749.A1F6B406061@ip-64-139-1-69.sjc.megapath.net>
References: <20160315074749.A1F6B406061@ip-64-139-1-69.sjc.megapath.net>
Comments: In-reply-to Hal Murray <hmurray@megapathdsl.net> message dated "Tue, 15 Mar 2016 00:47:49 -0700."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 20:59:11 +0000
Message-Id: <E1afw3b-0000oR-8F@stenn.ntp.org>
Subject: Re: [ntpwg] Different security mechanisms (NTS, Autokey, Symmetric Security) and key exchange techniques
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hal Murray writes:
> 
> stenn@ntp.org said:
> > Specifically, how much time is spent processing each of the first 6 packets
> ?
> >  I'm curious how many of these steps are expected to take 1.75 seconds or
> > longer. 
> 
> Where did the magic number of 1.75 come from?

It's less than 2, and leaves some room before it becomes 2.

iburst packets are sent at 2 second intervals.

H
--
> There is a big difference between "expected" for the normal case and 
> something like "happens often enough" so we shouldn't rule it out.
> 
> Are you asking about CPU time for client or server to process a packet or are
>  
> you including network transit time?  In either case, it's not hard to come up
>  
> with nasty cases that take a long time.
> 
> Bufferbloat can easily get over 2 seconds.  My DSL line is close to 4.
> 
> I leave it to your imagination as to how a CPU can take that long.  My straw 
> man would be a busy system without enough memory so it's swapping.  Logging 
> to a stuck NFS server is another good choice.
> 
> 
> -- 
> These are my opinions.  I hate spam.
> 
> 
> 
> 
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 14:21:21 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 338BC12DDAA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 14:21:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 nM8wTKYF9DkV for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 14:21:19 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 8F61F12DADD for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 14:21:15 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8A29A86DBDD for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 21:21:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id D827D86DBC5 for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 21:21:08 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1afwMP-0000qm-8A; Tue, 15 Mar 2016 21:18:37 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Hal Murray <hmurray@megapathdsl.net>
In-reply-to: <20160315180403.30EFB406057@ip-64-139-1-69.sjc.megapath.net>
References: <20160315180403.30EFB406057@ip-64-139-1-69.sjc.megapath.net>
Comments: In-reply-to Hal Murray <hmurray@megapathdsl.net> message dated "Tue, 15 Mar 2016 11:04:03 -0700."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 15 Mar 2016 21:18:37 +0000
Message-Id: <E1afwMP-0000qm-8A@stenn.ntp.org>
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hal Murray writes:
> 
> stenn@ntp.org said:
> >> No, you can't. There is no secret that could be used to create a
> >> proper MAC yet.
> > Yes we can,  with a symmetric key. 
> 
> If you have a symmetric key you don't need NTS.

That's your policy choice.  I don't believe you should be able to
enforce that choice on others.

> It may be that the right approach is to dump NTS and use shared keys.
> If so, we should be working on ways to distribute shared keys out of
> band from NTP proper.

I think that's a poor mechanism, but it is an alternative mechanism.

> Is there any reason to tightly couple distributing keys with NTP?

Sure.    Good reasons?  Maybe.  Feeping creatureism?  Maybe.  Either
way, it boils down to the question of "is this a mechanism we want to
specifically address/include?"

One person's signal is another person's noise.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 16:32:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F246312DE67 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 16:32:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 vSoehKvi9kCv for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 16:32:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D89CB12DE5E for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 16:32:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CD0CF86DBD5 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 23:32:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 7B97D86DB1B for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 23:30:50 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1afyQE-0008dL-GV for ntpwg@lists.ntp.org; Tue, 15 Mar 2016 23:30:50 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 31892B82A for <ntpwg@lists.ntp.org>; Tue, 15 Mar 2016 23:30:42 +0000 (UTC)
Received: from hms-mbp11.local (97-90-117-231.dhcp.mdfd.or.charter.com [97.90.117.231]) by chessie.everett.org (Postfix) with ESMTPSA id A67E4B80E; Tue, 15 Mar 2016 23:30:41 +0000 (UTC)
To: ntpwg@lists.ntp.org
References: <E1afaHU-000PJc-Sw@stenn.ntp.org> <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <OFD3C2364A.876F27BE-ONC1257F77.005BC1A7-C1257F77.005C5EC3@ptb.de>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56E89B96.2040202@nwtime.org>
Date: Tue, 15 Mar 2016 16:32:38 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <OFD3C2364A.876F27BE-ONC1257F77.005BC1A7-C1257F77.005C5EC3@ptb.de>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Tue Mar 15 23:30:41 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e89b21829931360218029
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/15/16 9:48 AM, kristof.teichel@ptb.de wrote:
>  >>> That the initial algorithm for autokey is NULL is, I believe, a
>  >>> shortcoming.
>  >>
>  >> The algorithm doesn't change, but the key is public, which means the
>  >> MAC doesn't protect anything and can't be used for authentication.
>  >
>  >I don't understand what you mean. What is the key you are talking about
>  >that is public?
> 
> If you want to secure a message via a MAC, you need:
> - Some MAC algorithm M which takes two parameters:
> - A key K
> - The message X that is supposed to be secured
> 
> Then you send the message X and attach M(K, X) to it to have MAC security.
> MAC security is based on the assumption that only the involved participants can 
> create the MAC (because only they know the key K).
> 
> The point here is that for the initial message exchanges, Autokey does not use a 
> NULL algorithm (which would mean M = NULL and which yes, could be fixed simply 
> by saying "use something that is not NULL as the algorithm").
> Instead, Autokey --much like NTS-- uses its initial message exchanges to 
> actually exchange the key K. Therefore, it does not have it available during 
> those exchanges.
> Only (presumably) because of the self-inflicted requirement to always have a MAC 
> when there is an extension field does Autokey even attach a MAC for those 
> exchanges. The MAC that is always attached for any message X during these 
> exchanges is M(NULL, X).
> The key that Miroslav (?) is talking about that is publicly available is the 
> NULL key. The fact that there is no "real" key available for those exchanges is 
> exactly the reason why this "shortcoming" is not (!) easily fixable.

Autokey requires MAC protection.  We have long had an optional MAC field
at the end of an NTP packet.

We've had the ntp.keys file for a long time, too.

There is a MAC added after the end of the autokey EF.  The keyid is 32
bits.  Symmetric keys have a keyid of <65535, while autokey keyids are
larger than 65535.  Don't trip over an exposed fencepost.

Today, the MAC that protects an autokey exchange is likely an autokey
session key, and for the first few steps of the dance that keyid is
effectively a null key.  It satisfies the "letter of the law" as far as
"you MUST have a MAC".

The initial autokey dance, like the initial NTS dance, CAN use a MAC
that is based on a symmetric key.  That key is NOT PUBLIC.

When looking at a MAC we check its 32-bit key.  We therefore instantly
know if the key is from the symmetric list or from the autokey list.

So, to summarize:

- autokey is ALWAYS protected by a MAC.
- The first few autokey packets are USELESSLY protected with
  what amounts to a NULL key/algorithm.

- At present, the first few NTS packets are not protected with
  the MAC that is eventually provided for with NTS

Some people have good reason to want initial packets to be protected
with a useful MAC.

My proposal allows this.  It does not require this.

>  >>> I'm fine *allowing* the current behavior to move forward with NTS, and
>  >>> my preference is to *allow* MAC protection on initial NTS packets until
>  >>> the state of an NTS-protected association can provide MAC protection as
>  >>> part of its packets.
>  >>
>  >> If you really want I think you can already do that it with a symmetric
>  >> key. Or is there anything in the current NTS draft that forbids the
>  >> old-style MACs in packets containing NTS messages?
>  >
>  >This is exactly what I have proposed.
> 
> I think the point here is that we do not need a proposal. The NTS spec already 
> allows everyone to do just this.

How does NTS protect the first few packets?

If the answer is "It does not prohibit the use of an external MAC" then
sure, we agree.  But it's unclear.  If the Field Types that I describe
are properly used, things are clear.  Hence my request to clarify things
as I have already written.

If it means something else, then we have still not communicated clearly.

> I am strongly opposed to include any text to the effect of recommending it (for 
> reasons explained in a separate mail).

My firm position is as I have stated.  Nothing I have yet seen shows me
any reason to change my position, either.

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 19:51:00 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B10012D562 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 19:51:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 0XT3YIHO8f6n for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 19:50:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9EB4312D501 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 19:50:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 59E0186DB71 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 02:50:56 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 6C2CA86DAFF for <ntpwg@lists.ntp.org>; Wed, 16 Mar 2016 02:50:36 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1ag1XX-000C1T-Pf for ntpwg@lists.ntp.org; Wed, 16 Mar 2016 02:50:36 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 62785B814 for <ntpwg@lists.ntp.org>; Wed, 16 Mar 2016 02:50:27 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id C364CB80E; Wed, 16 Mar 2016 02:50:26 +0000 (UTC)
To: ntpwg@lists.ntp.org
References: <E1afd8i-000PUU-Lu@stenn.ntp.org> <OFF7AC8F3F.565D937E-ONC1257F76.0031FBA6-C1257F76.003B0C5F@ptb.de> <OF640BA648.5194AE9A-ONC1257F77.0057126C-C1257F77.005AC913@ptb.de>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56E8CA69.6050701@nwtime.org>
Date: Tue, 15 Mar 2016 19:52:25 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <OF640BA648.5194AE9A-ONC1257F77.0057126C-C1257F77.005AC913@ptb.de>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Mar 16 02:50:27 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e8c9f3829939375175493
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Different security mechanisms (NTS, Autokey, Symmetric Security) and key exchange techniques
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hi Kristof,

On 3/15/16 9:31 AM, kristof.teichel@ptb.de wrote:
>  >> I cannot stress enough that while we have nothing against continuing
>  >> the use of an existing symmetric key security association, I view it
>  >> as a severe mistake to set one of those up *just* to protect the first
>  >> 3 exchanges of an NTS-secured association!
>  >
>  >Please say more about how this is a "severe mistake".
> 
> 
> Scalability:
> 
> NTS is designed to scale nicely with large numbers of participants, especially 
> in the area of necessary preparations. The symmetric key approach is not.
> Let's look at a case where a larger number of participants(say 5000) are setting 
> up a new network, and for some reason they require secure time synchronization. 
> Let's take a look at the preparations (before any secured NTP communication is 
> started) for two scenarios, the first being them using NTS, the second being 
> them using the symmetric key approach. We assume that it is necessary to perform 
> all preparations so that every participant can perform secured NTP communication 
> with every other participant (the situation which you seem to assume as given 
> when you describe how the symmetric key approach can be used at any time to 
> secure those NTS messages which don't offer MAC protection by themselves).
> 
> 
> NTS:
> - Each participant needs to have one secure exchange with one trust anchor, 
> where they obtain up to two certificates (one for each role, client and server) 
> with the associated public/private key pairs. This means that overall, 5000 
> secured exchanges need to happen.
> - Each participant needs to memorize its own certificates and keys (1 overall 
> set of key data) and have them available.
> 
> Now any of those participants can have NTS-secured NTP communication with any 
> other of those participants.
> This comes at the cost of having the three initial exchanges we've been talking 
> about for a long time now (where the NTP header is not MAC-protected by NTS, and 
> during which the actual key data is exchanged). The benefit is that these 
> initial exchanges will only be performed on demand (if and when two participants 
> actually set up an association).

Yes, and that's at the end of three NTS exchanges.  If the communication
with the trust anchor and the subsequent validation/setup work almost
certainly will not happen quickly when B receives the 3rd NTS packet
(the beginning of exchange #2) from A, so it will quickly reply to the
time request and process the NTS validation stuff separately.  If that
takes more than 2 seconds (the time until A sends its next iburst
packet) then NTS packet #4 will be sent as soon as it's practical.
Likewise, if A is still sending iburst exchanges when it receives NTS
packet #4, if that processing does not complete before it's time for A
to send the next iburst exchange 2 seconds' later, NTS exchange #5 will
be delayed until the next time A sends a packet to B.

This is compounded by the fact that the initial time sync is of CRITICAL
importance in many situations.  It doesn't do much good to quickly set
the time incorrectly.  Quickly setting incorrect time causes HARM.

> Symmetric Key Approach:
> - Each participant needs to exchange a symmetric key with each of the other 
> participants. This needs to happen over a secured channel. For the randomly 
> chosen number of 5000 participants, that means that roughly 12.5 million secured 
> exchanges need to happen.
> - Each participant needs to memorize the key data for each of the potential 
> associations it could have. That means roughly 5000 sets of key data per 
> participant.
> 
> Only with these preparations is every participant ready to instantly perform 
> symmetric-key secured NTP communication with any other participant.

I'm not buying that scenario.  But even if it is a valid case, it's one
where using symmetric keys is not useful.  That in no way means
symmetric keys are not useful in other scenarios.

In the case you describe, it's probably better to use PHK's https scheme
and get the time confidently known to within a few seconds and use that
time as a "sanity check".

Or you decide to not worry about the first few packets and you delay
getting trustable time until after you've finished the 3 NTS exchanges.

There are still other deployment mechanisms that can get a symmetric key
securely transmitted to a client.  It's no worse than opening an https
session and doing a short exchange of data, is it?

This method would work well even for a National Time Lab, where the
clients are all different.

For an enterprise setup, there is almost certainly some other already
existing way to deploy configuration files to clients.  This would add a
small incremental cost to that process.

Finally, the symmetric key space will hold 65k unique entries.
Supporting 5000 clients is under 10% of that space.

If one needs "lots more" keys than that, I submit that a business case
has been made and approved, and I'm highly doubt that one would need
more than 65k keys per IP.  I know how to implement this easily, for
example.

> In a general situation with n participants, the numbers scale as follows:
> For NTS, the number of secured exchanges performed before any secured NTP 
> communication can happen scales proportionally to n. For the symmetric key 
> approach, it scales proportionally to n^2.

I'll take you at your word.  In the situation you describe, symmetric
keys would not have been useful before, and they are still not useful.
But you are describing a *new* use-case, and I'm not talking about that one.

You are saying that you do not want to allow the use-case I am
describing and trying to satisfy.

> For NTS, the number of key data sets that need to be memorized per participant 
> in order to enable secured NTP communication with all potential partners scales 
> proportionally to 1 (i.e. it is a constant). For the symmetric key approach, it 
> scales proportionally to n.
> As you can see, this constitutes a huge advantage of NTS over the symmetric key 
> approach, as far as necessary preparation effort goes.
> 
> 
> For low numbers of participants, this advantage of NTS over the symmetric key 
> approach can be ignored. For high numbers of participants, it really shouldn't.
> Requiring every NTS association to also require a symmetric-key secured 
> association negates this advantage of NTS completely (because in that case, all 
> preparations necessary for symmetric key approach would be necessary for NTS as 
> well).
> Just recommending it as a general rule still negates the advantage to a degree, 
> which is dependent on the number of people who adhere to the recommendation. I 
> am therefore in favor of not giving said recommendation at all.

You seem to be ignoring the issue of "Is it important that the initial
volley have protected packet timestamps?"

If the answer is "no", then my description about using symmetric keys
doesn't matter.

Another question that must be asked is "how soon must the local time be
synchronized to a trusted source?"

If the answer is "No rush" then, again, there's no need to protect the
initial volley.

If the answers include:

- trusted time is important
- setting the clock quickly is important

then what do you suggest?

> ---------------
> Best regards,
> Kristof
> 
> 
> P.S.: Of course, the discussion above is applicable to most discussions of the 
> type "asymmetric keys vs. symmetric keys". In particular, Autokey for example 
> has about the same scaling properties as NTS.

Yes.

-- 
Harlan Stenn <stenn@nwtime.org>
http://networktimefoundation.org - be a member!

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 15 20:17:48 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7026D12D6D6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 20:17:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 PUhsDcw3N7NJ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 15 Mar 2016 20:17:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9A5A712D59C for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 15 Mar 2016 20:17:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9256D86DB40 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 03:17:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 7A3B286D83B for <ntpwg@lists.ntp.org>; Wed, 16 Mar 2016 03:13:41 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1ag1tu-000Cel-5V for ntpwg@lists.ntp.org; Wed, 16 Mar 2016 03:13:41 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id DB2A9B814 for <ntpwg@lists.ntp.org>; Wed, 16 Mar 2016 03:13:33 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 41EF2B80E; Wed, 16 Mar 2016 03:13:33 +0000 (UTC)
To: "Dr. Dieter Sibold" <dieter.sibold@ptb.de>, Harlan Stenn <stenn@ntp.org>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de> <E1afdbj-000PXK-SU@stenn.ntp.org> <BC364786-C84B-4BB3-9AF8-D4C92FA0BFA5@ptb.de>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56E8CFD3.3020808@nwtime.org>
Date: Tue, 15 Mar 2016 20:15:31 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <BC364786-C84B-4BB3-9AF8-D4C92FA0BFA5@ptb.de>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Mar 16 03:13:33 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56e8cf5d829931076274121
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

SG93ZHkgc2lyLAoKT24gMy8xNS8xNiAzOjI2IEFNLCBEci4gRGlldGVyIFNpYm9sZCB3cm90ZToK
PiAKPj4gQW0gMTUuMDMuMjAxNiB1bSAwMjoxNyBzY2hyaWViIEhhcmxhbiBTdGVubiA8c3Rlbm5A
bnRwLm9yZz46Cj4+Cj4+ICJEci4gRGlldGVyIFNpYm9sZCIgd3JpdGVzOgo+Pj4KPj4+IEhpIGFs
bCwKPj4+IHRvIGVuZCB0aGlzIGRpc2N1c3Npb24sIEkgcHJvcG9zZSB0aGF0IHdlIGFkZCB0aGUg
Zm9sbG93aW5nIGxhbmd1YWdlIHRvIAo+Pj4gdGhlIFNlY3VyaXR5IENvbnNpZGVyYXRpb25zIG9m
IHRoZSBkcmFmdDogCj4+PiBkcmFmdC1pZXRmLW50cC11c2luZy1udHMtZm9yLW50cC0wNAo+Pj4K
Pj4+ICA8c2VjdGlvbiB0aXRsZT0zRCJQcm90ZWN0aW9uIGZvciBJbml0aWFsIE1lc3NhZ2VzIj4K
Pj4+ICAgIDx0PlRoZSBtZXNzYWdlcyBmb3IgYWNjZXNzLCBhc3NvY2lhdGlvbiwgYW5kIGNvb2tp
ZSBleGNoYW5nZSBhcmUKPj4+ICAgIGVuY2Fwc3VsYXRlZCBpbiBOVFAgZXh0ZW5zaW9uIGZpZWxk
cyB3aGljaCBhcmUgcGlnZ3liYWNrZWQgb250byBOVFAKPj4+ICAgIHBhY2tldHMuIFRoZSBNQUMg
Zm9yIHRoZSBwcm90ZWN0aW9uIG9mIHRoZSBOVFAgcGFja2V0IGNhbm5vdCBiZQo+Pj4gICAgY2Fs
Y3VsYXRlZCB1bnRpbCB0aGUgY29va2llIGV4Y2hhbmdlIGhhcyBiZWVuIHN1Y2Nlc3NmdWxseSBm
aW5pc2hlZC4KPj4+ICAgICBUaGVyZWZvcmUsIE5UUyBkb2VzIG5vdCBhcHBlbmQgYSBNQUMgdG8g
KGFuZCB0aHVzIGRvZXMgbm90IHByb3RlY3QgdGhlCj4+PiAgICBOVFAgaGVhZGVyIG9mKSB0aGUg
bWVzc2FnZXMgYXNzb2NpYXRlZCB0byBhY2Nlc3MsIGFzc29jaWF0aW9uIGFuZAo+Pj4gICAgY29v
a2llIGV4Y2hhbmdlLjwvdD4KPj4+ICA8L3NlY3Rpb24+Cj4+PiAgPHNlY3Rpb24gdGl0bGU9M0Qi
UHJvdGVjdGlvbiBmb3IgSW5pdGlhbCBNZXNzYWdlcyI+Cj4+PiAgICA8dD5UaGUgbWVzc2FnZXMg
Zm9yIGFjY2VzcywgYXNzb2NpYXRpb24sIGFuZCBjb29raWUgZXhjaGFuZ2UgYXJlCj4+PiAgICBl
bmNhcHN1bGF0ZWQgaW4gTlRQIGV4dGVuc2lvbiBmaWVsZHMgd2hpY2ggYXJlIHBpZ2d5YmFja2Vk
IG9udG8gTlRQCj4+PiAgICBwYWNrZXRzLiBUaGUgTUFDIGZvciB0aGUgcHJvdGVjdGlvbiBvZiB0
aGUgTlRQIHBhY2tldCBjYW5ub3QgYmUKPj4+ICAgIGNhbGN1bGF0ZWQgdW50aWwgdGhlIGNvb2tp
ZSBleGNoYW5nZSBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgZmluaXNoZWQuCj4+PiAgICAgVGhlcmVm
b3JlLCBOVFMgZG9lcyBub3QgYXBwZW5kIGEgTUFDIHRvIChhbmQgdGh1cyBkb2VzIG5vdCBwcm90
ZWN0IHRoZQo+Pj4gICAgTlRQIGhlYWRlciBvZikgdGhlIG1lc3NhZ2VzIGFzc29jaWF0ZWQgdG8g
YWNjZXNzLCBhc3NvY2lhdGlvbiBhbmQKPj4+ICAgIGNvb2tpZSBleGNoYW5nZS48L3Q+Cj4+PiAg
PC9zZWN0aW9uPgo+Pgo+PiBIb3cgYWJvdXQgdGhpcyBpbnN0ZWFkOgo+Pgo+PiAgIDxzZWN0aW9u
IHRpdGxlPSJQcm90ZWN0aW9uIGZvciBJbml0aWFsIE1lc3NhZ2VzIj4KPj4gICAgIDx0PlRoZSBO
VFMgbWVzc2FnZXMgcHJvdmlkaW5nIGFjY2VzcywgYXNzb2NpYXRpb24sIGFuZCBjb29raWUKPj4g
ICAgIGV4Y2hhbmdlIGFyZSBlbmNhcHN1bGF0ZWQgaW4gYW4gTlRQIGV4dGVuc2lvbiBmaWVsZCB3
aGljaCBpcwo+PiAgICAgcGlnZ3liYWNrZWQgb250byBOVFAgcGFja2V0cy4gTlRTIGRvZXMgbm90
IGl0c2VsZiBwcm92aWRlIE1BQwo+PiAgICAgcHJvdGVjdGlvbiBvZiB0aGUgTlRQIHBhY2tldCB1
bnRpbCB0aGUgTlRTIGNvb2tpZSBleGNoYW5nZSBoYXMgYmVlbgo+PiAgICAgc3VjY2Vzc2Z1bGx5
IGZpbmlzaGVkLiAgSWYgc29tZSBvdGhlciBmb3JtIG9mIE1BQyBwcm90ZWN0aW9uIG9mIHRoZQo+
PiAgICAgTlRQIHBhY2tldCBhbmQgdGhlIE5UUyBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQgY29v
a2llIGV4Y2hhbmdlIGlzCj4+ICAgICBkZXNpcmVkIGJlZm9yZSBOVFMgaXMgYWJsZSB0byBwcm92
aWRlIGl0LCBleGlzdGluZyBhbHRlcm5hdGl2ZSBNQUMKPj4gICAgIHByb3RlY3Rpb24gTUFZIGJl
IHVzZWQuPC90Pgo+PiAgICAgPHQ+VGhlIHN0YXRlIG9mIE5UUyBNQUMgcHJvdGVjdGlvbiBjYW4g
YmUgc2VlbiBpbiB0aGUgRmllbGQgVHlwZSBvZgo+PiAgICAgdGhlIE5UUyBleHRlbnNpb24gZmll
bGQuPC90PiAKPj4gICA8L3NlY3Rpb24+Cj4+Cj4+IE15IHVuZGVyc3RhbmRpbmcgaXMgdGhhdCB0
aGVyZSB3aWxsIGJlIGF0IG1vc3QgMSBOVFMgRUYgaW4gYW55IGdpdmVuIE5UUAo+PiBwYWNrZXQu
ICBJIG1pZ2h0IHdyb25nIGFib3V0IHRoYXQsIGFuZCBpZiBJIGFtLCBJJ20gY3VyaW91cyB3aHkg
d2UnZAo+PiB3YW50IG11bHRpcGxlIE5UUyBFRnMgaW4gYSBzaW5nbGUgTlRQIHBhY2tldC4KPj4K
Pj4gSAoKPiBIYXJsYW4sIEkgZG9u4oCZdCBhZ3JlZS4gVGhpcyBtaWdodCBiZSB3b3JrLCBidXQg
SSBzdHJvbmdseSByZWNvbW1lbmQgTk9UIHRvIGluY2x1ZGUgdGhpcyB0ZXh0IGludG8gdGhlIGRv
Y3VtZW50LgoKV2hhdCBkbyB5b3UgZGlzYWdyZWUgd2l0aD8KClNlbnRlbmNlIGJ5IHNlbnRlbmNl
OgoKRDogVGhlIG1lc3NhZ2VzIGZvciBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQgY29va2llIGV4
Y2hhbmdlCiAgIGFyZSBlbmNhcHN1bGF0ZWQgaW4gTlRQIGV4dGVuc2lvbiBmaWVsZHMgd2hpY2gg
YXJlCiAgIHBpZ2d5YmFja2VkIG9udG8gTlRQIHBhY2tldHMuCgpIOiBUaGUgTlRTIG1lc3NhZ2Vz
IHByb3ZpZGluZyBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQKICAgY29va2llIGV4Y2hhbmdlIGFy
ZSBlbmNhcHN1bGF0ZWQgaW4gYW4gTlRQIGV4dGVuc2lvbiBmaWVsZAogICB3aGljaCBpcyBwaWdn
eWJhY2tlZCBvbnRvIE5UUCBwYWNrZXRzLgoKSSB0aGluayBteSBwaHJhc2luZyBpcyBjbGVhbmVy
IGFuZCBtYWtlcyBubyBzdWJzdGFudGl2ZSBjaGFuZ2VzLgpJcyB0aGVyZSBhbnl0aGluZyBpbiBt
eSBjaGFuZ2VzIHRvIHRoaXMgc2VudGVuY2UgeW91IGRpc2FncmVlIHdpdGg/CgpEOiBUaGUgTUFD
IGZvciB0aGUgcHJvdGVjdGlvbiBvZiB0aGUgTlRQIHBhY2tldCBjYW5ub3QgYmUKICAgY2FsY3Vs
YXRlZCB1bnRpbCB0aGUgY29va2llIGV4Y2hhbmdlIGhhcyBiZWVuIHN1Y2Nlc3NmdWxseQogICBm
aW5pc2hlZC4KCkg6IE5UUyBkb2VzIG5vdCBpdHNlbGYgcHJvdmlkZSBNQUMgcHJvdGVjdGlvbiBv
ZiB0aGUgTlRQIHBhY2tldAogICB1bnRpbCB0aGUgTlRTIGNvb2tpZSBleGNoYW5nZSBoYXMgYmVl
biBzdWNjZXNzZnVsbHkgZmluaXNoZWQuCgpBZ2FpbiwgSSB0aGluayBteSBwaHJhc2luZyBpcyBj
bGVhbmVyIGFuZCBtYWtlcyBubyBzdWJzdGFudGl2ZSBjaGFuZ2VzLgpJcyB0aGVyZSBhbnl0aGlu
ZyBpbiBteSBwcm9wb3NlZCBzZW50ZW5jZSB5b3UgZGlzYWdyZWUgd2l0aD8KCkQ6IFRoZXJlZm9y
ZSwgTlRTIGRvZXMgbm90IGFwcGVuZCBhIE1BQyB0byAoYW5kIHRodXMgZG9lcyBub3QKICAgcHJv
dGVjdCB0aGUgTlRQIGhlYWRlciBvZikgdGhlIG1lc3NhZ2VzIGFzc29jaWF0ZWQgdG8gYWNjZXNz
LAogICBhc3NvY2lhdGlvbiBhbmQgY29va2llIGV4Y2hhbmdlLgoKSDogSWYgc29tZSBvdGhlciBm
b3JtIG9mIE1BQyBwcm90ZWN0aW9uIG9mIHRoZSBOVFAgcGFja2V0IGFuZAogICB0aGUgTlRTIGFj
Y2VzcywgYXNzb2NpYXRpb24sIGFuZCBjb29raWUgZXhjaGFuZ2UgaXMgZGVzaXJlZAogICBiZWZv
cmUgTlRTIGlzIGFibGUgdG8gcHJvdmlkZSBpdCwgZXhpc3RpbmcgYWx0ZXJuYXRpdmUgTUFDCiAg
IHByb3RlY3Rpb24gTUFZIGJlIHVzZWQuCgpJIGRvbid0IGZ1bGx5IHVuZGVyc3RhbmQgd2hhdCB5
b3UgbWVhbiB3aGVuIHlvdSBzYXkgIk5UUyBkb2VzIG5vdCBhcHBlbmQKYSBNQUMiIC0gZG8geW91
IG1lYW4gYSBsZWdhY3ktTUFDPyAgTXkgdW5kZXJzdGFuZGluZyBpcyB0aGF0Ck5UUyAqaW5jbHVk
ZXMqIE1BQyBwcm90ZWN0aW9uIHN0YXJ0aW5nIHdpdGggdGhlIDR0aCBOVFMgZXhjaGFuZ2UsIHdo
aWNoCmlzIHdoeSBJIG9mZmVyIG15IGxhbmd1YWdlLiAgSSBzZWUgbm8gc3Vic3RhbnRpdmUgZGlm
ZmVyZW5jZSBiZXR3ZWVuCnlvdXIgd29yZGluZyBhbmQgbWluZS4gIEkgdGhpbmsgbXkgbGFuZ3Vh
Z2UgaXMgY2xlYW5lci4KSXMgdGhlcmUgc29tZXRoaW5nIHlvdSBkaXNhZ3JlZSB3aXRoIGluIHdo
YXQgSSBoYXZlIHN1Z2dlc3RlZD8KCkkgdGhlbiBhZGQ6CgogVGhlIHN0YXRlIG9mIE5UUyBNQUMg
cHJvdGVjdGlvbiBjYW4gYmUgc2VlbiBpbiB0aGUgRmllbGQgVHlwZSBvZgogdGhlIE5UUyBleHRl
bnNpb24gZmllbGQuCgpUaGlzIGlzIHNpbXBseSBhIG1hdHRlciBvZiAiZmFjdCIsIGlmIHdlIGFz
c3VtZSB0aGF0IG15IHByb3Bvc2FscyBhcmUKYWNjZXB0ZWQgZm9yIGhvdyBhZGRpdGlvbnMgdG8g
dGhlIGV4dGVuc2lvbiBGaWVsZCBUeXBlIHdpbGwgYmUgaGFuZGxlZC4KVGhpcyBpcyBhbHJlYWR5
IHRoZSBjYXNlIGZvciBUYWwncyBjaGVja3N1bSBjb21wbGVtZW50IHByb3Bvc2FsLCBzZWU6Cgog
aHR0cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtaWV0Zi1udHAtY2hlY2tzdW0t
dHJhaWxlci8KCkFsc28gc2VlIHRoZSA1IHByb3Bvc2FscyBJJ3ZlIHN1Ym1pdHRlZC4KLS0gCkhh
cmxhbiBTdGVubiA8c3Rlbm5Abnd0aW1lLm9yZz4KaHR0cDovL25ldHdvcmt0aW1lZm91bmRhdGlv
bi5vcmcgLSBiZSBhIG1lbWJlciEKCl9fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX19fCm50cHdnIG1haWxpbmcgbGlzdApudHB3Z0BsaXN0cy5udHAub3JnCmh0dHA6
Ly9saXN0cy5udHAub3JnL2xpc3RpbmZvL250cHdn

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 16 01:34:20 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 18AB812D6A5 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 01:34:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 F3gBdVo041AC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 01:34:17 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C069212D681 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 01:34:17 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8224E86DAD8 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 08:34:17 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1386986DAD3 for <ntpwg@lists.ntp.org>; Wed, 16 Mar 2016 08:31:58 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1ag6rt-000L3v-AX for ntpwg@lists.ntp.org; Wed, 16 Mar 2016 08:31:58 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 3BF2A8E3E2; Wed, 16 Mar 2016 08:31:48 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2G8VkZq009559; Wed, 16 Mar 2016 04:31:47 -0400
Date: Wed, 16 Mar 2016 09:31:46 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160316083146.GH3234@localhost>
References: <20160311135635.GD28476@localhost> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <OFCAB2D7A0.93D2137E-ONC1257F73.00674F6F-C1257F73.006879F8@ptb.de> <20160314104359.GC3234@localhost> <E1afaIk-000PJr-Ew@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1afaIk-000PJr-Ew@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Fwd: Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Mon, Mar 14, 2016 at 09:45:22PM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > On Fri, Mar 11, 2016 at 08:01:09PM +0100, kristof.teichel@ptb.de wrote:
> > >    In contrast to the crypto operations for a time_response (which are
> > >    fast by design), the processing of the NTS extension fields for a
> > >    server_cook are computationally expensive, and precision might be
> > >    degraded beyond acceptable limits.
> > 
> > Yes, it would likely add an error to the measurement. I think it would
> > rather be due to packets being longer (and possibly fragmented) as
> > more time would be needed to send and receive them. The time needed
> > for processing of the NTS fields shouldn't matter as the RX/TX
> > timestamps are captured before/after the fields are processed.
> 
> If one can get the arrival timestamp of the first fragment then what
> additional error is being accumulated?

Longer packets generally need more time for transmission and reception.
The error in the NTP TX/RX timestamps may change (depending on how the
timestamping is implemented) and the extra delay adds up with each
switch and router the packet goes through.

When measuring offset, the packets should be the same length in both
directions so there is a better chance the delays will cancel each
other out. For packets with the *access, *assoc and *cook NTS messages
this is not a problem as they can't be used for measurements (assuming
there is no protection outside NTS), but with the time_request and
time_response messages I think it matters.

That's why I'm suggesting to pad the time_response message to the
length of the time_request message. In the expected typical case where
both server and client packets include one of the time_* messages and
the NTS MAC, they will have the same length.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 16 20:39:13 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A456912D85F for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 20:39:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 J0cIEq3g2-3Y for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 20:39:12 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2A8C812D501 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 20:39:12 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1AC3486DB74 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 03:39:11 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 8E4E186D90D for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 03:38:48 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1agOlh-000IYB-68 for ntpwg@lists.ntp.org; Thu, 17 Mar 2016 03:38:48 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id C3293B82C for <ntpwg@lists.ntp.isc.org>; Thu, 17 Mar 2016 03:38:36 +0000 (UTC)
Received: from [10.10.10.102] (pool-71-174-223-70.bstnma.east.verizon.net [71.174.223.70]) by chessie.everett.org (Postfix) with ESMTPSA id 3C6D6B82A for <ntpwg@lists.ntp.isc.org>; Thu, 17 Mar 2016 03:38:36 +0000 (UTC)
To: NTP Working Group <ntpwg@lists.ntp.org>
From: Danny Mayer <mayer@ntp.org>
Message-ID: <56EA26BA.3020008@ntp.org>
Date: Wed, 16 Mar 2016 23:38:34 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Mar 17 03:38:36 2016
X-DSPAM-Confidence: 1.0000
X-DSPAM-Probability: 0.0023
X-DSPAM-Signature: 7188,56ea26bc829939787015041
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

I'd like to clear some of the air with regard to the discussion going on
between using NTS and using a MAC to authenticate packets before the NTS
protocol has completed.

Fundamentally NTP packets cannot protect the timestamps in the packet
while NTS is exchanging setup/authentication information between the two
servers. However some systems need a fast startup and timesync in
seconds (normally about 11 seconds) when using iburst mode. If the
starting server has to wait while the NTS protocol completes its
interaction then the iburst part will have exhausted the number of
initial packets and then the synchronization after NTS completes will
take minutes instead which everyone agrees is unacceptable.

One of the results of this is that if you rely on the initial packets
without NTS protection you can set the clock and it could be totally
wrong (because an attacker managed to spoof the packets). You could use
a symmetric key MAC as a temporary measure but then what's the point of NTS?

The question is this: How do we get a fast synchronized startup if we
only use NTS-authenticated packets?

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 16 20:50:57 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 47CE512D875 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 20:50:57 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 GJsTAv4R79zo for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 20:50:55 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 9E6E112D867 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 20:50:55 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 967A686DB6C for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 03:50:55 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5BB4686D910 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 03:45:44 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <stenn@nwtime.org>) id 1agOsS-000ImC-Js for ntpwg@lists.ntp.org; Thu, 17 Mar 2016 03:45:44 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 5091EB82C for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 03:45:36 +0000 (UTC)
Received: from hms-mbp11.pfcs.com (96-41-177-107.dhcp.mdfd.or.charter.com [96.41.177.107]) by chessie.everett.org (Postfix) with ESMTPSA id 96488B82A; Thu, 17 Mar 2016 03:45:35 +0000 (UTC)
To: Dieter Sibold <dieter.sibold@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de> <E1afdbj-000PXK-SU@stenn.ntp.org> <BC364786-C84B-4BB3-9AF8-D4C92FA0BFA5@ptb.de> <56E8CFD3.3020808@nwtime.org> <E38A7911-ED98-414E-A4A7-6DEEBD764AEE@ptb.de>
From: Harlan Stenn <stenn@nwtime.org>
Message-ID: <56EA28D6.9000009@nwtime.org>
Date: Wed, 16 Mar 2016 20:47:34 -0700
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:38.0) Gecko/20100101 Thunderbird/38.6.0
MIME-Version: 1.0
In-Reply-To: <E38A7911-ED98-414E-A4A7-6DEEBD764AEE@ptb.de>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Thu Mar 17 03:45:36 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56ea2860829931802072845
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: stenn@nwtime.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

CgpPbiAzLzE2LzE2IDU6MTQgQU0sIERpZXRlciBTaWJvbGQgd3JvdGU6Cj4gCj4+IEFtIDE2LjAz
LjIwMTYgdW0gMDQ6MTUgc2NocmllYiBIYXJsYW4gU3Rlbm4gPHN0ZW5uQG53dGltZS5vcmc+Ogo+
Pgo+PiBIb3dkeSBzaXIsCj4+Cj4+IE9uIDMvMTUvMTYgMzoyNiBBTSwgRHIuIERpZXRlciBTaWJv
bGQgd3JvdGU6Cj4+Pgo+Pj4+IEFtIDE1LjAzLjIwMTYgdW0gMDI6MTcgc2NocmllYiBIYXJsYW4g
U3Rlbm4gPHN0ZW5uQG50cC5vcmc+Ogo+Pj4+Cj4+Pj4gIkRyLiBEaWV0ZXIgU2lib2xkIiB3cml0
ZXM6Cj4+Pj4+Cj4+Pj4+IEhpIGFsbCwKPj4+Pj4gdG8gZW5kIHRoaXMgZGlzY3Vzc2lvbiwgSSBw
cm9wb3NlIHRoYXQgd2UgYWRkIHRoZSBmb2xsb3dpbmcgbGFuZ3VhZ2UgdG8gCj4+Pj4+IHRoZSBT
ZWN1cml0eSBDb25zaWRlcmF0aW9ucyBvZiB0aGUgZHJhZnQ6IAo+Pj4+PiBkcmFmdC1pZXRmLW50
cC11c2luZy1udHMtZm9yLW50cC0wNAo+Pj4+Pgo+Pj4+PiA8c2VjdGlvbiB0aXRsZT0zRCJQcm90
ZWN0aW9uIGZvciBJbml0aWFsIE1lc3NhZ2VzIj4KPj4+Pj4gICA8dD5UaGUgbWVzc2FnZXMgZm9y
IGFjY2VzcywgYXNzb2NpYXRpb24sIGFuZCBjb29raWUgZXhjaGFuZ2UgYXJlCj4+Pj4+ICAgZW5j
YXBzdWxhdGVkIGluIE5UUCBleHRlbnNpb24gZmllbGRzIHdoaWNoIGFyZSBwaWdneWJhY2tlZCBv
bnRvIE5UUAo+Pj4+PiAgIHBhY2tldHMuIFRoZSBNQUMgZm9yIHRoZSBwcm90ZWN0aW9uIG9mIHRo
ZSBOVFAgcGFja2V0IGNhbm5vdCBiZQo+Pj4+PiAgIGNhbGN1bGF0ZWQgdW50aWwgdGhlIGNvb2tp
ZSBleGNoYW5nZSBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgZmluaXNoZWQuCj4+Pj4+ICAgIFRoZXJl
Zm9yZSwgTlRTIGRvZXMgbm90IGFwcGVuZCBhIE1BQyB0byAoYW5kIHRodXMgZG9lcyBub3QgcHJv
dGVjdCB0aGUKPj4+Pj4gICBOVFAgaGVhZGVyIG9mKSB0aGUgbWVzc2FnZXMgYXNzb2NpYXRlZCB0
byBhY2Nlc3MsIGFzc29jaWF0aW9uIGFuZAo+Pj4+PiAgIGNvb2tpZSBleGNoYW5nZS48L3Q+Cj4+
Pj4+IDwvc2VjdGlvbj4KPj4+Pj4gPHNlY3Rpb24gdGl0bGU9M0QiUHJvdGVjdGlvbiBmb3IgSW5p
dGlhbCBNZXNzYWdlcyI+Cj4+Pj4+ICAgPHQ+VGhlIG1lc3NhZ2VzIGZvciBhY2Nlc3MsIGFzc29j
aWF0aW9uLCBhbmQgY29va2llIGV4Y2hhbmdlIGFyZQo+Pj4+PiAgIGVuY2Fwc3VsYXRlZCBpbiBO
VFAgZXh0ZW5zaW9uIGZpZWxkcyB3aGljaCBhcmUgcGlnZ3liYWNrZWQgb250byBOVFAKPj4+Pj4g
ICBwYWNrZXRzLiBUaGUgTUFDIGZvciB0aGUgcHJvdGVjdGlvbiBvZiB0aGUgTlRQIHBhY2tldCBj
YW5ub3QgYmUKPj4+Pj4gICBjYWxjdWxhdGVkIHVudGlsIHRoZSBjb29raWUgZXhjaGFuZ2UgaGFz
IGJlZW4gc3VjY2Vzc2Z1bGx5IGZpbmlzaGVkLgo+Pj4+PiAgICBUaGVyZWZvcmUsIE5UUyBkb2Vz
IG5vdCBhcHBlbmQgYSBNQUMgdG8gKGFuZCB0aHVzIGRvZXMgbm90IHByb3RlY3QgdGhlCj4+Pj4+
ICAgTlRQIGhlYWRlciBvZikgdGhlIG1lc3NhZ2VzIGFzc29jaWF0ZWQgdG8gYWNjZXNzLCBhc3Nv
Y2lhdGlvbiBhbmQKPj4+Pj4gICBjb29raWUgZXhjaGFuZ2UuPC90Pgo+Pj4+PiA8L3NlY3Rpb24+
Cj4+Pj4KPj4+PiBIb3cgYWJvdXQgdGhpcyBpbnN0ZWFkOgo+Pj4+Cj4+Pj4gIDxzZWN0aW9uIHRp
dGxlPSJQcm90ZWN0aW9uIGZvciBJbml0aWFsIE1lc3NhZ2VzIj4KPj4+PiAgICA8dD5UaGUgTlRT
IG1lc3NhZ2VzIHByb3ZpZGluZyBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQgY29va2llCj4+Pj4g
ICAgZXhjaGFuZ2UgYXJlIGVuY2Fwc3VsYXRlZCBpbiBhbiBOVFAgZXh0ZW5zaW9uIGZpZWxkIHdo
aWNoIGlzCj4+Pj4gICAgcGlnZ3liYWNrZWQgb250byBOVFAgcGFja2V0cy4gTlRTIGRvZXMgbm90
IGl0c2VsZiBwcm92aWRlIE1BQwo+Pj4+ICAgIHByb3RlY3Rpb24gb2YgdGhlIE5UUCBwYWNrZXQg
dW50aWwgdGhlIE5UUyBjb29raWUgZXhjaGFuZ2UgaGFzIGJlZW4KPj4+PiAgICBzdWNjZXNzZnVs
bHkgZmluaXNoZWQuICBJZiBzb21lIG90aGVyIGZvcm0gb2YgTUFDIHByb3RlY3Rpb24gb2YgdGhl
Cj4+Pj4gICAgTlRQIHBhY2tldCBhbmQgdGhlIE5UUyBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQg
Y29va2llIGV4Y2hhbmdlIGlzCj4+Pj4gICAgZGVzaXJlZCBiZWZvcmUgTlRTIGlzIGFibGUgdG8g
cHJvdmlkZSBpdCwgZXhpc3RpbmcgYWx0ZXJuYXRpdmUgTUFDCj4+Pj4gICAgcHJvdGVjdGlvbiBN
QVkgYmUgdXNlZC48L3Q+Cj4+Pj4gICAgPHQ+VGhlIHN0YXRlIG9mIE5UUyBNQUMgcHJvdGVjdGlv
biBjYW4gYmUgc2VlbiBpbiB0aGUgRmllbGQgVHlwZSBvZgo+Pj4+ICAgIHRoZSBOVFMgZXh0ZW5z
aW9uIGZpZWxkLjwvdD4gCj4+Pj4gIDwvc2VjdGlvbj4KPj4+Pgo+Pj4+IE15IHVuZGVyc3RhbmRp
bmcgaXMgdGhhdCB0aGVyZSB3aWxsIGJlIGF0IG1vc3QgMSBOVFMgRUYgaW4gYW55IGdpdmVuIE5U
UAo+Pj4+IHBhY2tldC4gIEkgbWlnaHQgd3JvbmcgYWJvdXQgdGhhdCwgYW5kIGlmIEkgYW0sIEkn
bSBjdXJpb3VzIHdoeSB3ZSdkCj4+Pj4gd2FudCBtdWx0aXBsZSBOVFMgRUZzIGluIGEgc2luZ2xl
IE5UUCBwYWNrZXQuCj4+Pj4KPj4+PiBICj4+Cj4+PiBIYXJsYW4sIEkgZG9u4oCZdCBhZ3JlZS4g
VGhpcyBtaWdodCBiZSB3b3JrLCBidXQgSSBzdHJvbmdseSByZWNvbW1lbmQgTk9UIHRvIGluY2x1
ZGUgdGhpcyB0ZXh0IGludG8gdGhlIGRvY3VtZW50Lgo+Pgo+PiBXaGF0IGRvIHlvdSBkaXNhZ3Jl
ZSB3aXRoPwo+Pgo+PiBTZW50ZW5jZSBieSBzZW50ZW5jZToKPj4KPj4gRDogVGhlIG1lc3NhZ2Vz
IGZvciBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQgY29va2llIGV4Y2hhbmdlCj4+ICAgYXJlIGVu
Y2Fwc3VsYXRlZCBpbiBOVFAgZXh0ZW5zaW9uIGZpZWxkcyB3aGljaCBhcmUKPj4gICBwaWdneWJh
Y2tlZCBvbnRvIE5UUCBwYWNrZXRzLgo+Pgo+PiBIOiBUaGUgTlRTIG1lc3NhZ2VzIHByb3ZpZGlu
ZyBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQKPj4gICBjb29raWUgZXhjaGFuZ2UgYXJlIGVuY2Fw
c3VsYXRlZCBpbiBhbiBOVFAgZXh0ZW5zaW9uIGZpZWxkCj4+ICAgd2hpY2ggaXMgcGlnZ3liYWNr
ZWQgb250byBOVFAgcGFja2V0cy4KPj4KPj4gSSB0aGluayBteSBwaHJhc2luZyBpcyBjbGVhbmVy
IGFuZCBtYWtlcyBubyBzdWJzdGFudGl2ZSBjaGFuZ2VzLgo+PiBJcyB0aGVyZSBhbnl0aGluZyBp
biBteSBjaGFuZ2VzIHRvIHRoaXMgc2VudGVuY2UgeW91IGRpc2FncmVlIHdpdGg/Cj4gCj4gQWdy
ZWUKPiAKPj4KPj4gRDogVGhlIE1BQyBmb3IgdGhlIHByb3RlY3Rpb24gb2YgdGhlIE5UUCBwYWNr
ZXQgY2Fubm90IGJlCj4+ICAgY2FsY3VsYXRlZCB1bnRpbCB0aGUgY29va2llIGV4Y2hhbmdlIGhh
cyBiZWVuIHN1Y2Nlc3NmdWxseQo+PiAgIGZpbmlzaGVkLgo+Pgo+PiBIOiBOVFMgZG9lcyBub3Qg
aXRzZWxmIHByb3ZpZGUgTUFDIHByb3RlY3Rpb24gb2YgdGhlIE5UUCBwYWNrZXQKPj4gICB1bnRp
bCB0aGUgTlRTIGNvb2tpZSBleGNoYW5nZSBoYXMgYmVlbiBzdWNjZXNzZnVsbHkgZmluaXNoZWQu
Cj4+Cj4+IEFnYWluLCBJIHRoaW5rIG15IHBocmFzaW5nIGlzIGNsZWFuZXIgYW5kIG1ha2VzIG5v
IHN1YnN0YW50aXZlIGNoYW5nZXMuCj4+IElzIHRoZXJlIGFueXRoaW5nIGluIG15IHByb3Bvc2Vk
IHNlbnRlbmNlIHlvdSBkaXNhZ3JlZSB3aXRoPwo+IAo+IFRoYXQgaXMgbm90IHF1aXRlIHRoZSBz
YW1lLiBPdXIgZm9ybXVsYXRpb24gc3RhdGVzIHRoYXQgTlRTIGRvZXMgbm90IGFkZCBhIE1BQyB0
byB0aGUgZXhjaGFuZ2VzIGNvbnNpZGVyZWQuIFlvdXIgaXMgbm90IGZhbHNlIGJ1dCBpIGltcGxp
ZXMgdGhhdCBOVFMgZG9lcyBub3QgcHJvdGVjdCB0aGUgTlRQIHBhY2tldCB3aGljaCBpcyBmYWxz
ZS4gSW4gb3JkZXIgdG8gdXNlIHlvdXIgc2VudGVuY2UgaXQgd291bGQgaGF2ZSBiZSBjaGFuZ2Vk
IHRvOgo+IAo+IE5UUyBkb2VzIG5vdCBpdHNlbGYgcHJvdmlkZSBNQUMgcHJvdGVjdGlvbiB0byB0
aGUgTlRQIGhlYWRlciB1bnRpbCB0aGUgTlRTIGNvb2tpZSBleGNoYW5nZSBoYXMgYmVlbiBzdWNj
ZXNzZnVsbHkgZmluaXNoZWQKPiAKPiBJdCB0aGlzIG9rYXkgd2l0aCB5b3U/CgpIb3cgYWJvdXQ6
CgogTlRTIHByb3ZpZGVzIE1BQyBwcm90ZWN0aW9uIHN0YXJ0aW5nIHdpdGggdGhlIE5UUCBwYWNr
ZXQgdGhhdAogc3RhcnRzIHRoZSA0dGggTlRTIGV4Y2hhbmdlICh0aGUgN3RoIE5UUCBwYWNrZXQg
dGhhdCBjb250YWlucwogYW4gTlRTIGV4dGVuc2lvbiBmaWVsZCkuCgo+Pgo+PiBEOiBUaGVyZWZv
cmUsIE5UUyBkb2VzIG5vdCBhcHBlbmQgYSBNQUMgdG8gKGFuZCB0aHVzIGRvZXMgbm90Cj4+ICAg
cHJvdGVjdCB0aGUgTlRQIGhlYWRlciBvZikgdGhlIG1lc3NhZ2VzIGFzc29jaWF0ZWQgdG8gYWNj
ZXNzLAo+PiAgIGFzc29jaWF0aW9uIGFuZCBjb29raWUgZXhjaGFuZ2UuCj4+Cj4+IEg6IElmIHNv
bWUgb3RoZXIgZm9ybSBvZiBNQUMgcHJvdGVjdGlvbiBvZiB0aGUgTlRQIHBhY2tldCBhbmQKPj4g
ICB0aGUgTlRTIGFjY2VzcywgYXNzb2NpYXRpb24sIGFuZCBjb29raWUgZXhjaGFuZ2UgaXMgZGVz
aXJlZAo+PiAgIGJlZm9yZSBOVFMgaXMgYWJsZSB0byBwcm92aWRlIGl0LCBleGlzdGluZyBhbHRl
cm5hdGl2ZSBNQUMKPj4gICBwcm90ZWN0aW9uIE1BWSBiZSB1c2VkLgo+Pgo+PiBJIGRvbid0IGZ1
bGx5IHVuZGVyc3RhbmQgd2hhdCB5b3UgbWVhbiB3aGVuIHlvdSBzYXkgIk5UUyBkb2VzIG5vdCBh
cHBlbmQKPj4gYSBNQUMiIC0gZG8geW91IG1lYW4gYSBsZWdhY3ktTUFDPyAgTXkgdW5kZXJzdGFu
ZGluZyBpcyB0aGF0Cj4+IE5UUyAqaW5jbHVkZXMqIE1BQyBwcm90ZWN0aW9uIHN0YXJ0aW5nIHdp
dGggdGhlIDR0aCBOVFMgZXhjaGFuZ2UsIHdoaWNoCj4+IGlzIHdoeSBJIG9mZmVyIG15IGxhbmd1
YWdlLiAgSSBzZWUgbm8gc3Vic3RhbnRpdmUgZGlmZmVyZW5jZSBiZXR3ZWVuCj4+IHlvdXIgd29y
ZGluZyBhbmQgbWluZS4gIEkgdGhpbmsgbXkgbGFuZ3VhZ2UgaXMgY2xlYW5lci4KPj4gSXMgdGhl
cmUgc29tZXRoaW5nIHlvdSBkaXNhZ3JlZSB3aXRoIGluIHdoYXQgSSBoYXZlIHN1Z2dlc3RlZD8K
Pj4KPiAKPiBJZiB3ZSBmb3JtdWxhdGUgdGhlIHNlY29uZCBzZW50ZW5jZSBhcyBhYm92ZSB0aGUg
dGhpcmQgc2VudGVuY2UgaXMgbm90IG5lY2Vzc2FyeS4gTlRTIGRvZXMgbm90IGV4cGxpY2l0bHkg
cHJvaGliaXQgdGhlIHVzYWdlIG9mIHRoZSB0aGUgYWx0ZXJuYXRpdmUgTUFDLCBidXQgSSBkb27i
gJl0IHdhbnQgdG8gcmVjb21tZW5kIGl0LiBUaGVyZWZvcmUsIEkgc3VnZ2VzdCB0byBkaXNjYXJk
IHRoZSB0aGlyZCBzZW50ZW5jZSBjb21wbGV0ZWx5Lgo+IAo+PiBJIHRoZW4gYWRkOgo+Pgo+PiBU
aGUgc3RhdGUgb2YgTlRTIE1BQyBwcm90ZWN0aW9uIGNhbiBiZSBzZWVuIGluIHRoZSBGaWVsZCBU
eXBlIG9mCj4+IHRoZSBOVFMgZXh0ZW5zaW9uIGZpZWxkLgo+Pgo+IEkgZG9u4oCZdCB1bmRlcnN0
YW5kPwoKVGhlIHRvcCA0IGJpdHMgb2YgdGhlIEV4dGVuc2lvbiBGaWVsZCBUeXBlIGNvbnRhaW4g
aGlnaC1sZXZlbCBpbmZvcm1hdGlvbjoKCiAweDgwMDAgIEVycm9yIChBdXRva2V5KQogMHg0MDAw
ICBSZXNwb25zZSAoQXV0b2tleSwgSSBEbykKIDB4MjAwMCAgTUFDIG5vdCByZXF1aXJlZAogMHgx
MDAwICBNQUMgaW5jbHVkZWQKCnNvIGluIHRoZSBjYXNlIG9mIE5UUywgdGhlIEZpZWxkIFR5cGUg
d291bGQgYmU6CgogMHgwMDA0CU5UUywgTUFDIFNIT1VMRC9NVVNUIGJlIHByb3ZpZGVkIHNlcGFy
YXRlbHkKIDB4MTAwNCBOVFMsIE1BQyBpbmNsdWRlZCBpbiB0aGUgcGFja2V0IChpbXBsaWNpdGx5
CglpbmRpY2F0ZXMgbm8gc3Vic2VxdWVudCBzZXBhcmF0ZSBNQUMgaXMgbmVlZGVkKQoKV2UgY2Fu
IGRlYmF0ZSB0aGUgdXNlZnVsbmVzcyBvZjoKCiAweDIwMDQJTlRTIHBhY2tldDsgTUFDIE1BWSBi
ZSBwcm92aWRlZCBzZXBhcmF0ZWx5CiAweDMwMDQgTlRTIHBhY2tldDsgTUFDIGluY2x1ZGVkIGFu
ZCBNQVkgYmUgcHJvdmlkZWQKCXNlcGFyYXRlbHkKCj4+IFRoaXMgaXMgc2ltcGx5IGEgbWF0dGVy
IG9mICJmYWN0IiwgaWYgd2UgYXNzdW1lIHRoYXQgbXkgcHJvcG9zYWxzIGFyZQoKU28gaXMgdGhl
IGZvbGxvd2luZyBhY2NlcHRhYmxlIHRvIHlvdToKCiBUaGUgTlRTIG1lc3NhZ2VzIHByb3ZpZGlu
ZyBhY2Nlc3MsIGFzc29jaWF0aW9uLCBhbmQKIGNvb2tpZSBleGNoYW5nZSBhcmUgZW5jYXBzdWxh
dGVkIGluIGFuIE5UUCBleHRlbnNpb24gZmllbGQKIHdoaWNoIGlzIHBpZ2d5YmFja2VkIG9udG8g
TlRQIHBhY2tldHMuCgpIbW1tLCBob3cgYWJvdXQ6CgogQW4gTlRTIG1lc3NhZ2UgaW5jbHVkZXMg
YWNjZXNzLCBhc3NvY2lhdGlvbiwgYXV0aGVudGljYXRpb24sCiBhbmQvb3IgY29va2llIGRhdGEg
ZW5jYXBzdWxhdGVkIGluIGFuIE5UUCBleHRlbnNpb24gZmllbGQKIHdoaWNoIGlzIHBpZ2d5YmFj
a2VkIG9udG8gYW4gTlRQIHBhY2tldC4KCiBOVFMgcHJvdmlkZXMgTUFDIHByb3RlY3Rpb24gc3Rh
cnRpbmcgd2l0aCB0aGUgTlRQIHBhY2tldCB0aGF0CiBzdGFydHMgdGhlIDR0aCBOVFMgZXhjaGFu
Z2UgKHRoZSA3dGggTlRQIHBhY2tldCB0aGF0IGNvbnRhaW5zCiBhbiBOVFMgZXh0ZW5zaW9uIGZp
ZWxkKS4KCiBJZiBNQUMgcHJvdGVjdGlvbiBvZiB0aGUgTlRQIHBhY2tldCBhbmQgdGhlIE5UUyBh
Y2Nlc3MsCiBhc3NvY2lhdGlvbiwgYW5kIGNvb2tpZSBleGNoYW5nZSBpcyBkZXNpcmVkIG9uIE5U
UCBwYWNrZXRzCiBiZWZvcmUgdGhlIHN0YXJ0IG9mIHRoZSA0dGggTlRTIGV4Y2hhbmdlICh0aGUg
N3RoIE5UUCBwYWNrZXQKIHRoYXQgY29udGFpbnMgYW4gTlRTIGV4bnRlbnNpb24gZmllbGQpLCBl
eGlzdGluZyBhbHRlcm5hdGl2ZQogTUFDIHByb3RlY3Rpb24gTUFZIGJlIHVzZWQuCgotLSAKSGFy
bGFuIFN0ZW5uIDxzdGVubkBud3RpbWUub3JnPgpodHRwOi8vbmV0d29ya3RpbWVmb3VuZGF0aW9u
Lm9yZyAtIGJlIGEgbWVtYmVyIQoKX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19f
X19fX19fX19fX18KbnRwd2cgbWFpbGluZyBsaXN0Cm50cHdnQGxpc3RzLm50cC5vcmcKaHR0cDov
L2xpc3RzLm50cC5vcmcvbGlzdGluZm8vbnRwd2c=

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 16 21:36:01 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F07A12D8A2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 21:36:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 phS-aFVk8if9 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 16 Mar 2016 21:35:59 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 943B412D897 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 16 Mar 2016 21:35:59 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8892686DB60 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 04:35:59 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id C646B86D55F for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 04:31:35 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1agPax-0002xS-AZ; Thu, 17 Mar 2016 04:31:35 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Danny Mayer <mayer@ntp.org>
In-reply-to: <56EA26BA.3020008@ntp.org>
References: <56EA26BA.3020008@ntp.org>
Comments: In-reply-to Danny Mayer <mayer@ntp.org> message dated "Wed, 16 Mar 2016 23:38:34 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 17 Mar 2016 04:31:35 +0000
Message-Id: <E1agPax-0002xS-AZ@stenn.ntp.org>
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Danny Mayer writes:
> ...
> 
> The question is this: How do we get a fast synchronized startup if we
> only use NTS-authenticated packets?

How has this question *not* been adequately answered yet?

The easy answer is NTS+MAC while the NTS exchange is using 0x0004 Field
Types, until it has completed the first 3 complete exchanges and starts
sending 0x1004 Field Types, when the NTS EF includes MAC protection.

Symmetric key protection provides a level of authentication, and if one
chooses to use it to authenticate these early packets that's fine.

Authorization is available too, via 'restrict' entries.

NTS provides both authentication and authorization.  'restrict' entries
are stil available to provide authorization beyond whatever is built in
to NTS.

H


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 01:51:43 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 275E612D80C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 01:51:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 6tc78qQ-PHaL for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 01:51:41 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 75F9C12D7F1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 01:51:41 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 40EE486DB10 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 08:51:41 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id AFF6386DAD5 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 08:50:24 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1agTcz-000NJO-DF for ntpwg@lists.ntp.org; Thu, 17 Mar 2016 08:50:19 +0000
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 80FC4627C3; Thu, 17 Mar 2016 08:49:56 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2H8ntTR014927; Thu, 17 Mar 2016 04:49:56 -0400
Date: Thu, 17 Mar 2016 09:49:55 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Danny Mayer <mayer@ntp.org>
Message-ID: <20160317084955.GI3234@localhost>
References: <56EA26BA.3020008@ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <56EA26BA.3020008@ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 17 Mar 2016 08:49:56 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 16, 2016 at 11:38:34PM -0400, Danny Mayer wrote:
> Fundamentally NTP packets cannot protect the timestamps in the packet
> while NTS is exchanging setup/authentication information between the two
> servers. However some systems need a fast startup and timesync in
> seconds (normally about 11 seconds) when using iburst mode. If the
> starting server has to wait while the NTS protocol completes its
> interaction then the iburst part will have exhausted the number of
> initial packets and then the synchronization after NTS completes will
> take minutes instead which everyone agrees is unacceptable.

iburst will still work with NTS, it's similar to Autokey. It was
mentioned several times in the recent thread (although it may be
hidden in the noise).

When an association was configured with the iburst option, ntpd sends
6 packets in 10 seconds (2 second interval between them). NTS needs 3
requests to initialize the association, so the 4th, 5th and 6th reply
are authenticated and can be used for synchronization. If no packet is
lost (or significantly delayed due to bufferbloat, etc), ntpd will
make the first update of the clock about 7 seconds after the start.
Two packets can be lost and it should still make the first clock
update before the burst ends.

> The question is this: How do we get a fast synchronized startup if we
> only use NTS-authenticated packets?

By enabling iburst. No other changes should be necessary.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 03:09:00 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 442D412D81D for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 03:09:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 pJy1vvg8nMs8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 03:08:58 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 6157112D506 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 03:08:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id F40CB86DB15 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 10:08:55 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id F2C7886D55E for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 10:08:22 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1agUoR-0003JP-EB; Thu, 17 Mar 2016 10:05:51 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160317084955.GI3234@localhost>
References: <56EA26BA.3020008@ntp.org> <20160317084955.GI3234@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Thu, 17 Mar 2016 09:49:55 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 17 Mar 2016 10:05:51 +0000
Message-Id: <E1agUoR-0003JP-EB@stenn.ntp.org>
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav,

Are you saying you believe iburst works fine with NTS and gives
authenticated time during the initial time sync phase?

H

Miroslav Lichvar writes:
> On Wed, Mar 16, 2016 at 11:38:34PM -0400, Danny Mayer wrote:
> > Fundamentally NTP packets cannot protect the timestamps in the packet
> > while NTS is exchanging setup/authentication information between the two
> > servers. However some systems need a fast startup and timesync in
> > seconds (normally about 11 seconds) when using iburst mode. If the
> > starting server has to wait while the NTS protocol completes its
> > interaction then the iburst part will have exhausted the number of
> > initial packets and then the synchronization after NTS completes will
> > take minutes instead which everyone agrees is unacceptable.
> 
> iburst will still work with NTS, it's similar to Autokey. It was
> mentioned several times in the recent thread (although it may be
> hidden in the noise).
> 
> When an association was configured with the iburst option, ntpd sends
> 6 packets in 10 seconds (2 second interval between them). NTS needs 3
> requests to initialize the association, so the 4th, 5th and 6th reply
> are authenticated and can be used for synchronization. If no packet is
> lost (or significantly delayed due to bufferbloat, etc), ntpd will
> make the first update of the clock about 7 seconds after the start.
> Two packets can be lost and it should still make the first clock
> update before the burst ends.
> 
> > The question is this: How do we get a fast synchronized startup if we
> > only use NTS-authenticated packets?
> 
> By enabling iburst. No other changes should be necessary.
> 
> -- 
> Miroslav Lichvar
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> 
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 03:26:11 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 32C7C12D7BC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 03:26:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 rLPFVAmZ_Ybk for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 03:26:09 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D1A9E12D50D for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 03:26:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id D352586DB32 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 10:26:06 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3ABE186DAAE for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 10:25:57 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1agV7k-0003c5-3k for ntpwg@lists.ntp.org; Thu, 17 Mar 2016 10:25:57 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id D9CE4711C4; Thu, 17 Mar 2016 10:25:46 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2HAPkKs029727; Thu, 17 Mar 2016 06:25:46 -0400
Date: Thu, 17 Mar 2016 11:25:45 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160317102545.GJ3234@localhost>
References: <56EA26BA.3020008@ntp.org> <20160317084955.GI3234@localhost> <E1agUoR-0003JP-EB@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1agUoR-0003JP-EB@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Thu, 17 Mar 2016 10:25:46 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 17, 2016 at 10:05:51AM +0000, Harlan Stenn wrote:
> Miroslav,
> 
> Are you saying you believe iburst works fine with NTS and gives
> authenticated time during the initial time sync phase?

Yes.

I'm confused. Have I or anyone else here said anything to the
contrary?

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 04:59:38 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B00112D570 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 04:59:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.899
X-Spam-Level:
X-Spam-Status: No, score=-6.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 7CSYhn0InxC9 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 04:59:35 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 8133012D566 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 04:59:35 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 52BDD86DB01 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 11:59:35 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E15FB86DAE5 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 11:09:07 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1agVnV-0004Go-Og for ntpwg@lists.ntp.org; Thu, 17 Mar 2016 11:09:07 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2HB8tRW009840-u2HB8tRY009840 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 12:08:55 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id ADA173A0A4 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 12:08:55 +0100 (CET)
In-Reply-To: <001a01d17a46$3ef2e460$bcd8ad20$@augustcellars.com>
References: <022801d1797c$9eb62da0$dc2288e0$@augustcellars.com> <7394992A-65D5-41ED-82BE-8BF936668D1B@vigilsec.com> <OFA7400060.7A45F333-ONC1257F71.00326B70-C1257F71.00331C9C@ptb.de> <26BB307E-D37A-4F33-99B6-F3EFF9323AE9@vigilsec.com> <001a01d17a46$3ef2e460$bcd8ad20$@augustcellars.com>
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OFB82F8DD9.3FC39937-ONC1257F79.003CB614-C1257F79.003D3D70@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 17 Mar 2016 12:08:53 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] draft-ietf-ntp-cms-for-nts-message
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============2410953197326452215=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============2410953197326452215==
Content-Type: multipart/alternative; boundary="=_alternative 003D3D6FC1257F79_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 003D3D6FC1257F79_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

Hello all,

a while ago we had some input from Jim Schaad, the conversation is cited=20
below.
I would like to make known that it has been considered and the drafts have =

been changed accordingly, in the direction of "MAC algorithm" rather than=20
the more specific "HMAC algorithm".=20
The resulting text is going to be included in the next draft version=20
submission.

Best regards,
Kristof


"Jim Schaad" <ietf@augustcellars.com> schrieb am 09.03.2016 21:57:00:

> Von: "Jim Schaad" <ietf@augustcellars.com>
> An: "'Russ Housley'" <housley@vigilsec.com>, <dieter.sibold@ptb.de>
> Kopie: <draft-ietf-ntp-cms-for-nts-message@tools.ietf.org>
> Datum: 09.03.2016 21:57
> Betreff: RE: draft-ietf-ntp-cms-for-nts-message
>=20
> I don?t believe that the changes for negotiation should be any=20
> different than they are today.  You are just going to negotiate a=20
> MAC algorithm rather than a DIGEST algorithm.  The set of algorithms
> does not need to be changed.  The changes ae as simple as changing=20
> the sentence in section 7.3 from
>=20
> OLD
> The HMAC is generated with the hash algorithm specified by the=20
> client (see Section 7.2)
>=20
> NEW
> The HMAC is generated with the HMAC algorithm specified by the=20
> client (see section 7.2).
>=20
> If you want to be more forward looking, then it would be
>=20
> The MAC is generated with the MAC algorithm specified by the client=20
> (section 7.2)
>=20
> But that can easily be done in a future revision.  The whole object=20
> is to make sure that you have the path open in the future not that=20
> you follow the path today.=20
>=20
> I had to look to see if the cookie was calculated with a hash or a=20
> MAC based on the text from 7.2.  However it does appear that it does
> use a MAC algorithm so there would be no drastic changes for that=20
> text as well.
>=20
>=20
> Jim
>=20
>=20
> From: Russ Housley [mailto:housley@vigilsec.com]=20
> Sent: Wednesday, March 09, 2016 12:36 PM
> To: dieter.sibold@ptb.de
> Cc: draft-ietf-ntp-cms-for-nts-message@tools.ietf.org; Jim Schaad=20
> <ietf@augustcellars.com>
> Subject: Re: draft-ietf-ntp-cms-for-nts-message
>=20
> I think that Jim is just asking that the field be named in a way=20
> that lets an algorithm transition in the future.  The timing is your=20
call.
>=20
> Russ
>=20
>=20
> On Mar 9, 2016, at 4:18 AM, dieter.sibold@ptb.de wrote:
>=20

> Russ=20
>=20
> from our point of view there is no real reason not to include the=20
> suggested changes. Apart from the CMS-draft we shall have to=20
> introduce additional changes at least to the draft-ietf-network-
> time-security in order to make non hmac  MAC algorithm negotiable.=20
>=20
> We shall send you the proposed changes in the CMS draft  and also=20
> include  the proposed ASN.1 module additions.=20
>=20
> Dieter
>=20
> -------------------------------------
> Dr. Dieter Sibold
> Physikalisch-Technische Bundesanstalt
> Q.42 - Serversysteme und Datenhaltung
> QM-Verantwortlicher der Stelle IT
> Bundesallee 100=20
> D-38116 Braunschweig
> Tel:    +49-531-592-84 20
> E-Mail: dieter.sibold@ptb.de
>=20
>=20
> Russ Housley <housley@vigilsec.com> schrieb am 09.03.2016 00:34:50:
>=20
> > Von: Russ Housley <housley@vigilsec.com>=20
> > An: "Jim Schaad" <ietf@augustcellars.com>=20
> > Kopie: <draft-ietf-ntp-cms-for-nts-message@tools.ietf.org>=20
> > Datum: 09.03.2016 00:35=20
> > Betreff: Re: draft-ietf-ntp-cms-for-nts-message=20
> >=20
> > Jim:
> >=20
> > That is a pretty simple change.  I support it.
> >=20
> > Do the other authors of this document agree?
> >=20
> > Russ
> >=20
> >=20
> > On Mar 8, 2016, at 3:53 PM, Jim Schaad wrote:
> >=20
> > > This draft popped up for an early review of content types due to the =

fact
> > > that it is going to be released soon in OPENSSL.  I would like to=20
strongly
> > > push back on one of the features that is being placed in the=20
> structures for
> > > algorithm selection.
> > >=20
> > > You are fixing thing to only use HMAC by using the term=20
> hmacHashAlgos.  What
> > > happens when NIST produces a MAC algorithm using the SHA-3 hash=20
functions
> > > which does not require HMAC?  Is there a reason for not making=20
> this field a
> > > set of MAC algorithm identifiers?  RFC 4231 defines HMAC OIDs=20
> for all of the
> > > SHA-2 algorithms and RFC 3370 defines the same for SHA-1.
> > >=20
> > > Also, I experience a small irritation that you are not using=20
authenticated
> > > encryption but that is somewhat understandable.
> > >=20
> > > Jim
--=_alternative 003D3D6FC1257F79_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<font size=3D2 face=3D"sans-serif">Hello all,</font>
<br>
<br><font size=3D2 face=3D"sans-serif">a while ago we had some input from J=
im
Schaad, the conversation is cited below.</font>
<br><font size=3D2 face=3D"sans-serif">I would like to make known that it h=
as
been considered and the drafts have been changed accordingly, in the direct=
ion
of &quot;MAC algorithm&quot; rather than the more specific &quot;HMAC algor=
ithm&quot;.
</font>
<br><font size=3D2 face=3D"sans-serif">The resulting text is going to be in=
cluded
in the next draft version submission.</font>
<br>
<br><font size=3D2 face=3D"sans-serif">Best regards,</font>
<br><font size=3D2 face=3D"sans-serif">Kristof</font>
<br>
<br>
<br><tt><font size=3D2>&quot;Jim Schaad&quot; &lt;ietf@augustcellars.com&gt;
schrieb am 09.03.2016 21:57:00:<br>
<br>
&gt; Von: &quot;Jim Schaad&quot; &lt;ietf@augustcellars.com&gt;</font></tt>
<br><tt><font size=3D2>&gt; An: &quot;'Russ Housley'&quot; &lt;housley@vigi=
lsec.com&gt;,
&lt;dieter.sibold@ptb.de&gt;</font></tt>
<br><tt><font size=3D2>&gt; Kopie: &lt;draft-ietf-ntp-cms-for-nts-message@t=
ools.ietf.org&gt;</font></tt>
<br><tt><font size=3D2>&gt; Datum: 09.03.2016 21:57</font></tt>
<br><tt><font size=3D2>&gt; Betreff: RE: draft-ietf-ntp-cms-for-nts-message=
</font></tt>
<br><tt><font size=3D2>&gt; <br>
&gt; I don&#8217;t believe that the changes for negotiation should be any <=
br>
&gt; different than they are today. &nbsp;You are just going to negotiate
a <br>
&gt; MAC algorithm rather than a DIGEST algorithm. &nbsp;The set of algorit=
hms<br>
&gt; does not need to be changed. &nbsp;The changes ae as simple as changing
<br>
&gt; the sentence in section 7.3 from</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; OLD</font></tt>
<br><tt><font size=3D2>&gt; The HMAC is generated with the hash algorithm
specified by the <br>
&gt; client (see Section 7.2)</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; NEW</font></tt>
<br><tt><font size=3D2>&gt; The HMAC is generated with the HMAC algorithm
specified by the <br>
&gt; client (see section 7.2).</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; If you want to be more forward looking, then
it would be</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; The MAC is generated with the MAC algorithm spe=
cified
by the client <br>
&gt; (section 7.2)</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; But that can easily be done in a future revisio=
n.
&nbsp;The whole object <br>
&gt; is to make sure that you have the path open in the future not that
<br>
&gt; you follow the path today. &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; I had to look to see if the cookie was calculat=
ed
with a hash or a <br>
&gt; MAC based on the text from 7.2. &nbsp;However it does appear that
it does<br>
&gt; use a MAC algorithm so there would be no drastic changes for that
<br>
&gt; text as well.</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; Jim</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; From: Russ Housley [</font></tt><a href=3Dmailt=
o:housley@vigilsec.com><tt><font size=3D2>mailto:housley@vigilsec.com</font=
></tt></a><tt><font size=3D2>]
<br>
&gt; Sent: Wednesday, March 09, 2016 12:36 PM<br>
&gt; To: dieter.sibold@ptb.de<br>
&gt; Cc: draft-ietf-ntp-cms-for-nts-message@tools.ietf.org; Jim Schaad
<br>
&gt; &lt;ietf@augustcellars.com&gt;<br>
&gt; Subject: Re: draft-ietf-ntp-cms-for-nts-message</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; I think that Jim is just asking that the field
be named in a way <br>
&gt; that lets an algorithm transition in the future. &nbsp;The timing
is your call.</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; Russ</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; &nbsp;</font></tt>
<br><tt><font size=3D2>&gt; On Mar 9, 2016, at 4:18 AM, dieter.sibold@ptb.de
wrote:</font></tt>
<br><tt><font size=3D2>&gt; <br>
</font></tt>
<br><tt><font size=3D2>&gt; Russ <br>
&gt; <br>
&gt; from our point of view there is no real reason not to include the
<br>
&gt; suggested changes. Apart from the CMS-draft we shall have to <br>
&gt; introduce additional changes at least to the draft-ietf-network-<br>
&gt; time-security in order to make non hmac &nbsp;MAC algorithm negotiable.
<br>
&gt; <br>
&gt; We shall send you the proposed changes in the CMS draft &nbsp;and
also <br>
&gt; include &nbsp;the proposed ASN.1 module additions. <br>
&gt; <br>
&gt; Dieter<br>
&gt; <br>
&gt; -------------------------------------<br>
&gt; Dr. Dieter Sibold<br>
&gt; Physikalisch-Technische Bundesanstalt<br>
&gt; Q.42 - Serversysteme und Datenhaltung<br>
&gt; QM-Verantwortlicher der Stelle IT<br>
&gt; Bundesallee 100 <br>
&gt; D-38116 Braunschweig<br>
&gt; Tel: &nbsp; &nbsp;+49-531-592-84 20<br>
&gt; E-Mail: dieter.sibold@ptb.de<br>
&gt; <br>
&gt; <br>
&gt; Russ Housley &lt;housley@vigilsec.com&gt; schrieb am 09.03.2016 00:34:=
50:<br>
&gt; <br>
&gt; &gt; Von: Russ Housley &lt;housley@vigilsec.com&gt; <br>
&gt; &gt; An: &quot;Jim Schaad&quot; &lt;ietf@augustcellars.com&gt; <br>
&gt; &gt; Kopie: &lt;draft-ietf-ntp-cms-for-nts-message@tools.ietf.org&gt;
<br>
&gt; &gt; Datum: 09.03.2016 00:35 <br>
&gt; &gt; Betreff: Re: draft-ietf-ntp-cms-for-nts-message <br>
&gt; &gt; <br>
&gt; &gt; Jim:<br>
&gt; &gt; <br>
&gt; &gt; That is a pretty simple change. &nbsp;I support it.<br>
&gt; &gt; <br>
&gt; &gt; Do the other authors of this document agree?<br>
&gt; &gt; <br>
&gt; &gt; Russ<br>
&gt; &gt; <br>
&gt; &gt; <br>
&gt; &gt; On Mar 8, 2016, at 3:53 PM, Jim Schaad wrote:<br>
&gt; &gt; <br>
&gt; &gt; &gt; This draft popped up for an early review of content types
due to the fact<br>
&gt; &gt; &gt; that it is going to be released soon in OPENSSL. &nbsp;I
would like to strongly<br>
&gt; &gt; &gt; push back on one of the features that is being placed in
the <br>
&gt; structures for<br>
&gt; &gt; &gt; algorithm selection.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; You are fixing thing to only use HMAC by using the term
<br>
&gt; hmacHashAlgos. &nbsp;What<br>
&gt; &gt; &gt; happens when NIST produces a MAC algorithm using the SHA-3
hash functions<br>
&gt; &gt; &gt; which does not require HMAC? &nbsp;Is there a reason for
not making <br>
&gt; this field a<br>
&gt; &gt; &gt; set of MAC algorithm identifiers? &nbsp;RFC 4231 defines
HMAC OIDs <br>
&gt; for all of the<br>
&gt; &gt; &gt; SHA-2 algorithms and RFC 3370 defines the same for SHA-1.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Also, I experience a small irritation that you are not using
authenticated<br>
&gt; &gt; &gt; encryption but that is somewhat understandable.<br>
&gt; &gt; &gt; <br>
&gt; &gt; &gt; Jim</font></tt>
--=_alternative 003D3D6FC1257F79_=--

--===============2410953197326452215==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2410953197326452215==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 06:01:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D5DE12D5EA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 06:01:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level:
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 MkwW6G86Sbwx for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 06:01:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 7448B12D522 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 06:01:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4A06586DB13 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 13:01:16 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 4F61C86D55E for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 12:11:35 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1agWlv-00059D-EJ for ntpwg@lists.ntp.org; Thu, 17 Mar 2016 12:11:35 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2HCBLXq015573-u2HCBLXs015573 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 13:11:21 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 84FAD3A185 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 13:11:21 +0100 (CET)
In-Reply-To: <56EA28D6.9000009@nwtime.org>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org>	<56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de>	<E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de>	<E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de>	<E1afdbj-000PXK-SU@stenn.ntp.org> <BC364786-C84B-4BB3-9AF8-D4C92FA0BFA5@ptb.de>	<56E8CFD3.3020808@nwtime.org> <E38A7911-ED98-414E-A4A7-6DEEBD764AEE@ptb.de> <56EA28D6.9000009@nwtime.org>
To: ntpwg@lists.ntp.org
MIME-Version: 1.0
Message-ID: <OF8C63D0A1.2487F587-ONC1257F79.0040F9D2-C1257F79.0042F48F@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 17 Mar 2016 13:11:19 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4588783706940911494=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============4588783706940911494==
Content-Type: multipart/alternative; boundary="=_alternative 0042F48FC1257F79_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0042F48FC1257F79_=
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

> >> D: The MAC for the protection of the NTP packet cannot be
> >>   calculated until the cookie exchange has been successfully
> >>   finished.
> >>
> >> H: NTS does not itself provide MAC protection of the NTP packet
> >>   until the NTS cookie exchange has been successfully finished.
> >>
> >> Again, I think my phrasing is cleaner and makes no substantive=20
changes.
> >> Is there anything in my proposed sentence you disagree with?
> >=20
> > That is not quite the same. Our formulation states that NTS does=20
> not add a MAC to the exchanges considered. Your is not false but i=20
> implies that NTS does not protect the NTP packet which is false. In=20
> order to use your sentence it would have be changed to:
> >=20
> > NTS does not itself provide MAC protection to the NTP header until
> the NTS cookie exchange has been successfully finished
> >=20
> > It this okay with you?
>=20
> How about:
>=20
>  NTS provides MAC protection starting with the NTP packet that
>  starts the 4th NTS exchange (the 7th NTP packet that contains
>  an NTS extension field).

The initial exchanges (Access, Association, Cookie Exchange) are only one=20
possible way to exchange the cookie successfully.=20
The draft demands that this exchange is supported, but it also allows for=20
the cookie to be exchanged via other means.=20
Therefore I would prefer to not bring the "4th exchange" formulation into=20
the text, except in a context like "until the cookie has been successfully =

exchanged (which is usually by the end of the 3rd exchange, when using the =

access, association and cookie exchanges provided in [Quote appropriate=20
appendix in main NTS draft])".
This, on the other hand, is quite lengthy, and also not very precise=20
information.
Overall, I still strongly prefer:
> > NTS does not itself provide MAC protection to the NTP header until
> > the NTS cookie exchange has been successfully finished.


> >> D: Therefore, NTS does not append a MAC to (and thus does not
> >>   protect the NTP header of) the messages associated to access,
> >>   association and cookie exchange.
> >>
> >> H: If some other form of MAC protection of the NTP packet and
> >>   the NTS access, association, and cookie exchange is desired
> >>   before NTS is able to provide it, existing alternative MAC
> >>   protection MAY be used.
> >>
> >> I don't fully understand what you mean when you say "NTS does not=20
append
> >> a MAC" - do you mean a legacy-MAC?  My understanding is that
> >> NTS *includes* MAC protection starting with the 4th NTS exchange,=20
which
> >> is why I offer my language.  I see no substantive difference between
> >> your wording and mine.  I think my language is cleaner.
> >> Is there something you disagree with in what I have suggested?
> >>
> >=20
> > If we formulate the second sentence as above the third sentence is
> not necessary. NTS does not explicitly prohibit the usage of the the
> alternative MAC, but I don?t want to recommend it. Therefore, I=20
> suggest to discard the third sentence completely.

I second this, again.


> >=20
> >> I then add:
> >>
> >> The state of NTS MAC protection can be seen in the Field Type of
> >> the NTS extension field.
> >>
> > I don?t understand?
>=20
> The top 4 bits of the Extension Field Type contain high-level=20
information:
>=20
>  0x8000  Error (Autokey)
>  0x4000  Response (Autokey, I Do)
>  0x2000  MAC not required
>  0x1000  MAC included
>=20
> so in the case of NTS, the Field Type would be:
>=20
>  0x0004   NTS, MAC SHOULD/MUST be provided separately
>  0x1004 NTS, MAC included in the packet (implicitly
>    indicates no subsequent separate MAC is needed)
>=20
> We can debate the usefulness of:
>=20
>  0x2004   NTS packet; MAC MAY be provided separately
>  0x3004 NTS packet; MAC included and MAY be provided
>    separately

I would like to discuss this issue separately. We are creating so much=20
content on this mailing list that noise is becoming a real problem IMO.


>=20
> >> This is simply a matter of "fact", if we assume that my proposals are
>=20
> So is the following acceptable to you:
>=20
>  The NTS messages providing access, association, and
>  cookie exchange are encapsulated in an NTP extension field
>  which is piggybacked onto NTP packets.
>=20
> Hmmm, how about:
>=20
>  An NTS message includes access, association, authentication,
>  and/or cookie data encapsulated in an NTP extension field
>  which is piggybacked onto an NTP packet.
>=20
>  NTS provides MAC protection starting with the NTP packet that
>  starts the 4th NTS exchange (the 7th NTP packet that contains
>  an NTS extension field).

See above. There is too much to potentially nitpick about the "4th=20
exchange" bit, and I would prefer to not use it.


>  If MAC protection of the NTP packet and the NTS access,
>  association, and cookie exchange is desired on NTP packets
>  before the start of the 4th NTS exchange (the 7th NTP packet
>  that contains an NTS exntension field), existing alternative
>  MAC protection MAY be used.

To be honest, I find this unnecessarily stressing the issue.=20
The statement "existing alternative MAC protection MAY be used" is always=20
true for any NTS-protected NTP packet.=20
Your proposed formulation would implicitly enable the misconception that=20
the initial exchanges somehow differ from later exchanges in this regard.
--=_alternative 0042F48FC1257F79_=
Content-Type: text/html; charset="ISO-8859-1"
Content-Transfer-Encoding: quoted-printable

<tt><font size=3D2>&gt; &gt;&gt; D: The MAC for the protection of the NTP
packet cannot be<br>
&gt; &gt;&gt; &nbsp; calculated until the cookie exchange has been successf=
ully<br>
&gt; &gt;&gt; &nbsp; finished.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; H: NTS does not itself provide MAC protection of the NTP
packet<br>
&gt; &gt;&gt; &nbsp; until the NTS cookie exchange has been successfully
finished.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; Again, I think my phrasing is cleaner and makes no substantive
changes.<br>
&gt; &gt;&gt; Is there anything in my proposed sentence you disagree with?<=
br>
&gt; &gt; <br>
&gt; &gt; That is not quite the same. Our formulation states that NTS does
<br>
&gt; not add a MAC to the exchanges considered. Your is not false but i
<br>
&gt; implies that NTS does not protect the NTP packet which is false. In
<br>
&gt; order to use your sentence it would have be changed to:<br>
&gt; &gt; <br>
&gt; &gt; NTS does not itself provide MAC protection to the NTP header
until<br>
&gt; the NTS cookie exchange has been successfully finished<br>
&gt; &gt; <br>
&gt; &gt; It this okay with you?<br>
&gt; <br>
&gt; How about:<br>
&gt; <br>
&gt; &nbsp;NTS provides MAC protection starting with the NTP packet that<br>
&gt; &nbsp;starts the 4th NTS exchange (the 7th NTP packet that contains<br>
&gt; &nbsp;an NTS extension field).</font></tt>
<br>
<br><tt><font size=3D2>The initial exchanges (Access, Association, Cookie
Exchange) are only one possible way to exchange the cookie successfully.
</font></tt>
<br><tt><font size=3D2>The draft demands that this exchange is supported,
but it also allows for the cookie to be exchanged via other means. </font><=
/tt>
<br><tt><font size=3D2>Therefore I would prefer to not bring the &quot;4th
exchange&quot; formulation into the text, except in a context like &quot;un=
til
the cookie has been successfully exchanged (which is usually by the end
of the 3rd exchange, when using the access, association and cookie exchanges
provided in [Quote appropriate appendix in main NTS draft])&quot;.</font></=
tt>
<br><tt><font size=3D2>This, on the other hand, is quite lengthy, and also
not very precise information.</font></tt>
<br><tt><font size=3D2>Overall, I still strongly prefer:</font></tt>
<br><tt><font size=3D2>&gt; &gt; NTS does not itself provide MAC protection
to the NTP header until<br>
&gt; &gt; the NTS cookie exchange has been successfully finished.</font></t=
t>
<br><tt><font size=3D2><br>
<br>
&gt; &gt;&gt; D: Therefore, NTS does not append a MAC to (and thus does
not<br>
&gt; &gt;&gt; &nbsp; protect the NTP header of) the messages associated
to access,<br>
&gt; &gt;&gt; &nbsp; association and cookie exchange.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; H: If some other form of MAC protection of the NTP packet
and<br>
&gt; &gt;&gt; &nbsp; the NTS access, association, and cookie exchange is
desired<br>
&gt; &gt;&gt; &nbsp; before NTS is able to provide it, existing alternative
MAC<br>
&gt; &gt;&gt; &nbsp; protection MAY be used.<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; I don't fully understand what you mean when you say &quot;NTS
does not append<br>
&gt; &gt;&gt; a MAC&quot; - do you mean a legacy-MAC? &nbsp;My understanding
is that<br>
&gt; &gt;&gt; NTS *includes* MAC protection starting with the 4th NTS excha=
nge,
which<br>
&gt; &gt;&gt; is why I offer my language. &nbsp;I see no substantive differ=
ence
between<br>
&gt; &gt;&gt; your wording and mine. &nbsp;I think my language is cleaner.<=
br>
&gt; &gt;&gt; Is there something you disagree with in what I have suggested=
?<br>
&gt; &gt;&gt;<br>
&gt; &gt; <br>
&gt; &gt; If we formulate the second sentence as above the third sentence
is<br>
&gt; not necessary. NTS does not explicitly prohibit the usage of the the<b=
r>
&gt; alternative MAC, but I don&#8217;t want to recommend it. Therefore, I =
<br>
&gt; suggest to discard the third sentence completely.</font></tt>
<br>
<br><tt><font size=3D2>I second this, again.</font></tt>
<br>
<br><tt><font size=3D2><br>
&gt; &gt; <br>
&gt; &gt;&gt; I then add:<br>
&gt; &gt;&gt;<br>
&gt; &gt;&gt; The state of NTS MAC protection can be seen in the Field
Type of<br>
&gt; &gt;&gt; the NTS extension field.<br>
&gt; &gt;&gt;<br>
&gt; &gt; I don&#8217;t understand?<br>
&gt; <br>
&gt; The top 4 bits of the Extension Field Type contain high-level informat=
ion:<br>
&gt; <br>
&gt; &nbsp;0x8000 &nbsp;Error (Autokey)<br>
&gt; &nbsp;0x4000 &nbsp;Response (Autokey, I Do)<br>
&gt; &nbsp;0x2000 &nbsp;MAC not required<br>
&gt; &nbsp;0x1000 &nbsp;MAC included<br>
&gt; <br>
&gt; so in the case of NTS, the Field Type would be:<br>
&gt; <br>
&gt; &nbsp;0x0004 &nbsp; NTS, MAC SHOULD/MUST be provided separately<br>
&gt; &nbsp;0x1004 NTS, MAC included in the packet (implicitly<br>
&gt; &nbsp; &nbsp;indicates no subsequent separate MAC is needed)<br>
&gt; <br>
&gt; We can debate the usefulness of:<br>
&gt; <br>
&gt; &nbsp;0x2004 &nbsp; NTS packet; MAC MAY be provided separately<br>
&gt; &nbsp;0x3004 NTS packet; MAC included and MAY be provided<br>
&gt; &nbsp; &nbsp;separately</font></tt>
<br>
<br><tt><font size=3D2>I would like to discuss this issue separately. We
are creating so much content on this mailing list that noise is becoming
a real problem IMO.</font></tt>
<br>
<br><tt><font size=3D2><br>
&gt; <br>
&gt; &gt;&gt; This is simply a matter of &quot;fact&quot;, if we assume
that my proposals are<br>
&gt; <br>
&gt; So is the following acceptable to you:<br>
&gt; <br>
&gt; &nbsp;The NTS messages providing access, association, and<br>
&gt; &nbsp;cookie exchange are encapsulated in an NTP extension field<br>
&gt; &nbsp;which is piggybacked onto NTP packets.<br>
&gt; <br>
&gt; Hmmm, how about:<br>
&gt; <br>
&gt; &nbsp;An NTS message includes access, association, authentication,<br>
&gt; &nbsp;and/or cookie data encapsulated in an NTP extension field<br>
&gt; &nbsp;which is piggybacked onto an NTP packet.<br>
&gt; <br>
&gt; &nbsp;NTS provides MAC protection starting with the NTP packet that<br>
&gt; &nbsp;starts the 4th NTS exchange (the 7th NTP packet that contains<br>
&gt; &nbsp;an NTS extension field).</font></tt>
<br>
<br><tt><font size=3D2>See above. There is too much to potentially nitpick
about the &quot;4th exchange&quot; bit, and I would prefer to not use it.</=
font></tt>
<br>
<br><tt><font size=3D2><br>
&gt; &nbsp;If MAC protection of the NTP packet and the NTS access,<br>
&gt; &nbsp;association, and cookie exchange is desired on NTP packets<br>
&gt; &nbsp;before the start of the 4th NTS exchange (the 7th NTP packet<br>
&gt; &nbsp;that contains an NTS exntension field), existing alternative<br>
&gt; &nbsp;MAC protection MAY be used.</font></tt>
<br>
<br><tt><font size=3D2>To be honest, I find this unnecessarily stressing
the issue. </font></tt>
<br><tt><font size=3D2>The statement &quot;existing alternative MAC protect=
ion
MAY be used&quot; is always true for any NTS-protected NTP packet. </font><=
/tt>
<br><tt><font size=3D2>Your proposed formulation would implicitly enable
the misconception that the initial exchanges somehow differ from later
exchanges in this regard.</font></tt>
--=_alternative 0042F48FC1257F79_=--

--===============4588783706940911494==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============4588783706940911494==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 08:36:08 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 16C6C12D950 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 08:36:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.471
X-Spam-Level:
X-Spam-Status: No, score=-6.471 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, MIME_HTML_MOSTLY=0.428, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 Mkb1rv_-0cGa for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 08:35:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 14E1F12DC00 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 08:35:56 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E413686DB1D for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 15:35:55 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 2921B86DABD for <ntpwg@lists.ntp.org>; Wed, 16 Mar 2016 12:14:45 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1agALT-0003Tr-Vf; Wed, 16 Mar 2016 12:14:45 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2GCEWld018152-u2GCEWlf018152 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 16 Mar 2016 13:14:32 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 7CA45397A1; Wed, 16 Mar 2016 13:14:32 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.2 \(3112\))
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <56E8CFD3.3020808@nwtime.org>
Date: Wed, 16 Mar 2016 13:14:30 +0100
Message-Id: <E38A7911-ED98-414E-A4A7-6DEEBD764AEE@ptb.de>
References: <E1aeXq8-000KsN-LL@stenn.ntp.org> <56CF0BB9.4000702@nwtime.org> <56E1A771.4030804@averillpark.net> <E1aeIep-000JxB-Ij@stenn.ntp.org> <OF73DC789D.D566903F-ONC1257F73.00363ED2-C1257F73.0037170C@ptb.de> <E1aeLvx-000K9w-No@stenn.ntp.org> <20160311135635.GD28476@localhost> <OF84B25A64.04013758-ONC1257F74.0044809F-C1257F74.004480A1@ptb.de> <E1aew1D-000MXa-KR@stenn.ntp.org> <20160314095133.GA3234@localhost> <E0361A2C-350E-45CD-9017-8D9775A02A9B@ptb.de> <E1afdbj-000PXK-SU@stenn.ntp.org> <BC364786-C84B-4BB3-9AF8-D4C92FA0BFA5@ptb.de> <56E8CFD3.3020808@nwtime.org>
To: Harlan Stenn <stenn@nwtime.org>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 17 Mar 2016 15:35:17 +0000
Subject: Re: [ntpwg] Early Allocations for NTS drafts from the IETF NTP Working Group
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============2591919968690012336=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2591919968690012336==
Content-Type: multipart/alternative; boundary="Apple-Mail=_060F2A50-FE3D-4284-AD14-4931A7EDCAEF"


--Apple-Mail=_060F2A50-FE3D-4284-AD14-4931A7EDCAEF
Content-Type: text/plain;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable


> Am 16.03.2016 um 04:15 schrieb Harlan Stenn <stenn@nwtime.org>:
>=20
> Howdy sir,
>=20
> On 3/15/16 3:26 AM, Dr. Dieter Sibold wrote:
>>=20
>>> Am 15.03.2016 um 02:17 schrieb Harlan Stenn <stenn@ntp.org>:
>>>=20
>>> "Dr. Dieter Sibold" writes:
>>>>=20
>>>> Hi all,
>>>> to end this discussion, I propose that we add the following =
language to=20
>>>> the Security Considerations of the draft:=20
>>>> draft-ietf-ntp-using-nts-for-ntp-04
>>>>=20
>>>> <section title=3D3D"Protection for Initial Messages">
>>>>   <t>The messages for access, association, and cookie exchange are
>>>>   encapsulated in NTP extension fields which are piggybacked onto =
NTP
>>>>   packets. The MAC for the protection of the NTP packet cannot be
>>>>   calculated until the cookie exchange has been successfully =
finished.
>>>>    Therefore, NTS does not append a MAC to (and thus does not =
protect the
>>>>   NTP header of) the messages associated to access, association and
>>>>   cookie exchange.</t>
>>>> </section>
>>>> <section title=3D3D"Protection for Initial Messages">
>>>>   <t>The messages for access, association, and cookie exchange are
>>>>   encapsulated in NTP extension fields which are piggybacked onto =
NTP
>>>>   packets. The MAC for the protection of the NTP packet cannot be
>>>>   calculated until the cookie exchange has been successfully =
finished.
>>>>    Therefore, NTS does not append a MAC to (and thus does not =
protect the
>>>>   NTP header of) the messages associated to access, association and
>>>>   cookie exchange.</t>
>>>> </section>
>>>=20
>>> How about this instead:
>>>=20
>>>  <section title=3D"Protection for Initial Messages">
>>>    <t>The NTS messages providing access, association, and cookie
>>>    exchange are encapsulated in an NTP extension field which is
>>>    piggybacked onto NTP packets. NTS does not itself provide MAC
>>>    protection of the NTP packet until the NTS cookie exchange has =
been
>>>    successfully finished.  If some other form of MAC protection of =
the
>>>    NTP packet and the NTS access, association, and cookie exchange =
is
>>>    desired before NTS is able to provide it, existing alternative =
MAC
>>>    protection MAY be used.</t>
>>>    <t>The state of NTS MAC protection can be seen in the Field Type =
of
>>>    the NTS extension field.</t>=20
>>>  </section>
>>>=20
>>> My understanding is that there will be at most 1 NTS EF in any given =
NTP
>>> packet.  I might wrong about that, and if I am, I'm curious why we'd
>>> want multiple NTS EFs in a single NTP packet.
>>>=20
>>> H
>=20
>> Harlan, I don=E2=80=99t agree. This might be work, but I strongly =
recommend NOT to include this text into the document.
>=20
> What do you disagree with?
>=20
> Sentence by sentence:
>=20
> D: The messages for access, association, and cookie exchange
>   are encapsulated in NTP extension fields which are
>   piggybacked onto NTP packets.
>=20
> H: The NTS messages providing access, association, and
>   cookie exchange are encapsulated in an NTP extension field
>   which is piggybacked onto NTP packets.
>=20
> I think my phrasing is cleaner and makes no substantive changes.
> Is there anything in my changes to this sentence you disagree with?

Agree

>=20
> D: The MAC for the protection of the NTP packet cannot be
>   calculated until the cookie exchange has been successfully
>   finished.
>=20
> H: NTS does not itself provide MAC protection of the NTP packet
>   until the NTS cookie exchange has been successfully finished.
>=20
> Again, I think my phrasing is cleaner and makes no substantive =
changes.
> Is there anything in my proposed sentence you disagree with?

That is not quite the same. Our formulation states that NTS does not add =
a MAC to the exchanges considered. Your is not false but i implies that =
NTS does not protect the NTP packet which is false. In order to use your =
sentence it would have be changed to:

NTS does not itself provide MAC protection to the NTP header until the =
NTS cookie exchange has been successfully finished

It this okay with you?

>=20
> D: Therefore, NTS does not append a MAC to (and thus does not
>   protect the NTP header of) the messages associated to access,
>   association and cookie exchange.
>=20
> H: If some other form of MAC protection of the NTP packet and
>   the NTS access, association, and cookie exchange is desired
>   before NTS is able to provide it, existing alternative MAC
>   protection MAY be used.
>=20
> I don't fully understand what you mean when you say "NTS does not =
append
> a MAC" - do you mean a legacy-MAC?  My understanding is that
> NTS *includes* MAC protection starting with the 4th NTS exchange, =
which
> is why I offer my language.  I see no substantive difference between
> your wording and mine.  I think my language is cleaner.
> Is there something you disagree with in what I have suggested?
>=20

If we formulate the second sentence as above the third sentence is not =
necessary. NTS does not explicitly prohibit the usage of the the =
alternative MAC, but I don=E2=80=99t want to recommend it. Therefore, I =
suggest to discard the third sentence completely.

> I then add:
>=20
> The state of NTS MAC protection can be seen in the Field Type of
> the NTS extension field.
>=20
I don=E2=80=99t understand?


> This is simply a matter of "fact", if we assume that my proposals are
> accepted for how additions to the extension Field Type will be =
handled.
> This is already the case for Tal's checksum complement proposal, see:
>=20
> https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/ =
<https://datatracker.ietf.org/doc/draft-ietf-ntp-checksum-trailer/>
>=20
Sorry, but I still haven=E2=80=99t had time to look at these proposals.=20=


> Also see the 5 proposals I've submitted.
> --=20
> Harlan Stenn <stenn@nwtime.org <mailto:stenn@nwtime.org>>
> http://networktimefoundation.org <http://networktimefoundation.org/> - =
be a member!


--Apple-Mail=_060F2A50-FE3D-4284-AD14-4931A7EDCAEF
Content-Type: text/html;
	charset=utf-8
Content-Transfer-Encoding: quoted-printable
X-MIME-Autoconverted: from 8bit to quoted-printable by mx1.bs.ptb.de id u2GCEWld018152-u2GCEWlf018152

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html charse=
t=3Dutf-8"></head><body style=3D"word-wrap: break-word; -webkit-nbsp-mode=
: space; -webkit-line-break: after-white-space;" class=3D""><br class=3D"=
"><div><blockquote type=3D"cite" class=3D""><div class=3D"">Am 16.03.2016=
 um 04:15 schrieb Harlan Stenn &lt;<a href=3D"mailto:stenn@nwtime.org" cl=
ass=3D"">stenn@nwtime.org</a>&gt;:</div><br class=3D"Apple-interchange-ne=
wline"><div class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; lett=
er-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; t=
ext-transform: none; white-space: normal; widows: auto; word-spacing: 0px=
; -webkit-text-stroke-width: 0px; float: none; display: inline !important=
;" class=3D"">Howdy sir,</span><br style=3D"font-family: Helvetica; font-=
size: 12px; font-style: normal; font-variant: normal; font-weight: normal=
; letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; tex
 t-transform: none; white-space: normal; widows: auto; word-spacing: 0px;=
 -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: He=
lvetica; font-size: 12px; font-style: normal; font-variant: normal; font-=
weight: normal; letter-spacing: normal; orphans: auto; text-align: start;=
 text-indent: 0px; text-transform: none; white-space: normal; widows: aut=
o; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span s=
tyle=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font=
-variant: normal; font-weight: normal; letter-spacing: normal; orphans: a=
uto; text-align: start; text-indent: 0px; text-transform: none; white-spa=
ce: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0=
px; float: none; display: inline !important;" class=3D"">On 3/15/16 3:26 =
AM, Dr. Dieter Sibold wrote:</span><br style=3D"font-family: Helvetica; f=
ont-size: 12px; font-style: normal; font-variant: normal; font-weight: no=
rmal; letter-spacing: normal; orphans: auto; text-align: star
 t; text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><blo=
ckquote type=3D"cite" style=3D"font-family: Helvetica; font-size: 12px; f=
ont-style: normal; font-variant: normal; font-weight: normal; letter-spac=
ing: normal; orphans: auto; text-align: start; text-indent: 0px; text-tra=
nsform: none; white-space: normal; widows: auto; word-spacing: 0px; -webk=
it-text-stroke-width: 0px;" class=3D""><br class=3D""><blockquote type=3D=
"cite" class=3D"">Am 15.03.2016 um 02:17 schrieb Harlan Stenn &lt;<a href=
=3D"mailto:stenn@ntp.org" class=3D"">stenn@ntp.org</a>&gt;:<br class=3D""=
><br class=3D"">"Dr. Dieter Sibold" writes:<br class=3D""><blockquote typ=
e=3D"cite" class=3D""><br class=3D"">Hi all,<br class=3D"">to end this di=
scussion, I propose that we add the following language to<span class=3D"A=
pple-converted-space">&nbsp;</span><br class=3D"">the Security Considerat=
ions of the draft:<span class=3D"Apple-converted-space">&nbsp;</span><br =
class=3D"">draft
 -ietf-ntp-using-nts-for-ntp-04<br class=3D""><br class=3D"">&lt;section =
title=3D3D"Protection for Initial Messages"&gt;<br class=3D"">&nbsp;&nbsp=
;&lt;t&gt;The messages for access, association, and cookie exchange are<b=
r class=3D"">&nbsp;&nbsp;encapsulated in NTP extension fields which are p=
iggybacked onto NTP<br class=3D"">&nbsp;&nbsp;packets. The MAC for the pr=
otection of the NTP packet cannot be<br class=3D"">&nbsp;&nbsp;calculated=
 until the cookie exchange has been successfully finished.<br class=3D"">=
&nbsp;&nbsp;&nbsp;Therefore, NTS does not append a MAC to (and thus does =
not protect the<br class=3D"">&nbsp;&nbsp;NTP header of) the messages ass=
ociated to access, association and<br class=3D"">&nbsp;&nbsp;cookie excha=
nge.&lt;/t&gt;<br class=3D"">&lt;/section&gt;<br class=3D"">&lt;section t=
itle=3D3D"Protection for Initial Messages"&gt;<br class=3D"">&nbsp;&nbsp;=
&lt;t&gt;The messages for access, association, and cookie exchange are<br=
 class=3D"">&nbsp;&nbsp;encapsulated in NTP extension fields which are pi=
ggybac
 ked onto NTP<br class=3D"">&nbsp;&nbsp;packets. The MAC for the protecti=
on of the NTP packet cannot be<br class=3D"">&nbsp;&nbsp;calculated until=
 the cookie exchange has been successfully finished.<br class=3D"">&nbsp;=
&nbsp;&nbsp;Therefore, NTS does not append a MAC to (and thus does not pr=
otect the<br class=3D"">&nbsp;&nbsp;NTP header of) the messages associate=
d to access, association and<br class=3D"">&nbsp;&nbsp;cookie exchange.&l=
t;/t&gt;<br class=3D"">&lt;/section&gt;<br class=3D""></blockquote><br cl=
ass=3D"">How about this instead:<br class=3D""><br class=3D"">&nbsp;&lt;s=
ection title=3D"Protection for Initial Messages"&gt;<br class=3D"">&nbsp;=
&nbsp;&nbsp;&lt;t&gt;The NTS messages providing access, association, and =
cookie<br class=3D"">&nbsp;&nbsp;&nbsp;exchange are encapsulated in an NT=
P extension field which is<br class=3D"">&nbsp;&nbsp;&nbsp;piggybacked on=
to NTP packets. NTS does not itself provide MAC<br class=3D"">&nbsp;&nbsp=
;&nbsp;protection of the NTP packet until the NTS cookie exchange has bee=
n<br c
 lass=3D"">&nbsp;&nbsp;&nbsp;successfully finished. &nbsp;If some other f=
orm of MAC protection of the<br class=3D"">&nbsp;&nbsp;&nbsp;NTP packet a=
nd the NTS access, association, and cookie exchange is<br class=3D"">&nbs=
p;&nbsp;&nbsp;desired before NTS is able to provide it, existing alternat=
ive MAC<br class=3D"">&nbsp;&nbsp;&nbsp;protection MAY be used.&lt;/t&gt;=
<br class=3D"">&nbsp;&nbsp;&nbsp;&lt;t&gt;The state of NTS MAC protection=
 can be seen in the Field Type of<br class=3D"">&nbsp;&nbsp;&nbsp;the NTS=
 extension field.&lt;/t&gt;<span class=3D"Apple-converted-space">&nbsp;</=
span><br class=3D"">&nbsp;&lt;/section&gt;<br class=3D""><br class=3D"">M=
y understanding is that there will be at most 1 NTS EF in any given NTP<b=
r class=3D"">packet. &nbsp;I might wrong about that, and if I am, I'm cur=
ious why we'd<br class=3D"">want multiple NTS EFs in a single NTP packet.=
<br class=3D""><br class=3D"">H<br class=3D""></blockquote></blockquote><=
br style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-var
 iant: normal; font-weight: normal; letter-spacing: normal; orphans: auto=
; text-align: start; text-indent: 0px; text-transform: none; white-space:=
 normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;=
" class=3D""><blockquote type=3D"cite" style=3D"font-family: Helvetica; f=
ont-size: 12px; font-style: normal; font-variant: normal; font-weight: no=
rmal; letter-spacing: normal; orphans: auto; text-align: start; text-inde=
nt: 0px; text-transform: none; white-space: normal; widows: auto; word-sp=
acing: 0px; -webkit-text-stroke-width: 0px;" class=3D"">Harlan, I don=E2=80=
=99t agree. This might be work, but I strongly recommend NOT to include t=
his text into the document.<br class=3D""></blockquote><br style=3D"font-=
family: Helvetica; font-size: 12px; font-style: normal; font-variant: nor=
mal; font-weight: normal; letter-spacing: normal; orphans: auto; text-ali=
gn: start; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"=20
 class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; font-=
style: normal; font-variant: normal; font-weight: normal; letter-spacing:=
 normal; orphans: auto; text-align: start; text-indent: 0px; text-transfo=
rm: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-t=
ext-stroke-width: 0px; float: none; display: inline !important;" class=3D=
"">What do you disagree with?</span><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: n=
ormal; letter-spacing: normal; orphans: auto; text-align: start; text-ind=
ent: 0px; text-transform: none; white-space: normal; widows: auto; word-s=
pacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"fon=
t-family: Helvetica; font-size: 12px; font-style: normal; font-variant: n=
ormal; font-weight: normal; letter-spacing: normal; orphans: auto; text-a=
lign: start; text-indent: 0px; text-transform: none; white-space: normal;=
 widows: auto; word-spacing: 0px; -webkit-text-stroke-width:=20
 0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px;=
 font-style: normal; font-variant: normal; font-weight: normal; letter-sp=
acing: normal; orphans: auto; text-align: start; text-indent: 0px; text-t=
ransform: none; white-space: normal; widows: auto; word-spacing: 0px; -we=
bkit-text-stroke-width: 0px; float: none; display: inline !important;" cl=
ass=3D"">Sentence by sentence:</span><br style=3D"font-family: Helvetica;=
 font-size: 12px; font-style: normal; font-variant: normal; font-weight: =
normal; letter-spacing: normal; orphans: auto; text-align: start; text-in=
dent: 0px; text-transform: none; white-space: normal; widows: auto; word-=
spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"fo=
nt-family: Helvetica; font-size: 12px; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; text-=
align: start; text-indent: 0px; text-transform: none; white-space: normal=
; widows: auto; word-spacing: 0px; -webkit-text-stroke-width:
  0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px=
; font-style: normal; font-variant: normal; font-weight: normal; letter-s=
pacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-=
transform: none; white-space: normal; widows: auto; word-spacing: 0px; -w=
ebkit-text-stroke-width: 0px; float: none; display: inline !important;" c=
lass=3D"">D: The messages for access, association, and cookie exchange</s=
pan><br style=3D"font-family: Helvetica; font-size: 12px; font-style: nor=
mal; font-variant: normal; font-weight: normal; letter-spacing: normal; o=
rphans: auto; text-align: start; text-indent: 0px; text-transform: none; =
white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke=
-width: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-size=
: 12px; font-style: normal; font-variant: normal; font-weight: normal; le=
tter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px;=
 text-transform: none; white-space: normal; widows: auto; wor
 d-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: in=
line !important;" class=3D"">&nbsp;&nbsp;are encapsulated in NTP extensio=
n fields which are</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; lett=
er-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; t=
ext-transform: none; white-space: normal; widows: auto; word-spacing: 0px=
; -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; fo=
nt-weight: normal; letter-spacing: normal; orphans: auto; text-align: sta=
rt; text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; dis=
play: inline !important;" class=3D"">&nbsp;&nbsp;piggybacked onto NTP pac=
kets.</span><br style=3D"font-family: Helvetica; font-size: 12px; font-st=
yle: normal; font-variant: normal; font-weight: normal; lette
 r-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; t=
ext-transform: none; white-space: normal; widows: auto; word-spacing: 0px=
; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: H=
elvetica; font-size: 12px; font-style: normal; font-variant: normal; font=
-weight: normal; letter-spacing: normal; orphans: auto; text-align: start=
; text-indent: 0px; text-transform: none; white-space: normal; widows: au=
to; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; fon=
t-variant: normal; font-weight: normal; letter-spacing: normal; orphans: =
auto; text-align: start; text-indent: 0px; text-transform: none; white-sp=
ace: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px; float: none; display: inline !important;" class=3D"">H: The NTS mess=
ages providing access, association, and</span><br style=3D"font-family: H=
elvetica; font-size: 12px; font-style: normal; font-variant:=20
 normal; font-weight: normal; letter-spacing: normal; orphans: auto; text=
-align: start; text-indent: 0px; text-transform: none; white-space: norma=
l; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" clas=
s=3D""><span style=3D"font-family: Helvetica; font-size: 12px; font-style=
: normal; font-variant: normal; font-weight: normal; letter-spacing: norm=
al; orphans: auto; text-align: start; text-indent: 0px; text-transform: n=
one; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-s=
troke-width: 0px; float: none; display: inline !important;" class=3D"">&n=
bsp;&nbsp;cookie exchange are encapsulated in an NTP extension field</spa=
n><br style=3D"font-family: Helvetica; font-size: 12px; font-style: norma=
l; font-variant: normal; font-weight: normal; letter-spacing: normal; orp=
hans: auto; text-align: start; text-indent: 0px; text-transform: none; wh=
ite-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-w=
idth: 0px;" class=3D""><span style=3D"font-family: Helvetica;
  font-size: 12px; font-style: normal; font-variant: normal; font-weight:=
 normal; letter-spacing: normal; orphans: auto; text-align: start; text-i=
ndent: 0px; text-transform: none; white-space: normal; widows: auto; word=
-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inli=
ne !important;" class=3D"">&nbsp;&nbsp;which is piggybacked onto NTP pack=
ets.</span><br style=3D"font-family: Helvetica; font-size: 12px; font-sty=
le: normal; font-variant: normal; font-weight: normal; letter-spacing: no=
rmal; orphans: auto; text-align: start; text-indent: 0px; text-transform:=
 none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text=
-stroke-width: 0px;" class=3D""><br style=3D"font-family: Helvetica; font=
-size: 12px; font-style: normal; font-variant: normal; font-weight: norma=
l; letter-spacing: normal; orphans: auto; text-align: start; text-indent:=
 0px; text-transform: none; white-space: normal; widows: auto; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span=20
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; fo=
nt-variant: normal; font-weight: normal; letter-spacing: normal; orphans:=
 auto; text-align: start; text-indent: 0px; text-transform: none; white-s=
pace: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width:=
 0px; float: none; display: inline !important;" class=3D"">I think my phr=
asing is cleaner and makes no substantive changes.</span><br style=3D"fon=
t-family: Helvetica; font-size: 12px; font-style: normal; font-variant: n=
ormal; font-weight: normal; letter-spacing: normal; orphans: auto; text-a=
lign: start; text-indent: 0px; text-transform: none; white-space: normal;=
 widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D=
""><span style=3D"font-family: Helvetica; font-size: 12px; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: none;=
 white-space: normal; widows: auto; word-spacing: 0px; -w
 ebkit-text-stroke-width: 0px; float: none; display: inline !important;" =
class=3D"">Is there anything in my changes to this sentence you disagree =
with?</span><br style=3D"font-family: Helvetica; font-size: 12px; font-st=
yle: normal; font-variant: normal; font-weight: normal; letter-spacing: n=
ormal; orphans: auto; text-align: start; text-indent: 0px; text-transform=
: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-tex=
t-stroke-width: 0px;" class=3D""></div></blockquote><div><br class=3D""><=
/div><div>Agree</div><br class=3D""><blockquote type=3D"cite" class=3D"">=
<div class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; fon=
t-style: normal; font-variant: normal; font-weight: normal; letter-spacin=
g: normal; orphans: auto; text-align: start; text-indent: 0px; text-trans=
form: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit=
-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: Helvetic=
a; font-size: 12px; font-style: normal; font-variant: normal; font-weig
 ht: normal; letter-spacing: normal; orphans: auto; text-align: start; te=
xt-indent: 0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">D: The MAC for the protection of the NTP p=
acket cannot be</span><br style=3D"font-family: Helvetica; font-size: 12p=
x; font-style: normal; font-variant: normal; font-weight: normal; letter-=
spacing: normal; orphans: auto; text-align: start; text-indent: 0px; text=
-transform: none; white-space: normal; widows: auto; word-spacing: 0px; -=
webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: He=
lvetica; font-size: 12px; font-style: normal; font-variant: normal; font-=
weight: normal; letter-spacing: normal; orphans: auto; text-align: start;=
 text-indent: 0px; text-transform: none; white-space: normal; widows: aut=
o; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; displa=
y: inline !important;" class=3D"">&nbsp;&nbsp;calculated un
 til the cookie exchange has been successfully</span><br style=3D"font-fa=
mily: Helvetica; font-size: 12px; font-style: normal; font-variant: norma=
l; font-weight: normal; letter-spacing: normal; orphans: auto; text-align=
: start; text-indent: 0px; text-transform: none; white-space: normal; wid=
ows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""=
><span style=3D"font-family: Helvetica; font-size: 12px; font-style: norm=
al; font-variant: normal; font-weight: normal; letter-spacing: normal; or=
phans: auto; text-align: start; text-indent: 0px; text-transform: none; w=
hite-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-=
width: 0px; float: none; display: inline !important;" class=3D"">&nbsp;&n=
bsp;finished.</span><br style=3D"font-family: Helvetica; font-size: 12px;=
 font-style: normal; font-variant: normal; font-weight: normal; letter-sp=
acing: normal; orphans: auto; text-align: start; text-indent: 0px; text-t=
ransform: none; white-space: normal; widows: auto; word-spa
 cing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font=
-family: Helvetica; font-size: 12px; font-style: normal; font-variant: no=
rmal; font-weight: normal; letter-spacing: normal; orphans: auto; text-al=
ign: start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D=
""><span style=3D"font-family: Helvetica; font-size: 12px; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: none;=
 white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-strok=
e-width: 0px; float: none; display: inline !important;" class=3D"">H: NTS=
 does not itself provide MAC protection of the NTP packet</span><br style=
=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font-var=
iant: normal; font-weight: normal; letter-spacing: normal; orphans: auto;=
 text-align: start; text-indent: 0px; text-transform: none;=20
 white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-strok=
e-width: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-siz=
e: 12px; font-style: normal; font-variant: normal; font-weight: normal; l=
etter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px=
; text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display: inline !import=
ant;" class=3D"">&nbsp;&nbsp;until the NTS cookie exchange has been succe=
ssfully finished.</span><br style=3D"font-family: Helvetica; font-size: 1=
2px; font-style: normal; font-variant: normal; font-weight: normal; lette=
r-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; te=
xt-transform: none; white-space: normal; widows: auto; word-spacing: 0px;=
 -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: He=
lvetica; font-size: 12px; font-style: normal; font-variant: normal; font-=
weight: normal; letter-spacing: normal; orphans: auto; text-a
 lign: start; text-indent: 0px; text-transform: none; white-space: normal=
; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=
=3D""><span style=3D"font-family: Helvetica; font-size: 12px; font-style:=
 normal; font-variant: normal; font-weight: normal; letter-spacing: norma=
l; orphans: auto; text-align: start; text-indent: 0px; text-transform: no=
ne; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-st=
roke-width: 0px; float: none; display: inline !important;" class=3D"">Aga=
in, I think my phrasing is cleaner and makes no substantive changes.</spa=
n><br style=3D"font-family: Helvetica; font-size: 12px; font-style: norma=
l; font-variant: normal; font-weight: normal; letter-spacing: normal; orp=
hans: auto; text-align: start; text-indent: 0px; text-transform: none; wh=
ite-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-w=
idth: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight:=20
 normal; letter-spacing: normal; orphans: auto; text-align: start; text-i=
ndent: 0px; text-transform: none; white-space: normal; widows: auto; word=
-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inli=
ne !important;" class=3D"">Is there anything in my proposed sentence you =
disagree with?</span><br style=3D"font-family: Helvetica; font-size: 12px=
; font-style: normal; font-variant: normal; font-weight: normal; letter-s=
pacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-=
transform: none; white-space: normal; widows: auto; word-spacing: 0px; -w=
ebkit-text-stroke-width: 0px;" class=3D""></div></blockquote><div><br cla=
ss=3D""></div><div>That is not quite the same. Our formulation states tha=
t NTS does not add a MAC to the exchanges considered. Your is not false b=
ut i implies that NTS does not protect the NTP packet which is false. In =
order to use your sentence it would have be changed to:</div><div><br cla=
ss=3D""></div><div>NTS does not itself provide MAC protecti
 on to the NTP header until the NTS cookie exchange has been successfully=
 finished</div><div><br class=3D""></div><div>It this okay with you?</div=
><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; fon=
t-variant: normal; font-weight: normal; letter-spacing: normal; orphans: =
auto; text-align: start; text-indent: 0px; text-transform: none; white-sp=
ace: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant: normal; font-weight: normal; letter-spa=
cing: normal; orphans: auto; text-align: start; text-indent: 0px; text-tr=
ansform: none; white-space: normal; widows: auto; word-spacing: 0px; -web=
kit-text-stroke-width: 0px; float: none; display: inline !important;" cla=
ss=3D"">D: Therefore, NTS does not append a MAC to (and thus does not</sp=
an><br style=3D"font-family: Helvetica; font-size: 12px; font-style:=20
 normal; font-variant: normal; font-weight: normal; letter-spacing: norma=
l; orphans: auto; text-align: start; text-indent: 0px; text-transform: no=
ne; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-st=
roke-width: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-=
size: 12px; font-style: normal; font-variant: normal; font-weight: normal=
; letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; word-spacin=
g: 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !imp=
ortant;" class=3D"">&nbsp;&nbsp;protect the NTP header of) the messages a=
ssociated to access,</span><br style=3D"font-family: Helvetica; font-size=
: 12px; font-style: normal; font-variant: normal; font-weight: normal; le=
tter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px;=
 text-transform: none; white-space: normal; widows: auto; word-spacing: 0=
px; -webkit-text-stroke-width: 0px;" class=3D""><span style
 =3D"font-family: Helvetica; font-size: 12px; font-style: normal; font-va=
riant: normal; font-weight: normal; letter-spacing: normal; orphans: auto=
; text-align: start; text-indent: 0px; text-transform: none; white-space:=
 normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;=
 float: none; display: inline !important;" class=3D"">&nbsp;&nbsp;associa=
tion and cookie exchange.</span><br style=3D"font-family: Helvetica; font=
-size: 12px; font-style: normal; font-variant: normal; font-weight: norma=
l; letter-spacing: normal; orphans: auto; text-align: start; text-indent:=
 0px; text-transform: none; white-space: normal; widows: auto; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D"font-fa=
mily: Helvetica; font-size: 12px; font-style: normal; font-variant: norma=
l; font-weight: normal; letter-spacing: normal; orphans: auto; text-align=
: start; text-indent: 0px; text-transform: none; white-space: normal; wid=
ows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0p
 x;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px; f=
ont-style: normal; font-variant: normal; font-weight: normal; letter-spac=
ing: normal; orphans: auto; text-align: start; text-indent: 0px; text-tra=
nsform: none; white-space: normal; widows: auto; word-spacing: 0px; -webk=
it-text-stroke-width: 0px; float: none; display: inline !important;" clas=
s=3D"">H: If some other form of MAC protection of the NTP packet and</spa=
n><br style=3D"font-family: Helvetica; font-size: 12px; font-style: norma=
l; font-variant: normal; font-weight: normal; letter-spacing: normal; orp=
hans: auto; text-align: start; text-indent: 0px; text-transform: none; wh=
ite-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-w=
idth: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; lett=
er-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; t=
ext-transform: none; white-space: normal; widows: auto; word-
 spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: inli=
ne !important;" class=3D"">&nbsp;&nbsp;the NTS access, association, and c=
ookie exchange is desired</span><br style=3D"font-family: Helvetica; font=
-size: 12px; font-style: normal; font-variant: normal; font-weight: norma=
l; letter-spacing: normal; orphans: auto; text-align: start; text-indent:=
 0px; text-transform: none; white-space: normal; widows: auto; word-spaci=
ng: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-=
family: Helvetica; font-size: 12px; font-style: normal; font-variant: nor=
mal; font-weight: normal; letter-spacing: normal; orphans: auto; text-ali=
gn: start; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: no=
ne; display: inline !important;" class=3D"">&nbsp;&nbsp;before NTS is abl=
e to provide it, existing alternative MAC</span><br style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant
 : normal; font-weight: normal; letter-spacing: normal; orphans: auto; te=
xt-align: start; text-indent: 0px; text-transform: none; white-space: nor=
mal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" cl=
ass=3D""><span style=3D"font-family: Helvetica; font-size: 12px; font-sty=
le: normal; font-variant: normal; font-weight: normal; letter-spacing: no=
rmal; orphans: auto; text-align: start; text-indent: 0px; text-transform:=
 none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text=
-stroke-width: 0px; float: none; display: inline !important;" class=3D"">=
&nbsp;&nbsp;protection MAY be used.</span><br style=3D"font-family: Helve=
tica; font-size: 12px; font-style: normal; font-variant: normal; font-wei=
ght: normal; letter-spacing: normal; orphans: auto; text-align: start; te=
xt-indent: 0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=3D=
"font-family: Helvetica; font-size: 12px; font-style: norma
 l; font-variant: normal; font-weight: normal; letter-spacing: normal; or=
phans: auto; text-align: start; text-indent: 0px; text-transform: none; w=
hite-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-=
width: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-size:=
 12px; font-style: normal; font-variant: normal; font-weight: normal; let=
ter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; =
text-transform: none; white-space: normal; widows: auto; word-spacing: 0p=
x; -webkit-text-stroke-width: 0px; float: none; display: inline !importan=
t;" class=3D"">I don't fully understand what you mean when you say "NTS d=
oes not append</span><br style=3D"font-family: Helvetica; font-size: 12px=
; font-style: normal; font-variant: normal; font-weight: normal; letter-s=
pacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-=
transform: none; white-space: normal; widows: auto; word-spacing: 0px; -w=
ebkit-text-stroke-width: 0px;" class=3D""><span style=3D"font
 -family: Helvetica; font-size: 12px; font-style: normal; font-variant: n=
ormal; font-weight: normal; letter-spacing: normal; orphans: auto; text-a=
lign: start; text-indent: 0px; text-transform: none; white-space: normal;=
 widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" class=3D"">a MAC" - do you mean a lega=
cy-MAC? &nbsp;My understanding is that</span><br style=3D"font-family: He=
lvetica; font-size: 12px; font-style: normal; font-variant: normal; font-=
weight: normal; letter-spacing: normal; orphans: auto; text-align: start;=
 text-indent: 0px; text-transform: none; white-space: normal; widows: aut=
o; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span s=
tyle=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font=
-variant: normal; font-weight: normal; letter-spacing: normal; orphans: a=
uto; text-align: start; text-indent: 0px; text-transform: none; white-spa=
ce: normal; widows: auto; word-spacing: 0px; -webkit-text
 -stroke-width: 0px; float: none; display: inline !important;" class=3D""=
>NTS *includes* MAC protection starting with the 4th NTS exchange, which<=
/span><br style=3D"font-family: Helvetica; font-size: 12px; font-style: n=
ormal; font-variant: normal; font-weight: normal; letter-spacing: normal;=
 orphans: auto; text-align: start; text-indent: 0px; text-transform: none=
; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stro=
ke-width: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-si=
ze: 12px; font-style: normal; font-variant: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: 0p=
x; text-transform: none; white-space: normal; widows: auto; word-spacing:=
 0px; -webkit-text-stroke-width: 0px; float: none; display: inline !impor=
tant;" class=3D"">is why I offer my language. &nbsp;I see no substantive =
difference between</span><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight:=20
 normal; letter-spacing: normal; orphans: auto; text-align: start; text-i=
ndent: 0px; text-transform: none; white-space: normal; widows: auto; word=
-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span style=3D=
"font-family: Helvetica; font-size: 12px; font-style: normal; font-varian=
t: normal; font-weight: normal; letter-spacing: normal; orphans: auto; te=
xt-align: start; text-indent: 0px; text-transform: none; white-space: nor=
mal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; flo=
at: none; display: inline !important;" class=3D"">your wording and mine. =
&nbsp;I think my language is cleaner.</span><br style=3D"font-family: Hel=
vetica; font-size: 12px; font-style: normal; font-variant: normal; font-w=
eight: normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: auto=
; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><span st=
yle=3D"font-family: Helvetica; font-size: 12px; font-style: n
 ormal; font-variant: normal; font-weight: normal; letter-spacing: normal=
; orphans: auto; text-align: start; text-indent: 0px; text-transform: non=
e; white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-str=
oke-width: 0px; float: none; display: inline !important;" class=3D"">Is t=
here something you disagree with in what I have suggested?</span><br styl=
e=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font-va=
riant: normal; font-weight: normal; letter-spacing: normal; orphans: auto=
; text-align: start; text-indent: 0px; text-transform: none; white-space:=
 normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;=
" class=3D""><br style=3D"font-family: Helvetica; font-size: 12px; font-s=
tyle: normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; orphans: auto; text-align: start; text-indent: 0px; text-transfor=
m: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-te=
xt-stroke-width: 0px;" class=3D""></div></blockquote><div><
 br class=3D""></div><div>If we formulate the second sentence as above th=
e third sentence is not necessary. NTS does not explicitly prohibit the u=
sage of the the alternative MAC, but I don=E2=80=99t want to recommend it=
. Therefore, I suggest to discard the third sentence completely.</div><br=
 class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><span st=
yle=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font-=
variant: normal; font-weight: normal; letter-spacing: normal; orphans: au=
to; text-align: start; text-indent: 0px; text-transform: none; white-spac=
e: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0p=
x; float: none; display: inline !important;" class=3D"">I then add:</span=
><br style=3D"font-family: Helvetica; font-size: 12px; font-style: normal=
; font-variant: normal; font-weight: normal; letter-spacing: normal; orph=
ans: auto; text-align: start; text-indent: 0px; text-transform: none; whi=
te-space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-
 width: 0px;" class=3D""><br style=3D"font-family: Helvetica; font-size: =
12px; font-style: normal; font-variant: normal; font-weight: normal; lett=
er-spacing: normal; orphans: auto; text-align: start; text-indent: 0px; t=
ext-transform: none; white-space: normal; widows: auto; word-spacing: 0px=
; -webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family:=
 Helvetica; font-size: 12px; font-style: normal; font-variant: normal; fo=
nt-weight: normal; letter-spacing: normal; orphans: auto; text-align: sta=
rt; text-indent: 0px; text-transform: none; white-space: normal; widows: =
auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; dis=
play: inline !important;" class=3D"">The state of NTS MAC protection can =
be seen in the Field Type of</span><br style=3D"font-family: Helvetica; f=
ont-size: 12px; font-style: normal; font-variant: normal; font-weight: no=
rmal; letter-spacing: normal; orphans: auto; text-align: start; text-inde=
nt: 0px; text-transform: none; white-space: normal; widows: a
 uto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><spa=
n style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; f=
ont-variant: normal; font-weight: normal; letter-spacing: normal; orphans=
: auto; text-align: start; text-indent: 0px; text-transform: none; white-=
space: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width=
: 0px; float: none; display: inline !important;" class=3D"">the NTS exten=
sion field.</span><br style=3D"font-family: Helvetica; font-size: 12px; f=
ont-style: normal; font-variant: normal; font-weight: normal; letter-spac=
ing: normal; orphans: auto; text-align: start; text-indent: 0px; text-tra=
nsform: none; white-space: normal; widows: auto; word-spacing: 0px; -webk=
it-text-stroke-width: 0px;" class=3D""><br style=3D"font-family: Helvetic=
a; font-size: 12px; font-style: normal; font-variant: normal; font-weight=
: normal; letter-spacing: normal; orphans: auto; text-align: start; text-=
indent: 0px; text-transform: none; white-space: normal; widow
 s: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D"">=
</div></blockquote><div>I don=E2=80=99t understand?</div><div><br class=3D=
""></div><br class=3D""><blockquote type=3D"cite" class=3D""><div class=3D=
""><span style=3D"font-family: Helvetica; font-size: 12px; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: none;=
 white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-strok=
e-width: 0px; float: none; display: inline !important;" class=3D"">This i=
s simply a matter of "fact", if we assume that my proposals are</span><br=
 style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; fo=
nt-variant: normal; font-weight: normal; letter-spacing: normal; orphans:=
 auto; text-align: start; text-indent: 0px; text-transform: none; white-s=
pace: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width:=
 0px;" class=3D""><span style=3D"font-family: Helvetica; font-size: 12px;=
 f
 ont-style: normal; font-variant: normal; font-weight: normal; letter-spa=
cing: normal; orphans: auto; text-align: start; text-indent: 0px; text-tr=
ansform: none; white-space: normal; widows: auto; word-spacing: 0px; -web=
kit-text-stroke-width: 0px; float: none; display: inline !important;" cla=
ss=3D"">accepted for how additions to the extension Field Type will be ha=
ndled.</span><br style=3D"font-family: Helvetica; font-size: 12px; font-s=
tyle: normal; font-variant: normal; font-weight: normal; letter-spacing: =
normal; orphans: auto; text-align: start; text-indent: 0px; text-transfor=
m: none; white-space: normal; widows: auto; word-spacing: 0px; -webkit-te=
xt-stroke-width: 0px;" class=3D""><span style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant: normal; font-weight: n=
ormal; letter-spacing: normal; orphans: auto; text-align: start; text-ind=
ent: 0px; text-transform: none; white-space: normal; widows: auto; word-s=
pacing: 0px; -webkit-text-stroke-width: 0px; float: none;
  display: inline !important;" class=3D"">This is already the case for Ta=
l's checksum complement proposal, see:</span><br style=3D"font-family: He=
lvetica; font-size: 12px; font-style: normal; font-variant: normal; font-=
weight: normal; letter-spacing: normal; orphans: auto; text-align: start;=
 text-indent: 0px; text-transform: none; white-space: normal; widows: aut=
o; word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br sty=
le=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font-v=
ariant: normal; font-weight: normal; letter-spacing: normal; orphans: aut=
o; text-align: start; text-indent: 0px; text-transform: none; white-space=
: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px=
;" class=3D""><a href=3D"https://datatracker.ietf.org/doc/draft-ietf-ntp-=
checksum-trailer/" style=3D"font-family: Helvetica; font-size: 12px; font=
-style: normal; font-variant: normal; font-weight: normal; letter-spacing=
: normal; orphans: auto; text-align: start; text-indent: 0px; t
 ext-transform: none; white-space: normal; widows: auto; word-spacing: 0p=
x; -webkit-text-stroke-width: 0px;" class=3D"">https://datatracker.ietf.o=
rg/doc/draft-ietf-ntp-checksum-trailer/</a><br style=3D"font-family: Helv=
etica; font-size: 12px; font-style: normal; font-variant: normal; font-we=
ight: normal; letter-spacing: normal; orphans: auto; text-align: start; t=
ext-indent: 0px; text-transform: none; white-space: normal; widows: auto;=
 word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><br style=
=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font-var=
iant: normal; font-weight: normal; letter-spacing: normal; orphans: auto;=
 text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;"=
 class=3D""></div></blockquote><div>Sorry, but I still haven=E2=80=99t ha=
d time to look at these proposals.&nbsp;</div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><span style=3D"font-family: Helv=
et
 ica; font-size: 12px; font-style: normal; font-variant: normal; font-wei=
ght: normal; letter-spacing: normal; orphans: auto; text-align: start; te=
xt-indent: 0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display: =
inline !important;" class=3D"">Also see the 5 proposals I've submitted.</=
span><br style=3D"font-family: Helvetica; font-size: 12px; font-style: no=
rmal; font-variant: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: none;=
 white-space: normal; widows: auto; word-spacing: 0px; -webkit-text-strok=
e-width: 0px;" class=3D""><span style=3D"font-family: Helvetica; font-siz=
e: 12px; font-style: normal; font-variant: normal; font-weight: normal; l=
etter-spacing: normal; orphans: auto; text-align: start; text-indent: 0px=
; text-transform: none; white-space: normal; widows: auto; word-spacing: =
0px; -webkit-text-stroke-width: 0px; float: none; display
 : inline !important;" class=3D"">--<span class=3D"Apple-converted-space"=
>&nbsp;</span></span><br style=3D"font-family: Helvetica; font-size: 12px=
; font-style: normal; font-variant: normal; font-weight: normal; letter-s=
pacing: normal; orphans: auto; text-align: start; text-indent: 0px; text-=
transform: none; white-space: normal; widows: auto; word-spacing: 0px; -w=
ebkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: Hel=
vetica; font-size: 12px; font-style: normal; font-variant: normal; font-w=
eight: normal; letter-spacing: normal; orphans: auto; text-align: start; =
text-indent: 0px; text-transform: none; white-space: normal; widows: auto=
; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: none; display=
: inline !important;" class=3D"">Harlan Stenn &lt;</span><a href=3D"mailt=
o:stenn@nwtime.org" style=3D"font-family: Helvetica; font-size: 12px; fon=
t-style: normal; font-variant: normal; font-weight: normal; letter-spacin=
g: normal; orphans: auto; text-align: start; text-indent: 0px; te
 xt-transform: none; white-space: normal; widows: auto; word-spacing: 0px=
; -webkit-text-stroke-width: 0px;" class=3D"">stenn@nwtime.org</a><span s=
tyle=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font=
-variant: normal; font-weight: normal; letter-spacing: normal; orphans: a=
uto; text-align: start; text-indent: 0px; text-transform: none; white-spa=
ce: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0=
px; float: none; display: inline !important;" class=3D"">&gt;</span><br s=
tyle=3D"font-family: Helvetica; font-size: 12px; font-style: normal; font=
-variant: normal; font-weight: normal; letter-spacing: normal; orphans: a=
uto; text-align: start; text-indent: 0px; text-transform: none; white-spa=
ce: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0=
px;" class=3D""><a href=3D"http://networktimefoundation.org/" style=3D"fo=
nt-family: Helvetica; font-size: 12px; font-style: normal; font-variant: =
normal; font-weight: normal; letter-spacing: normal; orphans: a
 uto; text-align: start; text-indent: 0px; text-transform: none; white-sp=
ace: normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: =
0px;" class=3D"">http://networktimefoundation.org</a><span style=3D"font-=
family: Helvetica; font-size: 12px; font-style: normal; font-variant: nor=
mal; font-weight: normal; letter-spacing: normal; orphans: auto; text-ali=
gn: start; text-indent: 0px; text-transform: none; white-space: normal; w=
idows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: no=
ne; display: inline !important;" class=3D""><span class=3D"Apple-converte=
d-space">&nbsp;</span>- be a member!</span></div></blockquote></div><br c=
lass=3D""></body></html>
--Apple-Mail=_060F2A50-FE3D-4284-AD14-4931A7EDCAEF--

--===============2591919968690012336==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2591919968690012336==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 08:43:41 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 90B6312D722 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 08:43:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.901
X-Spam-Level:
X-Spam-Status: No, score=-6.901 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 NO031ZGxqg1q for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 08:43:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 0669812D56D for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 08:43:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0225286DB49 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 15:43:40 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 86B7D86DAF5 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 15:43:23 +0000 (UTC)
Received: from [198.22.153.130] (helo=[10.2.184.125]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1aga53-000DeY-81; Thu, 17 Mar 2016 15:43:23 +0000
References: <56EA26BA.3020008@ntp.org> <E1agPax-0002xS-AZ@stenn.ntp.org>
To: Harlan Stenn <stenn@ntp.org>
From: Danny Mayer <mayer@ntp.org>
Organization: NTP
Message-ID: <56EAD098.6080105@ntp.org>
Date: Thu, 17 Mar 2016 11:43:20 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <E1agPax-0002xS-AZ@stenn.ntp.org>
X-SA-Exim-Connect-IP: 198.22.153.130
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, stenn@ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/17/2016 12:31 AM, Harlan Stenn wrote:
> Danny Mayer writes:
>> ...
>>
>> The question is this: How do we get a fast synchronized startup if we
>> only use NTS-authenticated packets?
> 
> How has this question *not* been adequately answered yet?
> 
> The easy answer is NTS+MAC while the NTS exchange is using 0x0004 Field
> Types, until it has completed the first 3 complete exchanges and starts
> sending 0x1004 Field Types, when the NTS EF includes MAC protection.
> 
> Symmetric key protection provides a level of authentication, and if one
> chooses to use it to authenticate these early packets that's fine.
> 

This is your recommendation but not surprisingly it has some drawbacks
like having to distribute a common keyset. What I'm looking for is if
there are other ideas for solving this without this drawback and still
providing fast clock synchronization.

I have one idea about this but I want to see if people have other ideas.

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 08:52:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 920CD12D9AB for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 08:52:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 EuYN5nxftYQW for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 08:52:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 3B2B112D9D9 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 08:52:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 2FB9F86DB31 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 15:52:14 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E37A686DAD8 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 15:47:30 +0000 (UTC)
Received: from [198.22.153.130] (helo=[10.2.184.125]) by mail1.ntp.org with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1aga93-000DlU-8D; Thu, 17 Mar 2016 15:47:30 +0000
References: <56EA26BA.3020008@ntp.org> <20160317084955.GI3234@localhost> <E1agUoR-0003JP-EB@stenn.ntp.org> <20160317102545.GJ3234@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>, Harlan Stenn <stenn@ntp.org>
From: Danny Mayer <mayer@ntp.org>
Organization: NTP
Message-ID: <56EAD190.3060304@ntp.org>
Date: Thu, 17 Mar 2016 11:47:28 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <20160317102545.GJ3234@localhost>
X-SA-Exim-Connect-IP: 198.22.153.130
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org, stenn@ntp.org, mlichvar@redhat.com
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@ntp.org
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/17/2016 6:25 AM, Miroslav Lichvar wrote:
> On Thu, Mar 17, 2016 at 10:05:51AM +0000, Harlan Stenn wrote:
>> Miroslav,
>>
>> Are you saying you believe iburst works fine with NTS and gives
>> authenticated time during the initial time sync phase?
> 
> Yes.
> 
> I'm confused. Have I or anyone else here said anything to the
> contrary?
> 

Harlan has indicated that by the time that the NTS protocol exchange has
completed the number of iburst packets has been depleted and it won't be
able to synchronize for something like 10 minutes if the timestamps in
the NTS packets exchange are ignored because they are not protected.

Danny

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 17 12:07:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B6BF912D79C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 12:07:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.921
X-Spam-Level:
X-Spam-Status: No, score=-6.921 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 ToTrX8ZKJhIv for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 17 Mar 2016 12:07:19 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D0A7C12D5B7 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 12:07:19 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CAA3486DB45 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 17 Mar 2016 19:07:19 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id A3C5C86DB21 for <ntpwg@lists.ntp.org>; Thu, 17 Mar 2016 19:02:11 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1agdBQ-0003qs-CO; Thu, 17 Mar 2016 19:02:08 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160317102545.GJ3234@localhost>
References: <56EA26BA.3020008@ntp.org> <20160317084955.GI3234@localhost> <E1agUoR-0003JP-EB@stenn.ntp.org> <20160317102545.GJ3234@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Thu, 17 Mar 2016 11:25:45 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 17 Mar 2016 19:02:08 +0000
Message-Id: <E1agdBQ-0003qs-CO@stenn.ntp.org>
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Thu, Mar 17, 2016 at 10:05:51AM +0000, Harlan Stenn wrote:
> > Miroslav,
> > 
> > Are you saying you believe iburst works fine with NTS and gives
> > authenticated time during the initial time sync phase?
> 
> Yes.
> 
> I'm confused. Have I or anyone else here said anything to the
> contrary?

NTS does not provide authenticated time until the cookie exchange has
been completed.  That means that NTS does not provide authenticated time
until after the initial time sync phase has been performed.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 18 03:09:07 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E047912DB7C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 18 Mar 2016 03:09:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 oifah0TVk-Zc for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 18 Mar 2016 03:08:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 237BC12D7C5 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 18 Mar 2016 03:08:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 10F8686DBB4 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 18 Mar 2016 10:08:56 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9DCA886DAFA for <ntpwg@lists.ntp.org>; Fri, 18 Mar 2016 10:05:41 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1agrHe-0008Jf-C6 for ntpwg@lists.ntp.org; Fri, 18 Mar 2016 10:05:40 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 7D7D33B71B; Fri, 18 Mar 2016 10:05:28 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2IA5RLa028591; Fri, 18 Mar 2016 06:05:28 -0400
Date: Fri, 18 Mar 2016 11:05:27 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160318100527.GO3234@localhost>
References: <56EA26BA.3020008@ntp.org> <20160317084955.GI3234@localhost> <E1agUoR-0003JP-EB@stenn.ntp.org> <20160317102545.GJ3234@localhost> <E1agdBQ-0003qs-CO@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1agdBQ-0003qs-CO@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS and quicksync
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 17, 2016 at 07:02:08PM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > On Thu, Mar 17, 2016 at 10:05:51AM +0000, Harlan Stenn wrote:
> > > Miroslav,
> > > 
> > > Are you saying you believe iburst works fine with NTS and gives
> > > authenticated time during the initial time sync phase?
> > 
> > Yes.
> > 
> > I'm confused. Have I or anyone else here said anything to the
> > contrary?
> 
> NTS does not provide authenticated time until the cookie exchange has
> been completed.  That means that NTS does not provide authenticated time
> until after the initial time sync phase has been performed.

Why would it mean that?

iburst consists of 6 requests (see the definition of NTP_IBURST in
ntpd/ntp_proto.c). NTS needs 3 requests to obtain the cookie.
Therefore, 3 requests in the iburst are left for synchronization with
authenticated packets. What am I missing here?

Danny said he needs the initial sync to happen in 11 seconds. That
worked with Autokey and will still work with NTS. You seemed to be
saying that the 6 second delay may still be a problem and you need
authenticated timestamps in the first reply. Autokey couldn't do that
and NTS will not be able to do that either. With symmetric keys it's
possible because there is already a secret shared between the server
and client. NTS needs 3 requests to exchange the secret.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 21 07:43:04 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D71B512D8A6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 21 Mar 2016 07:43:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 YaISS1TuxDzd for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 21 Mar 2016 07:42:48 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 8146512D89C for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 21 Mar 2016 07:42:48 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7859086DADC for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 21 Mar 2016 14:42:48 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E7A8C86D55E for <ntpwg@lists.ntp.org>; Mon, 21 Mar 2016 14:39:35 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <internet-drafts@ietf.org>) id 1ai0zW-000Gv9-HN for ntpwg@lists.ntp.org; Mon, 21 Mar 2016 14:39:35 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 55A3E12D85B; Mon, 21 Mar 2016 07:39:34 -0700 (PDT)
MIME-Version: 1.0
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160321143934.31977.26524.idtracker@ietfa.amsl.com>
Date: Mon, 21 Mar 2016 07:39:34 -0700
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: internet-drafts@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] I-D Action: draft-ietf-ntp-network-time-security-14.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

CkEgTmV3IEludGVybmV0LURyYWZ0IGlzIGF2YWlsYWJsZSBmcm9tIHRoZSBvbi1saW5lIEludGVy
bmV0LURyYWZ0cyBkaXJlY3Rvcmllcy4KVGhpcyBkcmFmdCBpcyBhIHdvcmsgaXRlbSBvZiB0aGUg
TmV0d29yayBUaW1lIFByb3RvY29sIG9mIHRoZSBJRVRGLgoKICAgICAgICBUaXRsZSAgICAgICAg
ICAgOiBOZXR3b3JrIFRpbWUgU2VjdXJpdHkKICAgICAgICBBdXRob3JzICAgICAgICAgOiBEaWV0
ZXIgU2lib2xkCiAgICAgICAgICAgICAgICAgICAgICAgICAgU3RlcGhlbiBSw7Z0dGdlcgogICAg
ICAgICAgICAgICAgICAgICAgICAgIEtyaXN0b2YgVGVpY2hlbAoJRmlsZW5hbWUgICAgICAgIDog
ZHJhZnQtaWV0Zi1udHAtbmV0d29yay10aW1lLXNlY3VyaXR5LTE0LnR4dAoJUGFnZXMgICAgICAg
ICAgIDogMzkKCURhdGUgICAgICAgICAgICA6IDIwMTYtMDMtMjEKCkFic3RyYWN0OgogICBUaGlz
IGRvY3VtZW50IGRlc2NyaWJlcyBOZXR3b3JrIFRpbWUgU2VjdXJpdHkgKE5UUyksIGEgY29sbGVj
dGlvbiBvZgogICBtZWFzdXJlcyB0aGF0IGVuYWJsZSBzZWN1cmUgdGltZSBzeW5jaHJvbml6YXRp
b24gd2l0aCB0aW1lIHNlcnZlcnMKICAgdXNpbmcgcHJvdG9jb2xzIGxpa2UgdGhlIE5ldHdvcmsg
VGltZSBQcm90b2NvbCAoTlRQKSBvciB0aGUgUHJlY2lzaW9uCiAgIFRpbWUgUHJvdG9jb2wgKFBU
UCkuICBJdHMgZGVzaWduIGNvbnNpZGVycyB0aGUgc3BlY2lhbCByZXF1aXJlbWVudHMKICAgb2Yg
cHJlY2lzZSB0aW1la2VlcGluZyB3aGljaCBhcmUgZGVzY3JpYmVkIGluIFNlY3VyaXR5IFJlcXVp
cmVtZW50cwogICBvZiBUaW1lIFByb3RvY29scyBpbiBQYWNrZXQgU3dpdGNoZWQgTmV0d29ya3Mg
W1JGQzczODRdLgoKCgpUaGUgSUVURiBkYXRhdHJhY2tlciBzdGF0dXMgcGFnZSBmb3IgdGhpcyBk
cmFmdCBpczoKaHR0cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvZHJhZnQtaWV0Zi1udHAt
bmV0d29yay10aW1lLXNlY3VyaXR5LwoKVGhlcmUncyBhbHNvIGEgaHRtbGl6ZWQgdmVyc2lvbiBh
dmFpbGFibGUgYXQ6Cmh0dHBzOi8vdG9vbHMuaWV0Zi5vcmcvaHRtbC9kcmFmdC1pZXRmLW50cC1u
ZXR3b3JrLXRpbWUtc2VjdXJpdHktMTQKCkEgZGlmZiBmcm9tIHRoZSBwcmV2aW91cyB2ZXJzaW9u
IGlzIGF2YWlsYWJsZSBhdDoKaHR0cHM6Ly93d3cuaWV0Zi5vcmcvcmZjZGlmZj91cmwyPWRyYWZ0
LWlldGYtbnRwLW5ldHdvcmstdGltZS1zZWN1cml0eS0xNAoKClBsZWFzZSBub3RlIHRoYXQgaXQg
bWF5IHRha2UgYSBjb3VwbGUgb2YgbWludXRlcyBmcm9tIHRoZSB0aW1lIG9mIHN1Ym1pc3Npb24K
dW50aWwgdGhlIGh0bWxpemVkIHZlcnNpb24gYW5kIGRpZmYgYXJlIGF2YWlsYWJsZSBhdCB0b29s
cy5pZXRmLm9yZy4KCkludGVybmV0LURyYWZ0cyBhcmUgYWxzbyBhdmFpbGFibGUgYnkgYW5vbnlt
b3VzIEZUUCBhdDoKZnRwOi8vZnRwLmlldGYub3JnL2ludGVybmV0LWRyYWZ0cy8KCl9fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCm50cHdnIG1haWxpbmcgbGlz
dApudHB3Z0BsaXN0cy5udHAub3JnCmh0dHA6Ly9saXN0cy5udHAub3JnL2xpc3RpbmZvL250cHdn

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 21 07:43:16 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B1F4B12D89B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 21 Mar 2016 07:43:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 PurAlaq1Knhq for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 21 Mar 2016 07:43:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id B9A0912D87D for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 21 Mar 2016 07:42:54 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A74CA86DB32 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 21 Mar 2016 14:42:54 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B34C886D9B1 for <ntpwg@lists.ntp.org>; Mon, 21 Mar 2016 14:39:57 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <internet-drafts@ietf.org>) id 1ai0zl-000GvM-TR for ntpwg@lists.ntp.org; Mon, 21 Mar 2016 14:39:57 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id B5BBF12D865; Mon, 21 Mar 2016 07:39:49 -0700 (PDT)
MIME-Version: 1.0
From: internet-drafts@ietf.org
To: <i-d-announce@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160321143949.31961.19012.idtracker@ietfa.amsl.com>
Date: Mon, 21 Mar 2016 07:39:49 -0700
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: internet-drafts@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] I-D Action: draft-ietf-ntp-using-nts-for-ntp-05.txt
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

CkEgTmV3IEludGVybmV0LURyYWZ0IGlzIGF2YWlsYWJsZSBmcm9tIHRoZSBvbi1saW5lIEludGVy
bmV0LURyYWZ0cyBkaXJlY3Rvcmllcy4KVGhpcyBkcmFmdCBpcyBhIHdvcmsgaXRlbSBvZiB0aGUg
TmV0d29yayBUaW1lIFByb3RvY29sIG9mIHRoZSBJRVRGLgoKICAgICAgICBUaXRsZSAgICAgICAg
ICAgOiBVc2luZyB0aGUgTmV0d29yayBUaW1lIFNlY3VyaXR5IFNwZWNpZmljYXRpb24gdG8gU2Vj
dXJlIHRoZSBOZXR3b3JrIFRpbWUgUHJvdG9jb2wKICAgICAgICBBdXRob3JzICAgICAgICAgOiBE
aWV0ZXIgU2lib2xkCiAgICAgICAgICAgICAgICAgICAgICAgICAgU3RlcGhlbiBSw7Z0dGdlcgog
ICAgICAgICAgICAgICAgICAgICAgICAgIEtyaXN0b2YgVGVpY2hlbAoJRmlsZW5hbWUgICAgICAg
IDogZHJhZnQtaWV0Zi1udHAtdXNpbmctbnRzLWZvci1udHAtMDUudHh0CglQYWdlcyAgICAgICAg
ICAgOiAyMwoJRGF0ZSAgICAgICAgICAgIDogMjAxNi0wMy0yMQoKQWJzdHJhY3Q6CiAgIFRoaXMg
ZG9jdW1lbnQgZGVzY3JpYmVzIGhvdyB0byB1c2UgdGhlIG1lYXN1cmVzIGRlc2NyaWJlZCBpbiB0
aGUKICAgTmV0d29yayBUaW1lIFNlY3VyaXR5IChOVFMpIHNwZWNpZmljYXRpb24gdG8gc2VjdXJl
IHRpbWUKICAgc3luY2hyb25pemF0aW9uIHdpdGggc2VydmVycyB1c2luZyB0aGUgTmV0d29yayBU
aW1lIFByb3RvY29sIChOVFApLgoKCgpUaGUgSUVURiBkYXRhdHJhY2tlciBzdGF0dXMgcGFnZSBm
b3IgdGhpcyBkcmFmdCBpczoKaHR0cHM6Ly9kYXRhdHJhY2tlci5pZXRmLm9yZy9kb2MvZHJhZnQt
aWV0Zi1udHAtdXNpbmctbnRzLWZvci1udHAvCgpUaGVyZSdzIGFsc28gYSBodG1saXplZCB2ZXJz
aW9uIGF2YWlsYWJsZSBhdDoKaHR0cHM6Ly90b29scy5pZXRmLm9yZy9odG1sL2RyYWZ0LWlldGYt
bnRwLXVzaW5nLW50cy1mb3ItbnRwLTA1CgpBIGRpZmYgZnJvbSB0aGUgcHJldmlvdXMgdmVyc2lv
biBpcyBhdmFpbGFibGUgYXQ6Cmh0dHBzOi8vd3d3LmlldGYub3JnL3JmY2RpZmY/dXJsMj1kcmFm
dC1pZXRmLW50cC11c2luZy1udHMtZm9yLW50cC0wNQoKClBsZWFzZSBub3RlIHRoYXQgaXQgbWF5
IHRha2UgYSBjb3VwbGUgb2YgbWludXRlcyBmcm9tIHRoZSB0aW1lIG9mIHN1Ym1pc3Npb24KdW50
aWwgdGhlIGh0bWxpemVkIHZlcnNpb24gYW5kIGRpZmYgYXJlIGF2YWlsYWJsZSBhdCB0b29scy5p
ZXRmLm9yZy4KCkludGVybmV0LURyYWZ0cyBhcmUgYWxzbyBhdmFpbGFibGUgYnkgYW5vbnltb3Vz
IEZUUCBhdDoKZnRwOi8vZnRwLmlldGYub3JnL2ludGVybmV0LWRyYWZ0cy8KCl9fX19fX19fX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fCm50cHdnIG1haWxpbmcgbGlzdApu
dHB3Z0BsaXN0cy5udHAub3JnCmh0dHA6Ly9saXN0cy5udHAub3JnL2xpc3RpbmZvL250cHdn

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 22 10:07:50 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8615212D821 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:07:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 6PWOTEiZjQOm for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:07:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 30A3A12D7C3 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 10:07:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id F198586DB13 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 17:07:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 384EC86D77B for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 17:00:13 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <ietf-secretariat-reply@ietf.org>) id 1aiPfA-000HpY-5b for ntpwg@lists.ntp.org; Tue, 22 Mar 2016 17:00:13 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 85F8612D100; Tue, 22 Mar 2016 10:00:11 -0700 (PDT)
MIME-Version: 1.0
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <draft-stenn-ntp-i-do@ietf.org>, <ntp-chairs@ietf.org>, <ntpwg@lists.ntp.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160322170011.4059.60334.idtracker@ietfa.amsl.com>
Date: Tue, 22 Mar 2016 10:00:11 -0700
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: ietf-secretariat-reply@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] The NTP WG has placed draft-stenn-ntp-i-do in state "Candidate for WG Adoption"
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

The NTP WG has placed draft-stenn-ntp-i-do in state 
Candidate for WG Adoption (entered by Karen O'Donoghue)

The document is available at
https://datatracker.ietf.org/doc/draft-stenn-ntp-i-do/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 22 10:07:55 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0ECE112D7FC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:07:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 5DfKHT3faFYT for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:07:53 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5554512D821 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 10:07:53 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4D90986DB42 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 17:07:53 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 566F586D77B for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 17:01:00 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <ietf-secretariat-reply@ietf.org>) id 1aiPfo-000Hpl-Es for ntpwg@lists.ntp.org; Tue, 22 Mar 2016 17:01:00 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 54C6E12D8D6; Tue, 22 Mar 2016 10:00:52 -0700 (PDT)
MIME-Version: 1.0
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <ntp-chairs@ietf.org>, <ntpwg@lists.ntp.org>, <draft-stenn-ntp-ipv6-refid-hash@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160322170052.4108.74699.idtracker@ietfa.amsl.com>
Date: Tue, 22 Mar 2016 10:00:52 -0700
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: ietf-secretariat-reply@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] The NTP WG has placed draft-stenn-ntp-ipv6-refid-hash in state "Candidate for WG Adoption"
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

The NTP WG has placed draft-stenn-ntp-ipv6-refid-hash in state 
Candidate for WG Adoption (entered by Karen O'Donoghue)

The document is available at
https://datatracker.ietf.org/doc/draft-stenn-ntp-ipv6-refid-hash/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 22 10:08:13 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A339A12D689 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:08:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.92
X-Spam-Level:
X-Spam-Status: No, score=-6.92 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 bKjFmtCZNLgn for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:08:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9C35D12D7FC for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 10:08:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 989CB86DB81 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 17:08:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3A9B986D77B for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 17:01:41 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <ietf-secretariat-reply@ietf.org>) id 1aiPgZ-000Hpt-T4 for ntpwg@lists.ntp.org; Tue, 22 Mar 2016 17:01:41 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id C111A12D100; Tue, 22 Mar 2016 10:01:39 -0700 (PDT)
MIME-Version: 1.0
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <ntp-chairs@ietf.org>, <ntpwg@lists.ntp.org>, <draft-stenn-ntp-leap-smear-refid@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160322170139.4051.93429.idtracker@ietfa.amsl.com>
Date: Tue, 22 Mar 2016 10:01:39 -0700
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: ietf-secretariat-reply@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] The NTP WG has placed draft-stenn-ntp-leap-smear-refid in state "Candidate for WG Adoption"
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

The NTP WG has placed draft-stenn-ntp-leap-smear-refid in state 
Candidate for WG Adoption (entered by Karen O'Donoghue)

The document is available at
https://datatracker.ietf.org/doc/draft-stenn-ntp-leap-smear-refid/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 22 10:08:27 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A8A212D7FC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:08:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.9
X-Spam-Level:
X-Spam-Status: No, score=-6.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 V-ldobFiiXHG for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 10:08:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id EBD0012D689 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 10:08:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E0D9486DB3D for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 17:08:20 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9805286D77B for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 17:05:49 +0000 (UTC)
Received: from mail.ietf.org ([2001:1900:3001:11::2c]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <ietf-secretariat-reply@ietf.org>) id 1aiPka-000Hro-KS for ntpwg@lists.ntp.org; Tue, 22 Mar 2016 17:05:49 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 7F4A812D564; Tue, 22 Mar 2016 10:05:48 -0700 (PDT)
MIME-Version: 1.0
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <ntp-chairs@ietf.org>, <ntpwg@lists.ntp.org>, <draft-stenn-ntp-suggest-refid@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160322170548.4047.22144.idtracker@ietfa.amsl.com>
Date: Tue, 22 Mar 2016 10:05:48 -0700
X-SA-Exim-Connect-IP: 2001:1900:3001:11::2c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: ietf-secretariat-reply@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] The NTP WG has placed draft-stenn-ntp-suggest-refid in state "Candidate for WG Adoption"
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

The NTP WG has placed draft-stenn-ntp-suggest-refid in state 
Candidate for WG Adoption (entered by Karen O'Donoghue)

The document is available at
https://datatracker.ietf.org/doc/draft-stenn-ntp-suggest-refid/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 22 11:52:54 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F25E12D7E7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 11:52:54 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level:
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.001] autolearn=ham autolearn_force=no
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 JNRo8BFIiaEd for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 22 Mar 2016 11:52:51 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 939C712D563 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 11:52:49 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7AB8B86DAFF for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 22 Mar 2016 18:52:49 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C6D6886D55F for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 18:52:31 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aiRPi-000JSr-6e for ntpwg@lists.ntp.org; Tue, 22 Mar 2016 18:52:31 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2MIqKuY007408-u2MIqKua007408 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL) for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 19:52:20 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 238CC3C5B2 for <ntpwg@lists.ntp.org>; Tue, 22 Mar 2016 19:52:20 +0100 (CET)
From: Dieter Sibold <dieter.sibold@ptb.de>
Message-Id: <3171CCA5-C6DA-477F-9010-66F5EB178FDA@ptb.de>
Date: Tue, 22 Mar 2016 19:52:15 +0100
To: ntpwg@lists.ntp.org
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-TNEFEvaluated: 1
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] New draft document for NTS and NTS for NTP
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0793130465183201199=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0793130465183201199==
Content-Type: multipart/alternative; boundary="Apple-Mail=_DE569158-8B57-4268-9779-6A0DD13A1CF3"


--Apple-Mail=_DE569158-8B57-4268-9779-6A0DD13A1CF3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Please note that we submitted new versions of the drafts mentioned =
below. We=E2=80=99ve incorporated the negotiation of the MAC algorithm =
and and the we=E2=80=99ve added some language to the security =
requirements in the NTS for NTP draft which addresses Harlan=E2=80=99s =
concern about the not MAC protected key exchange.



> Anfang der weitergeleiteten Nachricht:
>=20
> Von: internet-drafts@ietf.org
> Betreff: New Version Notification for =
draft-ietf-ntp-using-nts-for-ntp-05.txt
> Datum: 21. M=C3=A4rz 2016 um 15:39:49 MEZ
> An: "Stephen R=C3=B6ttger" <stephen.roettger@googlemail.com>, "Dieter =
Sibold" <dieter.sibold@ptb.de>, "Stephen Roettger" =
<stephen.roettger@googlemail.com>, "Kristof Teichel" =
<kristof.teichel@ptb.de>
>=20
>=20
> A new version of I-D, draft-ietf-ntp-using-nts-for-ntp-05.txt
> has been successfully submitted by Kristof Teichel and posted to the
> IETF repository.
>=20
> Name:		draft-ietf-ntp-using-nts-for-ntp
> Revision:	05
> Title:		Using the Network Time Security Specification to =
Secure the Network Time Protocol
> Document date:	2016-03-21
> Group:		ntp
> Pages:		23
> URL:            =
https://www.ietf.org/internet-drafts/draft-ietf-ntp-using-nts-for-ntp-05.t=
xt
> Status:         =
https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/
> Htmlized:       =
https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-05
> Diff:           =
https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-using-nts-for-ntp-05
>=20
> Abstract:
>   This document describes how to use the measures described in the
>   Network Time Security (NTS) specification to secure time
>   synchronization with servers using the Network Time Protocol (NTP).
>=20
>=20
>=20
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> The IETF Secretariat
>=20
> Anfang der weitergeleiteten Nachricht:
>=20
> Von: internet-drafts@ietf.org
> Betreff: New Version Notification for =
draft-ietf-ntp-network-time-security-14.txt
> Datum: 21. M=C3=A4rz 2016 um 15:39:34 MEZ
> An: "Stephen R=C3=B6ttger" <stephen.roettger@googlemail.com>, "Dieter =
Sibold" <dieter.sibold@ptb.de>, "Stephen Roettger" =
<stephen.roettger@googlemail.com>, "Kristof Teichel" =
<kristof.teichel@ptb.de>
>=20
>=20
> A new version of I-D, draft-ietf-ntp-network-time-security-14.txt
> has been successfully submitted by Kristof Teichel and posted to the
> IETF repository.
>=20
> Name:		draft-ietf-ntp-network-time-security
> Revision:	14
> Title:		Network Time Security
> Document date:	2016-03-21
> Group:		ntp
> Pages:		39
> URL:            =
https://www.ietf.org/internet-drafts/draft-ietf-ntp-network-time-security-=
14.txt
> Status:         =
https://datatracker.ietf.org/doc/draft-ietf-ntp-network-time-security/
> Htmlized:       =
https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-14
> Diff:           =
https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-network-time-security-1=
4
>=20
> Abstract:
>   This document describes Network Time Security (NTS), a collection of
>   measures that enable secure time synchronization with time servers
>   using protocols like the Network Time Protocol (NTP) or the =
Precision
>   Time Protocol (PTP).  Its design considers the special requirements
>   of precise timekeeping which are described in Security Requirements
>   of Time Protocols in Packet Switched Networks [RFC7384].
>=20
>=20
>=20
>=20
>=20
> Please note that it may take a couple of minutes from the time of =
submission
> until the htmlized version and diff are available at tools.ietf.org.
>=20
> The IETF Secretariat
>=20


--Apple-Mail=_DE569158-8B57-4268-9779-6A0DD13A1CF3
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Please note that we submitted new versions of the drafts =
mentioned below. We=E2=80=99ve incorporated the negotiation of the MAC =
algorithm and and the we=E2=80=99ve added some language to the security =
requirements in the NTS for NTP draft which addresses Harlan=E2=80=99s =
concern about the not MAC protected key exchange.<div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""><div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Anfang =
der weitergeleiteten Nachricht:</div><br =
class=3D"Apple-interchange-newline"><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span=
 style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Von: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D""><a =
href=3D"mailto:internet-drafts@ietf.org" =
class=3D"">internet-drafts@ietf.org</a><br class=3D""></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;" class=3D""><span style=3D"font-family: =
-webkit-system-font, Helvetica Neue, Helvetica, sans-serif; =
color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Betreff: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D""><b class=3D"">New Version =
Notification for draft-ietf-ntp-using-nts-for-ntp-05.txt</b><br =
class=3D""></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span =
style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Datum: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">21. M=C3=A4rz 2016 um 15:39:49 =
MEZ<br class=3D""></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span=
 style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">An: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">"Stephen R=C3=B6ttger" &lt;<a =
href=3D"mailto:stephen.roettger@googlemail.com" =
class=3D"">stephen.roettger@googlemail.com</a>&gt;, "Dieter Sibold" =
&lt;<a href=3D"mailto:dieter.sibold@ptb.de" =
class=3D"">dieter.sibold@ptb.de</a>&gt;, "Stephen Roettger" &lt;<a =
href=3D"mailto:stephen.roettger@googlemail.com" =
class=3D"">stephen.roettger@googlemail.com</a>&gt;, "Kristof Teichel" =
&lt;<a href=3D"mailto:kristof.teichel@ptb.de" =
class=3D"">kristof.teichel@ptb.de</a>&gt;<br class=3D""></span></div><br =
class=3D""><div class=3D""><div class=3D""><br class=3D"">A new version =
of I-D, draft-ietf-ntp-using-nts-for-ntp-05.txt<br class=3D"">has been =
successfully submitted by Kristof Teichel and posted to the<br =
class=3D"">IETF repository.<br class=3D""><br class=3D"">Name:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>draft-ietf-ntp-using-nts-for-ntp<br class=3D"">Revision:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>05<br =
class=3D"">Title:<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Using the Network Time Security Specification to Secure the =
Network Time Protocol<br class=3D"">Document date:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>2016-03-21<br class=3D"">Group:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>ntp<br class=3D"">Pages:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>23<br =
class=3D"">URL: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/internet-drafts/draft-ietf-ntp-using-nts-for-=
ntp-05.txt" =
class=3D"">https://www.ietf.org/internet-drafts/draft-ietf-ntp-using-nts-f=
or-ntp-05.txt</a><br class=3D"">Status: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-ntp/=
" =
class=3D"">https://datatracker.ietf.org/doc/draft-ietf-ntp-using-nts-for-n=
tp/</a><br class=3D"">Htmlized: &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-05" =
class=3D"">https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-05=
</a><br class=3D"">Diff: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-using-nts-for-n=
tp-05" =
class=3D"">https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-using-nts-fo=
r-ntp-05</a><br class=3D""><br class=3D"">Abstract:<br class=3D""> =
&nbsp;&nbsp;This document describes how to use the measures described in =
the<br class=3D""> &nbsp;&nbsp;Network Time Security (NTS) specification =
to secure time<br class=3D""> &nbsp;&nbsp;synchronization with servers =
using the Network Time Protocol (NTP).<br class=3D""><br class=3D""><br =
class=3D""><br class=3D""><br class=3D""><br class=3D"">Please note that =
it may take a couple of minutes from the time of submission<br =
class=3D"">until the htmlized version and diff are available at <a =
href=3D"http://tools.ietf.org" class=3D"">tools.ietf.org</a>.<br =
class=3D""><br class=3D"">The IETF Secretariat<br class=3D""><br =
class=3D""></div></div></blockquote><blockquote type=3D"cite" =
class=3D""><div class=3D"">Anfang der weitergeleiteten =
Nachricht:</div><br class=3D"Apple-interchange-newline"><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;" class=3D""><span style=3D"font-family: =
-webkit-system-font, Helvetica Neue, Helvetica, sans-serif; =
color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Von: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D""><a =
href=3D"mailto:internet-drafts@ietf.org" =
class=3D"">internet-drafts@ietf.org</a><br class=3D""></span></div><div =
style=3D"margin-top: 0px; margin-right: 0px; margin-bottom: 0px; =
margin-left: 0px;" class=3D""><span style=3D"font-family: =
-webkit-system-font, Helvetica Neue, Helvetica, sans-serif; =
color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Betreff: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D""><b class=3D"">New Version =
Notification for draft-ietf-ntp-network-time-security-14.txt</b><br =
class=3D""></span></div><div style=3D"margin-top: 0px; margin-right: =
0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span =
style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">Datum: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">21. M=C3=A4rz 2016 um 15:39:34 =
MEZ<br class=3D""></span></div><div style=3D"margin-top: 0px; =
margin-right: 0px; margin-bottom: 0px; margin-left: 0px;" class=3D""><span=
 style=3D"font-family: -webkit-system-font, Helvetica Neue, Helvetica, =
sans-serif; color:rgba(0, 0, 0, 1.0);" class=3D""><b class=3D"">An: =
</b></span><span style=3D"font-family: -webkit-system-font, Helvetica =
Neue, Helvetica, sans-serif;" class=3D"">"Stephen R=C3=B6ttger" &lt;<a =
href=3D"mailto:stephen.roettger@googlemail.com" =
class=3D"">stephen.roettger@googlemail.com</a>&gt;, "Dieter Sibold" =
&lt;<a href=3D"mailto:dieter.sibold@ptb.de" =
class=3D"">dieter.sibold@ptb.de</a>&gt;, "Stephen Roettger" &lt;<a =
href=3D"mailto:stephen.roettger@googlemail.com" =
class=3D"">stephen.roettger@googlemail.com</a>&gt;, "Kristof Teichel" =
&lt;<a href=3D"mailto:kristof.teichel@ptb.de" =
class=3D"">kristof.teichel@ptb.de</a>&gt;<br class=3D""></span></div><br =
class=3D""><div class=3D""><div class=3D""><br class=3D"">A new version =
of I-D, draft-ietf-ntp-network-time-security-14.txt<br class=3D"">has =
been successfully submitted by Kristof Teichel and posted to the<br =
class=3D"">IETF repository.<br class=3D""><br class=3D"">Name:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>draft-ietf-ntp-network-time-security<br class=3D"">Revision:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>14<br =
class=3D"">Title:<span class=3D"Apple-tab-span" style=3D"white-space:pre">=
	</span><span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Network Time Security<br class=3D"">Document date:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>2016-03-21<br class=3D"">Group:<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span><span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>ntp<br class=3D"">Pages:<span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span><span =
class=3D"Apple-tab-span" style=3D"white-space:pre">	</span>39<br =
class=3D"">URL: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/internet-drafts/draft-ietf-ntp-network-time-s=
ecurity-14.txt" =
class=3D"">https://www.ietf.org/internet-drafts/draft-ietf-ntp-network-tim=
e-security-14.txt</a><br class=3D"">Status: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://datatracker.ietf.org/doc/draft-ietf-ntp-network-time-secur=
ity/" =
class=3D"">https://datatracker.ietf.org/doc/draft-ietf-ntp-network-time-se=
curity/</a><br class=3D"">Htmlized: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-1=
4" =
class=3D"">https://tools.ietf.org/html/draft-ietf-ntp-network-time-securit=
y-14</a><br class=3D"">Diff: =
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<a =
href=3D"https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-network-time-se=
curity-14" =
class=3D"">https://www.ietf.org/rfcdiff?url2=3Ddraft-ietf-ntp-network-time=
-security-14</a><br class=3D""><br class=3D"">Abstract:<br class=3D""> =
&nbsp;&nbsp;This document describes Network Time Security (NTS), a =
collection of<br class=3D""> &nbsp;&nbsp;measures that enable secure =
time synchronization with time servers<br class=3D""> &nbsp;&nbsp;using =
protocols like the Network Time Protocol (NTP) or the Precision<br =
class=3D""> &nbsp;&nbsp;Time Protocol (PTP). &nbsp;Its design considers =
the special requirements<br class=3D""> &nbsp;&nbsp;of precise =
timekeeping which are described in Security Requirements<br class=3D""> =
&nbsp;&nbsp;of Time Protocols in Packet Switched Networks [RFC7384].<br =
class=3D""><br class=3D""><br class=3D""><br class=3D""><br class=3D""><br=
 class=3D"">Please note that it may take a couple of minutes from the =
time of submission<br class=3D"">until the htmlized version and diff are =
available at <a href=3D"http://tools.ietf.org" =
class=3D"">tools.ietf.org</a>.<br class=3D""><br class=3D"">The IETF =
Secretariat<br class=3D""><br =
class=3D""></div></div></blockquote></div><br =
class=3D""></div></body></html>=

--Apple-Mail=_DE569158-8B57-4268-9779-6A0DD13A1CF3--

--===============0793130465183201199==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0793130465183201199==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 07:16:30 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A4E0F12D700 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 07:16:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 U0qUHf3NGTVR for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 07:16:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 8BB1912DB1F for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 07:01:50 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5AC7286DAFD for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 14:01:50 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id A9D5486D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 13:02:02 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1aiiQ5-000DlD-V4 for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 13:02:02 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2ND1hNd001288-u2ND1hNf001288 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 23 Mar 2016 14:01:43 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id B9C5A3CC50; Wed, 23 Mar 2016 14:01:43 +0100 (CET)
MIME-Version: 1.0
X-Disclaimed: 1
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com>
References: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com>
From: kristof.teichel@ptb.de
To: Sharon Goldberg <goldbe@cs.bu.edu>, ntpwg@lists.ntp.org, tictoc@ietf.org
Message-ID: <OF4B113298.5D5188A9-ONC1257F7F.0046A923-C1257F7F.0047919A@ptb.de>
Date: Wed, 23 Mar 2016 14:01:43 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4904956397868524060=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============4904956397868524060==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><font face=3D"Verdana, Arial, Helvetica, sans-serif">Hello Sharon,</=
font><div style=3D"font-family: Verdana, Arial, Helvetica, sans-serif;"><br=
></div><div style=3D"font-family: Verdana, Arial, Helvetica, sans-serif;">e=
ssentially, the answer to this question is that at some point it was determ=
ined that an inherent solution would benefit NTP more than one which was al=
ong the lines of tunneling NTP traffic over some external security protocol=
.</div><div><font face=3D"Verdana, Arial, Helvetica, sans-serif">The main r=
easoning here was, I believe, that an inherent solution would be easier to =
tailor to a time synchronization protocol's special needs, particularly for=
 the additional delays caused by the cryptographic operations on time-sensi=
tive packets to be </font><font size=3D"2" face=3D"Sans Serif, Verdana, Ari=
al, Helvetica, sans-serif">small (and ideally symmetrical).</font></div><di=
v><font size=3D"2" face=3D"Sans Serif, Verdana, Arial, Helvetica, sans-seri=
f"><br></font></div><div><font size=3D"2" face=3D"Sans Serif, Verdana, Aria=
l, Helvetica, sans-serif">Best regards,</font></div><div><font size=3D"2" f=
ace=3D"Sans Serif, Verdana, Arial, Helvetica, sans-serif">Kristof</font></d=
iv><div><font size=3D"2" face=3D"Sans Serif, Verdana, Arial, Helvetica, san=
s-serif"><br></font></div><div><font size=3D"2" face=3D"Sans Serif, Verdana=
, Arial, Helvetica, sans-serif">PS: I also want to add that as far as I kno=
w, there is nothing in any NTP-related specification that would keep anyone=
 from running NTP over IPsec. On the other hand, there doesn't seem to be a=
 special need for a specification on using IPsec to run NTP over it. I beli=
eve this is why, currently, IPsec is simply not mentioned anywhere in an NT=
P or NTS context.</font></div><div><font size=3D"2" face=3D"Sans Serif, Ver=
dana, Arial, Helvetica, sans-serif"><br></font></div><div><font size=3D"2" =
face=3D"Sans Serif, Verdana, Arial, Helvetica, sans-serif">PPS: Out of curi=
osity: is there a mode for IPsec which does what NTS is trying to achieve (=
namely requiring on the server side neither a per-association state nor cla=
ssic asymmetric cryptography like digital signatures)? If so, some text mig=
ht be in order somewhere (NTP BCP document?), stating that if IPsec is used=
 for securing NTP, said mode would be the best one to use.</font></div><div=
 style=3D"font-family: Verdana, Arial, Helvetica, sans-serif;"><font color=
=3D"#990099"><br></font></div><div style=3D"font-family: Verdana, Arial, He=
lvetica, sans-serif;"><font color=3D"#990099"><br></font></div><div style=
=3D"font-family: Verdana, Arial, Helvetica, sans-serif;"><font color=3D"#99=
0099">-----"TICTOC" &lt;tictoc-bounces@ietf.org&gt; schrieb: -----</font><b=
r><br>&gt;An: tictoc@ietf.org, ntpwg@lists.ntp.org<br>&gt;Von: Sharon Goldb=
erg <br>&gt;Gesendet von: "TICTOC" <br>&gt;Datum: 23.03.2016 10:07<br>&gt;B=
etreff: [TICTOC] WGLC on NTS: Why not run over IPsec?<br>&gt;<br>&gt;Dear W=
G,<br>&gt;<br>&gt;Another question, and please forgive me if this was discu=
ssed already<br>&gt;and I missed it. <br>&gt;<br>&gt;It would be helpful to=
 know why NTS is not just just running over<br>&gt;IPsec. (I can see why ru=
nning NTP over TLS makes little sense, since<br>&gt;TLS runs over TCP while=
 NTP runs over UDP so everything would<br>&gt;probably<br>&gt;break.) But N=
TP runs over IP. I suppose there are some performance<br>&gt;hits to using =
IPsec? What are they?<br>&gt;<br>&gt;Thanks,<br>&gt;Sharon<br>&gt;<br>&gt;-=
- <br>&gt;Sharon Goldberg<br>&gt;Computer Science, Boston University<br>&gt=
;http://www.cs.bu.edu/~goldbe<br>&gt;<br>&gt;=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F<br>&gt;TICTOC mailing list<br>&gt;TICT=
OC@ietf.org<br>&gt;https://www.ietf.org/mailman/listinfo/tictoc<br>&gt;</di=
v><div></div></font>

--===============4904956397868524060==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============4904956397868524060==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 09:24:22 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CBADC12D739 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 09:24:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 nTjQDOF1rcuh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 09:24:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 603F412D738 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 09:24:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7A91086DAF0 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 16:24:19 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3330A86D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 07:51:44 +0000 (UTC)
Received: from mail-wm0-x231.google.com ([2a00:1450:400c:c09::231]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1aidZq-0004bz-Mk for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 07:51:43 +0000
Received: by mail-wm0-x231.google.com with SMTP id p65so221978508wmp.1 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 00:51:38 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=ZCjCRiWOFahLDQhH1pzjJzuxNzVCVGwEee/8FuebcFQ=; b=gmV82Rzma6jeO+bmkA+5hAEJvUwLpwkO2r4uHvq+Bgj+LRkW6170bqdSFQOgUFYBxD CuBqrpdEr5LeeJgrQOBS71y2/waxKgLK8amMvZmTCKdnSo19uzsnYAv6iU1Y7wwex8Qb IV2nXlVykE375SGq53f5EVNH9YckmayIOF1qT34+7LzThXlMmKfk0IvjyBPzGK5o1jVh z8MJqnVsN+vVv4mtCRTPA/a/jBJMHCn1JALi+p6H5p4SD/5zOckCttSfqdXqDicZXEQ+ hUbWgGu3EfO2qJ6RewKe84yxr/3kfVytDeuHAthNTOyBi4tZ67RnFFWxpGvdEya18lft 7QAw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=ZCjCRiWOFahLDQhH1pzjJzuxNzVCVGwEee/8FuebcFQ=; b=VdQqqEw16Z/PXDmyeUNleJxEgsyrkC5W+RnMzBmuFikk+5FUaiRBPxAd7kSR/TSghq GZJmEHsC/GhFbRNqJfIkJyn2c8ndjwzceBPEilN2mRtr1PlrnwfrUOU6QqvsgFOOiLK1 TuPVE2oUmS694JWt5RseZGuVzMQteRFsjlaI33t6x92mYdYJVkIdQ0q/9Ki3rHkr5Pzg isUBlp3r4rYry9PZn3Kqa+kZdNG8Q8G1VfI5ZB5yWMjuxWsbjcBUyvI3Ws7dh8qwOZMV ceOCMAIdkHbMKLo5wBfIbeSyzMevB/28XFwn9cbi/ZpHGUWfiJV4HlXaiIHAVjwtxtU4 LNWw==
X-Gm-Message-State: AD7BkJL+TOIrl0ksWlNbunXh0KiAgLu74J/4S9hQ1V1ufppuhh2zAJeuguZFI3QXvwb4AbJc2hcHKBIV+b0jng==
X-Received: by 10.28.213.66 with SMTP id m63mr25445561wmg.2.1458719496984; Wed, 23 Mar 2016 00:51:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Wed, 23 Mar 2016 00:50:57 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Wed, 23 Mar 2016 03:50:57 -0400
X-Google-Sender-Auth: 5-HgBFz5W_sUwf_tkWgqu7C6M30
Message-ID: <CAJHGrrSU0tAJEW_e1=SJNp0_8_=+5Nd7BiaP1nUstskvs=YHMQ@mail.gmail.com>
To: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::231
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Wed, 23 Mar 2016 15:45:48 +0000
Subject: [ntpwg] WGLC on NTS: Public key crypto for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============3690701981440292307=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============3690701981440292307==
Content-Type: multipart/alternative; boundary=001a11468f1071dd3b052eb29934

--001a11468f1071dd3b052eb29934
Content-Type: text/plain; charset=UTF-8

Dear WG,

Aanchal Malhotra and I reviewed the client/server (unicast) key
exchange (KE) protocol in the NTS draft (-013). We also discussed
it with cryptographers Ran Canetti [1] and Hugo Krawcyzk [2], who
have invented HMAC [3] and TELSA, developed the KE protocols used
in TLS and IPsec, and have also authored one of the standard models
for proving the security of KE protocols (the Canetti-Krawcyzk
model[4]), etc.

Currently the NTS KE protocol requires *three* public-key crypto
operations as part of the KE: two signatures and one encryption.
Only *one* public-key crypto operation is needed for most one-sided
authentication KEs (where the client authenticates the server, but
the server does not authenticate the client, as in NTS's default
mode).

The use of two signatures and one encryption in the KE has some
undesirable consequences:

(2a) Performance. Requiring three PK operations more
computationally intensive than using just one. Especially if RSA is
used in the current KE protocol, see * below.

(2b) Key management. The protocol requires the client to have an
*encryption* keys, and the server to have a *signing key*. Because
of NTP's hierarchical client-server model, this means that most
hosts with need to main *two* public keys and corresponding
certificates---one for signing and one for encrypting. (Think of a
stratum 2 host that is the client of a stratum 1, and also a server
from straum 3 hosts.) These hosts now how to purchase, renew, etc
two crypto certificates instead of one.

We believe the protocol can be modified to use only one public-key
crypto operation. Regarding these modifications we have these
questions:

a) What certificate authority (CA) infrastructure will NTS use? The
same one as is used for TLS?

According to Hugo, today's TLS CA infrastructure makes it easier to
obtain certificates for *signing keys* (that can be used for
public-key (PK) signatures) than for *encryption keys* (that can be
used for PK encryption). Also, most CAs only offer RSA keys for PK
encryption, which has performance some issues for NTS's current KE,
see * below.

b) Does NTS prefer to require hosts to have certificates for PK
*signing* or for PK *encryption*? It should be possible to have KE
that uses only one PK crypto operation in either case. Or does either
option work?

Sharon

* If NTS's current KE wanted to have only one certificate per host,
it would need to use RSA certificates, because these can be used
for both signing and encrypting. But:

a) RSA has a performance disadvantage for NTS's current KE.
RSA signing/decrypting is at least 10x slower than RSA
verifying/encrypting. The current NTS KE has the *server* doing two
signing operations and one decryption. Thus, the server is doing 2
(out of 3) computationally expensive RSA operations (signing),
while the client is doing only 1 (out of 3) expensive RSA operation
(decrypting). We might want to have less load on the server, since
a server will have more NTS associations than a client.

b) Being locked into RSA means that elliptic curve cryptography
(ECC) cannot be used. Many WG's moving toward ECC [5,6,7,8]
because:

    - ECDSA signatures provides higher security levels with shorter
signatures and shorter keys than RSA. For example, 3072-bit RSA
(which has 3072-bit keys and signatures) is though to provide a
security level equivalent to 256-bit ECDSA (which has 256-bit keys
and 512-bit signatures.

   - ECDSA signing is about 3x times faster to compute than RSA
   signing for similar security levels.  In fact, when ECDSA is
   optimized it can even be 10x faster than RSA: see the performance
   numbers in the table on page 21 of this ID [9].


References
[1] https://www.cs.bu.edu/fac/canetti/
[2] https://simons.berkeley.edu/people/hugo-krawczyk
[3] https://cseweb.ucsd.edu/~mihir/papers/hmac.html
[4] http://link.springer.com/chapter/10.1007/3-540-44987-6_28#page-1
[5]
http://www.sigcomm.org/sites/default/files/ccr/papers/2015/October/0000000-0000002.pdf
[6] https://www.cloudflare.com/dnssec/ecdsa-and-dnssec/
[7] https://www.ietf.org/rfc/rfc4492.txt
[8] http://w2spconf.com/2014/papers/TLS.pdf
[9] https://tools.ietf.org/html/draft-vcelak-nsec5-02

-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a11468f1071dd3b052eb29934
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear WG,<br><br>Aanchal Malhotra and I reviewed the client=
/server (unicast) key<br>exchange (KE) protocol in the NTS draft (-013). We=
 also discussed<br>it with cryptographers Ran Canetti [1] and Hugo Krawcyzk=
 [2], who<br>have invented HMAC [3] and TELSA, developed the KE protocols u=
sed<br>in TLS and IPsec, and have also authored one of the standard models<=
br>for proving the security of KE protocols (the Canetti-Krawcyzk<br>model[=
4]), etc.<br><br>Currently the NTS KE protocol requires *three* public-key =
crypto<br>operations as part of the KE: two signatures and one encryption.<=
br>Only *one* public-key crypto operation is needed for most one-sided<br>a=
uthentication KEs (where the client authenticates the server, but<br>the se=
rver does not authenticate the client, as in NTS&#39;s default<br>mode).<br=
><br>The use of two signatures and one encryption in the KE has some<br>und=
esirable consequences:<br><br>(2a) Performance. Requiring three PK operatio=
ns more<br>computationally intensive than using just one. Especially if RSA=
 is<br>used in the current KE protocol, see * below.<br><br>(2b) Key manage=
ment. The protocol requires the client to have an<br>*encryption* keys, and=
 the server to have a *signing key*. Because<br>of NTP&#39;s hierarchical c=
lient-server model, this means that most<br>hosts with need to main *two* p=
ublic keys and corresponding<br>certificates---one for signing and one for =
encrypting. (Think of a<br>stratum 2 host that is the client of a stratum 1=
, and also a server<br>from straum 3 hosts.) These hosts now how to purchas=
e, renew, etc<br>two crypto certificates instead of one.<br><br>We believe =
the protocol can be modified to use only one public-key<br>crypto operation=
. Regarding these modifications we have these<br>questions:<br><br>a) What =
certificate authority (CA) infrastructure will NTS use? The<br>same one as =
is used for TLS?<br><br>According to Hugo, today&#39;s TLS CA infrastructur=
e makes it easier to<br>obtain certificates for *signing keys* (that can be=
 used for<br>public-key (PK) signatures) than for *encryption keys* (that c=
an be<br>used for PK encryption). Also, most CAs only offer RSA keys for PK=
<br>encryption, which has performance some issues for NTS&#39;s current KE,=
<br>see * below.<br><br>b) Does NTS prefer to require hosts to have certifi=
cates for PK<br>*signing* or for PK *encryption*? It should be possible to =
have KE<br>that uses only one PK crypto operation in either case. Or does e=
ither option work?<br><br>Sharon<br><br>* If NTS&#39;s current KE wanted to=
 have only one certificate per host,<br>it would need to use RSA certificat=
es, because these can be used<br>for both signing and encrypting. But:<br><=
br>a) RSA has a performance disadvantage for NTS&#39;s current KE.<br>RSA s=
igning/decrypting is at least 10x slower than RSA<br>verifying/encrypting. =
The current NTS KE has the *server* doing two<br>signing operations and one=
 decryption. Thus, the server is doing 2<br>(out of 3) computationally expe=
nsive RSA operations (signing),<br>while the client is doing only 1 (out of=
 3) expensive RSA operation<br>(decrypting). We might want to have less loa=
d on the server, since<br>a server will have more NTS associations than a c=
lient.<br><br>b) Being locked into RSA means that elliptic curve cryptograp=
hy<br>(ECC) cannot be used. Many WG&#39;s moving toward ECC [5,6,7,8]<br>be=
cause:<br><br>=C2=A0=C2=A0=C2=A0 - ECDSA signatures provides higher securit=
y levels with shorter<br>signatures and shorter keys than RSA. For example,=
 3072-bit RSA<br>(which has 3072-bit keys and signatures) is though to prov=
ide a<br>security level equivalent to 256-bit ECDSA (which has 256-bit keys=
<br>and 512-bit signatures.<br><br>=C2=A0=C2=A0 - ECDSA signing is about 3x=
 times faster to compute than RSA<br>=C2=A0=C2=A0 signing for similar secur=
ity levels.=C2=A0 In fact, when ECDSA is<br>=C2=A0=C2=A0 optimized it can e=
ven be 10x faster than RSA: see the performance<br>=C2=A0=C2=A0 numbers in =
the table on page 21 of this ID [9].<br><br><br>References<br>[1] <a href=
=3D"https://www.cs.bu.edu/fac/canetti/">https://www.cs.bu.edu/fac/canetti/<=
/a><br>[2] <a href=3D"https://simons.berkeley.edu/people/hugo-krawczyk">htt=
ps://simons.berkeley.edu/people/hugo-krawczyk</a><br>[3] <a href=3D"https:/=
/cseweb.ucsd.edu/~mihir/papers/hmac.html">https://cseweb.ucsd.edu/~mihir/pa=
pers/hmac.html</a><br>[4] <a href=3D"http://link.springer.com/chapter/10.10=
07/3-540-44987-6_28#page-1">http://link.springer.com/chapter/10.1007/3-540-=
44987-6_28#page-1</a><br>[5] <a href=3D"http://www.sigcomm.org/sites/defaul=
t/files/ccr/papers/2015/October/0000000-0000002.pdf">http://www.sigcomm.org=
/sites/default/files/ccr/papers/2015/October/0000000-0000002.pdf</a><br>[6]=
 <a href=3D"https://www.cloudflare.com/dnssec/ecdsa-and-dnssec/">https://ww=
w.cloudflare.com/dnssec/ecdsa-and-dnssec/</a><br>[7] <a href=3D"https://www=
.ietf.org/rfc/rfc4492.txt">https://www.ietf.org/rfc/rfc4492.txt</a><br>[8] =
<a href=3D"http://w2spconf.com/2014/papers/TLS.pdf">http://w2spconf.com/201=
4/papers/TLS.pdf</a><br>[9] <a href=3D"https://tools.ietf.org/html/draft-vc=
elak-nsec5-02">https://tools.ietf.org/html/draft-vcelak-nsec5-02</a><br><br=
>-- <br><div class=3D"gmail_signature">Sharon Goldberg<br>Computer Science,=
 Boston University<br><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_b=
lank">http://www.cs.bu.edu/~goldbe</a></div>
</div>

--001a11468f1071dd3b052eb29934--

--===============3690701981440292307==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============3690701981440292307==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 09:25:30 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BA5E12D739 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 09:25:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 rgLuS98C59TK for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 09:25:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id F3A3C12D737 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 09:25:27 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id D793F86DB4B for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 16:25:27 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5C65F86D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 08:00:33 +0000 (UTC)
Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1aidiP-0004jl-MF for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 08:00:33 +0000
Received: by mail-wm0-x232.google.com with SMTP id r129so124218839wmr.1 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 01:00:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=cDEVDR8cLUsl4qJaz9ZsD23Higd0M2Jxwdl8110/04w=; b=FN34tfT4mmSkkKqOb0VCbBIpGl/4RPrd7vqQ46fpQy66Xa9TSmde8oz/+6MQhqgl8F pnn+vEKKWKXBj7qREwgzIjb/FUeTfbwpzR8siDc3Dd3rFpoc19e9SNoRiRHssIEGF82J g/zSpMfV63kLJM0ILpWaX0dNjlHo2FunL4B+L7FWiKtpdJA9gZFbR6uj4HbfhhIhdm1E farYORNF0ZySwJsKYnjMWjSkNRt2aIjP3fdL1XBTTZ3ptTTqS9aiwRZk9l4TFoOHb4Ug JFLaoyq5/g82IEfJby3PJToiAVZ09mezllMnHODqMwjrb+wsQ569jlEjmUIqQcKnQBhi GIqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=cDEVDR8cLUsl4qJaz9ZsD23Higd0M2Jxwdl8110/04w=; b=Xrd0FaBr6viiVK/yn+wFoa3FpANiWsH6FJOw6HPKylf9sDO6jBQzlUTITlffCp+ptR awskPBaJ7RLSZAPrfvLHVv9v34axF9WtphMP2yVIhkwoJuWn2dWqDlztn8T0eaF8LtaN 0TObDjqXOQGig7HR9vKkDVXGa8PAkuzSrGS51+akThPoN64o3j0I/+TvT7sk4iGqbVuQ YCaMPIELKTwHeUPPnbi8eaFiI/pzXC9sAlYJLC3xMnbmq2UZvmN6LMTiBb7uEnfWyp7F YRBUDq0PKE1ErR21/n0kNyCkHY1VRhhYU4bblwLY8q6HCX7xinL8CTshDJpFU0NIFS4e /bIA==
X-Gm-Message-State: AD7BkJLYCHQxywf+ayEjgvyYHivvEoCJXjj6qoKhzM60p4uwbjbE6419te/iY1LF9HxZnoK9ed8O1vV2eql8hw==
X-Received: by 10.28.128.80 with SMTP id b77mr25799280wmd.42.1458720027853; Wed, 23 Mar 2016 01:00:27 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Wed, 23 Mar 2016 00:59:48 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Wed, 23 Mar 2016 03:59:48 -0400
X-Google-Sender-Auth: uiA8pCdQb-v0jOAGWwxLWm2gefI
Message-ID: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com>
To: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::232
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Wed, 23 Mar 2016 15:45:48 +0000
Subject: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5784556553334060835=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============5784556553334060835==
Content-Type: multipart/alternative; boundary=001a114193bc164972052eb2b9ef

--001a114193bc164972052eb2b9ef
Content-Type: text/plain; charset=UTF-8

Dear WG,

Aanchal Malhotra and I reviewed the client/server (unicast) key
exchange (KE) protocol in the NTS draft (-013). We also discussed
it with Ran Canetti [1] and Hugo Krawcyzk [2]. As I wrote in an earlier
email, we believe NTS's KE can be modified
to use one public key crypto operation, rather than three.

We also believe that the protocol can be modified to done in 2
round trips (4 messages), rather than in 3 round trips (or 6
messages). The current NTS draft cleverly protects against off-path
DDoS amplification attacks, using the first round trip. Our
suggestions would compress the last two round trips into one.  How this is
done depends on answers to my questions in my previous email.

This would help the KE complete faster, so clients could start to
take authenticated time sooner.

Also, the WG discussed running client/server timing queries in
parallel with the NTS KE, so clients can get time fast. (eg running
iburst in parallel with the NTS KE). We believe that this is
possible, but from a *security perspective* this must be done
carefully.

Why?

Suppose an unauthenticated timing exchange happens and convince the client
to update its clock before KE completes. Then,
man-in-the-middle can trick the client into updating its clock to a
bogus time in the past. Then, the attackers inject old compromised
certificates into the KE exchange. (That is, a revoked/expired
certificate for which the attacker has learned the secret key
corresponding to the public key in the certificate.) The client is
in the past, so it accepts the old bogus certificates, and the
attacker has defeated any protection provided by NTS. (This is very
related to the attack by Selvi in [5] and what we wrote about
attacking SSL certificates in Section III of our paper [6]. See
also [7].)

We believe the NTS KE can be modified to authenticate timing
messages sent in parallel with the KE. Note that this must be done
*without* requiring these initial timing messages to be MAC'd,
since before the KE completes, the client and server will not have
a shared symmetric key.

We believe that the NTS KE can be modified to include this feature.
See *. Is this of interest?

Sharon

* Roughly, the idea is to compute an incremental hash of all the
unathenticated timing messages running in parallel with the KE.
Then, once the KE completes and the client and server share a key,
this key can be used to MAC this incremental hash. In addition to
this, we would require the client *not* to update its local clock
until it has validated this MAC of the incremental hash. In other
words, the client collects timing samples while the KE is running,
but updates its clock only after the KE completes. If the KE
completes in 2 round trips, this might perform reasonably well.

References
[1] https://www.cs.bu.edu/fac/canetti/
[2] https://simons.berkeley.edu/people/hugo-krawczyk
[5]
https://media.defcon.org/DEF%20CON%2023/DEF%20CON%2023%20presentations/DEFCON-23-Jose-Selvi-Breaking-SSL-Using-Time-Synchronisation-Attacks.pdf
[6] https://eprint.iacr.org/2015/1020.pdf
[7]
http://arstechnica.com/security/2015/10/new-attacks-on-network-time-protocol-can-defeat-https-and-create-chaos/

-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a114193bc164972052eb2b9ef
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear WG,<br><br>Aanchal Malhotra and I reviewed the client=
/server (unicast) key<br>exchange (KE) protocol in the NTS draft (-013). We=
 also discussed<br>it with Ran Canetti [1] and Hugo Krawcyzk [2]. As I wrot=
e in an earlier email, we believe NTS&#39;s KE can be modified<br>to use on=
e public key crypto operation, rather than three.<br><br>We also believe th=
at the protocol can be modified to done in 2<br>round trips (4 messages), r=
ather than in 3 round trips (or 6<br>messages). The current NTS draft cleve=
rly protects against off-path<br>DDoS amplification attacks, using the firs=
t round trip. Our<br>suggestions would compress the last two round trips in=
to one.=C2=A0 How this is done depends on answers to my questions in my pre=
vious email.<br><br>This would help the KE complete faster, so clients coul=
d start to<br>take authenticated time sooner.<br><br>Also, the WG discussed=
 running client/server timing queries in<br>parallel with the NTS KE, so cl=
ients can get time fast. (eg running<br>iburst in parallel with the NTS KE)=
. We believe that this is<br>possible, but from a *security perspective* th=
is must be done<br>carefully.<br><br>Why?<br><br>Suppose an unauthenticated=
 timing exchange happens and convince the client to update its clock before=
 KE completes. Then,<br>man-in-the-middle can trick the client into updatin=
g its clock to a<br>bogus time in the past. Then, the attackers inject old =
compromised<br>certificates into the KE exchange. (That is, a revoked/expir=
ed<br>certificate for which the attacker has learned the secret key<br>corr=
esponding to the public key in the certificate.) The client is<br>in the pa=
st, so it accepts the old bogus certificates, and the<br>attacker has defea=
ted any protection provided by NTS. (This is very<br>related to the attack =
by Selvi in [5] and what we wrote about<br>attacking SSL certificates in Se=
ction III of our paper [6]. See<br>also [7].)<br><br>We believe the NTS KE =
can be modified to authenticate timing<br>messages sent in parallel with th=
e KE. Note that this must be done<br>*without* requiring these initial timi=
ng messages to be MAC&#39;d,<br>since before the KE completes, the client a=
nd server will not have<br>a shared symmetric key.<br><br>We believe that t=
he NTS KE can be modified to include this feature.<br>See *. Is this of int=
erest?<br><br>Sharon<br><br>* Roughly, the idea is to compute an incrementa=
l hash of all the<br>unathenticated timing messages running in parallel wit=
h the KE.<br>Then, once the KE completes and the client and server share a =
key,<br>this key can be used to MAC this incremental hash. In addition to<b=
r>this, we would require the client *not* to update its local clock<br>unti=
l it has validated this MAC of the incremental hash. In other<br>words, the=
 client collects timing samples while the KE is running,<br>but updates its=
 clock only after the KE completes. If the KE<br>completes in 2 round trips=
, this might perform reasonably well.<br><br>References<br>[1] <a href=3D"h=
ttps://www.cs.bu.edu/fac/canetti/">https://www.cs.bu.edu/fac/canetti/</a><b=
r>[2] <a href=3D"https://simons.berkeley.edu/people/hugo-krawczyk">https://=
simons.berkeley.edu/people/hugo-krawczyk</a><br>[5] <a href=3D"https://medi=
a.defcon.org/DEF%20CON%2023/DEF%20CON%2023%20presentations/DEFCON-23-Jose-S=
elvi-Breaking-SSL-Using-Time-Synchronisation-Attacks.pdf">https://media.def=
con.org/DEF%20CON%2023/DEF%20CON%2023%20presentations/DEFCON-23-Jose-Selvi-=
Breaking-SSL-Using-Time-Synchronisation-Attacks.pdf</a><br>[6] <a href=3D"h=
ttps://eprint.iacr.org/2015/1020.pdf">https://eprint.iacr.org/2015/1020.pdf=
</a><br>[7] <a href=3D"http://arstechnica.com/security/2015/10/new-attacks-=
on-network-time-protocol-can-defeat-https-and-create-chaos/">http://arstech=
nica.com/security/2015/10/new-attacks-on-network-time-protocol-can-defeat-h=
ttps-and-create-chaos/</a><br><br>-- <br><div class=3D"gmail_signature">Sha=
ron Goldberg<br>Computer Science, Boston University<br><a href=3D"http://ww=
w.cs.bu.edu/~goldbe" target=3D"_blank">http://www.cs.bu.edu/~goldbe</a></di=
v>
</div>

--001a114193bc164972052eb2b9ef--

--===============5784556553334060835==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5784556553334060835==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 09:26:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D7CA12D73C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 09:26:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 rdE-7Qr8qeiA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 09:26:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 3CFC512D726 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 09:26:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 368A686DB52 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 16:26:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E532686D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 08:02:23 +0000 (UTC)
Received: from mail-wm0-x230.google.com ([2a00:1450:400c:c09::230]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1aidkE-0004lS-FS for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 08:02:23 +0000
Received: by mail-wm0-x230.google.com with SMTP id p65so12431635wmp.0 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 01:02:22 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=0ujFA+B7w8XTdbw0zICcCIum2oySBtrgj2EVbp7pyis=; b=ds+zxH60vDRUM34ck/VugUvQ/AwEnAFjgqQLCsmBfig0mxUlXLGixkmW1n1YMSmIz5 WbU96H5WCd4/j6kE+TxHJY6Pr7B/2+Ae90J8ysFdtKV9JF9OoapZau5FnLeod2AYNoz9 JqYzoraTUDRSTV4WJ2wWl0JRrn1J55hjtuJx32bC4mXcRZ4IrhUbqU6XTdKQDNgcCgoa M0qXhq+J2v+I9WyFgnRNXoUfrejCLSHEWxXBDmWDSt86LtXWvD/eeXQRJQUvcRwaazGi pAlp1QOmsUPQAFGmNP1Hzk5rBRdko+vgrC2BDuZqfbJq6j/Xbq2KxqsLMBDiGDW94O2i 7KlQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=0ujFA+B7w8XTdbw0zICcCIum2oySBtrgj2EVbp7pyis=; b=ez3/mxAV5zOFvsjSkpSIQqRqBsh1v7i69rn8f/Qpl4x647WU2NRv8Tc8VuaqrCyyqF 8GFO7hwua3iUuKwG4FpBX8Ec3qAdgWOpjUtRhE6EaCaqLrA/F+MPEmxHuSFZUwWJTbpN Fvd1JM7w39P3qzRUsMj48H6iyswcxISG+Az6TNCiYUXBJJAvVT/nx46KewLY+mHrzcr3 4nPduczk6RXbEIk0ytergY5ZzW30OXzmB2lMBUO8NoKHNOn4Jw6xCVrJxPLX9qU1+hMo AqKrhXoMx8tnCCTSoz9pqFWVZH6SFW95Mouc/1bMmHe9PqrC6uD2JXYoQaUQcDECbxox CzxQ==
X-Gm-Message-State: AD7BkJKVR112wICNzM1nP7pmuX+bg2Co7sxGgi/AfUcQxfmZjJHBr4coJGOknJ9p9NRBNl/dAgLAK6eNeEjpZA==
X-Received: by 10.28.174.72 with SMTP id x69mr24381407wme.68.1458720141036; Wed, 23 Mar 2016 01:02:21 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Wed, 23 Mar 2016 01:01:41 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Wed, 23 Mar 2016 04:01:41 -0400
X-Google-Sender-Auth: _MZ37ulCWgH9p_iQpslt9Ny8H-0
Message-ID: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com>
To: tictoc@ietf.org, ntpwg@lists.ntp.org
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::230
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Wed, 23 Mar 2016 15:45:48 +0000
Subject: [ntpwg] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============5284619571598931960=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============5284619571598931960==
Content-Type: multipart/alternative; boundary=001a114444e0d54f93052eb2bf69

--001a114444e0d54f93052eb2bf69
Content-Type: text/plain; charset=UTF-8

Dear WG,

Another question, and please forgive me if this was discussed already and I
missed it.

It would be helpful to know why NTS is not just just running over IPsec. (I
can see why running NTP over TLS makes little sense, since TLS runs over
TCP while NTP runs over UDP so everything would probably
break.) But NTP runs over IP. I suppose there are some performance
hits to using IPsec? What are they?

Thanks,
Sharon

-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a114444e0d54f93052eb2bf69
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Dear WG,<br><br>Another question, and please forgive me if=
 this was discussed already and I missed it. <br><br>It would be helpful to=
 know why NTS is not just just running over IPsec. (I can see why running N=
TP over TLS makes little sense, since TLS runs over TCP while NTP runs over=
 UDP so everything would probably<br>break.) But NTP runs over IP. I suppos=
e there are some performance<br>hits to using IPsec? What are they?<br><br>=
Thanks,<br>Sharon<br><br>-- <br><div class=3D"gmail_signature">Sharon Goldb=
erg<br>Computer Science, Boston University<br><a href=3D"http://www.cs.bu.e=
du/~goldbe" target=3D"_blank">http://www.cs.bu.edu/~goldbe</a></div>
</div>

--001a114444e0d54f93052eb2bf69--

--===============5284619571598931960==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5284619571598931960==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 11:43:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DCCB612D19A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 11:43:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 PPRZL62TJzD8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 11:43:02 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 3155512D13C for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 11:43:02 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 26E2086DADC for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 18:43:01 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B38FC86D55F for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 17:12:09 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aimK8-000HYI-3g for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 17:12:09 +0000
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id A49773B706; Wed, 23 Mar 2016 17:11:59 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2NHBwfM025460; Wed, 23 Mar 2016 13:11:58 -0400
Date: Wed, 23 Mar 2016 18:11:57 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160323171157.GA10836@localhost>
References: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 23, 2016 at 03:59:48AM -0400, Sharon Goldberg wrote:
> * Roughly, the idea is to compute an incremental hash of all the
> unathenticated timing messages running in parallel with the KE.
> Then, once the KE completes and the client and server share a key,
> this key can be used to MAC this incremental hash. In addition to
> this, we would require the client *not* to update its local clock
> until it has validated this MAC of the incremental hash. In other
> words, the client collects timing samples while the KE is running,
> but updates its clock only after the KE completes. If the KE
> completes in 2 round trips, this might perform reasonably well.

This is an interesting idea, but wouldn't the server have to save the
incremental hash between client's requests? An NTP server normally
doesn't keep any state for clients and when it does (e.g. for
monitoring and rate limiting), it's all in a constant amount of memory
to prevent DoS attacks on the server. Clients that would benefit most
from having timestamps authenticated retroactively probably would be
the ones that poll the server least frequently and are most likely to
have their state on the server lost.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 11:43:12 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A679512D681 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 11:43:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 fh9izIhWsvtR for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 11:43:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 28E4012D19A for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 11:43:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1D16E86DAF2 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 18:43:10 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C84BF86D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 17:27:48 +0000 (UTC)
Received: from excelsior.roeckx.be ([2a01:70:ffff:1::3]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kurt@roeckx.be>) id 1aimZN-000Hgm-NG for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 17:27:48 +0000
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id C9A75A8A026C; Wed, 23 Mar 2016 17:27:41 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 7F6EE1FE0156; Wed, 23 Mar 2016 18:27:41 +0100 (CET)
Date: Wed, 23 Mar 2016 18:27:41 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160323172740.GA28288@roeckx.be>
References: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: 2a01:70:ffff:1::3
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kurt@roeckx.be
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 23, 2016 at 04:01:41AM -0400, Sharon Goldberg wrote:
> Dear WG,
> 
> Another question, and please forgive me if this was discussed already and I
> missed it.
> 
> It would be helpful to know why NTS is not just just running over IPsec. (I
> can see why running NTP over TLS makes little sense, since TLS runs over
> TCP while NTP runs over UDP so everything would probably
> break.) But NTP runs over IP. I suppose there are some performance
> hits to using IPsec? What are they?

I think the main problem is that they don't want that many IPsec
tunnels at the same time.  As far as I understand it, the design
wants to avoid storing this much state information on the server
side.  I'm not sure I agree with this design decision.

It could also use DTLS instead of TLS, which does work over UDP.

(D)TLS can already store the session on the client side, and
give that to the server on "resumption".  But maybe that would
require too many packets?

I'm also worried about the soundness of the crypto.  I have a
feeling this is designed by people that don't have enough
background to design something like this.  I think it needs to be
looked at by several people who do.  I've asked about this before
but nobody ever replied to it.


Kurt

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 11:43:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A853212D72F for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 11:43:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 PDHrhmwjZmYn for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 11:43:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C3BAD12D564 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 11:43:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BC85486DB79 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 18:43:16 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BBD8586D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 17:56:05 +0000 (UTC)
Received: from excelsior.roeckx.be ([2a01:70:ffff:1::3]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kurt@roeckx.be>) id 1ain0m-000IBS-Je for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 17:56:05 +0000
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id 30156A8A11EE; Wed, 23 Mar 2016 17:56:03 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id F36891FE0156; Wed, 23 Mar 2016 18:56:02 +0100 (CET)
Date: Wed, 23 Mar 2016 18:56:02 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160323175602.GB28288@roeckx.be>
References: <CAJHGrrSU0tAJEW_e1=SJNp0_8_=+5Nd7BiaP1nUstskvs=YHMQ@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrSU0tAJEW_e1=SJNp0_8_=+5Nd7BiaP1nUstskvs=YHMQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: 2a01:70:ffff:1::3
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kurt@roeckx.be
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Public key crypto for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 23, 2016 at 03:50:57AM -0400, Sharon Goldberg wrote:
> 
> a) What certificate authority (CA) infrastructure will NTS use? The
> same one as is used for TLS?
> 
> According to Hugo, today's TLS CA infrastructure makes it easier to
> obtain certificates for *signing keys* (that can be used for
> public-key (PK) signatures) than for *encryption keys* (that can be
> used for PK encryption). Also, most CAs only offer RSA keys for PK
> encryption, which has performance some issues for NTS's current KE,
> see * below.

An RSA key should have:
            X509v3 Key Usage: critical
                Digital Signature, Key Encipherment

If you don't have the "Key Encipherment" you wouldn't be able to
do an RSA key exchange.

An ECDSA certificate can only be used to sign.

A related question is if we should have special requirements for
certificates.  For instance, is a domain validated certificate
good enough?  Should we do OCSP?  Can we staple the OCSP or should
the CAs support OCSP with a nonce?



Kurt

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 13:19:05 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F376112D85C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 13:19:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 aaDyrPi6fiM4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 13:19:03 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 4BAB412D858 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 13:19:03 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8DB3186DAF3 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 20:19:01 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E07B686D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 19:36:03 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aioZN-000Je4-Ub for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 19:36:03 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 36AF27F6D0; Wed, 23 Mar 2016 19:35:53 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2NJZqJx009871; Wed, 23 Mar 2016 15:35:52 -0400
Date: Wed, 23 Mar 2016 20:35:51 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160323193551.GB10836@localhost>
References: <CAJHGrrRroB=+dLZW3BjmwdwZQ+6Fgs8sWuoK5zPEay5a9zOzEQ@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrRroB=+dLZW3BjmwdwZQ+6Fgs8sWuoK5zPEay5a9zOzEQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 23, 2016 at 01:53:35PM -0400, Sharon Goldberg wrote:
> On Wed, Mar 23, 2016 at 1:11 PM, Miroslav Lichvar <mlichvar@redhat.com>
> wrote:
> > This is an interesting idea, but wouldn't the server have to save the
> > incremental hash between client's requests? An NTP server normally
> > doesn't keep any state for clients and when it does (e.g. for
> > monitoring and rate limiting), it's all in a constant amount of memory
> > to prevent DoS attacks on the server.
> 
> 
> If an incremental hash is used, then it would require a constant amount of
> memory on the server.

Per client, right?

> > Clients that would benefit most
> > from having timestamps authenticated retroactively probably would be the
> > ones that poll the server least frequently and are most likely to
> > have their state on the server lost.
> 
> 
> I'm not sure I understand this point.  If a client is querying
> infrequently, why not just wait until the KE completes, and the key is
> established, before sending timing messages that can then be authenticated
> with the established key?   Why would you want to start a timing exchange
> in parallel with the KE?

My thought was that clients using longer interval would save more time
by having old timestamps authenticated.

If I understand the scheme you propose correctly, the client would
have samples from previous packets in the NTS initialization validated
when the last packet in the initialization is received. The question
is what the client could do with these extra samples. I guess they
could be useful to estimate the frequency error of the clock as ntpd
does in the freq state for instance. A client polling at 64s interval
would save more time with this than a client using 2s poll (iburst).

There is also a question whether the client would really want to use
any samples from the non-timing NTS exchanges as the packets are
longer and asymmetric, creating an extra error in the measurements.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 14:20:02 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7DD1712D961 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 14:20:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 slwwjWtMF8rM for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 14:20:00 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id A474412D95C for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 14:20:00 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6AFA086DAE1 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 21:20:00 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id DB77086D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 20:19:59 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aipFr-000KAV-Kc for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 20:19:59 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2NKJj7V000331-u2NKJj7X000331 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 23 Mar 2016 21:19:45 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id C561E3CFE0; Wed, 23 Mar 2016 21:19:45 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Pgp-Agent: GPGMail 2.6b2
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <20160323063539.GA1531@localhost>
Date: Wed, 23 Mar 2016 21:19:44 +0100
Message-Id: <E80963D9-E924-4060-8C03-B5EF12E75280@ptb.de>
References: <3171CCA5-C6DA-477F-9010-66F5EB178FDA@ptb.de> <20160323063539.GA1531@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] New draft document for NTS and NTS for NTP
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: multipart/mixed; boundary="===============3637140934297592972=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============3637140934297592972==
Content-Type: multipart/signed; boundary="Apple-Mail=_64EC23BA-52F8-44D5-AAA6-449E155252E1"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_64EC23BA-52F8-44D5-AAA6-449E155252E1
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hi Miroslav

I=E2=80=99ve discussed this today with Kristof and we agreed that this =
is a good idea. I just studied a estimate of the size of the relevant =
NTS extension fields. The time_request extension field is supposed to =
have an approximated size of 80 octets whereas the time_response =
extension fields has a size around 30 octets. So, both  extension fields =
have to be larger than its possibly minimum size of 16 octets. To have =
both extension fields the same size we currently see two approaches

1. The server captures the size of the time_request extension field and =
zero-pads the time_response extension field to have the same size.
2. The server includes in the time_response extension field the same =
information as in the time_request extension field. That should achieve =
the goal also.

I=E2=80=99m yet not sure what is the best method. I tend to prefer the =
first approach.

Dieter

> Am 23.03.2016 um 07:35 schrieb Miroslav Lichvar <mlichvar@redhat.com>:
>=20
> On Tue, Mar 22, 2016 at 07:52:15PM +0100, Dieter Sibold wrote:
>> Please note that we submitted new versions of the drafts mentioned =
below. We=E2=80=99ve incorporated the negotiation of the MAC algorithm =
and and the we=E2=80=99ve added some language to the security =
requirements in the NTS for NTP draft which addresses Harlan=E2=80=99s =
concern about the not MAC protected key exchange.
>=20
> Hi Dieter,
>=20
> are you planning to include also the suggestions I had for NTS in
> symmetric associations and the padding in the time_response message to
> keep lengths of NTP packets symmetric?
>=20
> If there are some details that need to be worked out or I can help in
> some other way, please let me know.
>=20
> Thanks,
>=20
> --
> Miroslav Lichvar


--Apple-Mail=_64EC23BA-52F8-44D5-AAA6-449E155252E1
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW8vpgAAoJEGX4ie6lYtkjppYP/jhYILWGexI5cI3AQBikBY5C
CYV0MxaK0tOYJcHWsjDd2oaagrae2AW6nJ8jzym1qtVX//m88DsU9F1f174YT6zU
KQ6Hy0o4qnwg5d1lHFcOpAXIshf23r20fsrbnAr1vMBCERygt2abAD42Ta2daQZv
Zu1r8egnKAhmnhCKleiLDnpoI6ZH/w2KNGDkAYTza8eZwZmh6oxIIl3Er8T071iu
YVU2fKM5uGEL7OV1+XxGbmCvfs2VTs914eiAp7wWApltUeO1prDBN279sfeNDqOt
vEXJcBvdsELrZVsHtnptjGHlopZRgHH7CPCNJ6LRv9PnzEQIndsS7BlIRoP82jZO
7CX7ViUPXlgMsA3KgDlxaLMaFO6kyE8x6JQ3igl1hrx7608XBcPvejRgHUiYc35f
IdOjsfvpNtssiTzYDnnsuf2q8bqmqRSZdcETurmd0XK+CgoRkIIJP4OgZJeAJMht
EIH71NTiK+dly6GIMRFaIEaF0HLU2/7rGQ30E9kP3yNE5pYIe4ZyNLclyFwk2nh5
rM59bknxFOOrZRKjXRQOI8yM2dO6RtBkTchHKpvg01ROXVICQ5609itSecGn9E0O
TqiKgje0DJtxCKusylgoW/fXK8KzmTuMOn7CXJuftTb2P2hZ/424+RgbJJy6izxl
Phq4hVw1txJkzXKMlENR
=O1xW
-----END PGP SIGNATURE-----

--Apple-Mail=_64EC23BA-52F8-44D5-AAA6-449E155252E1--

--===============3637140934297592972==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============3637140934297592972==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 14:51:27 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5B64412D94C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 14:51:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 PE3OgAPiovDu for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 14:51:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B0AB412D87E for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 14:51:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 87A8886DAD2 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 21:51:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 63E1A86D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 21:19:37 +0000 (UTC)
Received: from mail158c25.carrierzone.com ([64.29.147.228] helo=mail223c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1aiqBX-000L9s-3W for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 21:19:36 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail223c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2NLJJW9005009 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 21:19:20 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id C9690406063;  Wed, 23 Mar 2016 14:19:18 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Miroslav Lichvar <mlichvar@redhat.com>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Miroslav Lichvar <mlichvar@redhat.com> of "Wed, 23 Mar 2016 18:11:57 BST." <20160323171157.GA10836@localhost>
Mime-Version: 1.0
Date: Wed, 23 Mar 2016 14:19:18 -0700
Message-Id: <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=YdmEuWhf c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=20KFwNOVAAAA:8 a=HEwejVvpqBN5RS09nHAA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56F30858.0191, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.228
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

mlichvar@redhat.com said:
> This is an interesting idea, but wouldn't the server have to save the
> incremental hash between client's requests? An NTP server normally doesn't
> keep any state for clients and when it does (e.g. for monitoring and rate
> limiting), it's all in a constant amount of memory to prevent DoS attacks on
> the server. Clients that would benefit most from having timestamps
> authenticated retroactively probably would be the ones that poll the server
> least frequently and are most likely to have their state on the server lost.

I think it is worth thinking about that issue.  Memory has gotten a lot 
cheaper since the early days of NTP.  We now have problems with bufferbloat.

I think the limit on dedicated public NTP servers in network bandwidth.  A 
gigabyte or two would not be a problem.

For non-public servers, either there aren't a lot of clients (small network) 
so the memory requirements won't be a problem when NTP is run in the corner 
of another server or there are enough clients so the total cost of having a 
dedicated server isn't a serious problem.

The DoS problem gets interesting.  Does the server need storage between NTP 
requests or just for a short time while getting started?


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 22:22:39 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 94C1E12D10D for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:22:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 wIoH3PIcKqgU for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:22:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 3ADFC12D0F3 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 22:22:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 20B5C86DB0F for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:22:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 7B5DF86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 04:37:39 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aix1e-000Da4-Q6; Thu, 24 Mar 2016 04:37:38 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Sharon Goldberg <goldbe@cs.bu.edu>
In-reply-to: <CAJHGrrSU0tAJEW_e1=SJNp0_8_=+5Nd7BiaP1nUstskvs=YHMQ@mail.gmail.com>
References: <CAJHGrrSU0tAJEW_e1=SJNp0_8_=+5Nd7BiaP1nUstskvs=YHMQ@mail.gmail.com>
Comments: In-reply-to Sharon Goldberg <goldbe@cs.bu.edu> message dated "Wed, 23 Mar 2016 03:50:57 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 24 Mar 2016 04:37:38 +0000
Message-Id: <E1aix1e-000Da4-Q6@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Public key crypto for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

For some associations, one-sided authentication is all that is needed.

For others, both sides will need to authenticate.  We're looking at
creating some authorization capabilities as well, down the road a little
bit.

We should be able to determine 1- or 2-sided authentication as part of
the exchange, and act accordingly.

H

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 22:54:20 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1EAF912D8F4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:54:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 vNrDzCCKCqoe for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:54:18 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 685D212D5CA for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 22:54:18 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1841486DB04 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:54:18 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 09F9F86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 04:57:55 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aixLH-000Dbu-CI; Thu, 24 Mar 2016 04:57:55 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Sharon Goldberg <goldbe@cs.bu.edu>
In-reply-to: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com>
References: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com>
Comments: In-reply-to Sharon Goldberg <goldbe@cs.bu.edu> message dated "Wed, 23 Mar 2016 03:59:48 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 24 Mar 2016 04:57:55 +0000
Message-Id: <E1aixLH-000Dbu-CI@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Sharon Goldberg writes:

...

> We believe the NTS KE can be modified to authenticate timing messages
> sent in parallel with the KE. Note that this must be done *without*
> requiring these initial timing messages to be MAC'd, since before the
> KE completes, the client and server will not have a shared symmetric
> key.

If the two sides already have an ntp.keys file then this key can be used
for a MAC, correct?

If so, your paragraph can become:

 We believe the NTS KE can be modified to authenticate timing messages
 sent in parallel with the KE. Note that this MAY be done *without*
 requiring these initial timing messages to be MAC'd, since before the
 KE completes, the client and server will not have a shared
 NTS-delievered symmetric key.  A traditional MAC produced as described
 in RFC5905 may still be used.

correct?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 22:54:27 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B8B6312D8F4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:54:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 2dQAVdWr46BR for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:54:26 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 4C8D412D5CA for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 22:54:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 48C6586DB1E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:54:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id DE9CA86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 05:07:12 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aixUF-000Ddz-5S; Thu, 24 Mar 2016 05:07:11 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160323171157.GA10836@localhost>
References: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com> <20160323171157.GA10836@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Wed, 23 Mar 2016 18:11:57 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 24 Mar 2016 05:07:11 +0000
Message-Id: <E1aixUF-000Ddz-5S@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Also note that we do our best to avoid blocking in the server when doing
processing.

We cannot rely on threads, either.

If we're going to do a known-expensive CPU operation, we're very likely
going to find a way to do that operation while continuing to enable
processing of "normal" NTP packets.

There are a number of choices here, including deciding to delay the
response packet for a little while to give an expensive CPU operation
running in another thread or process time to complete.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 23 22:54:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1747A12D8F4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:54:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 qUcPPZYXSw7e for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 23 Mar 2016 22:54:30 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id D924612D5CA for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 23 Mar 2016 22:54:30 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BD00086DAFA for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:54:30 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 5C82C86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 05:17:12 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1aixdu-000Dep-MF; Thu, 24 Mar 2016 05:17:10 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160323193551.GB10836@localhost>
References: <CAJHGrrRroB=+dLZW3BjmwdwZQ+6Fgs8sWuoK5zPEay5a9zOzEQ@mail.gmail.com> <20160323193551.GB10836@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Wed, 23 Mar 2016 20:35:51 +0100."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 24 Mar 2016 05:17:10 +0000
Message-Id: <E1aixdu-000Dep-MF@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:

> There is also a question whether the client would really want to use
> any samples from the non-timing NTS exchanges as the packets are
> longer and asymmetric, creating an extra error in the measurements.

It depends on how they are implemented.  A longer period of time between
the T2 and T3 timestamps need not be a big deal.  It's also possible to
do quick NTP responses where the NTS message gets returned in a later
exchange.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 00:53:13 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 95CB812D720 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 00:53:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 3TACFR6m9x4V for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 00:53:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 771D012D0C6 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 00:53:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0791A86D9B3 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 07:53:09 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 61DAB86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 07:19:27 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1aizY2-0004GB-Gs for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 07:19:27 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2O7J5P6026185-u2O7J5P8026185 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 08:19:05 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id CF7673D0F5; Thu, 24 Mar 2016 08:19:05 +0100 (CET)
To: "NTP Working Group" <ntpwg@lists.ntp.org>, tictoc@ietf.org, "Sharon Goldberg" <goldbe@cs.bu.edu>
MIME-Version: 1.0
Message-ID: <OF9A9982F0.F7CB0A7C-ONC1257F80.002820A9-C1257F80.002832D2@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 24 Mar 2016 08:19:04 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Public key crypto for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0091418381769847293=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============0091418381769847293==
Content-Type: multipart/alternative; boundary="=_alternative 002832D2C1257F80_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 002832D2C1257F80_=
Content-Type: text/plain; charset="US-ASCII"

Hello Sharon, 

first of all: thank you. We appreciate your extensive and highly valuable 
feedback.
Replies to some of the points you made can be found in line.

Best regards,
Kristof


>Dear WG,
>
>Aanchal Malhotra and I reviewed the client/server (unicast) key
>exchange (KE) protocol in the NTS draft (-013). We also discussed
>it with cryptographers Ran Canetti [1] and Hugo Krawcyzk [2], who
>have invented HMAC [3] and TELSA, developed the KE protocols used
>in TLS and IPsec, and have also authored one of the standard models
>for proving the security of KE protocols (the Canetti-Krawcyzk
>model[4]), etc.
>
>Currently the NTS KE protocol requires *three* public-key crypto
>operations as part of the KE: two signatures and one encryption.
>Only *one* public-key crypto operation is needed for most one-sided
>authentication KEs (where the client authenticates the server, but
>the server does not authenticate the client, as in NTS's default
>mode).

Do I understand correctly that the goal of having only *one* operation 
would only be achievable in connection with the contents of your second 
mail (regarding the shortening of the KE protocol to 2 instead of 3 round 
trips)?

>
>The use of two signatures and one encryption in the KE has some
>undesirable consequences:
>
>(2a) Performance. Requiring three PK operations more
>computationally intensive than using just one. Especially if RSA is
>used in the current KE protocol, see * below.

Point taken.

>
>(2b) Key management. The protocol requires the client to have an
>*encryption* keys, and the server to have a *signing key*. Because
>of NTP's hierarchical client-server model, this means that most
>hosts with need to main *two* public keys and corresponding
>certificates---one for signing and one for encrypting. (Think of a
>stratum 2 host that is the client of a stratum 1, and also a server
>from straum 3 hosts.) These hosts now how to purchase, renew, etc
>two crypto certificates instead of one.

We designed things this way so that there would be different certificates 
for the two different roles. What we had in mind was that the client 
authorization and server authorization aspects could be managed by 
separate authorities.

Note that the certificate for an NTS client will presumably have generally 
lower trust requirements than that for an NTS server, to the point where 
for many use cases, the client certificate may just be self-signed.

>
>We believe the protocol can be modified to use only one public-key
>crypto operation. Regarding these modifications we have these
>questions:
>
>a) What certificate authority (CA) infrastructure will NTS use? The
>same one as is used for TLS?

The aim in all NTS-related documents was to intentionally leave the choice 
of CA infrastructure generic.
(Related: do you see any points in the specification documents where this 
is not the case? Our lack of expertise in the area of CA infrastructures 
might have caused this.)

>
>According to Hugo, today's TLS CA infrastructure makes it easier to
>obtain certificates for *signing keys* (that can be used for
>public-key (PK) signatures) than for *encryption keys* (that can be
>used for PK encryption). Also, most CAs only offer RSA keys for PK
>encryption, which has performance some issues for NTS's current KE,
>see * below.
>
>b) Does NTS prefer to require hosts to have certificates for PK
>*signing* or for PK *encryption*? It should be possible to have KE
>that uses only one PK crypto operation in either case. Or does either
>option work?

I honestly have no answer to this question, because I had always 
considered it good practice to keep those two aspects separate, especially 
key-wise.

>
>Sharon
>
>* If NTS's current KE wanted to have only one certificate per host,
>it would need to use RSA certificates, because these can be used
>for both signing and encrypting. But:
>
>a) RSA has a performance disadvantage for NTS's current KE.
>RSA signing/decrypting is at least 10x slower than RSA
>verifying/encrypting. The current NTS KE has the *server* doing two
>signing operations and one decryption. Thus, the server is doing 2
>(out of 3) computationally expensive RSA operations (signing),
>while the client is doing only 1 (out of 3) expensive RSA operation
>(decrypting). We might want to have less load on the server, since
>a server will have more NTS associations than a client.

Apart from shortening the KE protocol (see below), what would be the 
outline of your proposal to lessen the server's workload?

>
>b) Being locked into RSA means that elliptic curve cryptography
>(ECC) cannot be used. Many WG's moving toward ECC [5,6,7,8]
>because:
>
>    - ECDSA signatures provides higher security levels with shorter
>signatures and shorter keys than RSA. For example, 3072-bit RSA
>(which has 3072-bit keys and signatures) is though to provide a
>security level equivalent to 256-bit ECDSA (which has 256-bit keys
>and 512-bit signatures.
>
>   - ECDSA signing is about 3x times faster to compute than RSA
>   signing for similar security levels.  In fact, when ECDSA is
>   optimized it can even be 10x faster than RSA: see the performance
>   numbers in the table on page 21 of this ID [9].
>
> 

> Dear WG,
>
> Aanchal Malhotra and I reviewed the client/server (unicast) key
> exchange (KE) protocol in the NTS draft (-013). We also discussed
> it with Ran Canetti [1] and Hugo Krawcyzk [2]. As I wrote in an earlier 
email, we believe NTS's KE can > be modified
> to use one public key crypto operation, rather than three.
>
> We also believe that the protocol can be modified to done in 2
> round trips (4 messages), rather than in 3 round trips (or 6
> messages). The current NTS draft cleverly protects against off-path
> DDoS amplification attacks, using the first round trip. Our
> suggestions would compress the last two round trips into one.  How this 
is done depends on answers to > my questions in my previous email.

There was appoint in time at which we discussed doing this (we formerly 
had separate exchanges for algorithm negotiation and certification, and we 
had this discussion after we united those two exchanges). We decided 
against it, as far as I recall because of reasons which are not valid 
anymore (we once had a sign-first-then-encrypt scheme which would have 
made things difficult, and our discussion also took place when the access 
messages protecting against DDoS were not yet in place).

Currently, I do not at first glance see concrete reasons why the 
association and cookie messages could not be united into one single 
exchange. However, we would like to run any proposal for such a new 
exchange through automated analysis tools before bringing it into the 
specification.

>
> This would help the KE complete faster, so clients could start to
> take authenticated time sooner.
>
> Also, the WG discussed running client/server timing queries in
> parallel with the NTS KE, so clients can get time fast. (eg running
> iburst in parallel with the NTS KE). We believe that this is
> possible, but from a *security perspective* this must be done
> carefully.
>
> Why?
>
> Suppose an unauthenticated timing exchange happens and convince 
> the client to update its clock before > KE completes. Then,
> man-in-the-middle can trick the client into updating its clock to a
> bogus time in the past. Then, the attackers inject old compromised
> certificates into the KE exchange. (That is, a revoked/expired
> certificate for which the attacker has learned the secret key
> corresponding to the public key in the certificate.) The client is
> in the past, so it accepts the old bogus certificates, and the
> attacker has defeated any protection provided by NTS. (This is very
> related to the attack by Selvi in [5] and what we wrote about
> attacking SSL certificates in Section III of our paper [6]. See
> also [7].)
> 
> We believe the NTS KE can be modified to authenticate timing
> messages sent in parallel with the KE. Note that this must be done
> *without* requiring these initial timing messages to be MAC'd,
> since before the KE completes, the client and server will not have
> a shared symmetric key.
> 
> We believe that the NTS KE can be modified to include this feature.
> See *. Is this of interest?

I have toyed with ideas like this previously, although for me the 
application had always been more in the direction of reducing latency on 
time_response messages (by sending a verifying MAC in a later message). 
The reason we never introduced anything like it was that (as you also 
state below for your outlined proposal) it would require modifications to 
the client behavior on the level of the time synchronization protocol, 
whereas we have always tried to specify NTS in such a way that, at least 
for unicast, it can run without modifications to the time synchronization 
mechanisms themselves. 

>
> Sharon
>
> * Roughly, the idea is to compute an incremental hash of all the
> unathenticated timing messages running in parallel with the KE.
> Then, once the KE completes and the client and server share a key,
> this key can be used to MAC this incremental hash. In addition to
> this, we would require the client *not* to update its local clock
> until it has validated this MAC of the incremental hash. In other
> words, the client collects timing samples while the KE is running,
> but updates its clock only after the KE completes. If the KE
> completes in 2 round trips, this might perform reasonably well.
--=_alternative 002832D2C1257F80_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>Hello Sharon,</font></tt><font size=2 face="Verdana">
</font>
<br>
<br><tt><font size=2>first of all: thank you. We&nbsp;appreciate&nbsp;your
extensive and highly valuable feedback.</font></tt>
<br><tt><font size=2>Replies to some of the points you made can be found
in line.<br>
<br>
Best regards,</font></tt>
<br><tt><font size=2>Kristof</font></tt>
<br><tt><font size=2><br>
<br>
&gt;Dear WG,<br>
&gt;<br>
&gt;Aanchal Malhotra and I reviewed the client/server (unicast) key<br>
&gt;exchange (KE) protocol in the NTS draft (-013). We also discussed<br>
&gt;it with cryptographers Ran Canetti [1] and Hugo Krawcyzk [2], who<br>
&gt;have invented HMAC [3] and TELSA, developed the KE protocols used<br>
&gt;in TLS and IPsec, and have also authored one of the standard models<br>
&gt;for proving the security of KE protocols (the Canetti-Krawcyzk<br>
&gt;model[4]), etc.<br>
&gt;<br>
&gt;Currently the NTS KE protocol requires *three* public-key crypto<br>
&gt;operations as part of the KE: two signatures and one encryption.<br>
&gt;Only *one* public-key crypto operation is needed for most one-sided<br>
&gt;authentication KEs (where the client authenticates the server, but<br>
&gt;the server does not authenticate the client, as in NTS's default<br>
&gt;mode).</font></tt>
<br>
<br><tt><font size=2>Do I understand correctly that the goal of having
only *one* operation would only be achievable in connection with the contents
of your second mail (regarding the shortening of the KE protocol to 2&nbsp;instead
of 3 round trips)?</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt;The use of two signatures and one encryption in the KE has some<br>
&gt;undesirable consequences:<br>
&gt;<br>
&gt;(2a) Performance. Requiring three PK operations more<br>
&gt;computationally intensive than using just one. Especially if RSA is<br>
&gt;used in the current KE protocol, see * below.</font></tt>
<br>
<br><tt><font size=2>Point taken.</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt;(2b) Key management. The protocol requires the client to have an<br>
&gt;*encryption* keys, and the server to have a *signing key*. Because<br>
&gt;of NTP's hierarchical client-server model, this means that most<br>
&gt;hosts with need to main *two* public keys and corresponding<br>
&gt;certificates---one for signing and one for encrypting. (Think of a<br>
&gt;stratum 2 host that is the client of a stratum 1, and also a server<br>
&gt;from straum 3 hosts.) These hosts now how to purchase, renew, etc<br>
&gt;two crypto certificates instead of one.</font></tt>
<br>
<br><tt><font size=2>We designed things this way so that there would be
different certificates for the two different roles. What we had in mind
was that the client authorization and server authorization aspects could
be managed by separate authorities.</font></tt>
<br>
<br><tt><font size=2>Note that the certificate for an NTS client will presumably
have&nbsp;generally lower trust requirements than that for an NTS server,
to the point where for many use cases, the client certificate&nbsp;may
just be self-signed.</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt;We believe the protocol can be modified to use only one public-key<br>
&gt;crypto operation. Regarding these modifications we have these<br>
&gt;questions:<br>
&gt;<br>
&gt;a) What certificate authority (CA) infrastructure will NTS use? The<br>
&gt;same one as is used for TLS?</font></tt>
<br>
<br><tt><font size=2>The aim in all NTS-related documents was to intentionally
leave the choice of CA infrastructure generic.</font></tt>
<br><tt><font size=2>(Related: do you see any points in the specification
documents where this is not the case? Our lack of expertise in the area
of CA infrastructures might have caused this.)</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt;According to Hugo, today's TLS CA infrastructure makes it easier to<br>
&gt;obtain certificates for *signing keys* (that can be used for<br>
&gt;public-key (PK) signatures) than for *encryption keys* (that can be<br>
&gt;used for PK encryption). Also, most CAs only offer RSA keys for PK<br>
&gt;encryption, which has performance some issues for NTS's current KE,<br>
&gt;see * below.<br>
&gt;<br>
&gt;b) Does NTS prefer to require hosts to have certificates for PK<br>
&gt;*signing* or for PK *encryption*? It should be possible to have KE<br>
&gt;that uses only one PK crypto operation in either case. Or does either<br>
&gt;option work?</font></tt>
<br>
<br><tt><font size=2>I honestly have no answer to this&nbsp;question, because
I had always considered it good practice to keep those two aspects separate,
especially key-wise.</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt;Sharon<br>
&gt;<br>
&gt;* If NTS's current KE wanted to have only one certificate per host,<br>
&gt;it would need to use RSA certificates, because these can be used<br>
&gt;for both signing and encrypting. But:<br>
&gt;<br>
&gt;a) RSA has a performance disadvantage for NTS's current KE.<br>
&gt;RSA signing/decrypting is at least 10x slower than RSA<br>
&gt;verifying/encrypting. The current NTS KE has the *server* doing two<br>
&gt;signing operations and one decryption. Thus, the server is doing 2<br>
&gt;(out of 3) computationally expensive RSA operations (signing),<br>
&gt;while the client is doing only 1 (out of 3) expensive RSA operation<br>
&gt;(decrypting). We might want to have less load on the server, since<br>
&gt;a server will have more NTS associations than a client.</font></tt>
<br>
<br><tt><font size=2>Apart from shortening the KE protocol (see below),
what would be the outline of your proposal to lessen the server's workload?</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt;b) Being locked into RSA means that elliptic curve cryptography<br>
&gt;(ECC) cannot be used. Many WG's moving toward ECC [5,6,7,8]<br>
&gt;because:<br>
&gt;<br>
&gt;&nbsp;&nbsp;&nbsp; - ECDSA signatures provides higher security levels
with shorter<br>
&gt;signatures and shorter keys than RSA. For example, 3072-bit RSA<br>
&gt;(which has 3072-bit keys and signatures) is though to provide a<br>
&gt;security level equivalent to 256-bit ECDSA (which has 256-bit keys<br>
&gt;and 512-bit signatures.<br>
&gt;<br>
&gt;&nbsp;&nbsp; - ECDSA signing is about 3x times faster to compute than
RSA<br>
&gt;&nbsp;&nbsp; signing for similar security levels.&nbsp; In fact, when
ECDSA is<br>
&gt;&nbsp;&nbsp; optimized it can even be 10x faster than RSA: see the
performance<br>
&gt;&nbsp;&nbsp; numbers in the table on page 21 of this ID [9].<br>
&gt;<br>
&gt;</font></tt><font size=2 face="Verdana"> </font>
<br>
<br><tt><font size=2>&gt; Dear WG,<br>
&gt;<br>
&gt; Aanchal Malhotra and I reviewed the client/server (unicast) key<br>
&gt; exchange (KE) protocol in the NTS draft (-013). We also discussed<br>
&gt; it with Ran Canetti [1] and Hugo Krawcyzk [2]. As I wrote in an earlier
email, we believe NTS's KE can &gt; be modified<br>
&gt; to use one public key crypto operation, rather than three.<br>
&gt;<br>
&gt; We also believe that the protocol can be modified to done in 2<br>
&gt; round trips (4 messages), rather than in 3 round trips (or 6<br>
&gt; messages). The current NTS draft cleverly protects against off-path<br>
&gt; DDoS amplification attacks, using the first round trip. Our<br>
&gt; suggestions would compress the last two round trips into one.&nbsp;
How this is done depends on answers to &gt; my questions in my previous
email.</font></tt>
<br>
<br><tt><font size=2>There was&nbsp;appoint in time at which we discussed
doing this (we formerly had separate exchanges for algorithm negotiation
and certification, and we had this discussion after we united those two
exchanges). We decided against it, as far as I recall because of reasons
which are not valid anymore (we once had a sign-first-then-encrypt scheme
which would have made things difficult, and our discussion also took place
when the&nbsp;access messages protecting against DDoS were not yet in place).</font></tt>
<br>
<br><tt><font size=2>Currently, I do not at first glance see concrete reasons
why the association and cookie messages could not be united into one single
exchange. However, we would like to run any proposal for such a new exchange
through automated analysis tools before bringing it into the specification.</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt; This would help the KE complete faster, so clients could start to<br>
&gt; take authenticated time sooner.<br>
&gt;<br>
&gt; Also, the WG discussed running client/server timing queries in<br>
&gt; parallel with the NTS KE, so clients can get time fast. (eg running<br>
&gt; iburst in parallel with the NTS KE). We believe that this is<br>
&gt; possible, but from a *security perspective* this must be done<br>
&gt; carefully.<br>
&gt;<br>
&gt; Why?<br>
&gt;<br>
&gt; Suppose an unauthenticated timing exchange happens and convince&nbsp;</font></tt>
<br><tt><font size=2>&gt; the client to update its clock before &gt; KE
completes. Then,<br>
&gt; man-in-the-middle can trick the client into updating its clock to
a<br>
&gt; bogus time in the past. Then, the attackers inject old compromised<br>
&gt; certificates into the KE exchange. (That is, a revoked/expired<br>
&gt; certificate for which the attacker has learned the secret key<br>
&gt; corresponding to the public key in the certificate.) The client is<br>
&gt; in the past, so it accepts the old bogus certificates, and the<br>
&gt; attacker has defeated any protection provided by NTS. (This is very<br>
&gt; related to the attack by Selvi in [5] and what we wrote about<br>
&gt; attacking SSL certificates in Section III of our paper [6]. See<br>
&gt; also [7].)<br>
&gt;&nbsp;<br>
&gt; We believe the NTS KE can be modified to authenticate timing<br>
&gt; messages sent in parallel with the KE. Note that this must be done<br>
&gt; *without* requiring these initial timing messages to be MAC'd,<br>
&gt; since before the KE completes, the client and server will not have<br>
&gt; a shared symmetric key.<br>
&gt;&nbsp;<br>
&gt; We believe that the NTS KE can be modified to include this feature.<br>
&gt; See *. Is this of interest?</font></tt>
<br>
<br><tt><font size=2>I have toyed with ideas like this previously, although
for me the application had always been more in the direction of reducing
latency on time_response messages (by sending a verifying MAC in a later
message). The reason we never introduced anything like it was that (as
you also state below for your outlined proposal) it would require modifications
to the client&nbsp;behavior on the level of the time synchronization protocol,
whereas we have always tried to specify NTS in such a way that, at least
for unicast, it can run without modifications to the time synchronization
mechanisms themselves.&nbsp;</font></tt>
<br><tt><font size=2><br>
&gt;<br>
&gt; Sharon<br>
&gt;<br>
&gt; * Roughly, the idea is to compute an incremental hash of all the<br>
&gt; unathenticated timing messages running in parallel with the KE.<br>
&gt; Then, once the KE completes and the client and server share a key,<br>
&gt; this key can be used to MAC this incremental hash. In addition to<br>
&gt; this, we would require the client *not* to update its local clock<br>
&gt; until it has validated this MAC of the incremental hash. In other<br>
&gt; words, the client collects timing samples while the KE is running,<br>
&gt; but updates its clock only after the KE completes. If the KE<br>
&gt; completes in 2 round trips, this might perform reasonably well.</font></tt>
--=_alternative 002832D2C1257F80_=--

--===============0091418381769847293==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0091418381769847293==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 02:23:37 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2475F12D61C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 02:23:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 d0Qkm7sFRYxZ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 02:23:31 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id BD36A12D11B for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 02:23:31 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9190A86D60E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:23:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3B00686D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 08:49:52 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1aj0xb-0005Uy-6c for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 08:49:52 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 743F07F09C; Thu, 24 Mar 2016 08:49:42 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2O8nfj9003356; Thu, 24 Mar 2016 04:49:41 -0400
Date: Thu, 24 Mar 2016 09:49:41 +0100
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160324084941.GB23775@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 23, 2016 at 06:17:33PM -0400, Sharon Goldberg wrote:
> Before I say how to get around it, I was wondering why this bothers us so
> much?  The current ntpd already has the server saves per-client state, for
> poll interval, rate limiting, and symmetric keys.

The NTP specification doesn't require servers to save any state per
client. The monitoring and rate limiting are optional features.

> Is this really such a
> problem to store a bunch of additional ~256 bit values for each client?

That depends on the implementation. You can have an SNTP server with a
GPS refclock running on a microcontroller with couple kilobytes of RAM
and it can serve time to hunderds of thousands of clients. With NTS
the requirements on memory shouldn't change much, the CPU just has to
be faster or have the crypto algorithms implemented in HW.

> And especially if this state only lives for the duration of the KE?

There is no limit on the duration. The client may be polling the
server just couple times a day. Let's not forget the key exchange will
happen not only when the client is started, but also when the server
refreshes its seed. We certainly don't want clients to drop to their
minimum polling intervals or start a burst when that happens.

> But I think it is worthwhile to carefully evaluate if this type of approach
> is really needed for NTS, or is it just adding additional complexity.

Yes. To me it looks like a lot of complexity with little gain.

> Not sure, not an expert on NTP's timing algos. But we have seen that upon
> initalization, ntpd requires about 4 timing samples before it updates its
> clock. So it could collect these timing samples while the NTS KE is running.

I'm not sure if it's intentional, but recent versions of ntpd now
update the clock with the first (authenticated) sample. Older versions
and other implementations may require more.

> > There is also a question whether the client would really want to use
> > any samples from the non-timing NTS exchanges as the packets are
> > longer and asymmetric, creating an extra error in the measurements.
> >
> >
> So, in my mind, the timing messages would be sent in separate packets from
> the NTS KE messages.  They would be sent in parallel. That way, the crypto
> done in NTS does not mess up the accuracy of the timing exchanges.

Hm, I thought the incremental hash was meant for timestamps in the
first few NTS packets.

If there were two associations per client, I think it would be even
more complex. There would have to be some mechanism for the server to
identify and link the two client associations, so it can hash the
right timestamps (and not timestamps for some other client behind NAT
for instance). The client would have to make sure requests from the
two associations are not too close to each other to not violate the
minimum request interval on the server.

This would effectively double the polling rate. If the client is
allowed to increase its polling rate, I think it would be more useful
to do that with the NTS association rather than adding an extra
association, so the client would get the first authenticated sample
sooner.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 02:53:00 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5F72C12D14B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 02:53:00 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 sfd9RiFTdxcf for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 02:52:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 226E312D6CE for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 02:52:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0B90A86DAEF for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:52:57 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D3D6086D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 09:03:07 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aj1AQ-0005gC-7R for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 09:03:07 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2O92lat002382-u2O92lav002382 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 10:02:47 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 89F633D24D; Thu, 24 Mar 2016 10:02:47 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
Date: Thu, 24 Mar 2016 10:02:45 +0100
Message-Id: <AD07F5EE-FC2B-47AF-A53D-9E7B02D95CF3@ptb.de>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
X-TNEFEvaluated: 1
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============4927609982839911880=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============4927609982839911880==
Content-Type: multipart/alternative; boundary="Apple-Mail=_8F074DA8-8FA8-41DF-8918-69C570362E44"


--Apple-Mail=_8F074DA8-8FA8-41DF-8918-69C570362E44
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> Am 23.03.2016 um 23:17 schrieb Sharon Goldberg <goldbe@cs.bu.edu>:
>=20
> > > This is an interesting idea, but wouldn't the server have to save =
the
> > > incremental hash between client's requests? An NTP server normally
> > > doesn't keep any state for clients and when it does (e.g. for
> > > monitoring and rate limiting), it's all in a constant amount of =
memory
> > > to prevent DoS attacks on the server.
> >
> >
> > If an incremental hash is used, then it would require a constant =
amount of memory on the server.
>=20
> Per client, right?
>=20
> Right.  But only for the duration of the KE; afterwards this could be =
purged.
>=20
> However, if this per client state really bothers us, there is a way =
around it. =20
>=20
> Before I say how to get around it, I was wondering why this bothers us =
so much?  The current ntpd already has the server saves per-client =
state, for poll interval, rate limiting, and symmetric keys.  Is this =
really such a problem to store a bunch of additional ~256 bit values for =
each client?  And especially if this state only lives for the duration =
of the KE?

Yes, this is true. But the capabilities of NTP to keep track of the =
states are very limited. Our NTP servers with the most current NTPD are =
only able to store about 12000 records, in which the oldest records are =
about 10 to 60 seconds old. They even cannot guarantee to memorize the =
state of a client when it is in iburst mode. Perhaps the implementation =
can be adjusted to allow for even more state information. However when =
we started this project we had and still have the requirement to have a =
solution that can allow a NTPD to serve at least 10^5 clients. That is =
the practical reason we wanted to have an approach that is stateless on =
the server side. Another reason is RFC 7384, Sec. 5.7, which state that =
a security mechanism should minimize the storage requirements of client =
state in the server.

Dieter

>=20
> Anyway, here is a generic trick for getting rid of state on the =
server, that could be useful for NTS.  The trick is to use a cookie. =20
>=20
> 1)  Let the server have a local symmetric key $k$ that only it knows. =
It only needs on key for each client.
> 2)  Let $s$ be the per client state that the server doesn't want to =
store. For example, the session key with the client, or the incremental =
hash, or whatever we want.
> 3) The server computes cookie $c$ =3D AuthEnc_{$k$} ($s$), where =
AuthEnc is an authenticated encryption scheme like GCM [1].
> 4) The server sends $c$ to the client.
> 5) The client stores $c$.  Note that since the client doesn't know =
$k$, it can't read what is in $c$.
> 6) The client sends $c$ to the server with its request.
> 7) The server knows $k$, and can AuthDec_{$k$}($c$) to learn $s$.
>=20
> We would need to be careful with session identifiers so attackers =
can't replay old cookies here but this is the basic idea.  I can do some =
research on exactly how this should be done, I think there have been =
papers on it.
> =20
> But I think it is worthwhile to carefully evaluate if this type of =
approach is really needed for NTS, or is it just adding additional =
complexity.
>=20
> > > Clients that would benefit most
> > > from having timestamps authenticated retroactively probably would =
be the
> > > ones that poll the server least frequently and are most likely to
> > > have their state on the server lost.
> >
> >
> > I'm not sure I understand this point.  If a client is querying
> > infrequently, why not just wait until the KE completes, and the key =
is
> > established, before sending timing messages that can then be =
authenticated
> > with the established key?   Why would you want to start a timing =
exchange
> > in parallel with the KE?
>=20
> My thought was that clients using longer interval would save more time
> by having old timestamps authenticated.
>=20
> If I understand the scheme you propose correctly, the client would
> have samples from previous packets in the NTS initialization validated
> when the last packet in the initialization is received.
>=20
> Yes. So I imagine the client starting. Then it initiates NTS and in =
parallel does some timing exchanges that are not MAC'd. These timing =
exchanges won't update the clock yet.  Then once the NTS KE completes, =
it also authenticates these timing exchanges.  At this point, the client =
can choose to update its clock (or not) per the usual NTP processes.
> =20
> The question
> is what the client could do with these extra samples. I guess they
> could be useful to estimate the frequency error of the clock as ntpd
> does in the freq state for instance. A client polling at 64s interval
> would save more time with this than a client using 2s poll (iburst).
>=20
> Not sure, not an expert on NTP's timing algos. But we have seen that =
upon initalization, ntpd requires about 4 timing samples before it =
updates its clock. So it could collect these timing samples while the =
NTS KE is running.
> =20
> There is also a question whether the client would really want to use
> any samples from the non-timing NTS exchanges as the packets are
> longer and asymmetric, creating an extra error in the measurements.
>=20
>=20
> So, in my mind, the timing messages would be sent in separate packets =
from the NTS KE messages.  They would be sent in parallel. That way, the =
crypto done in NTS does not mess up the accuracy of the timing =
exchanges.
>=20
> [1] https://en.wikipedia.org/wiki/Galois/Counter_Mode =
<https://en.wikipedia.org/wiki/Galois/Counter_Mode>=20
> =20
> Sharon Goldberg
> Computer Science, Boston University
> http://www.cs.bu.edu/~goldbe =
<http://www.cs.bu.edu/~goldbe>____________________________________________=
___
> TICTOC mailing list
> TICTOC@ietf.org
> https://www.ietf.org/mailman/listinfo/tictoc


--Apple-Mail=_8F074DA8-8FA8-41DF-8918-69C570362E44
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 23.03.2016 um 23:17 schrieb Sharon Goldberg &lt;<a =
href=3D"mailto:goldbe@cs.bu.edu" =
class=3D"">goldbe@cs.bu.edu</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span =
class=3D""> &gt; &gt; This is an interesting idea, but wouldn't the =
server have to save the</span><br class=3D""><span =
class=3D""></span><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><span class=3D"">
&gt; &gt; incremental hash between client's requests? An NTP server =
normally<br class=3D"">
&gt; &gt; doesn't keep any state for clients and when it does (e.g. =
for<br class=3D"">
&gt; &gt; monitoring and rate limiting), it's all in a constant amount =
of memory<br class=3D"">
&gt; &gt; to prevent DoS attacks on the server.<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; If an incremental hash is used, then it would require a constant =
amount of memory on the server.<br class=3D"">
<br class=3D"">
</span>Per client, right?<br class=3D"">
<span class=3D""><br class=3D""></span></blockquote><div =
class=3D"">Right.&nbsp; But only for the duration of the KE; afterwards =
this could be purged.<br class=3D""><br class=3D"">However, if this per =
client state really bothers us, there is a way around it.&nbsp; <br =
class=3D""><br class=3D""></div><div class=3D"">Before I say how to get =
around it, I was wondering why this bothers us so much?&nbsp; The =
current ntpd already has the server saves per-client state, for poll =
interval, rate limiting, and symmetric keys.&nbsp; Is this really such a =
problem to store a bunch of additional ~256 bit values for each =
client?&nbsp; And especially if this state only lives for the duration =
of the KE?<br =
class=3D""></div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>Yes, this is true. But the capabilities of NTP to =
keep track of the states are very limited. Our NTP servers with the most =
current NTPD are only able to store about 12000 records, in which the =
oldest records are about 10 to 60 seconds old. They even cannot =
guarantee to memorize the state of a client when it is in iburst mode. =
Perhaps the implementation can be adjusted to allow for even more state =
information. However when we started this project we had and still have =
the requirement to have a solution that can allow a NTPD to serve at =
least 10^5 clients. That is the practical reason we wanted to have an =
approach that is stateless on the server side. Another reason is RFC =
7384, Sec. 5.7, which state that a security mechanism should minimize =
the storage requirements of client state in the server.</div><div><br =
class=3D""></div><div>Dieter</div><br class=3D""><blockquote type=3D"cite"=
 class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><div class=3D""><br =
class=3D""></div><div class=3D"">Anyway, here is a generic trick for =
getting rid of state on the server, that could be useful for NTS.&nbsp; =
The trick is to use a cookie.&nbsp; <br class=3D""><br =
class=3D""></div><div class=3D"">1)&nbsp; Let the server have a local =
symmetric key $k$ that only it knows. It only needs on key for each =
client.<br class=3D""></div><div class=3D"">2)&nbsp; Let $s$ be the per =
client state that the server doesn't want to store. For example, the =
session key with the client, or the incremental hash, or whatever we =
want.<br class=3D""></div><div class=3D"">3) The server computes cookie =
$c$ =3D AuthEnc_{$k$} ($s$), where AuthEnc is an authenticated =
encryption scheme like GCM [1].<br class=3D""></div><div class=3D"">4) =
The server sends $c$ to the client.<br class=3D""></div><div class=3D"">5)=
 The client stores $c$.&nbsp; Note that since the client doesn't know =
$k$, it can't read what is in $c$.<br class=3D""></div><div class=3D"">6) =
The client sends $c$ to the server with its request.<br =
class=3D""></div><div class=3D"">7) The server knows $k$, and can =
AuthDec_{$k$}($c$) to learn $s$.<br class=3D""></div><div class=3D""><br =
class=3D""></div><div class=3D"">We would need to be careful with =
session identifiers so attackers can't replay old cookies here but this =
is the basic idea.&nbsp; I can do some research on exactly how this =
should be done, I think there have been papers on it.<br =
class=3D""></div><div class=3D""></div><div class=3D"">&nbsp;<br =
class=3D""></div><div class=3D"">But I think it is worthwhile to =
carefully evaluate if this type of approach is really needed for NTS, or =
is it just adding additional complexity.<br class=3D""></div><div =
class=3D""><br class=3D""></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid =
rgb(204,204,204);padding-left:1ex"><span class=3D"">
&gt; &gt; Clients that would benefit most<br class=3D"">
&gt; &gt; from having timestamps authenticated retroactively probably =
would be the<br class=3D"">
&gt; &gt; ones that poll the server least frequently and are most likely =
to<br class=3D"">
&gt; &gt; have their state on the server lost.<br class=3D"">
&gt;<br class=3D"">
&gt;<br class=3D"">
&gt; I'm not sure I understand this point.&nbsp; If a client is =
querying<br class=3D"">
&gt; infrequently, why not just wait until the KE completes, and the key =
is<br class=3D"">
&gt; established, before sending timing messages that can then be =
authenticated<br class=3D"">
&gt; with the established key?&nbsp; &nbsp;Why would you want to start a =
timing exchange<br class=3D"">
&gt; in parallel with the KE?<br class=3D"">
<br class=3D"">
</span>My thought was that clients using longer interval would save more =
time<br class=3D"">
by having old timestamps authenticated.<br class=3D"">
<br class=3D"">
If I understand the scheme you propose correctly, the client would<br =
class=3D"">
have samples from previous packets in the NTS initialization =
validated<br class=3D"">
when the last packet in the initialization is received. =
</blockquote><div class=3D""><br class=3D""></div><div class=3D"">Yes. =
So I imagine the client starting. Then it initiates NTS and in parallel =
does some timing exchanges that are not MAC'd. These timing exchanges =
won't update the clock yet.&nbsp; Then once the NTS KE completes, it =
also authenticates these timing exchanges.&nbsp; At this point, the =
client can choose to update its clock (or not) per the usual NTP =
processes.<br class=3D""></div><div class=3D"">&nbsp;</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">The question<br class=3D"">
is what the client could do with these extra samples. I guess they<br =
class=3D"">
could be useful to estimate the frequency error of the clock as ntpd<br =
class=3D"">
does in the freq state for instance. A client polling at 64s interval<br =
class=3D"">
would save more time with this than a client using 2s poll (iburst).<br =
class=3D"">
<br class=3D""></blockquote><div class=3D"">Not sure, not an expert on =
NTP's timing algos. But we have seen that upon initalization, ntpd =
requires about 4 timing samples before it updates its clock. So it could =
collect these timing samples while the NTS KE is running.<br =
class=3D""></div><div class=3D"">&nbsp;</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex">
There is also a question whether the client would really want to use<br =
class=3D"">
any samples from the non-timing NTS exchanges as the packets are<br =
class=3D"">
longer and asymmetric, creating an extra error in the measurements.<br =
class=3D"">
<span class=3D""><font color=3D"#888888" class=3D""><br =
class=3D""></font></span></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">So, in my mind, the timing messages =
would be sent in separate packets from the NTS KE messages.&nbsp; They =
would be sent in parallel. That way, the crypto done in NTS does not =
mess up the accuracy of the timing exchanges.<br class=3D""></div><div =
class=3D""><br class=3D"">[1] <a =
href=3D"https://en.wikipedia.org/wiki/Galois/Counter_Mode" =
class=3D"">https://en.wikipedia.org/wiki/Galois/Counter_Mode</a> <br =
class=3D""></div></div>&nbsp;<br class=3D""><div class=3D"">Sharon =
Goldberg<br class=3D"">Computer Science, Boston University<br =
class=3D""><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank" =
class=3D"">http://www.cs.bu.edu/~goldbe</a></div>
</div></div>
_______________________________________________<br class=3D"">TICTOC =
mailing list<br class=3D""><a href=3D"mailto:TICTOC@ietf.org" =
class=3D"">TICTOC@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/tictoc<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_8F074DA8-8FA8-41DF-8918-69C570362E44--

--===============4927609982839911880==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============4927609982839911880==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 04:31:41 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F1FDD12DA36 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 04:31:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 cFkHh5xGL5mh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 04:31:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id ACA2312DA1F for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 04:31:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A12DC86DB10 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 11:31:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B68C886D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 10:04:51 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aj289-0006Uk-FK for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 10:04:50 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OA4YD7011261-u2OA4YD9011261 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 11:04:34 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id B37FC3D353; Thu, 24 Mar 2016 11:04:34 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <20160323172740.GA28288@roeckx.be>
Date: Thu, 24 Mar 2016 11:04:32 +0100
Message-Id: <E3855B06-5302-41E0-AC57-E3A1C12FD4CD@ptb.de>
References: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com> <20160323172740.GA28288@roeckx.be>
To: Kurt Roeckx <kurt@roeckx.be>
X-TNEFEvaluated: 1
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============8602712844993775456=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============8602712844993775456==
Content-Type: multipart/alternative; boundary="Apple-Mail=_4C08D1FF-FF0A-45A5-A19A-41C648BEF4E6"


--Apple-Mail=_4C08D1FF-FF0A-45A5-A19A-41C648BEF4E6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> Am 23.03.2016 um 18:27 schrieb Kurt Roeckx <kurt@roeckx.be>:
>=20
> On Wed, Mar 23, 2016 at 04:01:41AM -0400, Sharon Goldberg wrote:
>> Dear WG,
>>=20
>> Another question, and please forgive me if this was discussed already =
and I
>> missed it.
>>=20
>> It would be helpful to know why NTS is not just just running over =
IPsec. (I
>> can see why running NTP over TLS makes little sense, since TLS runs =
over
>> TCP while NTP runs over UDP so everything would probably
>> break.) But NTP runs over IP. I suppose there are some performance
>> hits to using IPsec? What are they?
>=20
> I think the main problem is that they don't want that many IPsec
> tunnels at the same time.  As far as I understand it, the design
> wants to avoid storing this much state information on the server
> side.  I'm not sure I agree with this design decision.
>=20
> It could also use DTLS instead of TLS, which does work over UDP.

At the time we discovered that we cannot use NTP=E2=80=99s autokey =
approach we also considered to use DTLS. However at this time there has =
been hardly any implementation of it. Also we learned from  [1] that =
DTLS is not target for an application with a communication pattern like =
NTP.=20

"Note that the requirement to create a session means that DTLS is =
primarily suited for long- lived =E2=80=9Cconnection-oriented=E2=80=9D =
protocols as opposed to to- tally connectionless ones like DNS. =
Connectionless proto- cols are better served by application layer =
object-security protocols.=E2=80=9C =20

It might be that today DTLS=E2=80=99 scope has broadened.=20

I also want to point out that last year Florian Weimer proposed to =
utilize DTLS for the key exchange. We regarded his suggestion and moved =
the CMS based key exchange into an appendix. In the normative part of =
the document we specified the requirements that have to be meet during =
the initial phase of NTS. See 6.1.1 in =
https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-12 =
<https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-12>
The NTS for NTP draft requires that the CMS-based key exchange is to be =
implemented. However it allows also the implementation of an alternative =
key exchange, e.g. DTLS, see 4.1 in =
https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04 =
<https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04>


>=20
> (D)TLS can already store the session on the client side, and
> give that to the server on "resumption".  But maybe that would
> require too many packets?
>=20
> I'm also worried about the soundness of the crypto.  I have a
> feeling this is designed by people that don't have enough
> background to design something like this.  I think it needs to be
> looked at by several people who do.  I've asked about this before
> but nobody ever replied to it.
>=20

We frequently invited people to review the documents. So did the chair =
of NTP=E2=80=99s working group. Also Kristof gave a presentation of the =
documents in the SAAG session of 91st IETF.=20

>=20
> Kurt
>=20
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg


--Apple-Mail=_4C08D1FF-FF0A-45A5-A19A-41C648BEF4E6
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 23.03.2016 um 18:27 schrieb Kurt Roeckx &lt;<a =
href=3D"mailto:kurt@roeckx.be" class=3D"">kurt@roeckx.be</a>&gt;:</div><br=
 class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On =
Wed, Mar 23, 2016 at 04:01:41AM -0400, Sharon Goldberg wrote:<br =
class=3D""><blockquote type=3D"cite" class=3D"">Dear WG,<br class=3D""><br=
 class=3D"">Another question, and please forgive me if this was =
discussed already and I<br class=3D"">missed it.<br class=3D""><br =
class=3D"">It would be helpful to know why NTS is not just just running =
over IPsec. (I<br class=3D"">can see why running NTP over TLS makes =
little sense, since TLS runs over<br class=3D"">TCP while NTP runs over =
UDP so everything would probably<br class=3D"">break.) But NTP runs over =
IP. I suppose there are some performance<br class=3D"">hits to using =
IPsec? What are they?<br class=3D""></blockquote><br class=3D"">I think =
the main problem is that they don't want that many IPsec<br =
class=3D"">tunnels at the same time. &nbsp;As far as I understand it, =
the design<br class=3D"">wants to avoid storing this much state =
information on the server<br class=3D"">side. &nbsp;I'm not sure I agree =
with this design decision.<br class=3D""><br class=3D"">It could also =
use DTLS instead of TLS, which does work over UDP.<br =
class=3D""></div></div></blockquote><div><br class=3D""></div><div>At =
the time we discovered that we cannot use NTP=E2=80=99s autokey approach =
we also considered to use DTLS. However at this time there has been =
hardly any implementation of it. Also we learned from &nbsp;[1] that =
DTLS is not target for an application with a communication pattern like =
NTP.&nbsp;</div><div><br class=3D""></div><div>"<span style=3D"font-size: =
10pt; font-family: Times;" class=3D"">Note that the requirement to =
create
a session means that DTLS is primarily suited for long-
lived =E2=80=9Cconnection-oriented=E2=80=9D protocols as opposed to to-
tally connectionless ones like DNS. Connectionless proto-
cols are better served by application layer =
object-security&nbsp;</span><font face=3D"Times" size=3D"2" =
class=3D"">protocols.=E2=80=9C &nbsp;</font></div><div><br =
class=3D""></div><div>It might be that today DTLS=E2=80=99 scope has =
broadened.&nbsp;</div><div><br class=3D""></div><div>I also want to =
point out that last year Florian Weimer proposed to utilize DTLS for the =
key exchange. We regarded his suggestion and moved the CMS based key =
exchange into an appendix. In the normative part of the document we =
specified the requirements that have to be meet during the initial phase =
of NTS. See 6.1.1 in&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-1=
2" =
class=3D"">https://tools.ietf.org/html/draft-ietf-ntp-network-time-securit=
y-12</a></div><div>The NTS for NTP draft requires that the CMS-based key =
exchange is to be implemented. However it allows also the implementation =
of an alternative key exchange, e.g. DTLS, see 4.1 in&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04" =
class=3D"">https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04=
</a></div><div><br class=3D""></div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">(D)TLS can already store the session on the client side, =
and<br class=3D"">give that to the server on "resumption". &nbsp;But =
maybe that would<br class=3D"">require too many packets?<br class=3D""><br=
 class=3D"">I'm also worried about the soundness of the crypto. &nbsp;I =
have a<br class=3D"">feeling this is designed by people that don't have =
enough<br class=3D"">background to design something like this. &nbsp;I =
think it needs to be<br class=3D"">looked at by several people who do. =
&nbsp;I've asked about this before<br class=3D"">but nobody ever replied =
to it.<br class=3D""><br class=3D""></div></div></blockquote><div><br =
class=3D""></div><div>We frequently invited people to review the =
documents. So did the chair of NTP=E2=80=99s working group. Also Kristof =
gave a presentation of the documents in the SAAG session of 91st =
IETF.&nbsp;</div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div class=3D""><br class=3D"">Kurt<br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">ntpwg mailing list<br class=3D""><a =
href=3D"mailto:ntpwg@lists.ntp.org" class=3D"">ntpwg@lists.ntp.org</a><br =
class=3D"">http://lists.ntp.org/listinfo/ntpwg<br =
class=3D""></div></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_4C08D1FF-FF0A-45A5-A19A-41C648BEF4E6--

--===============8602712844993775456==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8602712844993775456==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 05:29:46 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 23EC712DAF7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 05:29:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 fibzAYdlhh26 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 05:29:43 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id A549E12DAEF for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:29:43 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8D58986DAE1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 12:29:43 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 217EC86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 10:36:32 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aj2cp-000BmL-En for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 10:36:31 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OAaGPo014748-u2OAaGPq014748 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 11:36:16 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 321BA3D3E7; Thu, 24 Mar 2016 11:36:16 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Pgp-Agent: GPGMail 2.6b2
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <E3855B06-5302-41E0-AC57-E3A1C12FD4CD@ptb.de>
Date: Thu, 24 Mar 2016 11:36:10 +0100
Message-Id: <08B8664D-FB1D-48CF-BB83-2B99D7772C0A@ptb.de>
References: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com> <20160323172740.GA28288@roeckx.be> <E3855B06-5302-41E0-AC57-E3A1C12FD4CD@ptb.de>
To: Kurt Roeckx <kurt@roeckx.be>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============5252808559734979242=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============5252808559734979242==
Content-Type: multipart/signed; boundary="Apple-Mail=_23A6BFBC-0821-40C2-8EB5-E348EEF7F874"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_23A6BFBC-0821-40C2-8EB5-E348EEF7F874
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_31673F0C-665C-472A-99EF-D94C334F33C5"


--Apple-Mail=_31673F0C-665C-472A-99EF-D94C334F33C5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Sorry, I forgot to add the reference [1]. It is:

1.	Modadugu, N. and E. Rescorla. The Design and Implementation of =
Datagram TLS. in NDSS. 2004.


> Am 24.03.2016 um 11:04 schrieb Dieter Sibold <dieter.sibold@ptb.de =
<mailto:dieter.sibold@ptb.de>>:
>=20
>>=20
>> Am 23.03.2016 um 18:27 schrieb Kurt Roeckx <kurt@roeckx.be =
<mailto:kurt@roeckx.be>>:
>>=20
>> On Wed, Mar 23, 2016 at 04:01:41AM -0400, Sharon Goldberg wrote:
>>> Dear WG,
>>>=20
>>> Another question, and please forgive me if this was discussed =
already and I
>>> missed it.
>>>=20
>>> It would be helpful to know why NTS is not just just running over =
IPsec. (I
>>> can see why running NTP over TLS makes little sense, since TLS runs =
over
>>> TCP while NTP runs over UDP so everything would probably
>>> break.) But NTP runs over IP. I suppose there are some performance
>>> hits to using IPsec? What are they?
>>=20
>> I think the main problem is that they don't want that many IPsec
>> tunnels at the same time.  As far as I understand it, the design
>> wants to avoid storing this much state information on the server
>> side.  I'm not sure I agree with this design decision.
>>=20
>> It could also use DTLS instead of TLS, which does work over UDP.
>=20
> At the time we discovered that we cannot use NTP=E2=80=99s autokey =
approach we also considered to use DTLS. However at this time there has =
been hardly any implementation of it. Also we learned from  [1] that =
DTLS is not target for an application with a communication pattern like =
NTP.
>=20
> "Note that the requirement to create a session means that DTLS is =
primarily suited for long- lived =E2=80=9Cconnection-oriented=E2=80=9D =
protocols as opposed to to- tally connectionless ones like DNS. =
Connectionless proto- cols are better served by application layer =
object-security protocols.=E2=80=9C
>=20
> It might be that today DTLS=E2=80=99 scope has broadened.
>=20
> I also want to point out that last year Florian Weimer proposed to =
utilize DTLS for the key exchange. We regarded his suggestion and moved =
the CMS based key exchange into an appendix. In the normative part of =
the document we specified the requirements that have to be meet during =
the initial phase of NTS. See 6.1.1 in =
https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-12 =
<https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-12>
> The NTS for NTP draft requires that the CMS-based key exchange is to =
be implemented. However it allows also the implementation of an =
alternative key exchange, e.g. DTLS, see 4.1 in =
https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04 =
<https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04>
>=20
>=20
>>=20
>> (D)TLS can already store the session on the client side, and
>> give that to the server on "resumption".  But maybe that would
>> require too many packets?
>>=20
>> I'm also worried about the soundness of the crypto.  I have a
>> feeling this is designed by people that don't have enough
>> background to design something like this.  I think it needs to be
>> looked at by several people who do.  I've asked about this before
>> but nobody ever replied to it.
>>=20
>=20
> We frequently invited people to review the documents. So did the chair =
of NTP=E2=80=99s working group. Also Kristof gave a presentation of the =
documents in the SAAG session of 91st IETF.
>=20
>>=20
>> Kurt
>>=20
>> _______________________________________________
>> ntpwg mailing list
>> ntpwg@lists.ntp.org <mailto:ntpwg@lists.ntp.org>
>> http://lists.ntp.org/listinfo/ntpwg =
<http://lists.ntp.org/listinfo/ntpwg>
>=20
> _______________________________________________
> TICTOC mailing list
> TICTOC@ietf.org <mailto:TICTOC@ietf.org>
> https://www.ietf.org/mailman/listinfo/tictoc =
<https://www.ietf.org/mailman/listinfo/tictoc>

--Apple-Mail=_31673F0C-665C-472A-99EF-D94C334F33C5
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Sorry, I forgot to add the reference [1]. It is:&nbsp;<div =
class=3D""><br class=3D""></div><div class=3D""><div style=3D"margin: =
0px 0px 0px 36px; text-indent: -36px; line-height: normal;" =
class=3D"">1.<span class=3D"Apple-tab-span" style=3D"white-space:pre">	=
</span>Modadugu, N. and E. Rescorla. <i class=3D"">The Design and =
Implementation of Datagram TLS</i>. in <i class=3D"">NDSS</i>. =
2004.</div></div><div class=3D""><br class=3D""></div><div class=3D""><br =
class=3D""><div class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 24.03.2016 um 11:04 schrieb Dieter Sibold &lt;<a =
href=3D"mailto:dieter.sibold@ptb.de" =
class=3D"">dieter.sibold@ptb.de</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><br class=3D"Apple-interchange-newline">Am =
23.03.2016 um 18:27 schrieb Kurt Roeckx &lt;<a =
href=3D"mailto:kurt@roeckx.be" class=3D"">kurt@roeckx.be</a>&gt;:</div><br=
 class=3D"Apple-interchange-newline"><div class=3D""><div class=3D"">On =
Wed, Mar 23, 2016 at 04:01:41AM -0400, Sharon Goldberg wrote:<br =
class=3D""><blockquote type=3D"cite" class=3D"">Dear WG,<br class=3D""><br=
 class=3D"">Another question, and please forgive me if this was =
discussed already and I<br class=3D"">missed it.<br class=3D""><br =
class=3D"">It would be helpful to know why NTS is not just just running =
over IPsec. (I<br class=3D"">can see why running NTP over TLS makes =
little sense, since TLS runs over<br class=3D"">TCP while NTP runs over =
UDP so everything would probably<br class=3D"">break.) But NTP runs over =
IP. I suppose there are some performance<br class=3D"">hits to using =
IPsec? What are they?<br class=3D""></blockquote><br class=3D"">I think =
the main problem is that they don't want that many IPsec<br =
class=3D"">tunnels at the same time. &nbsp;As far as I understand it, =
the design<br class=3D"">wants to avoid storing this much state =
information on the server<br class=3D"">side. &nbsp;I'm not sure I agree =
with this design decision.<br class=3D""><br class=3D"">It could also =
use DTLS instead of TLS, which does work over UDP.<br =
class=3D""></div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">At the time we discovered that we =
cannot use NTP=E2=80=99s autokey approach we also considered to use =
DTLS. However at this time there has been hardly any implementation of =
it. Also we learned from &nbsp;[1] that DTLS is not target for an =
application with a communication pattern like NTP.&nbsp;</div><div =
class=3D""><br class=3D""></div><div class=3D"">"<span class=3D"" =
style=3D"font-size: 10pt; font-family: Times;">Note that the requirement =
to create a session means that DTLS is primarily suited for long- lived =
=E2=80=9Cconnection-oriented=E2=80=9D protocols as opposed to to- tally =
connectionless ones like DNS. Connectionless proto- cols are better =
served by application layer object-security&nbsp;</span><font =
face=3D"Times" size=3D"2" class=3D"">protocols.=E2=80=9C =
&nbsp;</font></div><div class=3D""><br class=3D""></div><div class=3D"">It=
 might be that today DTLS=E2=80=99 scope has broadened.&nbsp;</div><div =
class=3D""><br class=3D""></div><div class=3D"">I also want to point out =
that last year Florian Weimer proposed to utilize DTLS for the key =
exchange. We regarded his suggestion and moved the CMS based key =
exchange into an appendix. In the normative part of the document we =
specified the requirements that have to be meet during the initial phase =
of NTS. See 6.1.1 in&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-1=
2" =
class=3D"">https://tools.ietf.org/html/draft-ietf-ntp-network-time-securit=
y-12</a></div><div class=3D"">The NTS for NTP draft requires that the =
CMS-based key exchange is to be implemented. However it allows also the =
implementation of an alternative key exchange, e.g. DTLS, see 4.1 =
in&nbsp;<a =
href=3D"https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04" =
class=3D"">https://tools.ietf.org/html/draft-ietf-ntp-using-nts-for-ntp-04=
</a></div><div class=3D""><br class=3D""></div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">(D)TLS can already store the session on the client side, =
and<br class=3D"">give that to the server on "resumption". &nbsp;But =
maybe that would<br class=3D"">require too many packets?<br class=3D""><br=
 class=3D"">I'm also worried about the soundness of the crypto. &nbsp;I =
have a<br class=3D"">feeling this is designed by people that don't have =
enough<br class=3D"">background to design something like this. &nbsp;I =
think it needs to be<br class=3D"">looked at by several people who do. =
&nbsp;I've asked about this before<br class=3D"">but nobody ever replied =
to it.<br class=3D""><br class=3D""></div></div></blockquote><div =
class=3D""><br class=3D""></div><div class=3D"">We frequently invited =
people to review the documents. So did the chair of NTP=E2=80=99s =
working group. Also Kristof gave a presentation of the documents in the =
SAAG session of 91st IETF.&nbsp;</div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div class=3D""><br =
class=3D"">Kurt<br class=3D""><br =
class=3D"">_______________________________________________<br =
class=3D"">ntpwg mailing list<br class=3D""><a =
href=3D"mailto:ntpwg@lists.ntp.org" class=3D"">ntpwg@lists.ntp.org</a><br =
class=3D""><a href=3D"http://lists.ntp.org/listinfo/ntpwg" =
class=3D"">http://lists.ntp.org/listinfo/ntpwg</a><br =
class=3D""></div></div></blockquote></div><br class=3D"" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;"><span style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; float: =
none; display: inline !important;" =
class=3D"">_______________________________________________</span><br =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" class=3D""><span style=3D"font-family: =
Helvetica; font-size: 12px; font-style: normal; font-variant-caps: =
normal; font-weight: normal; letter-spacing: normal; orphans: auto; =
text-align: start; text-indent: 0px; text-transform: none; white-space: =
normal; widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px; =
float: none; display: inline !important;" class=3D"">TICTOC mailing =
list</span><br style=3D"font-family: Helvetica; font-size: 12px; =
font-style: normal; font-variant-caps: normal; font-weight: normal; =
letter-spacing: normal; orphans: auto; text-align: start; text-indent: =
0px; text-transform: none; white-space: normal; widows: auto; =
word-spacing: 0px; -webkit-text-stroke-width: 0px;" class=3D""><a =
href=3D"mailto:TICTOC@ietf.org" style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D"">TICTOC@ietf.org</a><br style=3D"font-family: Helvetica; =
font-size: 12px; font-style: normal; font-variant-caps: normal; =
font-weight: normal; letter-spacing: normal; orphans: auto; text-align: =
start; text-indent: 0px; text-transform: none; white-space: normal; =
widows: auto; word-spacing: 0px; -webkit-text-stroke-width: 0px;" =
class=3D""><a href=3D"https://www.ietf.org/mailman/listinfo/tictoc" =
style=3D"font-family: Helvetica; font-size: 12px; font-style: normal; =
font-variant-caps: normal; font-weight: normal; letter-spacing: normal; =
orphans: auto; text-align: start; text-indent: 0px; text-transform: =
none; white-space: normal; widows: auto; word-spacing: 0px; =
-webkit-text-stroke-width: 0px;" =
class=3D"">https://www.ietf.org/mailman/listinfo/tictoc</a></div></blockqu=
ote></div><br class=3D""></div></div></body></html>=

--Apple-Mail=_31673F0C-665C-472A-99EF-D94C334F33C5--

--Apple-Mail=_23A6BFBC-0821-40C2-8EB5-E348EEF7F874
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW88MeAAoJEGX4ie6lYtkjIIoQAKZM/YK7DVYdNt3FDbxnr6aK
Uqb7t8vLAI/FslJI5ufMJ80FIF+1Z4qtCTXQdE94hkryvKpYNMSOmAi+tSnFuWz1
wDlpP/akIXmbURYs+7IGOOgSbSWquofZATmdDWmS932CWtoATzhK5mwMkRxBpFkt
Eek7bjRhEa1KiGhNKOwFlPh5QlTfLUNYJZklLCU5M0Lbcuy/r1EgrFM336AwqtdO
rkckAPAnaYYRrNIKn516N75Qd+pOLHC3shlg62ySNuEnKeosUz0hnwzyfA61Dy5e
SfdiqzUR9u5qG0O3NQZwmo8rlY5KH5UNkWy+lozcvS76ofHTP7R1wIrj5OsBpwNI
+hGkwjvjoAMkirjTAD6ShiPsrUvD6a+t+8JtwTWOT4iUaJV/EMPPWBY9aLGtuSUA
IYKjydy0qV0w7jStOpY9//Tpx/NBnihrGFn1au9nVCX2D/Rjhc+piG3bRf6B3zvi
PCwJD1J5weJ8JujYtdG1asKCReImTGv0ZhC99iR6hfDxNnADpgaEjVfFGjP6Mues
ioQ0yRtdcZ3JP9RiwHdDQGZlgvApJS+rpfAOEZuGGNJUS8H+hSrcV7CSQfPVTc97
HkgO3gxnSIFlj9a7j8XytbyP/o7qJoKZC0OaPkgC+c7IlhrMxxqv0+2U/NeSvXXx
qkHev0qqGrRmNlP8FlO2
=1nIX
-----END PGP SIGNATURE-----

--Apple-Mail=_23A6BFBC-0821-40C2-8EB5-E348EEF7F874--

--===============5252808559734979242==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5252808559734979242==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 05:30:16 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D5CDB12DABB for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 05:30:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 WiDXQQYu08er for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 05:30:15 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id A55EA12DB04 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:30:12 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 94D6486DAF8 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 12:30:12 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 71A6B86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 10:45:18 +0000 (UTC)
Received: from mail158c25.carrierzone.com ([64.29.147.228] helo=mail223c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1aj2lI-000BwF-CT for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 10:45:17 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail223c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2OAj4Gd023112 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 10:45:06 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 47856406063;  Thu, 24 Mar 2016 03:45:04 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Dieter Sibold <dieter.sibold@ptb.de>
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Date: Thu, 24 Mar 2016 03:45:04 -0700
Message-Id: <20160324104504.47856406063@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=YdmEuWhf c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=afUlygW11JWI1vbs3PQA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56F3C532.011E, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.228
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] Memory for per-client state on server
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, Hal Murray <hmurray@megapathdsl.net>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

dieter.sibold@ptb.de said:
> Yes, this is true. But the capabilities of NTP to keep track of the states
> are very limited. Our NTP servers with the most current NTPD are only able
> to store about 12000 records, in which the oldest records are about 10 to
> 60 seconds old. They even cannot guarantee to memorize the state of a
> client when it is in iburst mode. Perhaps the implementation can be
> adjusted to allow for even more state information. ...

Please check the mru configuration option.  It's in html/miscopt.html

Ignoring NTS, I'd like to know if you run out of memory before you can keep 
track of all your clients.

I'm not trying to fight stateless approaches, but I'm not sure we should 
discard a suggestion because it requires state.
 
Let's play with the back of an envelope.  Suppose we allocate a gigabyte for 
holding state and each client needs 1000 bytes.  That's a million clients.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 05:30:36 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id AE3E712DAF2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 05:30:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 YEZCXeLWHQxI for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 05:30:35 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 289B212DABB for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 05:30:34 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1B1C186D910 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 12:30:34 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 84FA886D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 11:07:38 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aj36u-000CAT-Q1 for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 11:07:38 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OB7OLU017853-u2OB7OLW017853 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 12:07:24 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 9F1353D45C; Thu, 24 Mar 2016 12:07:24 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Pgp-Agent: GPGMail 2.6b2
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <20160324104504.47856406063@ip-64-139-1-69.sjc.megapath.net>
Date: Thu, 24 Mar 2016 12:07:16 +0100
Message-Id: <D0B7AB0B-BC6B-45CA-BBEA-8233BA6F7B32@ptb.de>
References: <20160324104504.47856406063@ip-64-139-1-69.sjc.megapath.net>
To: Hal Murray <hmurray@megapathdsl.net>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Memory for per-client state on server
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============0645685759195044526=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0645685759195044526==
Content-Type: multipart/signed; boundary="Apple-Mail=_4894C159-2DC4-42EA-9D68-5BB9E98631A9"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_4894C159-2DC4-42EA-9D68-5BB9E98631A9
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello Hal,

thanks for the suggestion. I=E2=80=99m going to check this.
Dieter

> Am 24.03.2016 um 11:45 schrieb Hal Murray <hmurray@megapathdsl.net>:
>=20
>=20
> dieter.sibold@ptb.de said:
>> Yes, this is true. But the capabilities of NTP to keep track of the =
states
>> are very limited. Our NTP servers with the most current NTPD are only =
able
>> to store about 12000 records, in which the oldest records are about =
10 to
>> 60 seconds old. They even cannot guarantee to memorize the state of a
>> client when it is in iburst mode. Perhaps the implementation can be
>> adjusted to allow for even more state information. ...
>=20
> Please check the mru configuration option.  It's in html/miscopt.html
>=20
> Ignoring NTS, I'd like to know if you run out of memory before you can =
keep
> track of all your clients.
>=20
> I'm not trying to fight stateless approaches, but I'm not sure we =
should
> discard a suggestion because it requires state.
>=20
> Let's play with the back of an envelope.  Suppose we allocate a =
gigabyte for
> holding state and each client needs 1000 bytes.  That's a million =
clients.
>=20
>=20
> --
> These are my opinions.  I hate spam.
>=20
>=20
>=20


--Apple-Mail=_4894C159-2DC4-42EA-9D68-5BB9E98631A9
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW88pqAAoJEGX4ie6lYtkjYHIP/12WfZL+/zFBqDvONbntBEzQ
fcoXMR9xewDGteWzH3wC+TaLx49kWyWsmZyjNRgEnZ6ehZZS82b/6VzO8w1XEyCc
Uzr5l32gyH5C0y6AzuULLw3b7oVsX+j8As/37gqzsTOstBsF/JVXqRlb9GeeX9ws
TQGxLrllJ8dC6gvWlNXhrsuxT6FdnHvRiRuGQO/xUZPzyPV6ErIJqBwDY8SPQZaI
X/L6HVvuzR5lsw9GI6y2S5ykn3H+FVbxoUA7UI71LwheIR/+J0KA01FUqfKLps5l
YACfXeBYDlOC943V2V3wEdtY0/f2XUCa1m8zU+z/BRlyzXJDs2cgrkVOlUk+vmEo
Vr4njogi3wStws/EX1LWkkpFG0V+k2XsEzeERzWxoLbOAkYPSwJmcpJeDm2nKjhW
EHLWFkqJwcPen2Ogihp4UkkTuSwSARf3/AOyGmmdHOuxhujviS3VS235t/Seoc2/
S3uv8NQrNmlXqWa5bzvSQ86mzXb+AL5FoAUpA05+WCnY1L0h0kVAXxHBFtmKDfIF
QhwDGsjzJuWIaw5mL8SbQufNqRxb0H4WrqJAuqhq75rKw1aGqcc0yi+KDgiRDilJ
3g0/18HiPkklfO4r0wAgszGuXLNQCtoWnPco5ex0VivuEXi5foLNvtIcl9vSjQGM
EWq+BkjplnajEYi+bm/f
=DcLm
-----END PGP SIGNATURE-----

--Apple-Mail=_4894C159-2DC4-42EA-9D68-5BB9E98631A9--

--===============0645685759195044526==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0645685759195044526==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 08:51:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 187F412D183 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 08:51:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 p3W7eptmKwZj for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 08:51:22 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 8CF0212DDA1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 08:38:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7AB2486DB09 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 15:38:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5A83586D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 14:17:49 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aj64x-000GwR-Kq for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 14:17:49 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OEHSjc013388-u2OEHSje013388 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 15:17:28 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 5AA923DE8B; Thu, 24 Mar 2016 15:17:28 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Pgp-Agent: GPGMail 2.6b2
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <20160324084941.GB23775@localhost>
Date: Thu, 24 Mar 2016 15:17:18 +0100
Message-Id: <620D7A66-A0EF-4A4C-87E8-4FCFE7DC7AC0@ptb.de>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============8727410272825374794=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============8727410272825374794==
Content-Type: multipart/signed; boundary="Apple-Mail=_4519D804-AD72-4023-AA65-EDD458841D36"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_4519D804-AD72-4023-AA65-EDD458841D36
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> Am 24.03.2016 um 09:49 schrieb Miroslav Lichvar <mlichvar@redhat.com>:
>=20
> On Wed, Mar 23, 2016 at 06:17:33PM -0400, Sharon Goldberg wrote:
>> Before I say how to get around it, I was wondering why this bothers =
us so
>> much?  The current ntpd already has the server saves per-client =
state, for
>> poll interval, rate limiting, and symmetric keys.
>=20
> The NTP specification doesn't require servers to save any state per
> client. The monitoring and rate limiting are optional features.

This is a valid argument. Together with the requirements formulated in =
RFC7384 this implies to formulate of a security mechanism which is =
stateless on the server side. But if we formulate NTS in such a way that =
the server keeps state of the client, NTS has to introduce the state. We =
cannot rely on NTP mechanisms.

>=20
>> Is this really such a
>> problem to store a bunch of additional ~256 bit values for each =
client?
>=20
> That depends on the implementation. You can have an SNTP server with a
> GPS refclock running on a microcontroller with couple kilobytes of RAM
> and it can serve time to hunderds of thousands of clients. With NTS
> the requirements on memory shouldn't change much, the CPU just has to
> be faster or have the crypto algorithms implemented in HW.
>=20
>> And especially if this state only lives for the duration of the KE?
>=20
> There is no limit on the duration. The client may be polling the
> server just couple times a day. Let's not forget the key exchange will
> happen not only when the client is started, but also when the server
> refreshes its seed. We certainly don't want clients to drop to their
> minimum polling intervals or start a burst when that happens.
>=20
>> But I think it is worthwhile to carefully evaluate if this type of =
approach
>> is really needed for NTS, or is it just adding additional complexity.
>=20
> Yes. To me it looks like a lot of complexity with little gain.
>=20
>> Not sure, not an expert on NTP's timing algos. But we have seen that =
upon
>> initalization, ntpd requires about 4 timing samples before it updates =
its
>> clock. So it could collect these timing samples while the NTS KE is =
running.
>=20
> I'm not sure if it's intentional, but recent versions of ntpd now
> update the clock with the first (authenticated) sample. Older versions
> and other implementations may require more.
>=20
>>> There is also a question whether the client would really want to use
>>> any samples from the non-timing NTS exchanges as the packets are
>>> longer and asymmetric, creating an extra error in the measurements.
>>>=20
>>>=20
>> So, in my mind, the timing messages would be sent in separate packets =
from
>> the NTS KE messages.  They would be sent in parallel. That way, the =
crypto
>> done in NTS does not mess up the accuracy of the timing exchanges.
>=20
> Hm, I thought the incremental hash was meant for timestamps in the
> first few NTS packets.
>=20
> If there were two associations per client, I think it would be even
> more complex. There would have to be some mechanism for the server to
> identify and link the two client associations, so it can hash the
> right timestamps (and not timestamps for some other client behind NAT
> for instance). The client would have to make sure requests from the
> two associations are not too close to each other to not violate the
> minimum request interval on the server.
>=20
> This would effectively double the polling rate. If the client is
> allowed to increase its polling rate, I think it would be more useful
> to do that with the NTS association rather than adding an extra
> association, so the client would get the first authenticated sample
> sooner.
>=20
> --
> Miroslav Lichvar
> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg


--Apple-Mail=_4519D804-AD72-4023-AA65-EDD458841D36
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW8/b0AAoJEGX4ie6lYtkjd7EQAJHy99OU0pQ8Vn1Lb/soCYpq
Ng9auFWtVgDDK8hBF5o3Bui1HEsclqJhECqQetgfFZnt2AQ/gVsBH3FsTjrYBazf
I5V3HQm3udBVMkdP+qEMP88NWC0mJGewdXpdngWmKTcrxSEkPgGqR3PK3k/qLkYk
W/kAZqdVdU43ZqR1uHEDpRX6Y8fwqt1RUrtLRGsK91QR/5vfcxmauOg+/C8WIqLl
dIkZfLUjxMoCWg6jl0XnHWdUnhxqSJm8Yep6vufbt5LVrqrT0ZMZmcicNzOL7mIK
i1iZRXlZYqKLaRMAvyK9nYqWsaQaM3jgueTFlJ2Ib9h324jX4ZwxFBkgCBkzlm7M
Dq+ZG9yho3TmuI9wJKlKSAzmAxFskK47drapcWy6iirgPy5+lp8m8pTwudH0lL/K
7QcpMc3FA6Z0KgKcVUuPVBIDo1R5dR/QlRH0vlCTomcNb+vwen7vZ+VCYi5jyIsx
dml9/bwuX9+W8hcF+nsJVXYczIGOaIreikL5N3g6fERRxv7nlrbTOwjEL0y4LeUm
uNuhjK95R0qUz5V4xW6dN3Qvz5jYxPwgzE14loEr8ILYp+h0c5YSDdQEw/9SZG9b
4iWiatrblggEKeU0NyLPOnDUJudh69ssozO5MsQHyToAXSkmTzAknu0vm+jNDB9O
bjhhdOdmoyfnRvVo61dP
=ymc2
-----END PGP SIGNATURE-----

--Apple-Mail=_4519D804-AD72-4023-AA65-EDD458841D36--

--===============8727410272825374794==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8727410272825374794==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 09:29:18 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4388312D097 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:29:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 XknzJQUk111F for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:29:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7DAA712D1D6 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:25:55 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 307C086DAFC for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 16:25:54 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BCF5786DAEE for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 17:54:18 +0000 (UTC)
Received: from mail-wm0-x229.google.com ([2a00:1450:400c:c09::229]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1aimz3-000I9F-15 for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 17:54:18 +0000
Received: by mail-wm0-x229.google.com with SMTP id l68so206578800wml.0 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 10:54:16 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=R2Sjwsjms16hAChvmeDACWom4lovCNpaZsgN1k3vmGo=; b=rm/bzjwadLnyCmn+YAPt9CGHxmx0CscGKF5rz3bhMpPTnbszjQg65TeBHj2sm7xpyO besHlpBhtBlRkMsf9cJwOUJxyvp/692A7b7mWG4qy0KfutqIoTuu5dce/ChaDWTe7QEV 2X9OjN4hQauotlaNTHz3Xx7V9zZW3sTUyhw5jB4hJCdZMksANKSH3Dt1PeSDTa432FXd RInCte6wPye0AV6G7SG+YNS3LjE5kJLYCpI5KjKYP6DUw3GRz995V1QwLmb0nome2Gyb jEIG9r/Z7702/Ord8ngWRxNkT0ZVh0ALwXQIA2dANOnwb8oNFo6lMD9o3AY5sJd29NEj yObw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=R2Sjwsjms16hAChvmeDACWom4lovCNpaZsgN1k3vmGo=; b=bVSvpUWqDyLwFP+OezVpnL/AXUushlbnsMia4XFEA0/sah1+f6RpeZTmRTin+ZDPMZ v+uL3gwU15JrTfhY5nnJiyU7PicVUl9qr8g0WWHBJr7uEobBlF80+fSbA7SiURN+Jccx uFhE73p4ul2ApF+mbp3AWZuI11njeXwsIFE/gWE23ME7dZ853jfZVj0fvBLR8TLhCcPT jrohJGKc1QN+tbp5tLKA5v4dztZhx+dNRenruNg6JkCXZiJ9qdMTwx9wOUUTDWHd4hWZ CnB0BHXAe+26yBi4aJn1ddLgXZe1ZUooFDGq5BBsfI/pgqIV/AQOzy5+PHLElCGr/amO oEfw==
X-Gm-Message-State: AD7BkJIq5cxo4Q505xMQ2rX88Az3myq4PpBbhWiEjM+o71bJXVz24Sk+di4ovD2CQK1UJELkNjxm/bECYhDfZg==
X-Received: by 10.194.223.104 with SMTP id qt8mr4847540wjc.11.1458755655320; Wed, 23 Mar 2016 10:54:15 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Wed, 23 Mar 2016 10:53:35 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Wed, 23 Mar 2016 13:53:35 -0400
X-Google-Sender-Auth: z63YX9HzGSilHfG1IpmKEn1r9Ao
Message-ID: <CAJHGrrRroB=+dLZW3BjmwdwZQ+6Fgs8sWuoK5zPEay5a9zOzEQ@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::229
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 24 Mar 2016 15:12:19 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============6953922962095359221=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============6953922962095359221==
Content-Type: multipart/alternative; boundary=001a11c3b8a4a64fc3052ebb044f

--001a11c3b8a4a64fc3052ebb044f
Content-Type: text/plain; charset=UTF-8

On Wed, Mar 23, 2016 at 1:11 PM, Miroslav Lichvar <mlichvar@redhat.com>
wrote:

> On Wed, Mar 23, 2016 at 03:59:48AM -0400, Sharon Goldberg wrote:
> > * Roughly, the idea is to compute an incremental hash of all the
> > unathenticated timing messages running in parallel with the KE.
> > Then, once the KE completes and the client and server share a key,
> > this key can be used to MAC this incremental hash. In addition to
> > this, we would require the client *not* to update its local clock
> > until it has validated this MAC of the incremental hash. In other
> > words, the client collects timing samples while the KE is running,
> > but updates its clock only after the KE completes. If the KE
> > completes in 2 round trips, this might perform reasonably well.
>
> This is an interesting idea, but wouldn't the server have to save the
> incremental hash between client's requests? An NTP server normally
> doesn't keep any state for clients and when it does (e.g. for
> monitoring and rate limiting), it's all in a constant amount of memory
> to prevent DoS attacks on the server.


If an incremental hash is used, then it would require a constant amount of
memory on the server.


> Clients that would benefit most
> from having timestamps authenticated retroactively probably would be the
> ones that poll the server least frequently and are most likely to
> have their state on the server lost.


I'm not sure I understand this point.  If a client is querying
infrequently, why not just wait until the KE completes, and the key is
established, before sending timing messages that can then be authenticated
with the established key?   Why would you want to start a timing exchange
in parallel with the KE?

Sharon

--001a11c3b8a4a64fc3052ebb044f
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On W=
ed, Mar 23, 2016 at 1:11 PM, Miroslav Lichvar <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mlichvar@redhat.com" target=3D"_blank">mlichvar@redhat.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On Wed,=
 Mar 23, 2016 at 03:59:48AM -0400, Sharon Goldberg wrote:<br>
&gt; * Roughly, the idea is to compute an incremental hash of all the<br>
&gt; unathenticated timing messages running in parallel with the KE.<br>
&gt; Then, once the KE completes and the client and server share a key,<br>
&gt; this key can be used to MAC this incremental hash. In addition to<br>
&gt; this, we would require the client *not* to update its local clock<br>
&gt; until it has validated this MAC of the incremental hash. In other<br>
&gt; words, the client collects timing samples while the KE is running,<br>
&gt; but updates its clock only after the KE completes. If the KE<br>
&gt; completes in 2 round trips, this might perform reasonably well.<br>
<br>
</span>This is an interesting idea, but wouldn&#39;t the server have to sav=
e the<br>
incremental hash between client&#39;s requests? An NTP server normally<br>
doesn&#39;t keep any state for clients and when it does (e.g. for<br>
monitoring and rate limiting), it&#39;s all in a constant amount of memory<=
br>
to prevent DoS attacks on the server.</blockquote><div><br></div><div>If an=
 incremental hash is used, then it would require a constant amount of memor=
y on the server.=C2=A0 <br></div><div>=C2=A0=C2=A0 <br></div><blockquote cl=
ass=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;p=
adding-left:1ex"> Clients that would benefit most<br>
from having timestamps authenticated retroactively probably would be
the ones that poll the server least frequently and are most likely to<br>
have their state on the server lost.</blockquote><div><br></div><div>I&#39;=
m not sure I understand this point.=C2=A0 If a client is querying infrequen=
tly, why not just wait until the KE completes, and the key is established, =
before sending timing messages that can then be authenticated with the esta=
blished key?=C2=A0=C2=A0 Why would you want to start a timing exchange in p=
arallel with the KE?<br></div></div><br></div><div class=3D"gmail_extra">Sh=
aron</div><br></div>

--001a11c3b8a4a64fc3052ebb044f--

--===============6953922962095359221==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============6953922962095359221==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 09:29:32 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6F3A112D1E7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:29:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 K6D3oyLX7TU8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:29:30 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B950A12D668 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:26:12 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9E06986DAE1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 16:26:12 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BBAC186D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 22:18:18 +0000 (UTC)
Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1air6U-000LxD-O4 for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 22:18:18 +0000
Received: by mail-wm0-x235.google.com with SMTP id p65so42239791wmp.0 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 15:18:14 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=F7zUoQRR8XyNFGCBZ6SaR8px3Yb9Vb9l9amiz9E6umw=; b=w3XWavGzbLHQ3lUUumQjrlsABe9264QrvYrnwEuQBckyrS3SyJlRye208zUS9wVkga O7iSZN9LFANRt/ViJzcl3Xa1opb4/XUYsUXSjO8YK9wvn8HAMYVlZkA01zAf6jfwgDwY JyJ0TNlGsqO444+NbU98kN0dPN50QFivZ++KyNpAIDj+8VqvLiieFIGC2NR3labHjyRw M9yOfnswe0MhdegYEzyAAAx0/DfKR0IwObP/W90vFDspOBKtrJ6Md692KJa1h+6Lk6fN DfcWYEuvlUXPXZVqmiSAOFeeBCwezJ0W1OMZs9uuot9SgNf9GAeehvO5xgBzTJhIP1O7 rdKw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=F7zUoQRR8XyNFGCBZ6SaR8px3Yb9Vb9l9amiz9E6umw=; b=Q6vtD2Ff/oMDaGkunuaaXx5Fy0dS3E7kzEZS5BYIHttB5JCxZUhnW3YP3lfWcNWpDq pQzM7dyK1Kt7bivXUCBgqXQXwqFzpOcc/MBtv43aCINk9iifjjirnK2XX3doy7c0M+eC q1f1H57RSITAfVJgEQPl52/8lFh3Maf7x5UArH2Q4jY8qRvnKSsMDfSKYBT0dijL5jIC XNfB6v9j5NkiZxWvMXW3yu7+8DC9IfEvv1iCCHDe5o413DzvkOFLkJOK/7SYf14+LPMp bxp/OEduUmBjjRN4g2flNgBAqbPxZkBsnCq9a1h+7IJZ3NPaOnyk6aO5b8cJcnml1+ma B4kg==
X-Gm-Message-State: AD7BkJKCWmslewxSKF/dP+uYNMut3UKiJbUd5oLHqWiQJSVViO2rtr2fhue2Uson3lZ9Us5BwtPW33Fnyl1Qow==
X-Received: by 10.28.227.130 with SMTP id a124mr6666387wmh.2.1458771492888; Wed, 23 Mar 2016 15:18:12 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Wed, 23 Mar 2016 15:17:33 -0700 (PDT)
In-Reply-To: <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Wed, 23 Mar 2016 18:17:33 -0400
X-Google-Sender-Auth: 1hhD5jxMft3H5W8ybfS38LZQ35M
Message-ID: <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::235
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 24 Mar 2016 15:12:20 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============0296825253576178550=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0296825253576178550==
Content-Type: multipart/alternative; boundary=001a114ccbd4a464b0052ebeb49a

--001a114ccbd4a464b0052ebeb49a
Content-Type: text/plain; charset=UTF-8

 > > This is an interesting idea, but wouldn't the server have to save the

> > > incremental hash between client's requests? An NTP server normally
> > > doesn't keep any state for clients and when it does (e.g. for
> > > monitoring and rate limiting), it's all in a constant amount of memory
> > > to prevent DoS attacks on the server.
> >
> >
> > If an incremental hash is used, then it would require a constant amount
> of memory on the server.
>
> Per client, right?
>
> Right.  But only for the duration of the KE; afterwards this could be
purged.

However, if this per client state really bothers us, there is a way around
it.

Before I say how to get around it, I was wondering why this bothers us so
much?  The current ntpd already has the server saves per-client state, for
poll interval, rate limiting, and symmetric keys.  Is this really such a
problem to store a bunch of additional ~256 bit values for each client?
And especially if this state only lives for the duration of the KE?

Anyway, here is a generic trick for getting rid of state on the server,
that could be useful for NTS.  The trick is to use a cookie.

1)  Let the server have a local symmetric key $k$ that only it knows. It
only needs on key for each client.
2)  Let $s$ be the per client state that the server doesn't want to store.
For example, the session key with the client, or the incremental hash, or
whatever we want.
3) The server computes cookie $c$ = AuthEnc_{$k$} ($s$), where AuthEnc is
an authenticated encryption scheme like GCM [1].
4) The server sends $c$ to the client.
5) The client stores $c$.  Note that since the client doesn't know $k$, it
can't read what is in $c$.
6) The client sends $c$ to the server with its request.
7) The server knows $k$, and can AuthDec_{$k$}($c$) to learn $s$.

We would need to be careful with session identifiers so attackers can't
replay old cookies here but this is the basic idea.  I can do some research
on exactly how this should be done, I think there have been papers on it.

But I think it is worthwhile to carefully evaluate if this type of approach
is really needed for NTS, or is it just adding additional complexity.

> > Clients that would benefit most
> > > from having timestamps authenticated retroactively probably would be
> the
> > > ones that poll the server least frequently and are most likely to
> > > have their state on the server lost.
> >
> >
> > I'm not sure I understand this point.  If a client is querying
> > infrequently, why not just wait until the KE completes, and the key is
> > established, before sending timing messages that can then be
> authenticated
> > with the established key?   Why would you want to start a timing exchange
> > in parallel with the KE?
>
> My thought was that clients using longer interval would save more time
> by having old timestamps authenticated.
>
> If I understand the scheme you propose correctly, the client would
> have samples from previous packets in the NTS initialization validated
> when the last packet in the initialization is received.


Yes. So I imagine the client starting. Then it initiates NTS and in
parallel does some timing exchanges that are not MAC'd. These timing
exchanges won't update the clock yet.  Then once the NTS KE completes, it
also authenticates these timing exchanges.  At this point, the client can
choose to update its clock (or not) per the usual NTP processes.


> The question
> is what the client could do with these extra samples. I guess they
> could be useful to estimate the frequency error of the clock as ntpd
> does in the freq state for instance. A client polling at 64s interval
> would save more time with this than a client using 2s poll (iburst).
>
> Not sure, not an expert on NTP's timing algos. But we have seen that upon
initalization, ntpd requires about 4 timing samples before it updates its
clock. So it could collect these timing samples while the NTS KE is running.


> There is also a question whether the client would really want to use
> any samples from the non-timing NTS exchanges as the packets are
> longer and asymmetric, creating an extra error in the measurements.
>
>
So, in my mind, the timing messages would be sent in separate packets from
the NTS KE messages.  They would be sent in parallel. That way, the crypto
done in NTS does not mess up the accuracy of the timing exchanges.

[1] https://en.wikipedia.org/wiki/Galois/Counter_Mode

Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a114ccbd4a464b0052ebeb49a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><spa=
n> &gt; &gt; This is an interesting idea, but wouldn&#39;t the server have =
to save the</span><br><span></span><blockquote class=3D"gmail_quote" style=
=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding=
-left:1ex"><span>
&gt; &gt; incremental hash between client&#39;s requests? An NTP server nor=
mally<br>
&gt; &gt; doesn&#39;t keep any state for clients and when it does (e.g. for=
<br>
&gt; &gt; monitoring and rate limiting), it&#39;s all in a constant amount =
of memory<br>
&gt; &gt; to prevent DoS attacks on the server.<br>
&gt;<br>
&gt;<br>
&gt; If an incremental hash is used, then it would require a constant amoun=
t of memory on the server.<br>
<br>
</span>Per client, right?<br>
<span><br></span></blockquote><div>Right.=C2=A0 But only for the duration o=
f the KE; afterwards this could be purged.<br><br>However, if this per clie=
nt state really bothers us, there is a way around it.=C2=A0 <br><br></div><=
div>Before I say how to get around it, I was wondering why this bothers us =
so much?=C2=A0 The current ntpd already has the server saves per-client sta=
te, for poll interval, rate limiting, and symmetric keys.=C2=A0 Is this rea=
lly such a problem to store a bunch of additional ~256 bit values for each =
client?=C2=A0 And especially if this state only lives for the duration of t=
he KE?<br><br></div><div>Anyway, here is a generic trick for getting rid of=
 state on the server, that could be useful for NTS.=C2=A0 The trick is to u=
se a cookie.=C2=A0 <br><br></div><div>1)=C2=A0 Let the server have a local =
symmetric key $k$ that only it knows. It only needs on key for each client.=
<br></div><div>2)=C2=A0 Let $s$ be the per client state that the server doe=
sn&#39;t want to store. For example, the session key with the client, or th=
e incremental hash, or whatever we want.<br></div><div>3) The server comput=
es cookie $c$ =3D AuthEnc_{$k$} ($s$), where AuthEnc is an authenticated en=
cryption scheme like GCM [1].<br></div><div>4) The server sends $c$ to the =
client.<br></div><div>5) The client stores $c$.=C2=A0 Note that since the c=
lient doesn&#39;t know $k$, it can&#39;t read what is in $c$.<br></div><div=
>6) The client sends $c$ to the server with its request.<br></div><div>7) T=
he server knows $k$, and can AuthDec_{$k$}($c$) to learn $s$.<br></div><div=
><br></div><div>We would need to be careful with session identifiers so att=
ackers can&#39;t replay old cookies here but this is the basic idea.=C2=A0 =
I can do some research on exactly how this should be done, I think there ha=
ve been papers on it.<br></div><div></div><div>=C2=A0<br></div><div>But I t=
hink it is worthwhile to carefully evaluate if this type of approach is rea=
lly needed for NTS, or is it just adding additional complexity.<br></div><d=
iv><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span>
&gt; &gt; Clients that would benefit most<br>
&gt; &gt; from having timestamps authenticated retroactively probably would=
 be the<br>
&gt; &gt; ones that poll the server least frequently and are most likely to=
<br>
&gt; &gt; have their state on the server lost.<br>
&gt;<br>
&gt;<br>
&gt; I&#39;m not sure I understand this point.=C2=A0 If a client is queryin=
g<br>
&gt; infrequently, why not just wait until the KE completes, and the key is=
<br>
&gt; established, before sending timing messages that can then be authentic=
ated<br>
&gt; with the established key?=C2=A0 =C2=A0Why would you want to start a ti=
ming exchange<br>
&gt; in parallel with the KE?<br>
<br>
</span>My thought was that clients using longer interval would save more ti=
me<br>
by having old timestamps authenticated.<br>
<br>
If I understand the scheme you propose correctly, the client would<br>
have samples from previous packets in the NTS initialization validated<br>
when the last packet in the initialization is received. </blockquote><div><=
br></div><div>Yes. So I imagine the client starting. Then it initiates NTS =
and in parallel does some timing exchanges that are not MAC&#39;d. These ti=
ming exchanges won&#39;t update the clock yet.=C2=A0 Then once the NTS KE c=
ompletes, it also authenticates these timing exchanges.=C2=A0 At this point=
, the client can choose to update its clock (or not) per the usual NTP proc=
esses.<br></div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D=
"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-le=
ft:1ex">The question<br>
is what the client could do with these extra samples. I guess they<br>
could be useful to estimate the frequency error of the clock as ntpd<br>
does in the freq state for instance. A client polling at 64s interval<br>
would save more time with this than a client using 2s poll (iburst).<br>
<br></blockquote><div>Not sure, not an expert on NTP&#39;s timing algos. Bu=
t we have seen that upon initalization, ntpd requires about 4 timing sample=
s before it updates its clock. So it could collect these timing samples whi=
le the NTS KE is running.<br></div><div>=C2=A0</div><blockquote class=3D"gm=
ail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,=
204,204);padding-left:1ex">
There is also a question whether the client would really want to use<br>
any samples from the non-timing NTS exchanges as the packets are<br>
longer and asymmetric, creating an extra error in the measurements.<br>
<span><font color=3D"#888888"><br></font></span></blockquote><div><br></div=
><div>So, in my mind, the timing messages would be sent in separate packets=
 from the NTS KE messages.=C2=A0 They would be sent in parallel. That way, =
the crypto done in NTS does not mess up the accuracy of the timing exchange=
s.<br></div><div><br>[1] <a href=3D"https://en.wikipedia.org/wiki/Galois/Co=
unter_Mode">https://en.wikipedia.org/wiki/Galois/Counter_Mode</a> <br></div=
></div>=C2=A0<br><div>Sharon Goldberg<br>Computer Science, Boston Universit=
y<br><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank">http://www.=
cs.bu.edu/~goldbe</a></div>
</div></div>

--001a114ccbd4a464b0052ebeb49a--

--===============0296825253576178550==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0296825253576178550==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 09:29:52 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id F2A1D12D0FF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:29:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 t3Rg3M-fjLDF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:29:49 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id D979B12D0CC for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:26:31 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C6E4B86DB19 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 16:26:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B802686D4A6 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 22:19:13 +0000 (UTC)
Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1air7O-000Ly3-9d for ntpwg@lists.ntp.org; Wed, 23 Mar 2016 22:19:13 +0000
Received: by mail-wm0-x233.google.com with SMTP id r129so154751734wmr.1 for <ntpwg@lists.ntp.org>; Wed, 23 Mar 2016 15:19:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=YpzDZlhHXiTFfoK9NNErg60rVUFrkIt4d5qNR7RCWAc=; b=lTG60acQR7pDkYdRRvbxElalIhy/qp/6YOGzL8cP7PTQ2lzTZcPilztpFGASSt6i5d 7KsiFqWE/ZIEe0Wf9qtUcCP7EjD8X0u4flHrKRi6In5zjZQwE/uWagmsjebMPCcW3Wgy /O7n6yjwmzZg9so1Fed8lY4VMdvWKW9S8aah8ZZWKVG+IfPlqHb2VBIHQwvdPmv2OgBn Lj8zQiQsAHGcZ1Uo041w45QFa1bYFipF1w35i3nuCPeeqJaef3RPNSpzVHmO/zfFnTqv UbWNtk3voOkdrL4L7ByfkDFkRjyoDvFzI1r4mwQSEpTbAWCs9XVDyECltuYioTKmmFyY 2Xgw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=YpzDZlhHXiTFfoK9NNErg60rVUFrkIt4d5qNR7RCWAc=; b=deT/DP+BOqCvl+1PT+IZjj4FOR1WlMm0xenQYSe+y+9mLt7YFPC4+wskvo1n16NZAN EtEIDKzhJVVN7bUMolZOH47f7CJB1XwVbfw+SPllrQuia1YKTlkijeDLWJFCPsy6x7Ep QlhfdjCi8m6aXXg5d0EO0K7TzLMC81LZ9CjgUQolaGlT3eViGZu939E4f599bUAg677K jfpzPYw+MhnNhoOOjKD3XSD8tOugx9kC6heEuRt7rqZXW8Hx3CQX4/2V7bQZQBYTCxIa jvwUshWOa1oCDo3DLmBgMEr5NY2IKwL4Srzf8O6KkxsoQk1JjO2NH0iPE6CzBtz+9Vv+ eTTQ==
X-Gm-Message-State: AD7BkJJdgTmwtxyWp9U/b6J2L5rNUFsKpysk55NL2S76ZxfquWD0C/iRoYkcpps6BDyn5oJZQeSQaQZMOtSrjg==
X-Received: by 10.194.223.104 with SMTP id qt8mr5967556wjc.11.1458771548919; Wed, 23 Mar 2016 15:19:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Wed, 23 Mar 2016 15:18:29 -0700 (PDT)
In-Reply-To: <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Wed, 23 Mar 2016 18:18:29 -0400
X-Google-Sender-Auth: hndOquJZrYPVr1SV6R8kMtgUC3w
Message-ID: <CAJHGrrS0kqt0h43yzFd9TAkmHHEYswVraYcp+6vs9p4JUkbRuw@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::233
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Thu, 24 Mar 2016 15:12:20 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============2639280745486148128=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2639280745486148128==
Content-Type: multipart/alternative; boundary=001a11c3b8a4fb6c8e052ebeb7a9

--001a11c3b8a4fb6c8e052ebeb7a9
Content-Type: text/plain; charset=UTF-8

Sorry correction to my email: the key $k$ held by server is just one key
for ALL clients.

On Wed, Mar 23, 2016 at 6:17 PM, Sharon Goldberg <goldbe@cs.bu.edu> wrote:

> > > This is an interesting idea, but wouldn't the server have to save the
>
>> > > incremental hash between client's requests? An NTP server normally
>> > > doesn't keep any state for clients and when it does (e.g. for
>> > > monitoring and rate limiting), it's all in a constant amount of memory
>> > > to prevent DoS attacks on the server.
>> >
>> >
>> > If an incremental hash is used, then it would require a constant amount
>> of memory on the server.
>>
>> Per client, right?
>>
>> Right.  But only for the duration of the KE; afterwards this could be
> purged.
>
> However, if this per client state really bothers us, there is a way around
> it.
>
> Before I say how to get around it, I was wondering why this bothers us so
> much?  The current ntpd already has the server saves per-client state, for
> poll interval, rate limiting, and symmetric keys.  Is this really such a
> problem to store a bunch of additional ~256 bit values for each client?
> And especially if this state only lives for the duration of the KE?
>
> Anyway, here is a generic trick for getting rid of state on the server,
> that could be useful for NTS.  The trick is to use a cookie.
>
> 1)  Let the server have a local symmetric key $k$ that only it knows. It
> only needs on key for each client.
> 2)  Let $s$ be the per client state that the server doesn't want to store.
> For example, the session key with the client, or the incremental hash, or
> whatever we want.
> 3) The server computes cookie $c$ = AuthEnc_{$k$} ($s$), where AuthEnc is
> an authenticated encryption scheme like GCM [1].
> 4) The server sends $c$ to the client.
> 5) The client stores $c$.  Note that since the client doesn't know $k$, it
> can't read what is in $c$.
> 6) The client sends $c$ to the server with its request.
> 7) The server knows $k$, and can AuthDec_{$k$}($c$) to learn $s$.
>
> We would need to be careful with session identifiers so attackers can't
> replay old cookies here but this is the basic idea.  I can do some research
> on exactly how this should be done, I think there have been papers on it.
>
> But I think it is worthwhile to carefully evaluate if this type of
> approach is really needed for NTS, or is it just adding additional
> complexity.
>
> > > Clients that would benefit most
>> > > from having timestamps authenticated retroactively probably would be
>> the
>> > > ones that poll the server least frequently and are most likely to
>> > > have their state on the server lost.
>> >
>> >
>> > I'm not sure I understand this point.  If a client is querying
>> > infrequently, why not just wait until the KE completes, and the key is
>> > established, before sending timing messages that can then be
>> authenticated
>> > with the established key?   Why would you want to start a timing
>> exchange
>> > in parallel with the KE?
>>
>> My thought was that clients using longer interval would save more time
>> by having old timestamps authenticated.
>>
>> If I understand the scheme you propose correctly, the client would
>> have samples from previous packets in the NTS initialization validated
>> when the last packet in the initialization is received.
>
>
> Yes. So I imagine the client starting. Then it initiates NTS and in
> parallel does some timing exchanges that are not MAC'd. These timing
> exchanges won't update the clock yet.  Then once the NTS KE completes, it
> also authenticates these timing exchanges.  At this point, the client can
> choose to update its clock (or not) per the usual NTP processes.
>
>
>> The question
>> is what the client could do with these extra samples. I guess they
>> could be useful to estimate the frequency error of the clock as ntpd
>> does in the freq state for instance. A client polling at 64s interval
>> would save more time with this than a client using 2s poll (iburst).
>>
>> Not sure, not an expert on NTP's timing algos. But we have seen that upon
> initalization, ntpd requires about 4 timing samples before it updates its
> clock. So it could collect these timing samples while the NTS KE is running.
>
>
>> There is also a question whether the client would really want to use
>> any samples from the non-timing NTS exchanges as the packets are
>> longer and asymmetric, creating an extra error in the measurements.
>>
>>
> So, in my mind, the timing messages would be sent in separate packets from
> the NTS KE messages.  They would be sent in parallel. That way, the crypto
> done in NTS does not mess up the accuracy of the timing exchanges.
>
> [1] https://en.wikipedia.org/wiki/Galois/Counter_Mode
>
> Sharon Goldberg
> Computer Science, Boston University
> http://www.cs.bu.edu/~goldbe
>



-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a11c3b8a4fb6c8e052ebeb7a9
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Sorry correction to my email: the key $k$ held by server i=
s just one key for ALL clients.<br></div><div class=3D"gmail_extra"><br><di=
v class=3D"gmail_quote">On Wed, Mar 23, 2016 at 6:17 PM, Sharon Goldberg <s=
pan dir=3D"ltr">&lt;<a href=3D"mailto:goldbe@cs.bu.edu" target=3D"_blank">g=
oldbe@cs.bu.edu</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" =
style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><di=
v dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><span c=
lass=3D""><span> &gt; &gt; This is an interesting idea, but wouldn&#39;t th=
e server have to save the</span><br><span></span></span><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex"><span><span class=3D"">
&gt; &gt; incremental hash between client&#39;s requests? An NTP server nor=
mally<br>
&gt; &gt; doesn&#39;t keep any state for clients and when it does (e.g. for=
<br>
&gt; &gt; monitoring and rate limiting), it&#39;s all in a constant amount =
of memory<br>
&gt; &gt; to prevent DoS attacks on the server.<br>
&gt;<br>
&gt;<br></span>
&gt; If an incremental hash is used, then it would require a constant amoun=
t of memory on the server.<br>
<br>
</span>Per client, right?<br>
<span><br></span></blockquote><div>Right.=C2=A0 But only for the duration o=
f the KE; afterwards this could be purged.<br><br>However, if this per clie=
nt state really bothers us, there is a way around it.=C2=A0 <br><br></div><=
div>Before I say how to get around it, I was wondering why this bothers us =
so much?=C2=A0 The current ntpd already has the server saves per-client sta=
te, for poll interval, rate limiting, and symmetric keys.=C2=A0 Is this rea=
lly such a problem to store a bunch of additional ~256 bit values for each =
client?=C2=A0 And especially if this state only lives for the duration of t=
he KE?<br><br></div><div>Anyway, here is a generic trick for getting rid of=
 state on the server, that could be useful for NTS.=C2=A0 The trick is to u=
se a cookie.=C2=A0 <br><br></div><div>1)=C2=A0 Let the server have a local =
symmetric key $k$ that only it knows. It only needs on key for each client.=
<br></div><div>2)=C2=A0 Let $s$ be the per client state that the server doe=
sn&#39;t want to store. For example, the session key with the client, or th=
e incremental hash, or whatever we want.<br></div><div>3) The server comput=
es cookie $c$ =3D AuthEnc_{$k$} ($s$), where AuthEnc is an authenticated en=
cryption scheme like GCM [1].<br></div><div>4) The server sends $c$ to the =
client.<br></div><div>5) The client stores $c$.=C2=A0 Note that since the c=
lient doesn&#39;t know $k$, it can&#39;t read what is in $c$.<br></div><div=
>6) The client sends $c$ to the server with its request.<br></div><div>7) T=
he server knows $k$, and can AuthDec_{$k$}($c$) to learn $s$.<br></div><div=
><br></div><div>We would need to be careful with session identifiers so att=
ackers can&#39;t replay old cookies here but this is the basic idea.=C2=A0 =
I can do some research on exactly how this should be done, I think there ha=
ve been papers on it.<br></div><div></div><div>=C2=A0<br></div><div>But I t=
hink it is worthwhile to carefully evaluate if this type of approach is rea=
lly needed for NTS, or is it just adding additional complexity.<br></div><d=
iv><br></div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span><span =
class=3D"">
&gt; &gt; Clients that would benefit most<br>
&gt; &gt; from having timestamps authenticated retroactively probably would=
 be the<br>
&gt; &gt; ones that poll the server least frequently and are most likely to=
<br>
&gt; &gt; have their state on the server lost.<br>
&gt;<br>
&gt;<br></span><span class=3D"">
&gt; I&#39;m not sure I understand this point.=C2=A0 If a client is queryin=
g<br>
&gt; infrequently, why not just wait until the KE completes, and the key is=
<br>
&gt; established, before sending timing messages that can then be authentic=
ated<br>
&gt; with the established key?=C2=A0 =C2=A0Why would you want to start a ti=
ming exchange<br>
&gt; in parallel with the KE?<br>
<br>
</span></span><span class=3D"">My thought was that clients using longer int=
erval would save more time<br>
by having old timestamps authenticated.<br>
<br>
If I understand the scheme you propose correctly, the client would<br>
have samples from previous packets in the NTS initialization validated<br>
when the last packet in the initialization is received. </span></blockquote=
><div><br></div><div>Yes. So I imagine the client starting. Then it initiat=
es NTS and in parallel does some timing exchanges that are not MAC&#39;d. T=
hese timing exchanges won&#39;t update the clock yet.=C2=A0 Then once the N=
TS KE completes, it also authenticates these timing exchanges.=C2=A0 At thi=
s point, the client can choose to update its clock (or not) per the usual N=
TP processes.<br></div><span class=3D""><div>=C2=A0</div><blockquote class=
=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rg=
b(204,204,204);padding-left:1ex">The question<br>
is what the client could do with these extra samples. I guess they<br>
could be useful to estimate the frequency error of the clock as ntpd<br>
does in the freq state for instance. A client polling at 64s interval<br>
would save more time with this than a client using 2s poll (iburst).<br>
<br></blockquote></span><div>Not sure, not an expert on NTP&#39;s timing al=
gos. But we have seen that upon initalization, ntpd requires about 4 timing=
 samples before it updates its clock. So it could collect these timing samp=
les while the NTS KE is running.<br></div><span class=3D""><div>=C2=A0</div=
><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border=
-left:1px solid rgb(204,204,204);padding-left:1ex">
There is also a question whether the client would really want to use<br>
any samples from the non-timing NTS exchanges as the packets are<br>
longer and asymmetric, creating an extra error in the measurements.<br>
<span><font color=3D"#888888"><br></font></span></blockquote><div><br></div=
></span><div>So, in my mind, the timing messages would be sent in separate =
packets from the NTS KE messages.=C2=A0 They would be sent in parallel. Tha=
t way, the crypto done in NTS does not mess up the accuracy of the timing e=
xchanges.<br></div><div><br>[1] <a href=3D"https://en.wikipedia.org/wiki/Ga=
lois/Counter_Mode" target=3D"_blank">https://en.wikipedia.org/wiki/Galois/C=
ounter_Mode</a> <br></div></div><span class=3D"">=C2=A0<br><div>Sharon Gold=
berg<br>Computer Science, Boston University<br><a href=3D"http://www.cs.bu.=
edu/~goldbe" target=3D"_blank">http://www.cs.bu.edu/~goldbe</a></div>
</span></div></div>
</blockquote></div><br><br clear=3D"all"><br>-- <br><div class=3D"gmail_sig=
nature">Sharon Goldberg<br>Computer Science, Boston University<br><a href=
=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank">http://www.cs.bu.edu/~g=
oldbe</a></div>
</div>

--001a11c3b8a4fb6c8e052ebeb7a9--

--===============2639280745486148128==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2639280745486148128==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 09:31:07 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAC0612D0AD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:31:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 tu1ZMckM-lp0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:31:05 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 64B0A12D5E9 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:28:03 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 327EA86DAE6 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 16:28:03 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BE69186D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 14:41:14 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1aj6Ra-000HGM-Cm for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 14:41:14 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OEetBd000617-u2OEetBf000617 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 15:40:55 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 568BB3F27A; Thu, 24 Mar 2016 15:40:55 +0100 (CET)
In-Reply-To: <CAJHGrrS0kqt0h43yzFd9TAkmHHEYswVraYcp+6vs9p4JUkbRuw@mail.gmail.com>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <CAJHGrrS0kqt0h43yzFd9TAkmHHEYswVraYcp+6vs9p4JUkbRuw@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>, "NTP Working Group" <ntpwg@lists.ntp.org>, tictoc@ietf.org
MIME-Version: 1.0
Message-ID: <OF4669CDE6.8F5C54E4-ONC1257F80.004A4421-C1257F80.0050A600@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 24 Mar 2016 15:40:53 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7692796320596135776=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============7692796320596135776==
Content-Type: multipart/alternative; boundary="=_alternative 0050A600C1257F80_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0050A600C1257F80_=
Content-Type: text/plain; charset="US-ASCII"

> Anyway, here is a generic trick for getting rid of state on the 
> server, that could be useful for NTS.  The trick is to use a cookie.  
>
> 1)  Let the server have a local symmetric key $k$ that only it 
> knows. It only needs on key for each client.
> 2)  Let $s$ be the per client state that the server doesn't want to 
> store. For example, the session key with the client, or the 
> incremental hash, or whatever we want.
> 3) The server computes cookie $c$ = AuthEnc_{$k$} ($s$), where 
> AuthEnc is an authenticated encryption scheme like GCM [1].
> 4) The server sends $c$ to the client.
> 5) The client stores $c$.  Note that since the client doesn't know 
> $k$, it can't read what is in $c$.
> 6) The client sends $c$ to the server with its request.
> 7) The server knows $k$, and can AuthDec_{$k$}($c$) to learn $s$.

Pretty straightforward.

> We would need to be careful with session identifiers so attackers 
> can't replay old cookies here but this is the basic idea.  I can do 
> some research on exactly how this should be done, I think there have
> been papers on it.
>
> But I think it is worthwhile to carefully evaluate if this type of 
> approach is really needed for NTS, or is it just adding additional 
complexity.

Absolutely.
See also the end of this mail.

> Yes. So I imagine the client starting. Then it initiates NTS and in 
> parallel does some timing exchanges that are not MAC'd. These timing
> exchanges won't update the clock yet.  Then once the NTS KE 
> completes, it also authenticates these timing exchanges.  At this 
> point, the client can choose to update its clock (or not) per the 
> usual NTP processes.
>
> > The question
> > is what the client could do with these extra samples. I guess they
> > could be useful to estimate the frequency error of the clock as ntpd
> > does in the freq state for instance. A client polling at 64s interval
> > would save more time with this than a client using 2s poll (iburst).
>
> Not sure, not an expert on NTP's timing algos. But we have seen that
> upon initalization, ntpd requires about 4 timing samples before it 
> updates its clock. So it could collect these timing samples while 
> the NTS KE is running.
>  
> > There is also a question whether the client would really want to use
> > any samples from the non-timing NTS exchanges as the packets are
> > longer and asymmetric, creating an extra error in the measurements.

I also do not think the client should use any such samples.

> So, in my mind, the timing messages would be sent in separate 
> packets from the NTS KE messages.  They would be sent in parallel. 
> That way, the crypto done in NTS does not mess up the accuracy of 
> the timing exchanges.

Yes, this seems like it would make the most sense for employing the 
proposed technique actually.
However, it does not get around the chicken-and-egg problem that was 
outlined earlier: a client who is initially without any sense of 
time/clock could be convinced to take old crypto data/certificates and 
then that would impede the security of everything that follows.

My position on the whole issue would be that if we introduced a mechanic 
as outlined in 1) - 7) *just* for an a posteriori verification of a small 
number of initial exchanges, then the cost of the added complexity would 
be too high.
If, on the other hand, we figured out how to get more use out of such 
techniques, then it might be worth it.
--=_alternative 0050A600C1257F80_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>&gt; Anyway, here is a generic trick for getting rid
of state on the <br>
&gt; server, that could be useful for NTS.&nbsp; The trick is to use a
cookie.&nbsp; </font></tt>
<br><tt><font size=2>&gt;</font></tt>
<br><tt><font size=2>&gt; 1)&nbsp; Let the server have a local symmetric
key $k$ that only it <br>
&gt; knows. It only needs on key for each client.</font></tt>
<br><tt><font size=2>&gt; 2)&nbsp; Let $s$ be the per client state that
the server doesn't want to <br>
&gt; store. For example, the session key with the client, or the <br>
&gt; incremental hash, or whatever we want.</font></tt>
<br><tt><font size=2>&gt; 3) The server computes cookie $c$ = AuthEnc_{$k$}
($s$), where <br>
&gt; AuthEnc is an authenticated encryption scheme like GCM [1].</font></tt>
<br><tt><font size=2>&gt; 4) The server sends $c$ to the client.</font></tt>
<br><tt><font size=2>&gt; 5) The client stores $c$.&nbsp; Note that since
the client doesn't know <br>
&gt; $k$, it can't read what is in $c$.</font></tt>
<br><tt><font size=2>&gt; 6) The client sends $c$ to the server with its
request.</font></tt>
<br><tt><font size=2>&gt; 7) The server knows $k$, and can AuthDec_{$k$}($c$)
to learn $s$.</font></tt>
<br>
<br><tt><font size=2>Pretty straightforward.</font></tt>
<br><tt><font size=2><br>
&gt; We would need to be careful with session identifiers so attackers
<br>
&gt; can't replay old cookies here but this is the basic idea.&nbsp; I
can do <br>
&gt; some research on exactly how this should be done, I think there have<br>
&gt; been papers on it.</font></tt>
<br><tt><font size=2>&gt;</font></tt>
<br><tt><font size=2>&gt; But I think it is worthwhile to carefully evaluate
if this type of <br>
&gt; approach is really needed for NTS, or is it just adding additional
complexity.</font></tt>
<br>
<br><tt><font size=2>Absolutely.</font></tt>
<br><tt><font size=2>See also the end of this mail.</font></tt>
<br><tt><font size=2><br>
&gt; Yes. So I imagine the client starting. Then it initiates NTS and in
<br>
&gt; parallel does some timing exchanges that are not MAC'd. These timing<br>
&gt; exchanges won't update the clock yet.&nbsp; Then once the NTS KE <br>
&gt; completes, it also authenticates these timing exchanges.&nbsp; At
this <br>
&gt; point, the client can choose to update its clock (or not) per the
<br>
&gt; usual NTP processes.</font></tt>
<br><tt><font size=2>&gt;</font></tt>
<br><tt><font size=2>&gt; &gt; The question<br>
&gt; &gt; is what the client could do with these extra samples. I guess
they<br>
&gt; &gt; could be useful to estimate the frequency error of the clock
as ntpd<br>
&gt; &gt; does in the freq state for instance. A client polling at 64s
interval<br>
&gt; &gt; would save more time with this than a client using 2s poll (iburst).<br>
&gt;</font></tt>
<br><tt><font size=2>&gt; Not sure, not an expert on NTP's timing algos.
But we have seen that<br>
&gt; upon initalization, ntpd requires about 4 timing samples before it
<br>
&gt; updates its clock. So it could collect these timing samples while
<br>
&gt; the NTS KE is running.</font></tt>
<br><tt><font size=2>&gt; &nbsp;</font></tt>
<br><tt><font size=2>&gt; &gt; There is also a question whether the client
would really want to use<br>
&gt; &gt; any samples from the non-timing NTS exchanges as the packets
are<br>
&gt; &gt; longer and asymmetric, creating an extra error in the measurements.</font></tt>
<br>
<br><tt><font size=2>I also do not think the client should use any such
samples.</font></tt>
<br><tt><font size=2><br>
&gt; So, in my mind, the timing messages would be sent in separate <br>
&gt; packets from the NTS KE messages.&nbsp; They would be sent in parallel.
<br>
&gt; That way, the crypto done in NTS does not mess up the accuracy of
<br>
&gt; the timing exchanges.</font></tt>
<br><tt><font size=2><br>
Yes, this seems like it would make the most sense for employing the proposed
technique actually.</font></tt>
<br><tt><font size=2>However, it does not get around the chicken-and-egg
problem that was outlined earlier: a client who is initially without any
sense of time/clock could be convinced to take old crypto data/certificates
and then that would impede the security of everything that follows.</font></tt>
<br>
<br><tt><font size=2>My position on the whole issue would be that if we
introduced a mechanic as outlined in 1) - 7) *just* for an a posteriori
verification of a small number of initial exchanges, then the cost of the
added complexity would be too high.</font></tt>
<br><tt><font size=2>If, on the other hand, we figured out how to get more
use out of such techniques, then it might be worth it.</font></tt>
--=_alternative 0050A600C1257F80_=--

--===============7692796320596135776==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============7692796320596135776==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 09:31:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8173912D56C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:31:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 h5ap5NRuklOh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 09:31:26 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 3F8AE12D7AD for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 09:28:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3868486DADC for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 16:28:28 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id B695186D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 14:56:29 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1aj6gL-000HNG-3l for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 14:56:29 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OEuAAq013103-u2OEuAAs013103 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 15:56:10 +0100
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id C4D0945847; Thu, 24 Mar 2016 15:56:10 +0100 (CET)
To: "Sharon Goldberg" <goldbe@cs.bu.edu>, "NTP Working Group" <ntpwg@lists.ntp.org>, tictoc@ietf.org
MIME-Version: 1.0
Message-ID: <OF66B2919C.9ABE1AFA-ONC1257F80.00515670-C1257F80.00520BB9@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 24 Mar 2016 15:56:08 +0100
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] NTS evaluation other than KE protocol?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============8844047470713045935=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============8844047470713045935==
Content-Type: multipart/alternative; boundary="=_alternative 00520BB8C1257F80_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 00520BB8C1257F80_=
Content-Type: text/plain; charset="US-ASCII"

Hello Sharon,

I wanted to ask whether you and your team already had a chance to look at 
the parts of the NTS specification other than the KE protocol.
Specifically: 
- We have specified requirements for the cookie exchange (for which our 
proposed KE protocol is but one way to solve them). Do you think that if 
the requirements are met, the rest of NTS' unicast part is solid?
- Also, have you had a chance to look at the broadcast part of the 
specification?

Best regards,
Kristof
--=_alternative 00520BB8C1257F80_=
Content-Type: text/html; charset="US-ASCII"

<font size=2 face="sans-serif">Hello Sharon,</font>
<br>
<br><font size=2 face="sans-serif">I wanted to ask whether you and your
team already had a chance to look at the parts of the NTS specification
other than the KE protocol.</font>
<br><font size=2 face="sans-serif">Specifically: </font>
<br><font size=2 face="sans-serif">- We have specified requirements for
the cookie exchange (for which our proposed KE protocol is but one way
to solve them). Do you think that if the requirements are met, the rest
of NTS' unicast part is solid?</font>
<br><font size=2 face="sans-serif">- Also, have you had a chance to look
at the broadcast part of the specification?</font>
<br>
<br><font size=2 face="sans-serif">Best regards,</font>
<br><font size=2 face="sans-serif">Kristof</font>
--=_alternative 00520BB8C1257F80_=--

--===============8844047470713045935==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8844047470713045935==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 12:42:41 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6852512D564 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 12:42:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 skn8-at9usBy for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 12:42:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B963212D136 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 12:42:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 88EDA86DAD1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 19:42:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3445B86D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 17:32:21 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1aj97F-000JXu-BM for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 17:32:21 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2OHW9w3025877-u2OHW9w5025877 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 24 Mar 2016 18:32:09 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 06A9D45A1E; Thu, 24 Mar 2016 18:32:09 +0100 (CET)
From: Dieter Sibold <dieter.sibold@ptb.de>
X-Pgp-Agent: GPGMail 2.6b2
Date: Thu, 24 Mar 2016 18:32:04 +0100
References: <B29A71D4-30C6-42FA-80ED-58B1EFD61BF5@ptb.de>
To: ntpwg@lists.ntp.org, Sharon Goldberg <goldbe@cs.bu.edu>
Message-Id: <D827FD74-0EF1-435C-8E75-44E54F2BE360@ptb.de>
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============1900009086842115940=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============1900009086842115940==
Content-Type: multipart/signed; boundary="Apple-Mail=_275BD460-CE53-4404-BED2-169219A3037F"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_275BD460-CE53-4404-BED2-169219A3037F
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_1C273435-0E35-44A0-8493-3B9945E1AA02"


--Apple-Mail=_1C273435-0E35-44A0-8493-3B9945E1AA02
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8

Hello Sharon,
thanks for your review. See comments and questions below.


> Am 23.03.2016 um 08:59 schrieb Sharon Goldberg <goldbe@cs.bu.edu =
<mailto:goldbe@cs.bu.edu>>:
>=20
> Dear WG,
>=20
> Aanchal Malhotra and I reviewed the client/server (unicast) key
> exchange (KE) protocol in the NTS draft (-013). We also discussed
> it with Ran Canetti [1] and Hugo Krawcyzk [2]. As I wrote in an =
earlier email, we believe NTS's KE can be modified
> to use one public key crypto operation, rather than three.
>=20
> We also believe that the protocol can be modified to done in 2
> round trips (4 messages), rather than in 3 round trips (or 6
> messages). The current NTS draft cleverly protects against off-path
> DDoS amplification attacks, using the first round trip. Our
> suggestions would compress the last two round trips into one.  How =
this is done depends on answers to my questions in my previous email.
>=20

Yes, from out point of view this seems to be possible for the current =
KE. But I=E2=80=99m looking forward to your proposal. Kristof gave an =
answer to your questions.

> This would help the KE complete faster, so clients could start to
> take authenticated time sooner.
>=20
> Also, the WG discussed running client/server timing queries in
> parallel with the NTS KE, so clients can get time fast. (eg running
> iburst in parallel with the NTS KE). We believe that this is
> possible, but from a *security perspective* this must be done
> carefully.
>=20

NTS for NTP picky-back all NTS messages on top of NTP packets. =
Therefore, I don=E2=80=99t see how to run the NTS KE in parallel with =
NTP without modifying NTP=E2=80=99s specification. This might be =
different for an implementation that decides to also code an alternative =
KE (as allowed by Sec. 4.1 in the NTS for NTP specification), e.g. DTLS.

> Why?
>=20
> Suppose an unauthenticated timing exchange happens and convince the =
client to update its clock before KE completes. Then,
> man-in-the-middle can trick the client into updating its clock to a
> bogus time in the past. Then, the attackers inject old compromised
> certificates into the KE exchange. (That is, a revoked/expired
> certificate for which the attacker has learned the secret key
> corresponding to the public key in the certificate.) The client is
> in the past, so it accepts the old bogus certificates, and the
> attacker has defeated any protection provided by NTS. (This is very
> related to the attack by Selvi in [5] and what we wrote about
> attacking SSL certificates in Section III of our paper [6]. See
> also [7].)
>=20
> We believe the NTS KE can be modified to authenticate timing
> messages sent in parallel with the KE. Note that this must be done
> *without* requiring these initial timing messages to be MAC'd,
> since before the KE completes, the client and server will not have
> a shared symmetric key.
>=20
> We believe that the NTS KE can be modified to include this feature.
> See *. Is this of interest?
>=20

But is this not a fundamental problem? Even if an implementation =
supports an additional KE.  As long as the KE is based on certificates =
and the verification of the certificate=E2=80=99s validity is based upon =
time stamps a client which starts  NTS  and has no notion about the =
current time is a priori vulnerable to attacks described in [5].

> Sharon
>=20
> * Roughly, the idea is to compute an incremental hash of all the
> unathenticated timing messages running in parallel with the KE.
> Then, once the KE completes and the client and server share a key,
> this key can be used to MAC this incremental hash. In addition to
> this, we would require the client *not* to update its local clock
> until it has validated this MAC of the incremental hash. In other
> words, the client collects timing samples while the KE is running,
> but updates its clock only after the KE completes. If the KE
> completes in 2 round trips, this might perform reasonably well.
>=20
> References
> [1] https://www.cs.bu.edu/fac/canetti/ =
<https://www.cs.bu.edu/fac/canetti/>
> [2] https://simons.berkeley.edu/people/hugo-krawczyk =
<https://simons.berkeley.edu/people/hugo-krawczyk>
> [5] =
https://media.defcon.org/DEF%20CON%2023/DEF%20CON%2023%20presentations/DEF=
CON-23-Jose-Selvi-Breaking-SSL-Using-Time-Synchronisation-Attacks.pdf =
<https://media.defcon.org/DEF%20CON%2023/DEF%20CON%2023%20presentations/DE=
FCON-23-Jose-Selvi-Breaking-SSL-Using-Time-Synchronisation-Attacks.pdf>
> [6] https://eprint.iacr.org/2015/1020.pdf =
<https://eprint.iacr.org/2015/1020.pdf>
> [7] =
http://arstechnica.com/security/2015/10/new-attacks-on-network-time-protoc=
ol-can-defeat-https-and-create-chaos/ =
<http://arstechnica.com/security/2015/10/new-attacks-on-network-time-proto=
col-can-defeat-https-and-create-chaos/>
>=20
> --
> Sharon Goldberg
> Computer Science, Boston University
> http://www.cs.bu.edu/~goldbe =
<http://www.cs.bu.edu/~goldbe>____________________________________________=
___
> ntpwg mailing list
> ntpwg@lists.ntp.org <mailto:ntpwg@lists.ntp.org>
> http://lists.ntp.org/listinfo/ntpwg =
<http://lists.ntp.org/listinfo/ntpwg>



--Apple-Mail=_1C273435-0E35-44A0-8493-3B9945E1AA02
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D"">Hello Sharon,<div class=3D"">thanks for your review. See =
comments and questions below.</div><div class=3D""><br =
class=3D""></div><div class=3D""><br class=3D""><div =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D"">Am =
23.03.2016 um 08:59 schrieb Sharon Goldberg &lt;<a =
href=3D"mailto:goldbe@cs.bu.edu" =
class=3D"">goldbe@cs.bu.edu</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">Dear WG,<br class=3D""><br class=3D"">Aanchal Malhotra and I =
reviewed the client/server (unicast) key<br class=3D"">exchange (KE) =
protocol in the NTS draft (-013). We also discussed<br class=3D"">it =
with Ran Canetti [1] and Hugo Krawcyzk [2]. As I wrote in an earlier =
email, we believe NTS's KE can be modified<br class=3D"">to use one =
public key crypto operation, rather than three.<br class=3D""><br =
class=3D"">We also believe that the protocol can be modified to done in =
2<br class=3D"">round trips (4 messages), rather than in 3 round trips =
(or 6<br class=3D"">messages). The current NTS draft cleverly protects =
against off-path<br class=3D"">DDoS amplification attacks, using the =
first round trip. Our<br class=3D"">suggestions would compress the last =
two round trips into one.&nbsp; How this is done depends on answers to =
my questions in my previous email.<br class=3D""><br =
class=3D""></div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">Yes, from out point of view this seems =
to be possible for the current KE. But I=E2=80=99m looking forward to =
your proposal. Kristof gave an answer to your questions.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D"">This would help the KE complete faster, so =
clients could start to<br class=3D"">take authenticated time sooner.<br =
class=3D""><br class=3D"">Also, the WG discussed running client/server =
timing queries in<br class=3D"">parallel with the NTS KE, so clients can =
get time fast. (eg running<br class=3D"">iburst in parallel with the NTS =
KE). We believe that this is<br class=3D"">possible, but from a =
*security perspective* this must be done<br class=3D"">carefully.<br =
class=3D""><br class=3D""></div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">NTS for NTP picky-back all NTS messages =
on top of NTP packets. Therefore, I don=E2=80=99t see how to run the NTS =
KE in parallel with NTP without modifying NTP=E2=80=99s specification. =
This might be different for an implementation that decides to also code =
an alternative KE (as allowed by Sec. 4.1 in the NTS for NTP =
specification), e.g. DTLS.</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr" class=3D"">Why?<br =
class=3D""><br class=3D"">Suppose an unauthenticated timing exchange =
happens and convince the client to update its clock before KE completes. =
Then,<br class=3D"">man-in-the-middle can trick the client into updating =
its clock to a<br class=3D"">bogus time in the past. Then, the attackers =
inject old compromised<br class=3D"">certificates into the KE exchange. =
(That is, a revoked/expired<br class=3D"">certificate for which the =
attacker has learned the secret key<br class=3D"">corresponding to the =
public key in the certificate.) The client is<br class=3D"">in the past, =
so it accepts the old bogus certificates, and the<br class=3D"">attacker =
has defeated any protection provided by NTS. (This is very<br =
class=3D"">related to the attack by Selvi in [5] and what we wrote =
about<br class=3D"">attacking SSL certificates in Section III of our =
paper [6]. See<br class=3D"">also [7].)<br class=3D""><br class=3D"">We =
believe the NTS KE can be modified to authenticate timing<br =
class=3D"">messages sent in parallel with the KE. Note that this must be =
done<br class=3D"">*without* requiring these initial timing messages to =
be MAC'd,<br class=3D"">since before the KE completes, the client and =
server will not have<br class=3D"">a shared symmetric key.<br =
class=3D""><br class=3D"">We believe that the NTS KE can be modified to =
include this feature.<br class=3D"">See *. Is this of interest?<br =
class=3D""><br class=3D""></div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">But is this not a fundamental problem? =
Even if an implementation supports an additional KE. &nbsp;As long as =
the KE is based on certificates and the verification of the =
certificate=E2=80=99s validity is based upon time stamps a client which =
starts &nbsp;NTS &nbsp;and has no notion about the current time is a =
priori vulnerable to attacks described in [5].&nbsp;</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D"">Sharon<br class=3D""><br class=3D"">* Roughly, =
the idea is to compute an incremental hash of all the<br =
class=3D"">unathenticated timing messages running in parallel with the =
KE.<br class=3D"">Then, once the KE completes and the client and server =
share a key,<br class=3D"">this key can be used to MAC this incremental =
hash. In addition to<br class=3D"">this, we would require the client =
*not* to update its local clock<br class=3D"">until it has validated =
this MAC of the incremental hash. In other<br class=3D"">words, the =
client collects timing samples while the KE is running,<br class=3D"">but =
updates its clock only after the KE completes. If the KE<br =
class=3D"">completes in 2 round trips, this might perform reasonably =
well.<br class=3D""><br class=3D"">References<br class=3D"">[1]&nbsp;<a =
href=3D"https://www.cs.bu.edu/fac/canetti/" =
class=3D"">https://www.cs.bu.edu/fac/canetti/</a><br =
class=3D"">[2]&nbsp;<a =
href=3D"https://simons.berkeley.edu/people/hugo-krawczyk" =
class=3D"">https://simons.berkeley.edu/people/hugo-krawczyk</a><br =
class=3D"">[5]&nbsp;<a =
href=3D"https://media.defcon.org/DEF%20CON%2023/DEF%20CON%2023%20presentat=
ions/DEFCON-23-Jose-Selvi-Breaking-SSL-Using-Time-Synchronisation-Attacks.=
pdf" =
class=3D"">https://media.defcon.org/DEF%20CON%2023/DEF%20CON%2023%20presen=
tations/DEFCON-23-Jose-Selvi-Breaking-SSL-Using-Time-Synchronisation-Attac=
ks.pdf</a><br class=3D"">[6]&nbsp;<a =
href=3D"https://eprint.iacr.org/2015/1020.pdf" =
class=3D"">https://eprint.iacr.org/2015/1020.pdf</a><br =
class=3D"">[7]&nbsp;<a =
href=3D"http://arstechnica.com/security/2015/10/new-attacks-on-network-tim=
e-protocol-can-defeat-https-and-create-chaos/" =
class=3D"">http://arstechnica.com/security/2015/10/new-attacks-on-network-=
time-protocol-can-defeat-https-and-create-chaos/</a><br class=3D""><br =
class=3D"">--&nbsp;<br class=3D""><div class=3D"gmail_signature">Sharon =
Goldberg<br class=3D"">Computer Science, Boston University<br =
class=3D""><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank" =
class=3D"">http://www.cs.bu.edu/~goldbe</a></div></div>___________________=
____________________________<br class=3D"">ntpwg mailing list<br =
class=3D""><a href=3D"mailto:ntpwg@lists.ntp.org" =
class=3D"">ntpwg@lists.ntp.org</a><br class=3D""><a =
href=3D"http://lists.ntp.org/listinfo/ntpwg" =
class=3D"">http://lists.ntp.org/listinfo/ntpwg</a></div></blockquote></div=
></div><div><br class=3D""></div><br class=3D""></body></html>=

--Apple-Mail=_1C273435-0E35-44A0-8493-3B9945E1AA02--

--Apple-Mail=_275BD460-CE53-4404-BED2-169219A3037F
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW9CSUAAoJEGX4ie6lYtkjs8oP/RofHqjZcZPqaExY6GvGSFou
ozyVm5OmF4ErRLvHMzengJx3wD+kZwtmcj0l+TSCW+mOLrChbFyrkFKXViTBFkUW
TnZEUuyi4i0Qe60lk5YDq1dP5PtId/q9KX27/6kjvsBIet+YzvZ7kktBzHaEmdek
FDzN+kpYSkgePgS/yHuFCJUY0u7XWpDFPiP4qCqh0OwHl+V4YEAOHy3t+R9yMOww
/qizzndH4ceRoqt59pz3Wh7DbjOuxbv9tm6Jvu7KmE5RveWupK9PQYMVUC0+2a0I
KpKzBsSP3kQzZmwdpQqD5riSpxLqOEdXeHmqQ9MHCGqVD/ZzZIU7+txr9827747m
5wa8WfEgo0mRV0OIQs8dTfuqBCD90Z5i6WU4lOtgLXzZefHA9QGbPo1MBVcSR13w
D9CSTD/W2Mra5zhh7YIicBnkZJehI/n1msEyQytiWRlUnnH/QpuXvmTNSXF54KNY
GuiSfxE3OInafbhJuns9YqFKxzAqc+BmDAhW9LD77JWn2xGEyu4lZQknPJta+Td8
CkpI5jCMlkp5F90eSwOWEP+WbCEoW6F00/yTeMYgD8aIzbME/hEnQjV04DEd90fX
HMblohHmllAfJ21xh8xd1euVlvd0Howf4r8oCifbMMGNNOy1IlLdDSeUrzBoFSXz
q3ztF4PfireZiCIxvp1M
=V969
-----END PGP SIGNATURE-----

--Apple-Mail=_275BD460-CE53-4404-BED2-169219A3037F--

--===============1900009086842115940==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============1900009086842115940==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 12:43:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 798DD12D789 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 12:43:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 N2-I9G8ByYzk for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 12:43:22 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 58AAC12D65E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 12:43:22 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 499F486DB49 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 19:43:22 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 44C9886D4A6 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 17:56:07 +0000 (UTC)
Received: from mail.ietf.org ([4.31.198.44]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <ietf-secretariat-reply@ietf.org>) id 1aj9UF-000JjF-6d for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 17:56:07 +0000
Received: from ietfa.amsl.com (localhost [IPv6:::1]) by ietfa.amsl.com (Postfix) with ESMTP id 1631A12D693; Thu, 24 Mar 2016 10:55:59 -0700 (PDT)
MIME-Version: 1.0
From: IETF Secretariat <ietf-secretariat-reply@ietf.org>
To: <ntp-chairs@ietf.org>, <ntpwg@lists.ntp.org>, <draft-mayer-ntp-mac-extension-field@ietf.org>
X-Test-IDTracker: no
X-IETF-IDTracker: 6.17.0
Auto-Submitted: auto-generated
Precedence: bulk
Message-ID: <20160324175559.3928.66278.idtracker@ietfa.amsl.com>
Date: Thu, 24 Mar 2016 10:55:59 -0700
X-SA-Exim-Connect-IP: 4.31.198.44
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: ietf-secretariat-reply@ietf.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] The NTP WG has placed draft-mayer-ntp-mac-extension-field in state "Candidate for WG Adoption"
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

The NTP WG has placed draft-mayer-ntp-mac-extension-field in state 
Candidate for WG Adoption (entered by Karen O'Donoghue)

The document is available at
https://datatracker.ietf.org/doc/draft-mayer-ntp-mac-extension-field/

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 17:48:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8BA3612D133 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 17:48:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 guSwjAmZC1_M for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 17:48:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 3448212D112 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 17:48:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CE71886DADD for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 00:48:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 2DAB786D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 23:25:49 +0000 (UTC)
Received: from excelsior.roeckx.be ([2a01:70:ffff:1::3]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kurt@roeckx.be>) id 1ajEdP-000P7w-OO for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 23:25:49 +0000
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id 517D3A8A1321; Thu, 24 Mar 2016 23:25:45 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 0AB8E1FE0574; Fri, 25 Mar 2016 00:25:44 +0100 (CET)
Date: Fri, 25 Mar 2016 00:25:44 +0100
From: Kurt Roeckx <kurt@roeckx.be>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160324232543.GA31213@roeckx.be>
References: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: 2a01:70:ffff:1::3
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kurt@roeckx.be
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: KE over NTP packets or special packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 24, 2016 at 06:15:46PM -0400, Sharon Goldberg wrote:
> >
> > The main reasoning here was, I believe, that an inherent solution would be
> > easier to tailor to a time synchronization protocol's special needs,
> > particularly for the additional delays caused by the cryptographic
> > operations on time-sensitive packets to be small (and ideally
> > symmetrical).
> >
> 
> OK, that's interesting.
> Can you please elaborate on the symmetrical requirement?

I assume that he's talking about the time between getting T1 and
sending out the packet, and getting T3 and sending it out would
need about the same delay.

I also assume that to be able to get a very accurate results.  But
if that's the case I think they're going about this the wrong way.
I think for most cases the overhead of the crypto is not going to
have an impact on the results because there is just way more
jitter on the network.  For the cases this matters both sides
should take an additional timestamp when the packet was really sent,
and have a follow up packet that contains the correct time.  For
the cases where this matters, they should already be doing this.


Kurt

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 24 18:41:14 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2D9E612D55F for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 18:41:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 zVwsRj2bZcmt for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 24 Mar 2016 18:41:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id DBB3C12D1C1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 24 Mar 2016 18:41:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BE68786DAD2 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 01:41:10 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 92C0586D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 23:33:39 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1ajEks-000PDM-5c for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 23:33:39 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2ONXLGa005197-u2ONXLGc005197 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Fri, 25 Mar 2016 00:33:21 +0100
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 102947CAD4; Fri, 25 Mar 2016 00:33:21 +0100 (CET)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com>
Date: Fri, 25 Mar 2016 00:33:17 +0100
Message-Id: <D31CA41F-BD4C-4DD8-B784-DA3EED46335A@ptb.de>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
X-TNEFEvaluated: 1
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============8533488354824344660=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============8533488354824344660==
Content-Type: multipart/alternative; boundary="Apple-Mail=_AFCC78E8-E6EC-4541-9077-05EB9B64127F"


--Apple-Mail=_AFCC78E8-E6EC-4541-9077-05EB9B64127F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> Am 24.03.2016 um 21:05 schrieb Sharon Goldberg <goldbe@cs.bu.edu>:
>=20
>=20
>=20
> On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar <mlichvar@redhat.com =
<mailto:mlichvar@redhat.com>> wrote:
> On Wed, Mar 23, 2016 at 06:17:33PM -0400, Sharon Goldberg wrote:
> > Before I say how to get around it, I was wondering why this bothers =
us so
> > much?  The current ntpd already has the server saves per-client =
state, for
> > poll interval, rate limiting, and symmetric keys.
> > And especially if this state only lives for the duration of the KE?
>=20
> There is no limit on the duration. The client may be polling the
> server just couple times a day.
>=20
> Sorry, I'm confused.  The NTS key exchange is a 6-message exchange =
that should happen "atomically" (ie. the server gets the clients KE msg, =
processes it, and immediately sends its own message. & vice versa: the =
client gets the servers KE msg, processes it, and immediately sends its =
own message. )
>=20
> If we are discussing state that only lives for the *duration of the =
KE* why does it matter how often the client polls the server?=20
>=20
> Let's not forget the key exchange will
> happen not only when the client is started, but also when the server
> refreshes its seed. We certainly don't want clients to drop to their
> minimum polling intervals or start a burst when that happens.
>=20
> That's interesting point, but could you clarify why that would happen? =
Why would clients react in this way?
> =20

When the server refreshes his seed the client has to get its cookie. =
This is assumed to be done via a cookie exchange =E2=80=94 one the last =
of the rounds of the KE. Therefore the client don=E2=80=99t need to =
reduce its polling interval. It will only miss one authenticated time =
exchange.=20

> > Not sure, not an expert on NTP's timing algos. But we have seen that =
upon
> > initalization, ntpd requires about 4 timing samples before it =
updates its
> > clock. So it could collect these timing samples while the NTS KE is =
running.
>=20
> I'm not sure if it's intentional, but recent versions of ntpd now
> update the clock with the first (authenticated) sample. Older versions
> and other implementations may require more.
>=20
>=20
> I think Danny Mayer told me that was a bug. But I don't know. ntpd =
4.2.6 needs several samples.
>=20
> > > There is also a question whether the client would really want to =
use
> > > any samples from the non-timing NTS exchanges as the packets are
> > > longer and asymmetric, creating an extra error in the =
measurements.
> > >
> > >
> > So, in my mind, the timing messages would be sent in separate =
packets from
> > the NTS KE messages.  They would be sent in parallel. That way, the =
crypto
> > done in NTS does not mess up the accuracy of the timing exchanges.
>=20
> If there were two associations per client, I think it would be even
> more complex. There would have to be some mechanism for the server to
> identify and link the two client associations, so it can hash the
> right timestamps (and not timestamps for some other client behind NAT
> for instance).The client would have to make sure requests from the
> two associations are not too close to each other to not violate the
> minimum request interval on the server.
>=20
> Yes, that's true. This whole thing adds additional complexity.=20
> So we should be sure it is needed before adding it!
> =20
> If the client is
> allowed to increase its polling rate, I think it would be more useful
> to do that with the NTS association rather than adding an extra
> association, so the client would get the first authenticated sample
> sooner.
>=20
> I'm sorry I don't understand this last point, can you clarify?
>=20
> Sharon
>=20
> --=20
> Sharon Goldberg
> Computer Science, Boston University
> http://www.cs.bu.edu/~goldbe =
<http://www.cs.bu.edu/~goldbe>____________________________________________=
___
> TICTOC mailing list
> TICTOC@ietf.org
> https://www.ietf.org/mailman/listinfo/tictoc


--Apple-Mail=_AFCC78E8-E6EC-4541-9077-05EB9B64127F
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 24.03.2016 um 21:05 schrieb Sharon Goldberg &lt;<a =
href=3D"mailto:goldbe@cs.bu.edu" =
class=3D"">goldbe@cs.bu.edu</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D""><br class=3D""><div class=3D"gmail_extra"><br class=3D""><div =
class=3D"gmail_quote">On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar =
<span dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:mlichvar@redhat.com" =
target=3D"_blank" class=3D"">mlichvar@redhat.com</a>&gt;</span> =
wrote:<br class=3D""><blockquote class=3D"gmail_quote" style=3D"margin:0px=
 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><span class=3D"">On Wed, Mar 23, 2016 at =
06:17:33PM -0400, Sharon Goldberg wrote:<br class=3D"">
&gt; Before I say how to get around it, I was wondering why this bothers =
us so<br class=3D"">
&gt; much?&nbsp; The current ntpd already has the server saves =
per-client state, for<br class=3D"">
&gt; poll interval, rate limiting, and symmetric keys.<br =
class=3D""></span><span class=3D"">&gt; And especially if this state =
only lives for the duration of the KE?<br class=3D"">
<br class=3D"">
</span>There is no limit on the duration. The client may be polling =
the<br class=3D"">
server just couple times a day. </blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">Sorry, I'm confused.&nbsp; The NTS key =
exchange is a 6-message exchange that should happen "atomically" (ie. =
the server gets the clients KE msg, processes it, and immediately sends =
its own message. &amp; vice versa: the client gets the servers KE msg, =
processes it, and immediately sends its own message. )</div><div =
class=3D""><br class=3D""></div><div class=3D"">If we are discussing =
state that only lives for the *duration of the KE* why does it matter =
how often the client polls the server?&nbsp;<br class=3D""></div><div =
class=3D""><br class=3D""></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">Let's not forget the key exchange will<br =
class=3D"">
happen not only when the client is started, but also when the server<br =
class=3D"">
refreshes its seed. We certainly don't want clients to drop to their<br =
class=3D"">
minimum polling intervals or start a burst when that happens.<br =
class=3D"">
<span class=3D""><br class=3D""></span></blockquote><div class=3D"">That's=
 interesting point, but could you clarify why that would happen? Why =
would clients react in this way?</div><div =
class=3D"">&nbsp;</div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>When the server refreshes his seed the client has =
to get its cookie. This is assumed to be done via a cookie exchange =E2=80=
=94 one the last of the rounds of the KE. Therefore the client don=E2=80=99=
t need to reduce its polling interval. It will only miss one =
authenticated time exchange.&nbsp;</div><br class=3D""><blockquote =
type=3D"cite" class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><span class=3D"">
&gt; Not sure, not an expert on NTP's timing algos. But we have seen =
that upon<br class=3D"">
&gt; initalization, ntpd requires about 4 timing samples before it =
updates its<br class=3D"">
&gt; clock. So it could collect these timing samples while the NTS KE is =
running.<br class=3D"">
<br class=3D"">
</span>I'm not sure if it's intentional, but recent versions of ntpd =
now<br class=3D"">
update the clock with the first (authenticated) sample. Older =
versions<br class=3D"">
and other implementations may require more.<br class=3D"">
<span class=3D""><br class=3D""></span></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">I think Danny Mayer told me that was a =
bug. But I don't know. ntpd 4.2.6 needs several samples.</div><div =
class=3D""><br class=3D""></div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><span class=3D"">
&gt; &gt; There is also a question whether the client would really want =
to use<br class=3D"">
&gt; &gt; any samples from the non-timing NTS exchanges as the packets =
are<br class=3D"">
&gt; &gt; longer and asymmetric, creating an extra error in the =
measurements.<br class=3D"">
&gt; &gt;<br class=3D"">
&gt; &gt;<br class=3D"">
&gt; So, in my mind, the timing messages would be sent in separate =
packets from<br class=3D"">
&gt; the NTS KE messages.&nbsp; They would be sent in parallel. That =
way, the crypto<br class=3D"">
&gt; done in NTS does not mess up the accuracy of the timing =
exchanges.<br class=3D""></span><br class=3D"">
If there were two associations per client, I think it would be even<br =
class=3D"">
more complex. There would have to be some mechanism for the server to<br =
class=3D"">
identify and link the two client associations, so it can hash the<br =
class=3D"">
right timestamps (and not timestamps for some other client behind NAT<br =
class=3D"">
for instance).The client would have to make sure requests from =
the</blockquote><blockquote class=3D"gmail_quote" style=3D"margin:0px =
0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">
two associations are not too close to each other to not violate the<br =
class=3D"">
minimum request interval on the server.</blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">Yes, that's true. This whole thing adds =
additional complexity.&nbsp;</div><div class=3D"">So we should be sure =
it is needed before adding it!</div><div =
class=3D"">&nbsp;</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex">If the client is<br class=3D"">
allowed to increase its polling rate, I think it would be more useful<br =
class=3D"">
to do that with the NTS association rather than adding an extra<br =
class=3D"">
association, so the client would get the first authenticated sample<br =
class=3D"">
sooner.<span class=3D""><font color=3D"#888888" class=3D""><br class=3D"">=

</font></span></blockquote></div><br class=3D"">I'm sorry I don't =
understand this last point, can you clarify?</div><div =
class=3D"gmail_extra"><br class=3D""></div><div =
class=3D"gmail_extra">Sharon<br clear=3D"all" class=3D""><div =
class=3D""><br class=3D""></div>-- <br class=3D""><div =
class=3D"gmail_signature">Sharon Goldberg<br class=3D"">Computer =
Science, Boston University<br class=3D""><a =
href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank" =
class=3D"">http://www.cs.bu.edu/~goldbe</a></div>
</div></div>
_______________________________________________<br class=3D"">TICTOC =
mailing list<br class=3D""><a href=3D"mailto:TICTOC@ietf.org" =
class=3D"">TICTOC@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/tictoc<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_AFCC78E8-E6EC-4541-9077-05EB9B64127F--

--===============8533488354824344660==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8533488354824344660==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 03:06:36 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B533412D11B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 03:06:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 z5b0Rn7q7w03 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 03:06:35 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9713E12D107 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 03:06:34 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6850C86DAE7 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 10:06:32 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id F020486DAB9 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 09:11:50 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ajNk7-000FMr-Sw; Fri, 25 Mar 2016 09:09:19 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Sharon Goldberg <goldbe@cs.bu.edu>
In-reply-to: <CAJHGrrRBrJyR2RBUAoHohzdCsxvQOQpBdNYtX9BKxVykaw5i=w@mail.gmail.com>
References: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com> <E1aixLH-000Dbu-CI@stenn.ntp.org> <CAJHGrrRBrJyR2RBUAoHohzdCsxvQOQpBdNYtX9BKxVykaw5i=w@mail.gmail.com>
Comments: In-reply-to Sharon Goldberg <goldbe@cs.bu.edu> message dated "Thu, 24 Mar 2016 15:44:10 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Fri, 25 Mar 2016 09:09:19 +0000
Message-Id: <E1ajNk7-000FMr-Sw@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Sharon Goldberg writes:
> Harlan wrote:
>> If the two sides already have an ntp.keys file then this key can be
>> used for a MAC, correct?
> 
> Harlan you are suggesting MACing the actual traffic with PSK right
> away before the KE completes? I don't think this works since you will,
> just like TLS, still need a key exchange to agree you need a PSK.

I'm only suggesting this as a possibility for situations where the
ntp.keys file is available.  This is OK as a solution for smallish sets
of machines.

It doesn't make much sense to set up private/symmetric key stuff only to
handle initial packets on a larger scale.

> Moreover, adding a PSK mode to NTS adds additional complexity. Do we
> really want to introduce this additional complexity?  I am very wary
> of this, as recent attacks on TLS and IPsec have shown that the
> proliferation of modes and complexity in these protocols can be
> exploited by attackers [1],[2].

Can one have reliable IPSEC if the time is unknown?

Once upon a time, we had Bell 212A modems (that had constant-delay
characteristics) and real copper wire between endpoints.  It did a
surprisingly good job of moving time around.  Then we got soft modems,
which introduced noticeable variation in the processing delays, and then
the phone system changed as well.  Phones are no longer a useful way to
move time around accurately.  IPSEC likely adds variable delays as well.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 08:21:52 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD63612DAFA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:21:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 pciXpR4EJ8hB for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:21:50 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5BDD212D665 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 08:21:50 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 08EEF86DAEF for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 15:21:49 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C176586D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 19:44:54 +0000 (UTC)
Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajBBc-000LPg-Gj for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 19:44:54 +0000
Received: by mail-wm0-x232.google.com with SMTP id p65so80377197wmp.0 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 12:44:52 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=/m3Kf7wPH6tyi/ioIsWmKW7dCcLuAwDOroWvhaeYjao=; b=PEWDel6P/FQotpntzSqaURTGP+PEcXjRumRTveeys6N0pv6H734b3FhYCRpOIa0xzu QGQCOuxbeSzX2ftMMi9unNt9KQSgqnxflhSSqmShFE11El+rd9Mf47iyFi0pc8wiBqhY Lmm50Qufc+ZwYOVfdMMyhK9JxMNTVFb6LZYbyn2mAvy50TiXlDytyoMCWhvfp4/GnUc9 PKccexPaywk24Wvdup95dw0IRZR8xIOttlaJ+I2c2td5pFrzVu/nBv+CXghx1A2nh5ee 1nhjZYnOeqt19APpcRpqe+B0Mar2k82g1dcsmd/UFp0XIf++aQL7N54fElYEkxiqQ9sY lReQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=/m3Kf7wPH6tyi/ioIsWmKW7dCcLuAwDOroWvhaeYjao=; b=YKuu41VieFUpbIQhHf7e0sZK7SUP0I3DHlsQ/sc5IAhUtp+7lBqTc2Gh02AyqotP6E X9TnK5usiLwwMtSxBZ205iqVCxDq2dYTW3EQF7jh1Nw8XzhgPygJ4kzvkvF5av4wG14V sowWhW9Wcsegeql1A+JF50wVb/PhlmOCISeAk+zZwltmC4jTB+4UBq+k4YwhJFKAhk3Q b9alQo65NIFKgfoj35effUW+oxwzp/NlIHTeI9uAT/vxWxFdwPWq6wUrlrkgkMAQ5aC0 oU1dvALh+/zwkkZ8Ft41rk78wC7eHW37a6vjrDdUNvS2BVZBEaXqvgwwQGtg0DRE5KUH zJ7w==
X-Gm-Message-State: AD7BkJIo3HfKhA0QJzvpXocF3wDULGTXYia1W1rDvChHtsmJ17ClfxTbRk/UA4nLUpDhTIqgkDHF0jG+ZA9boA==
X-Received: by 10.28.174.72 with SMTP id x69mr34459753wme.68.1458848690829; Thu, 24 Mar 2016 12:44:50 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Thu, 24 Mar 2016 12:44:10 -0700 (PDT)
In-Reply-To: <E1aixLH-000Dbu-CI@stenn.ntp.org>
References: <CAJHGrrQwiq627-c7ux2GRKd9FNZXw7Kt3HH0AKh+X=krGmW4DA@mail.gmail.com> <E1aixLH-000Dbu-CI@stenn.ntp.org>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Thu, 24 Mar 2016 15:44:10 -0400
X-Google-Sender-Auth: DuSn3gK06IUTbUSpDW1wNhYjECk
Message-ID: <CAJHGrrRBrJyR2RBUAoHohzdCsxvQOQpBdNYtX9BKxVykaw5i=w@mail.gmail.com>
To: Harlan Stenn <stenn@ntp.org>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::232
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 25 Mar 2016 14:17:56 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============7186780528710379937=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============7186780528710379937==
Content-Type: multipart/alternative; boundary=001a114444e0ff7fec052ed0add4

--001a114444e0ff7fec052ed0add4
Content-Type: text/plain; charset=UTF-8

 > We believe the NTS KE can be modified to authenticate timing messages

> > sent in parallel with the KE. Note that this must be done *without*
> > requiring these initial timing messages to be MAC'd, since before the
> > KE completes, the client and server will not have a shared symmetric
> > key.
>
> If the two sides already have an ntp.keys file then this key can be used
> for a MAC, correct?
>
> This sounds a lot like the TLS PSK (Pre-Shared Key) mode [3][4].

In TLS PSK there is still a key establishment handshake, to allow the two
sides to agree to use the PSK. Also, the PSK is usually just used to
authenticate the key exchange, not the actual traffic.

Harlan you are suggesting MACing the actual traffic with PSK right away
before the KE completes? I don't think this works since you will, just like
TLS, still need a key exchange to agree you need a PSK.

Moreover, adding a PSK mode to NTS adds additional complexity. Do we really
want to introduce this additional complexity?   I am very wary of this, as
recent attacks on TLS and IPsec have shown that the proliferation of modes
and complexity in these protocols can be exploited by attackers [1],[2].

Sharon

[1]
https://nohats.ca/wordpress/blog/2014/12/29/dont-stop-using-ipsec-just-yet/
[2] https://weakdh.org/
[3] https://eprint.iacr.org/2014/037.pdf
[4] https://tools.ietf.org/html/rfc4279

--001a114444e0ff7fec052ed0add4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span class=3D"">=C2=A0&gt; We believe the NTS KE can be m=
odified to authenticate timing messages</span><br><span class=3D""></span><=
div class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote class=3D"g=
mail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204=
,204,204);padding-left:1ex"><span class=3D"">
&gt; sent in parallel with the KE. Note that this must be done *without*<br=
>
&gt; requiring these initial timing messages to be MAC&#39;d, since before =
the<br>
&gt; KE completes, the client and server will not have a shared symmetric<b=
r>
&gt; key.<br>
<br>
</span>If the two sides already have an ntp.keys file then this key can be =
used<br>
for a MAC, correct?<br>
<br></blockquote><div>This sounds a lot like the TLS PSK (Pre-Shared Key) m=
ode [3][4].=C2=A0 <br><br>In TLS PSK there is still a key establishment han=
dshake, to allow the two sides to agree to use the PSK. Also, the PSK is us=
ually just used to authenticate the key exchange, not the actual traffic. <=
br><br>Harlan you are suggesting MACing the actual traffic with PSK right a=
way before the KE completes? I don&#39;t think this works since you will, j=
ust like TLS, still need a key exchange to agree you need a PSK.<br><br>Mor=
eover, adding a PSK mode to NTS adds additional complexity. Do we really wa=
nt to introduce this additional complexity?=C2=A0=C2=A0 I am very wary of t=
his, as recent attacks on TLS and IPsec have shown that the proliferation o=
f modes and complexity in these protocols can be exploited by attackers [1]=
,[2].<br></div></div><br></div><div class=3D"gmail_extra">Sharon<br clear=
=3D"all"></div><div class=3D"gmail_extra"><br>[1] <a href=3D"https://nohats=
.ca/wordpress/blog/2014/12/29/dont-stop-using-ipsec-just-yet/">https://noha=
ts.ca/wordpress/blog/2014/12/29/dont-stop-using-ipsec-just-yet/</a><br>[2] =
<a href=3D"https://weakdh.org/">https://weakdh.org/</a><br>[3] <a href=3D"h=
ttps://eprint.iacr.org/2014/037.pdf">https://eprint.iacr.org/2014/037.pdf</=
a><br>[4] <a href=3D"https://tools.ietf.org/html/rfc4279">https://tools.iet=
f.org/html/rfc4279</a><br></div></div>

--001a114444e0ff7fec052ed0add4--

--===============7186780528710379937==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============7186780528710379937==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 08:22:14 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9516812DAF2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:14 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 tuIssLTqpmhm for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:13 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id A458B12DAFA for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 08:22:06 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 85A5686DAE4 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 15:22:06 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 8643686D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 20:06:41 +0000 (UTC)
Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajBWg-000Lkh-C7 for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 20:06:41 +0000
Received: by mail-wm0-x236.google.com with SMTP id l68so431178wml.0 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 13:06:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=a9pv+Usw6Sjs3hRZeSqhHZwE1ZLFJSOKPKk7PIuxlMc=; b=anu1hiDlxiPz0DtnpWuD1bYL0A+zX3lQA9wk7mBdQgH4Qx2OquCNLAzn0JbptqRHTl fAxpUztgpZfmx0KXbWJr88UM4//zRX+ZhUaZO3mWopVB9yxpo0Jn/1Jm1380gtKEFmB2 +18ahWvRcst9Ow5LG2IiKvdUABaOpAiYa3A2JfyMcAticXdz78A8njMAXhlIt3+zCC/m PW4eHA+pEBAr6W2WCvbPxrvgNp2rSITg2edFHb3pqBTfqj85DrHumvROOsO2U5M8/cwy xsB8REW7XLyDbNUNvvIRwvfK3iV69cH87KQoErQ6HWI97foAl88QXvCFOgreJrwLEg3i MNiw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=a9pv+Usw6Sjs3hRZeSqhHZwE1ZLFJSOKPKk7PIuxlMc=; b=BUQ+78euLYbN6IPkofs3p25QsWZ+KacPS8PEYqDhGgUoAcCBq5VSxdu6nlOwgnEqsj wz20zpWZBrvVv/H1DZMCNDdE9uxuvd/b6Gp+2t3JRn69EIh5j53sJ8pCAUeZl2XDiBZD 1VXsp4halaW7+UD0MRehEUQ5lX03Kd3B33VNgKkf7g4CcbetRVR6kWjI46xHlv9DWqYZ OxoWZpfbAOsWoFvepzF4gspbVKB/22dlsC6cNZi/YuxkA/twbcLK5Pd7GJi2YUx/SPfc OTeQTqLSjVwo5EZwOb06HzlkP36DOOmfZZOiCBff20WbxA5MpKhKQyy0DV+PXe/znD7F efWg==
X-Gm-Message-State: AD7BkJKth/z7ysyDyy195AEKXVL1t71/pFRvxRA5QQA7CPsCdi/XBFlTRGu8YuFXMx8UOUYEIpZ3Om5XfZ2HxQ==
X-Received: by 10.194.223.104 with SMTP id qt8mr11883285wjc.11.1458849996439;  Thu, 24 Mar 2016 13:06:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Thu, 24 Mar 2016 13:05:56 -0700 (PDT)
In-Reply-To: <20160324084941.GB23775@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Thu, 24 Mar 2016 16:05:56 -0400
X-Google-Sender-Auth: 99J23b5RCtGT4tXU6pYCa0zhJAY
Message-ID: <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::236
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 25 Mar 2016 14:17:56 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============3356707937057999923=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============3356707937057999923==
Content-Type: multipart/alternative; boundary=001a11c3b8a4d187e6052ed0fbf4

--001a11c3b8a4d187e6052ed0fbf4
Content-Type: text/plain; charset=UTF-8

On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar <mlichvar@redhat.com>
wrote:

> On Wed, Mar 23, 2016 at 06:17:33PM -0400, Sharon Goldberg wrote:
> > Before I say how to get around it, I was wondering why this bothers us so
> > much?  The current ntpd already has the server saves per-client state,
> for
> > poll interval, rate limiting, and symmetric keys.
> > And especially if this state only lives for the duration of the KE?
>
> There is no limit on the duration. The client may be polling the
> server just couple times a day.


Sorry, I'm confused.  The NTS key exchange is a 6-message exchange that
should happen "atomically" (ie. the server gets the clients KE msg,
processes it, and immediately sends its own message. & vice versa: the
client gets the servers KE msg, processes it, and immediately sends its own
message. )

If we are discussing state that only lives for the *duration of the KE* why
does it matter how often the client polls the server?

Let's not forget the key exchange will
> happen not only when the client is started, but also when the server
> refreshes its seed. We certainly don't want clients to drop to their
> minimum polling intervals or start a burst when that happens.
>
> That's interesting point, but could you clarify why that would happen? Why
would clients react in this way?


> > Not sure, not an expert on NTP's timing algos. But we have seen that upon
> > initalization, ntpd requires about 4 timing samples before it updates its
> > clock. So it could collect these timing samples while the NTS KE is
> running.
>
> I'm not sure if it's intentional, but recent versions of ntpd now
> update the clock with the first (authenticated) sample. Older versions
> and other implementations may require more.
>
>
I think Danny Mayer told me that was a bug. But I don't know. ntpd 4.2.6
needs several samples.

> > There is also a question whether the client would really want to use
> > > any samples from the non-timing NTS exchanges as the packets are
> > > longer and asymmetric, creating an extra error in the measurements.
> > >
> > >
> > So, in my mind, the timing messages would be sent in separate packets
> from
> > the NTS KE messages.  They would be sent in parallel. That way, the
> crypto
> > done in NTS does not mess up the accuracy of the timing exchanges.
>
> If there were two associations per client, I think it would be even
> more complex. There would have to be some mechanism for the server to
> identify and link the two client associations, so it can hash the
> right timestamps (and not timestamps for some other client behind NAT
> for instance).The client would have to make sure requests from the

two associations are not too close to each other to not violate the
> minimum request interval on the server.


Yes, that's true. This whole thing adds additional complexity.
So we should be sure it is needed before adding it!


> If the client is
> allowed to increase its polling rate, I think it would be more useful
> to do that with the NTS association rather than adding an extra
> association, so the client would get the first authenticated sample
> sooner.
>

I'm sorry I don't understand this last point, can you clarify?

Sharon

-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a11c3b8a4d187e6052ed0fbf4
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><br><div class=3D"gmail_extra"><br><div class=3D"gmail_quo=
te">On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar <span dir=3D"ltr">&lt=
;<a href=3D"mailto:mlichvar@redhat.com" target=3D"_blank">mlichvar@redhat.c=
om</a>&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"marg=
in:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,20=
4);border-left-style:solid;padding-left:1ex"><span class=3D"">On Wed, Mar 2=
3, 2016 at 06:17:33PM -0400, Sharon Goldberg wrote:<br>
&gt; Before I say how to get around it, I was wondering why this bothers us=
 so<br>
&gt; much?=C2=A0 The current ntpd already has the server saves per-client s=
tate, for<br>
&gt; poll interval, rate limiting, and symmetric keys.<br></span><span clas=
s=3D"">&gt; And especially if this state only lives for the duration of the=
 KE?<br>
<br>
</span>There is no limit on the duration. The client may be polling the<br>
server just couple times a day. </blockquote><div><br></div><div>Sorry, I&#=
39;m confused.=C2=A0 The NTS key exchange is a 6-message exchange that shou=
ld happen &quot;atomically&quot; (ie. the server gets the clients KE msg, p=
rocesses it, and immediately sends its own message. &amp; vice versa: the c=
lient gets the servers KE msg, processes it, and immediately sends its own =
message. )</div><div><br></div><div>If we are discussing state that only li=
ves for the *duration of the KE* why does it matter how often the client po=
lls the server?=C2=A0<br></div><div><br></div><blockquote class=3D"gmail_qu=
ote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-co=
lor:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Let&#39;s no=
t forget the key exchange will<br>
happen not only when the client is started, but also when the server<br>
refreshes its seed. We certainly don&#39;t want clients to drop to their<br=
>
minimum polling intervals or start a burst when that happens.<br>
<span class=3D""><br></span></blockquote><div>That&#39;s interesting point,=
 but could you clarify why that would happen? Why would clients react in th=
is way?</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" style=3D"ma=
rgin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,=
204);border-left-style:solid;padding-left:1ex"><span class=3D"">
&gt; Not sure, not an expert on NTP&#39;s timing algos. But we have seen th=
at upon<br>
&gt; initalization, ntpd requires about 4 timing samples before it updates =
its<br>
&gt; clock. So it could collect these timing samples while the NTS KE is ru=
nning.<br>
<br>
</span>I&#39;m not sure if it&#39;s intentional, but recent versions of ntp=
d now<br>
update the clock with the first (authenticated) sample. Older versions<br>
and other implementations may require more.<br>
<span class=3D""><br></span></blockquote><div><br></div><div>I think Danny =
Mayer told me that was a bug. But I don&#39;t know. ntpd 4.2.6 needs severa=
l samples.</div><div><br></div><blockquote class=3D"gmail_quote" style=3D"m=
argin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204=
,204);border-left-style:solid;padding-left:1ex"><span class=3D"">
&gt; &gt; There is also a question whether the client would really want to =
use<br>
&gt; &gt; any samples from the non-timing NTS exchanges as the packets are<=
br>
&gt; &gt; longer and asymmetric, creating an extra error in the measurement=
s.<br>
&gt; &gt;<br>
&gt; &gt;<br>
&gt; So, in my mind, the timing messages would be sent in separate packets =
from<br>
&gt; the NTS KE messages.=C2=A0 They would be sent in parallel. That way, t=
he crypto<br>
&gt; done in NTS does not mess up the accuracy of the timing exchanges.<br>=
</span><br>
If there were two associations per client, I think it would be even<br>
more complex. There would have to be some mechanism for the server to<br>
identify and link the two client associations, so it can hash the<br>
right timestamps (and not timestamps for some other client behind NAT<br>
for instance).The client would have to make sure requests from the</blockqu=
ote><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol=
id;padding-left:1ex">
two associations are not too close to each other to not violate the<br>
minimum request interval on the server.</blockquote><div><br></div><div>Yes=
, that&#39;s true. This whole thing adds additional complexity.=C2=A0</div>=
<div>So we should be sure it is needed before adding it!</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol=
id;padding-left:1ex">If the client is<br>
allowed to increase its polling rate, I think it would be more useful<br>
to do that with the NTS association rather than adding an extra<br>
association, so the client would get the first authenticated sample<br>
sooner.<span class=3D""><font color=3D"#888888"><br>
</font></span></blockquote></div><br>I&#39;m sorry I don&#39;t understand t=
his last point, can you clarify?</div><div class=3D"gmail_extra"><br></div>=
<div class=3D"gmail_extra">Sharon<br clear=3D"all"><div><br></div>-- <br><d=
iv class=3D"gmail_signature">Sharon Goldberg<br>Computer Science, Boston Un=
iversity<br><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank">http=
://www.cs.bu.edu/~goldbe</a></div>
</div></div>

--001a11c3b8a4d187e6052ed0fbf4--

--===============3356707937057999923==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============3356707937057999923==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 08:22:28 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DEDE212DAF2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 r4qEGhG0wUoR for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:27 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 001BA12D665 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 08:22:26 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DDD9D86DB0B for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 15:22:26 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id F283686D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 21:49:01 +0000 (UTC)
Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajD7j-000N6j-Jx for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 21:49:01 +0000
Received: by mail-wm0-x233.google.com with SMTP id p65so6086764wmp.1 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 14:48:59 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=Kstd30eBfG9v/GiU6evuTD/69ZCmrCYFg6M0oj/x+Rk=; b=FGRr1MQnw4Z6aBZszOG7olxR/9TB2DNJ7+C6/28sT5i/F5sKW5sMBLENVu3Ke0p4wm ThiKq0rZRPMRZGtbuq6e2YPg7KmGu35TLQ7qH3UUXafz7iQ1rSZxTBhnGmYdP3/D8R/c 0vNwDRmGM1pS29TDO5ge0ZU+OmLWoIRlP0QZtBCibd/D6PZLwS7TU3sBNEwX8/EWIsjK xSYLkQ/4PnY8LsdlPCLtGqcF3pjIcFGliqFQEksrpy2gUk11+Kiwjz7TS36QEjY0vu1h Cmli/XWWRc3eeJlJBpP1wv5i14DUQenyugoFb0CnPnCAA5T3V/8STmEuQnVRrQ0conR4 IpJg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=Kstd30eBfG9v/GiU6evuTD/69ZCmrCYFg6M0oj/x+Rk=; b=hKsJClTeupEXH7iNNOqBOOi4hupxAf10CxrFVnS0XXQXkdPvgOpxXVRtrry/1JWFM/ lv0R1Awe6OvNvk6v6nVFZIGtUvDYARKN0WitRvayAHrj2GhtDF9SRzeXSuLFXvgJkp2M uM+l7Fo+hAZteN8RCogURRU2KR45UsxV7fnTSycpuhV6M4cwmanJQfiTTv30SwQxvecz tQGlosxQQrmPDsiVRZf/wGOkLxjBnUHSnj91AzvAs/IBRR/gCTpJHEJqDHm3ATLWUlsm ukJ94UJ/JlzYRGpK7npanJKjFDYXDdD2KKJJb+lOAG8dtou97EjqZBGgNIof2ap9JBjc 05Gg==
X-Gm-Message-State: AD7BkJL9kLEoC8MHMkbQgce4KINPZ3v4sY7UwYlCvsZ5BJmy9Obx4ZiZW1FI2k71AM7bd9gEl6fwaEw9AWhnRQ==
X-Received: by 10.194.60.145 with SMTP id h17mr12661350wjr.47.1458856137759; Thu, 24 Mar 2016 14:48:57 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Thu, 24 Mar 2016 14:48:18 -0700 (PDT)
In-Reply-To: <OF66B2919C.9ABE1AFA-ONC1257F80.00515670-C1257F80.00520BB9@ptb.de>
References: <OF66B2919C.9ABE1AFA-ONC1257F80.00515670-C1257F80.00520BB9@ptb.de>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Thu, 24 Mar 2016 17:48:18 -0400
X-Google-Sender-Auth: eJBEYbzdfP-HKpFq6GF1ahQCABM
Message-ID: <CAJHGrrTGbLwWjWEoAnJvC6c4pFOWoN5A96TGDKG_RLZcL97PcA@mail.gmail.com>
To: kristof.teichel@ptb.de
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::233
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 25 Mar 2016 14:17:56 +0000
Subject: Re: [ntpwg] NTS evaluation other than KE protocol?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============2917922161980556029=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2917922161980556029==
Content-Type: multipart/alternative; boundary=047d7b86ce90dea0ef052ed2695b

--047d7b86ce90dea0ef052ed2695b
Content-Type: text/plain; charset=UTF-8

Hi Kristof,

Thanks for your mail.

>
> I wanted to ask whether you and your team already had a chance to look at
> the parts of the NTS specification other than the KE protocol.
>

No, not yet.


> Specifically:
> - We have specified requirements for the cookie exchange (for which our
> proposed KE protocol is but one way to solve them). Do you think that if
> the requirements are met, the rest of NTS' unicast part is solid?


We can try to look at that in the next short while.


> - Also, have you had a chance to look at the broadcast part of the
> specification?
>

Actually we are very interested in broadcast, we even had a few related
recent CVEs.  Here is our work describing these CVEs and some suggestions,
I hope you will have some time to read it:

http://www.cs.bu.edu/~goldbe/papers/NTPbroadcast.html

One specific suggestion we had was that NTS NOT demobilize ephemeral
associations based on crypto errors.  Please read the paper to see why this
creates a DoS vulnerability.

But beyond this, broadcast crypto for NTP is super complex problem.  We
have not had time to review this part of the draft, but hope to do so in
the future.

Doing this properly, however, will take some time, and we wanted to focus
on the KE for now.  Note that by "properly" I mean with formal proof of
security.

So, one thing we think is needed, and could do, is a formal proof of
security for NTS's KE. Using for instance the Canetti Krawcyzk model [1].
We would not feel comfortable claiming that we had reviewed the KE protocol
(or the broadcast protocol) until we had done such a proof.  See [2] [3]
for examples of what I mean.

But, before we started on this proof, which would take some time, we wanted
to understand all the requirements. Hence all the questions. Thanks for
answering them!

Sharon

[1] http://link.springer.com/chapter/10.1007/3-540-44987-6_28#page-1
[2] https://eprint.iacr.org/2015/914.pdf
[3] http://eprint.iacr.org/2015/978.pdf



-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--047d7b86ce90dea0ef052ed2695b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">Hi Kristof,<div><br></div><div>Thanks for your mail.=C2=A0=
</div><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote cla=
ss=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;=
border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex=
"><br><font size=3D"2" face=3D"sans-serif">I wanted to ask whether you and =
your
team already had a chance to look at the parts of the NTS specification
other than the KE protocol.</font>
<br><font size=3D"2" face=3D"sans-serif"></font></blockquote><div><br></div=
><div>No, not yet.</div><div>=C2=A0</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:r=
gb(204,204,204);border-left-style:solid;padding-left:1ex"><font size=3D"2" =
face=3D"sans-serif">Specifically: </font>
<br><font size=3D"2" face=3D"sans-serif">- We have specified requirements f=
or
the cookie exchange (for which our proposed KE protocol is but one way
to solve them). Do you think that if the requirements are met,=C2=A0</font>=
<font size=3D"2" face=3D"sans-serif">the rest
of NTS&#39; unicast part is solid?</font></blockquote><div><br></div><div>W=
e can try to look at that in the next short while.=C2=A0</div><div>=C2=A0</=
div><blockquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;bor=
der-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:sol=
id;padding-left:1ex"><font size=3D"2" face=3D"sans-serif">- Also, have you =
had a chance to look
at the broadcast part of the specification?</font>
<br></blockquote><div><br></div><div>Actually we are very interested in bro=
adcast, we even had a few related recent CVEs.=C2=A0 Here is our work descr=
ibing these CVEs and some suggestions, I hope you will have some time to re=
ad it:</div><div><br></div><div><a href=3D"http://www.cs.bu.edu/~goldbe/pap=
ers/NTPbroadcast.html">http://www.cs.bu.edu/~goldbe/papers/NTPbroadcast.htm=
l</a><br></div><div><br></div><div>One specific suggestion we had was that =
NTS NOT demobilize ephemeral associations based on crypto errors.=C2=A0 Ple=
ase read the paper to see why this creates a DoS vulnerability.</div><div><=
br></div><div>But beyond this, broadcast crypto for NTP is super complex pr=
oblem.=C2=A0 We have not had time to review this part of the draft, but hop=
e to do so in the future.=C2=A0</div><div><br></div><div>Doing this properl=
y, however, will take some time, and we wanted to focus on the KE for now.=
=C2=A0 Note that by &quot;properly&quot; I mean with formal proof of securi=
ty.<br></div><div><br></div><div>So, one thing we think is needed, and coul=
d do, is a formal proof of security for NTS&#39;s KE. Using for instance th=
e Canetti Krawcyzk model [1]. We would not feel comfortable claiming that w=
e had reviewed the KE protocol (or the broadcast protocol) until we had don=
e such a proof.=C2=A0 See [2] [3] for examples of what I mean. =C2=A0</div>=
<div><br></div><div>But, before we started on this proof, which would take =
some time, we wanted to understand all the requirements. Hence all the ques=
tions. Thanks for answering them!</div><div><br></div><div>Sharon</div><div=
><br></div><div>[1] <a href=3D"http://link.springer.com/chapter/10.1007/3-5=
40-44987-6_28#page-1">http://link.springer.com/chapter/10.1007/3-540-44987-=
6_28#page-1</a></div><div>[2]=C2=A0<a href=3D"https://eprint.iacr.org/2015/=
914.pdf">https://eprint.iacr.org/2015/914.pdf</a></div><div>[3]=C2=A0<a hre=
f=3D"http://eprint.iacr.org/2015/978.pdf">http://eprint.iacr.org/2015/978.p=
df</a></div><div><br></div></div><br clear=3D"all"><div><br></div>-- <br><d=
iv class=3D"gmail_signature">Sharon Goldberg<br>Computer Science, Boston Un=
iversity<br><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank">http=
://www.cs.bu.edu/~goldbe</a></div>
</div></div>

--047d7b86ce90dea0ef052ed2695b--

--===============2917922161980556029==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2917922161980556029==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 08:22:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B34312DAF2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 ygZRI9clBGBT for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 203E612D665 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 08:22:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 08B9786DAE1 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 15:22:40 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 6156386D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 22:16:30 +0000 (UTC)
Received: from mail-wm0-x22a.google.com ([2a00:1450:400c:c09::22a]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajDYJ-000NfZ-T1 for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 22:16:30 +0000
Received: by mail-wm0-x22a.google.com with SMTP id p65so6706651wmp.1 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 15:16:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to; bh=zhndWkTeXzuMP0qPpYc1eDp+IcGw8XSFgDpNrbCBHUU=; b=sNecBHCpoNNsLuq2u5fnxCgmgDXW0jW0bim2Vka0LEdxvwFSi3lBLSoC6S1G7OCWyO 87rqBIqteCbJdzIRlY5HMcpJJOPulV7iXVo+YLeLX9fJjwdmOd+Kxn+syAwj5YzX/NNj D0owFM6zLFXIST5YZr03XnE9kUnPHrgSTU/5w2j42IhOYtyWisO1nI4qkyFDm2SH7o9R Hu0nFaQ7VtENtpPORBMRghJhjA7N5rwCqKBeRLXLSMS3Wh8KJn2RmMcCf9EKkCqv0Pvt /AGpUEjKsky5h/yIoKvzFxU1SDIDJN1dOvz+/Asiq1bxMAzbgaC9A5Vxda1V2Xyd6fbx 8Hmg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to; bh=zhndWkTeXzuMP0qPpYc1eDp+IcGw8XSFgDpNrbCBHUU=; b=OrJ0G7sBiICE6AR02WZIPs/owWi/JLA1K7ya8j1j+pbzgZ9JARSW1y1GWgm/RWAUdg c65Que/ygkAgFAmP5MH4mzb482v1IhiRt6s+lfVbHRUXw1GiaTEUyUFO+QmxcbbNsp3o 1Zkk38BoR3hWHTcPLI92FNg+mlyEmgpjEIUU6ecAMD3jyvWcwAI8Ta6MzDjb9AWo1O4r GAkoypiA7Fmsmqzr0t2LEx35pyhLqWmgq0qshFLDARK5ZCEUDmNCHhTsO7+w4GCZ7xmL REiFea8/juS/AGL2d0v4jsFJ0P+3AzFlEbQHL91k68qceqhQkHlFPMjwFr0H5tgJ+0yM RlLA==
X-Gm-Message-State: AD7BkJJH4JSmWp16q0JlmtLtTUW0FfjNWBmoP4wBzb5eNQD+tva+9PQKGaCBZnff0FGVXHE/NHLuXBfffXjp4Q==
X-Received: by 10.28.128.80 with SMTP id b77mr36879501wmd.42.1458857786113; Thu, 24 Mar 2016 15:16:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Thu, 24 Mar 2016 15:15:46 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Thu, 24 Mar 2016 18:15:46 -0400
X-Google-Sender-Auth: 94NzvjrIIlITS-MOcdtUtYH4k8Q
Message-ID: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
To: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::22a
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 25 Mar 2016 14:17:56 +0000
Subject: [ntpwg] WGLC on NTS: KE over NTP packets or special packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0906208789531788103=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0906208789531788103==
Content-Type: multipart/alternative; boundary=001a114193bc1e8608052ed2cc50

--001a114193bc1e8608052ed2cc50
Content-Type: text/plain; charset=UTF-8

>
> The main reasoning here was, I believe, that an inherent solution would be
> easier to tailor to a time synchronization protocol's special needs,
> particularly for the additional delays caused by the cryptographic
> operations on time-sensitive packets to be small (and ideally
> symmetrical).
>

OK, that's interesting.
Can you please elaborate on the symmetrical requirement?
And, following some comments of Miroslav I also wonder the following:

1) Will NTS's KE messages be piggybacked on NTP's normal packets with the
usual T1, T2, T3, T4 timestamps?

2) If yes, then during the KE, will the client actually uses these
timestamps to set its clock or inform any of NTP's clock discipline
algorithms?

3) If yes, then I guess you will want to be very careful about the delay
introduced by the public key crypto operations in the KE. How will you deal
with that, in light of the fact that eg. RSA signing is 10x slower than RSA
verification, and RSA encryption is 10x faster than RSA decryption?

Does this even matter?  Maybe it depends on what "symmetrical" means?

When you say symmetrical, do you mean that the time the *query packet is in
flight* (ie T2-T1) should be symmetrical with the time the *response packet
is in flight* (ie T4-T3)?

Or do you mean that that time the server spends processing the packet
should be symmetrical to the time the client spends processing the same
packet?  (This seems problematic if eg. the server is a powerful machine
that does crypto in hardware while the client is a lame machine that does
crypto in software.)

This issue could impact that regular timing exchanges even if it does not
impact the KE.

Thanks,
Sharon



-----"TICTOC" <tictoc-bounces@ietf.org> schrieb: -----

>An: tictoc@ietf.org, ntpwg@lists.ntp.org
>Von: Sharon Goldberg
>Gesendet von: "TICTOC"
>Datum: 23.03.2016 10:07
>Betreff: [TICTOC] WGLC on NTS: Why not run over IPsec?

>
>Dear WG,
>
>Another question, and please forgive me if this was discussed already
>and I missed it.
>
>It would be helpful to know why NTS is not just just running over
>IPsec. (I can see why running NTP over TLS makes little sense, since
>TLS runs over TCP while NTP runs over UDP so everything would
>probably
>break.) But NTP runs over IP. I suppose there are some performance
>hits to using IPsec? What are they?
>
>Thanks,
>Sharon
>

--001a114193bc1e8608052ed2cc50
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex"><font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-=
serif" size=3D"2"><div><font face=3D"Verdana, Arial, Helvetica, sans-serif"=
>The main reasoning here was, I believe, that an inherent solution would be=
 easier to tailor to a time synchronization protocol&#39;s special needs, p=
articularly for the additional delays caused by the cryptographic operation=
s on time-sensitive packets to be </font><font size=3D"2" face=3D"Sans Seri=
f, Verdana, Arial, Helvetica, sans-serif">small (and ideally symmetrical).<=
/font></div></font></blockquote><div><br></div><div>OK, that&#39;s interest=
ing. =C2=A0</div><div>Can you please elaborate on the symmetrical requireme=
nt?=C2=A0</div><div>And, following some comments of Miroslav I also wonder =
the following:</div><div><br></div><div>1) Will NTS&#39;s KE messages be pi=
ggybacked on NTP&#39;s normal packets with the usual T1, T2, T3, T4 timesta=
mps?</div><div><br></div><div>2) If yes, then during the KE, will the clien=
t actually uses these timestamps to set its clock or inform any of NTP&#39;=
s clock discipline algorithms?</div><div><br></div><div>3) If yes, then I g=
uess you will want to be very careful about the delay introduced by the pub=
lic key crypto operations in the KE. How will you deal with that, in light =
of the fact that eg. RSA signing is 10x slower than RSA verification, and R=
SA encryption is 10x faster than RSA decryption? =C2=A0=C2=A0</div><div><br=
></div><div>Does this even matter?=C2=A0 Maybe it depends on what &quot;sym=
metrical&quot; means?</div><div><br></div><div>When you say symmetrical, do=
 you mean that the time the *query packet is in flight* (ie T2-T1) should b=
e symmetrical with the time the *response packet is in flight* (ie T4-T3)? =
=C2=A0</div><div><br></div><div>Or do you mean that that time the server sp=
ends processing the packet should be symmetrical to the time the client spe=
nds processing the same packet? =C2=A0(This seems problematic if eg. the se=
rver is a powerful machine that does crypto in hardware while the client is=
 a lame machine that does crypto in software.)<br></div><div><br></div><div=
>This issue could impact that regular timing exchanges even if it does not =
impact the KE.=C2=A0</div><div><br></div><div>Thanks,<br></div><div>Sharon<=
/div><div><font size=3D"2"><div style=3D"font-family:Verdana,Arial,Helvetic=
a,sans-serif"><font color=3D"#990099"><br></font></div><div style=3D""><br>=
</div><div style=3D"font-family:Verdana,Arial,Helvetica,sans-serif"><font c=
olor=3D"#990099"><br></font></div><div style=3D"font-family:Verdana,Arial,H=
elvetica,sans-serif"><font color=3D"#990099">-----&quot;TICTOC&quot; &lt;<a=
 href=3D"mailto:tictoc-bounces@ietf.org" target=3D"_blank">tictoc-bounces@i=
etf.org</a>&gt; schrieb: -----</font><br><br>&gt;An: <a href=3D"mailto:tict=
oc@ietf.org" target=3D"_blank">tictoc@ietf.org</a>, <a href=3D"mailto:ntpwg=
@lists.ntp.org" target=3D"_blank">ntpwg@lists.ntp.org</a><br>&gt;Von: Sharo=
n Goldberg <br>&gt;Gesendet von: &quot;TICTOC&quot; <br>&gt;Datum: 23.03.20=
16 10:07<br>&gt;Betreff: [TICTOC] WGLC on NTS: Why not run over IPsec?<div>=
<div class=3D"h5"><br>&gt;<br>&gt;Dear WG,<br>&gt;<br>&gt;Another question,=
 and please forgive me if this was discussed already<br>&gt;and I missed it=
. <br>&gt;<br>&gt;It would be helpful to know why NTS is not just just runn=
ing over<br>&gt;IPsec. (I can see why running NTP over TLS makes little sen=
se, since<br>&gt;TLS runs over TCP while NTP runs over UDP so everything wo=
uld<br>&gt;probably<br>&gt;break.) But NTP runs over IP. I suppose there ar=
e some performance<br>&gt;hits to using IPsec? What are they?<br>&gt;<br>&g=
t;Thanks,<br>&gt;Sharon<br>&gt;<br><br></div></div></div></font></div></div=
>
</div></div>

--001a114193bc1e8608052ed2cc50--

--===============0906208789531788103==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0906208789531788103==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 08:23:01 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1C66912DB34 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:23:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 9Fh22-n7gmi1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:22:59 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 6DD5412D665 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 08:22:59 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 39AF186DAED for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 15:22:59 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9356586D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 22:36:12 +0000 (UTC)
Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajDrO-000NrT-Io for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 22:36:12 +0000
Received: by mail-wm0-x233.google.com with SMTP id l68so3537459wml.0 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 15:36:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=+O5T8kfwxpTBlmEP0Ol1mwSs47ZcGex/ZavK+5N4G5o=; b=zC2NhxtacdB/Ism/rLyvGKR/XIcwm0g9AN4vf60d0yLBL4lDy7GxtBUYxFMT5exDm7 nio/RkyLXM+tLWYdD6Iz0vabRBsIiCtXPDiw7JgsfhRj/VohJsS9SlVCi+w24F8SPV17 U8QFwJbGmuqbhsTzJzL2vctZBqUsquh82AwIdxb2FxrgLp0JA/xO2pLEUd0Pzk5PwWA6 O8Jw+T4qGl2+DCtADQfndZhDOJB/1FEZdnAws308EK58pebJ7ZnByJvtZmkSVK5XaGfk LcTQgBwbCgiiGX7dQq30Bruf9yTO3Vdhr/UZ3nzyYQqXgyuU5Z7RvBNO6uc39RK42zb+ 4LTQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=+O5T8kfwxpTBlmEP0Ol1mwSs47ZcGex/ZavK+5N4G5o=; b=J5KSvCDSA7hhBREMabi2+oyJoWRHqQJiM9GeIzOpaDzJtBXjp1C+W6iJPFsxwsma3J 1pE2t5yT/a7fCjpYNo7gvUaPntF0Q5CyA614B8gW0EkdVdSgTOKUNPGS97cuaoBMhK6H 9hkJo/xm0zaJtMz5EZvyOX1rOtnA6HPORg5YgTP6my2zb34i+5avHKlQfDfZdO31MUDX noiR6qSM7yky7TkxAl9TnEgWF8CDdGbxiUb4gCu8twsk9tFGstY2NGiBgOS+5CwCbMAp TJqIFnb5gPVYHBIdtlhRsM9dTqrpu2wj3Trh5WM2Rr96C+C7v9tKXy5mxUlkVwo6Y4NB pkHA==
X-Gm-Message-State: AD7BkJK+9suix90sgKybpVu1lZ6vev45DtZLv/htl19zdtxom2TB6ZZ2gGazUEGntFKkCH1Jdl7oNyFLzkUk7A==
X-Received: by 10.28.220.215 with SMTP id t206mr12704975wmg.68.1458858969238;  Thu, 24 Mar 2016 15:36:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Thu, 24 Mar 2016 15:35:29 -0700 (PDT)
In-Reply-To: <20160323172740.GA28288@roeckx.be>
References: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com> <20160323172740.GA28288@roeckx.be>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Thu, 24 Mar 2016 18:35:29 -0400
X-Google-Sender-Auth: aVjOEoaLbD10aS2Lkckbz3tFur8
Message-ID: <CAJHGrrS82zYYHq0Yrx+HbRSOGLS6MEA+5aBigMrmX0NPM3YbvQ@mail.gmail.com>
To: Kurt Roeckx <kurt@roeckx.be>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::233
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 25 Mar 2016 14:17:56 +0000
Subject: Re: [ntpwg] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============7904621860261783755=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============7904621860261783755==
Content-Type: multipart/alternative; boundary=001a114b2d46a393a7052ed3126a

--001a114b2d46a393a7052ed3126a
Content-Type: text/plain; charset=UTF-8

Kurt,

It could also use DTLS instead of TLS, which does work over UDP.
>
> (D)TLS can already store the session on the client side, and
> give that to the server on "resumption".  But maybe that would
> require too many packets?
>
> You make a really good point here.  I would like to understand better why
DTLS does not work here.

Even if NTS does not run over DTLS, it would be helpful to go over the DTLS
RFCs anyway, since several issues that affect DTLS might also affect NTS.

For example:

1) Have we confirmed the NTS's KE messages can fit in a single IP packet?
If not, and since this is all sent over UDP, there is no guarantee that the
packets arrive in order.  DTLS explicitly addresses this issue, see Section
4.2.3 of the [1] the DTLS RFC.   How will NTS deal with this?

2) Similarly, the KE for NTS will need reliable delivery: if one of the KE
messages fails to arrive, the KE won't complete.  But again, this is sent
over UDP. See Section 4.2.4 of the DTLS RFC [1] for more on this. How will
NTS deal with this issue?

Thanks,
Sharon

[1] https://tools.ietf.org/html/rfc4347

-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a114b2d46a393a7052ed3126a
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra">Kurt,</div><div class=3D"gmail_=
extra"><br><div class=3D"gmail_quote"><blockquote class=3D"gmail_quote" sty=
le=3D"margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(=
204,204,204);border-left-style:solid;padding-left:1ex">
It could also use DTLS instead of TLS, which does work over UDP.<br>
<br>
(D)TLS can already store the session on the client side, and<br>
give that to the server on &quot;resumption&quot;.=C2=A0 But maybe that wou=
ld<br>
require too many packets?<br>
<br></blockquote><div>You make a really good point here.=C2=A0 I would like=
 to understand better why DTLS does not work here.=C2=A0</div><div><br></di=
v><div>Even if NTS does not run over DTLS, it would be helpful to go over t=
he DTLS RFCs anyway, since several issues that affect DTLS might also affec=
t NTS. =C2=A0</div><div><br></div><div>For example:</div><div><br></div><di=
v><div>1) Have we confirmed the NTS&#39;s KE messages can fit in a single I=
P packet? If not, and since this is all sent over UDP, there is no guarante=
e that the packets arrive in order.=C2=A0 DTLS explicitly addresses this is=
sue, see Section 4.2.3 of the [1] the DTLS RFC. =C2=A0 How will NTS deal wi=
th this?</div><div><br></div><div>2) Similarly, the KE for NTS will need re=
liable delivery: if one of the KE messages fails to arrive, the KE won&#39;=
t complete.=C2=A0 But again, this is sent over UDP. See Section 4.2.4 of th=
e DTLS RFC [1] for more on this. How will NTS deal with this issue?</div><d=
iv><br></div><div>Thanks,</div><div>Sharon</div><div><br></div><div><font c=
olor=3D"#990099" style=3D"font-family:Verdana,Arial,Helvetica,sans-serif">[=
1]=C2=A0</font><font color=3D"#990099" face=3D"Verdana, Arial, Helvetica, s=
ans-serif"><a href=3D"https://tools.ietf.org/html/rfc4347">https://tools.ie=
tf.org/html/rfc4347</a></font></div></div></div><div><br></div>-- <br><div =
class=3D"gmail_signature">Sharon Goldberg<br>Computer Science, Boston Unive=
rsity<br><a href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank">http://=
www.cs.bu.edu/~goldbe</a></div>
</div></div>

--001a114b2d46a393a7052ed3126a--

--===============7904621860261783755==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============7904621860261783755==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 08:31:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A039812DB34 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:31:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 s3TbszpjC7hT for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 08:31:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7E8FE12DB02 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 08:31:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6F87286DB20 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 15:22:49 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 13E9D86D55E for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 22:33:13 +0000 (UTC)
Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajDoV-000Npl-0N for ntpwg@lists.ntp.org; Thu, 24 Mar 2016 22:33:12 +0000
Received: by mail-wm0-x233.google.com with SMTP id l68so4213200wml.1 for <ntpwg@lists.ntp.org>; Thu, 24 Mar 2016 15:33:10 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=f4tp8ZqKY2KQxqA+mE8qtvGm2Y/O+RW2go4WKIkppfc=; b=rsYr1ImfusRsGgm5GEnf1xl7Vn9CeSvHylfzDiIMMXPX79PmP/zH5v7ypoeZsJKjho XGJQRTcz9AEhst3/19dOQqLqMk0BsitPqjeeCpebY7AzVQzyycx/OsUMcR0Iud611/Qa s1vQaq33RoMh7zLf/oTVHqVCLLmRLIqO3uzzXxLz8Sg4hLjwv/9XVSO5g48MkaqI61In lzyLDFy30BozKcHq3mCjz7mv8tfJOpwUztUUr569kIyds7Gv1/6/u7DZH13bpb8PLg3Q ndV9qcQ5JDvaTvoJkONLZPhwUd/5AtCJClxl0yIpEMkiow6o+GLcpYFJchOHdGj2KS9E G5jw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=f4tp8ZqKY2KQxqA+mE8qtvGm2Y/O+RW2go4WKIkppfc=; b=C0lBtG3ey8PdWGDA9QZPsId9+G+L8lw3b1k4a/iuLgbsxXJ/95osr8gr+P1JQ56JjD YH/33OOiRLxUsIezDtzq0DVUZsNNcJK0I0mChVYmapmMEeGkdRxj1eyrNBTjphVIyM3S Qgq2PdIX2XMKY32MoKs/n+Iub3PuuC3G19nxsuQ3M3SnvjkQBZlnhpqZEfuBoIgwlE/r GLgbxPt/MQtgKjz+t65rQr40gcmoUDa1injw1K5LTl2IDW3DmkGCAk3AGDxpf8wj+8vn 0UBIUEiSlSohi5eRpwmP80zG6MOCPO0U4QxxwwlOJs8UZ92x7F4tjfR8HwoZTSA7VUFs durQ==
X-Gm-Message-State: AD7BkJKWNnfpatmeSGrKCY24AAUOYiLRslh48kAO4qrlSpMXlxBYUqNEx403JJ4wpQXwlE4CJD/FnQscljB7kQ==
X-Received: by 10.28.222.84 with SMTP id v81mr13438440wmg.42.1458858789138; Thu, 24 Mar 2016 15:33:09 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Thu, 24 Mar 2016 15:32:29 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Thu, 24 Mar 2016 18:32:29 -0400
X-Google-Sender-Auth: OZiYD48pd8Rh5y9XQARFfOA9Qg8
Message-ID: <CAJHGrrR=xrxQaXqLz9vzHN=w-i0ji_WCa-=FYLaYgZATZ-nXkg@mail.gmail.com>
To: kristof.teichel@ptb.de
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::233
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Fri, 25 Mar 2016 14:17:56 +0000
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============2221277469399376350=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2221277469399376350==
Content-Type: multipart/alternative; boundary=001a114b0dbee7779d052ed30735

--001a114b0dbee7779d052ed30735
Content-Type: text/plain; charset=UTF-8

>
> PPS: Out of curiosity: is there a mode for IPsec which does what NTS is
> trying to achieve (namely requiring on the server side neither a
> per-association state nor classic asymmetric cryptography like digital
> signatures)? If so, some text might be in order somewhere (NTP BCP
> document?), stating that if IPsec is used for securing NTP, said mode would
> be the best one to use.
>
> This is a really good question and I tried and failed to answer it so far.
IPsec is amazingly complex and easy to configure wrongly.  One thing that I
can tell so far is that traffic should be secured in "AH Transport" mode
but I cannot figure out what IPsec KE is appropriate.  It does seem that by
default IPsec uses mutual authentication of client and server, (while NTS
"MUST" accommodate one-sided authentication).  I wonder if IPsec also
supports one-sided authentication; at the moment I have not figured out
if/how this works.

Maybe if folks from this WG go to IETF (sadly I am not) someone could ask
one of the IPsec folks for advice on what KE they suggest?

Anyway I've talked to several friends who are who do research on crypto
flaws in practice, and they say the complexity of IPsec is both a barrier
to its adoption and also a security risk [1].

Sigh.

Sharon

[1] http://www.spiegel.de/media/media-35529.pdf
[2]
https://nohats.ca/wordpress/blog/2014/12/29/dont-stop-using-ipsec-just-yet/

--001a114b0dbee7779d052ed30735
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;paddi=
ng-left:1ex"><font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-=
serif" size=3D"2"><div><font size=3D"2" face=3D"Sans Serif, Verdana, Arial,=
 Helvetica, sans-serif">PPS: Out of curiosity: is there a mode for IPsec wh=
ich does what NTS is trying to achieve (namely requiring on the server side=
 neither a per-association state nor classic asymmetric cryptography like d=
igital signatures)? If so, some text might be in order somewhere (NTP BCP d=
ocument?), stating that if IPsec is used for securing NTP, said mode would =
be the best one to use.</font></div><div style=3D"font-family:Verdana,Arial=
,Helvetica,sans-serif"><br></div></font></blockquote><div>This is a really =
good question and I tried and failed to answer it so far. IPsec is amazingl=
y complex and easy to configure wrongly.=C2=A0 One thing that I can tell so=
 far is that traffic should be secured in &quot;AH Transport&quot; mode but=
 I cannot figure out what IPsec KE is appropriate.=C2=A0 It does seem that =
by default IPsec uses mutual authentication of client and server, (while NT=
S &quot;MUST&quot; accommodate one-sided authentication).=C2=A0 I wonder if=
 IPsec also supports one-sided authentication; at the moment I have not fig=
ured out if/how this works.</div><div><br></div><div>Maybe if folks from th=
is WG go to IETF (sadly I am not) someone could ask one of the IPsec folks =
for advice on what KE they suggest? =C2=A0</div><div><br></div><div>Anyway =
I&#39;ve talked to several friends who are who do research on crypto flaws =
in practice, and they say the complexity of IPsec is both a barrier to its =
adoption and also a security risk [1].</div><div>=C2=A0<br></div><div>Sigh.=
</div><div><br></div><div>Sharon</div><div><br></div><div>[1]=C2=A0<a href=
=3D"http://www.spiegel.de/media/media-35529.pdf">http://www.spiegel.de/medi=
a/media-35529.pdf</a></div><div>[2]=C2=A0<a href=3D"https://nohats.ca/wordp=
ress/blog/2014/12/29/dont-stop-using-ipsec-just-yet/">https://nohats.ca/wor=
dpress/blog/2014/12/29/dont-stop-using-ipsec-just-yet/</a></div><div><br></=
div></div>
</div></div>

--001a114b0dbee7779d052ed30735--

--===============2221277469399376350==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2221277469399376350==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 14:51:45 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED3DA12D510 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 14:51:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 xzKfC1v8zS3L for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 14:51:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 8DD8012D148 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 14:51:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7EC1086DAEE for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 21:51:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id A60F686DAB9 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 21:10:54 +0000 (UTC)
Received: from mail230c25.carrierzone.com ([64.29.147.244] helo=mail237c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1ajZ0G-000MJC-KP for ntpwg@lists.ntp.org; Fri, 25 Mar 2016 21:10:54 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail237c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2PLAe8h022429 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 21:10:42 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 6F5EB406063;  Fri, 25 Mar 2016 14:10:40 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: ntpwg@lists.ntp.org, tictoc@ietf.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Date: Fri, 25 Mar 2016 14:10:40 -0700
Message-Id: <20160325211040.6F5EB406063@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=EYLxHpWC c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=1x3Hri29alUtyClH0C8A:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010205.56F5A952.0175, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.244
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: Hal Murray <hmurray@megapathdsl.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

goldbe@cs.bu.edu said:
>> I'm not sure if it's intentional, but recent versions of ntpd now
>> update the clock with the first (authenticated) sample. Older versions
>> and other implementations may require more.
> I think Danny Mayer told me that was a bug. But I don't know.
> ntpd 4.2.6 needs several samples. 

It's a bug.

Consider what happens if the first response is from a falseticker.  You also 
get a bogus answer if one side of the request/response encounters long 
network delays.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 16:51:33 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2F34212D614 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 16:51:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 j7sGyJKC8F9q for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 16:51:31 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id DE4B012D143 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 16:51:31 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B58C986DAEE for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 23:51:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 27C9D86DAB9 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 23:01:15 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ajajC-000G98-Pk; Fri, 25 Mar 2016 23:01:14 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Sharon Goldberg <goldbe@cs.bu.edu>
In-reply-to: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
References: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
Comments: In-reply-to Sharon Goldberg <goldbe@cs.bu.edu> message dated "Thu, 24 Mar 2016 18:15:46 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Fri, 25 Mar 2016 23:01:14 +0000
Message-Id: <E1ajajC-000G98-Pk@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: KE over NTP packets or special packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

The processing of keys *can* happen between T2 and T3, so its effects
are theoretically invisible.

But there is nothing that says we have to return the NTS response in the
next packet.

If a client only wants to use authenticated packets, for some definition
of authenticated, then either the initial packets will need to be
protected by a symmetric key MAC, or the client will either ignore the
packets completely or save them up until a subsequent trusted packet can
be used to lend credence to the earlier unauthenticated timestamps.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 18:22:30 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF71712D0C5 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 18:22:30 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 2mN8k2DobYlG for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 18:22:29 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 6F9D412D09C for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 18:22:29 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3631386DAF2 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 01:22:29 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 80F8586DAB9 for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 00:48:22 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ajcOp-000GFt-HL; Sat, 26 Mar 2016 00:48:19 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Sharon Goldberg <goldbe@cs.bu.edu>
In-reply-to: <CAJHGrrS82zYYHq0Yrx+HbRSOGLS6MEA+5aBigMrmX0NPM3YbvQ@mail.gmail.com>
References: <CAJHGrrQH0Ce+UFTy6m=SrzTk0AWmBFywC88HccHy0+WG16ibdQ@mail.gmail.com> <20160323172740.GA28288@roeckx.be> <CAJHGrrS82zYYHq0Yrx+HbRSOGLS6MEA+5aBigMrmX0NPM3YbvQ@mail.gmail.com>
Comments: In-reply-to Sharon Goldberg <goldbe@cs.bu.edu> message dated "Thu, 24 Mar 2016 18:35:29 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 26 Mar 2016 00:48:19 +0000
Message-Id: <E1ajcOp-000GFt-HL@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Sharon Goldberg writes:
> It could also use DTLS instead of TLS, which does work over UDP.

As I recall when we started the implementation we looked at DTLS and
CMS.  I don't recall why CMS was chosen, but there were good reasons.
Also, there's no reason DTLS could not be used instead.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Fri Mar 25 18:53:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14E6E12D0A4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 18:53:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 no90JpxpIzHJ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Fri, 25 Mar 2016 18:53:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7D1E912D096 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri, 25 Mar 2016 18:53:08 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4582786DAFC for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 01:53:08 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 3A72286DAB9 for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 00:58:58 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1ajcWh-000GGU-CZ; Sat, 26 Mar 2016 00:56:27 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Sharon Goldberg <goldbe@cs.bu.edu>
In-reply-to: <CAJHGrrSoso+ZkC8U8LoG0=MQ-sCUFiwJAqZMgvKbv0eZfOjceA@mail.gmail.com>
References: <CAJHGrrSoso+ZkC8U8LoG0=MQ-sCUFiwJAqZMgvKbv0eZfOjceA@mail.gmail.com>
Comments: In-reply-to Sharon Goldberg <goldbe@cs.bu.edu> message dated "Fri, 25 Mar 2016 15:29:45 -0400."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Sat, 26 Mar 2016 00:56:27 +0000
Message-Id: <E1ajcWh-000GGU-CZ@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Sharon Goldberg writes:
> On Fri, Mar 25, 2016 at 5:09 AM, Harlan Stenn <stenn@ntp.org> wrote:
> > Can one have reliable IPSEC if the time is unknown?
> 
> Great point, but bootstrapping is a problem for NTS as well.
> 
> If time is unknown, certificates cannot be trusted, and NTS uses
> certificates for key establishment (KE). See my other email. "NTS:
> boostrapping clients".

Yes, and this goes to having "enough" sources of time, and having proper
monitoring.

One of the key components of NTF's General Timestamp API is the "time
discontinuity counter" - a counter that increments on each time "step".
With proper logging, it becomes easier to track what's going on.  Also,
a system can maintain both relative and absolute clocks, and use this to
provide updated log timestamps in the face of changes to the absolute
timeline.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 26 19:54:33 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 93AFD12D09C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 19:54:33 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -5.504
X-Spam-Level:
X-Spam-Status: No, score=-5.504 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_IMAGE_ONLY_28=1.404, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 LMUk55jLhKPt for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 19:54:32 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id F3F36128874 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 19:54:31 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C23DC86DAFF for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 27 Mar 2016 02:54:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9DFD386D4A6 for <ntpwg@lists.ntp.org>; Sun, 27 Mar 2016 01:54:01 +0000 (UTC)
Received: from userp1040.oracle.com ([156.151.31.81]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <brian.utterback@oracle.com>) id 1ajztn-000PKk-6m for ntpwg@lists.ntp.org; Sun, 27 Mar 2016 01:54:01 +0000
Received: from aserv0021.oracle.com (aserv0021.oracle.com [141.146.126.233]) by userp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id u2R1rl9L019999 (version=TLSv1 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Mar 2016 01:53:48 GMT
Received: from aserv0121.oracle.com (aserv0121.oracle.com [141.146.126.235]) by aserv0021.oracle.com (8.13.8/8.13.8) with ESMTP id u2R1rlS5008403 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Sun, 27 Mar 2016 01:53:47 GMT
Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserv0121.oracle.com (8.13.8/8.13.8) with ESMTP id u2R1rkqa013203; Sun, 27 Mar 2016 01:53:46 GMT
Received: from [192.168.1.39] (/73.17.194.46) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Sat, 26 Mar 2016 18:53:46 -0700
To: Hal Murray <hmurray@megapathdsl.net>, ntpwg@lists.ntp.org, tictoc@ietf.org
References: <20160325211040.6F5EB406063@ip-64-139-1-69.sjc.megapath.net>
From: Brian Utterback <brian.utterback@oracle.com>
Message-ID: <56F73D3D.7060704@oracle.com>
Date: Sat, 26 Mar 2016 21:54:05 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <20160325211040.6F5EB406063@ip-64-139-1-69.sjc.megapath.net>
X-Source-IP: aserv0021.oracle.com [141.146.126.233]
X-SA-Exim-Connect-IP: 156.151.31.81
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: brian.utterback@oracle.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============7621253257485296998=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

This is a multi-part message in MIME format.
--===============7621253257485296998==
Content-Type: multipart/alternative;
 boundary="------------070507050708010709010104"

This is a multi-part message in MIME format.
--------------070507050708010709010104
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: 7bit

On 3/25/2016 5:10 PM, Hal Murray wrote:
> goldbe@cs.bu.edu said:
>>> I'm not sure if it's intentional, but recent versions of ntpd now
>>> update the clock with the first (authenticated) sample. Older versions
>>> and other implementations may require more.
>> I think Danny Mayer told me that was a bug. But I don't know.
>> ntpd 4.2.6 needs several samples.
> It's a bug.
>
> Consider what happens if the first response is from a falseticker.  You also
> get a bogus answer if one side of the request/response encounters long
> network delays.
>
>

I wonder if it might not make sense to use the first authenticated 
sample to validate the previous unauthenticated samples. If the offset 
from the first authenticated sample is not within some threshold of the 
previous samples then the older ones are thrown out. But if they are 
within the threshold they are accepted.

-- 
Oracle <http://www.oracle.com>
Brian Utterback | Principal Software Engineer
Phone: +1 6038973049 <tel:+1%206038973049>
Oracle Systems/RPE Solaris Network
1 Oracle Dr. | Nashua, NH 03062
------------------------------------------------------------------------
All working systems eventually show their own agendas.
------------------------------------------------------------------------
Green Oracle <http://www.oracle.com/commitment> Oracle is committed to 
developing practices and products that help protect the environment

--------------070507050708010709010104
Content-Type: text/html; charset=windows-1252
Content-Transfer-Encoding: 7bit

<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">On 3/25/2016 5:10 PM, Hal Murray wrote:<br>
    </div>
    <blockquote
      cite="mid:20160325211040.6F5EB406063@ip-64-139-1-69.sjc.megapath.net"
      type="cite">
      <pre wrap="">
<a class="moz-txt-link-abbreviated" href="mailto:goldbe@cs.bu.edu">goldbe@cs.bu.edu</a> said:
</pre>
      <blockquote type="cite">
        <blockquote type="cite">
          <pre wrap="">I'm not sure if it's intentional, but recent versions of ntpd now
update the clock with the first (authenticated) sample. Older versions
and other implementations may require more.
</pre>
        </blockquote>
        <pre wrap="">I think Danny Mayer told me that was a bug. But I don't know.
ntpd 4.2.6 needs several samples. 
</pre>
      </blockquote>
      <pre wrap="">
It's a bug.

Consider what happens if the first response is from a falseticker.  You also 
get a bogus answer if one side of the request/response encounters long 
network delays.


</pre>
    </blockquote>
    <br>
    I wonder if it might not make sense to use the first authenticated
    sample to validate the previous unauthenticated samples. If the
    offset from the first authenticated sample is not within some
    threshold of the previous samples then the older ones are thrown
    out. But if they are within the threshold they are accepted.<br>
    <br>
    <div class="moz-signature">-- <br>
      <a href="http://www.oracle.com" target="_blank"> <img
          src="http://www.oracle.com/us/design/oracle-email-sig-198324-355094.jpg"
          moz-do-not-send="true" alt="Oracle" border="0" height="26"
          width="114"> </a><br>
      <font size="2" color="#666666" face="Verdana, Arial, Helvetica,
        sans-serif">Brian Utterback | Principal Software Engineer<br>
        Phone: <a href="tel:+1%206038973049" moz-do-not-send="true">+1
          6038973049</a> <br>
        <font color="#ff0000">Oracle</font> Systems/RPE Solaris Network<br>
        1 Oracle Dr. | Nashua, NH 03062</font> <br>
      <hr> All working systems eventually show their own agendas.
      <hr> <a href="http://www.oracle.com/commitment" target="_blank">
        <img
          src="http://www.oracle.com/us/design/green-sig-275518-355092.jpg"
          moz-do-not-send="true" alt="Green Oracle" align="absmiddle"
          border="0" height="28" width="44"> </a> <font size="1"
        color="#4B7D42" face="Verdana, Arial, Helvetica, sans-serif">Oracle
        is committed to developing practices and products that help
        protect the environment</font></div>
  </body>
</html>

--------------070507050708010709010104--

--===============7621253257485296998==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============7621253257485296998==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 26 20:24:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4D48012D0C0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 20:24:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 BRhasvMer1b4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 20:24:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C3F1D12D0AF for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 20:24:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9E6C186DAEE for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 27 Mar 2016 03:24:40 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 8D2B886D4A6 for <ntpwg@lists.ntp.org>; Sun, 27 Mar 2016 02:24:21 +0000 (UTC)
Received: from mail146c25.carrierzone.com ([64.29.147.216] helo=mail239c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1ak0NA-000Pay-31 for ntpwg@lists.ntp.org; Sun, 27 Mar 2016 02:24:21 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail239c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2R2O8ha010001 for <ntpwg@lists.ntp.org>; Sun, 27 Mar 2016 02:24:09 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 9BF4D406060;  Sat, 26 Mar 2016 19:24:07 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Brian Utterback <brian.utterback@oracle.com>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Brian Utterback <brian.utterback@oracle.com> of "Sat, 26 Mar 2016 21:54:05 EDT." <56F73D3D.7060704@oracle.com>
Mime-Version: 1.0
Date: Sat, 26 Mar 2016 19:24:07 -0700
Message-Id: <20160327022407.9BF4D406060@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=cNXZ7DuN c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=yPCof4ZbAAAA:8 a=KCLoKZmX3DBUO9ktL68A:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010202.56F74449.004F, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.216
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, Hal Murray <hmurray@megapathdsl.net>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

brian.utterback@oracle.com said:
> I wonder if it might not make sense to use the first authenticated  sample
> to validate the previous unauthenticated samples. If the offset  from the
> first authenticated sample is not within some threshold of the  previous
> samples then the older ones are thrown out. But if they are  within the
> threshold they are accepted. 

My vote would be to put ideas like that on the back burner.

It adds a layer of complexity it two places.  That's an opportunity for bugs.

One is the general NTP timekeeping area.  The other is the security area.



-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 26 21:54:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2A2A712D0F8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:54:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 EgENA2lc47ML for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:54:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id D803512D0C9 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 21:54:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B38D486DAD8 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 27 Mar 2016 04:54:39 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1FF3386DAB9 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 16:52:31 +0000 (UTC)
Received: from mail-wm0-x22c.google.com ([2a00:1450:400c:c09::22c]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajUyK-000IcJ-C8 for ntpwg@lists.ntp.org; Fri, 25 Mar 2016 16:52:31 +0000
Received: by mail-wm0-x22c.google.com with SMTP id l68so28689892wml.1 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 09:52:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=v4jWQRbfp9ZU2GC39yEEEzQ34+z0CwxyRbxIYQ103bQ=; b=HiaCNpWXoFu5YY0Hvxng1NRri88k+dhdB4Mnqf83CErlP+EOVJRdf3SpbObf1bS1li bg6Ou2yU+CLUeCX+ZjYa2FvT+XQTLmE0G/lLMmIocsQTIb6eFqcWJta+eNDOr3yFf7SO ipN8NhScV9xVQWk+p5puLKzhVZNkNM2tlAM4fRVU4GDWlR+z39gUHn9INZJ/EaUGtsi0 CnwGq4VIw8ZyATyTPfNc7GER7Y70aCTU5voU/VVLoq9BKwwCRWc7BrdOpaQdy/FnkC8b Im6PcfYdy2QqFXNmrZKHGp+/+fv2eM4A58hQG9xvPxR18tesq/QY/1epAzNIFwCD51K5 jhGg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=v4jWQRbfp9ZU2GC39yEEEzQ34+z0CwxyRbxIYQ103bQ=; b=CR0Vi0y9eS3eMDuUDPHvk1OefSNrK29QB8WGsaZ2cZN9qtQgAZZTsSPbfdxDA2K0KP RuhrS+qXZ/3Bd6Pd5FSo9Stl8BhTZ7m8726uiNo3F0o59q25QLmUNcJSbTPejKc66DBK j7vrIvMUxe4sYnIA6ZZVkw6/C9e3APWySM0LS3PY/kJkG6/rXtR7EGzSu2LHFAuRN8rq tQ7TSHrIfwuUlOj6UMU8UtSJ1RryBo/bqyqFArmT1m3QDeUiH1iDJkhlhyMV7p/GQttY AtBtbXmTJpAq9JfX5ed9HNoy0v/Wt46DHyHXLEQDL6/IVdMD05z9GYLW2YWKOY+B5kOj Ew7A==
X-Gm-Message-State: AD7BkJKU/vgJf/Cf1M0WfProVBuup3PzBA6pOZEuBo7SlsLvUtyj4qLkpOyvdh/Vv95utmCW1i1NhRFVCI2oGA==
X-Received: by 10.194.223.104 with SMTP id qt8mr16331376wjc.11.1458924746527;  Fri, 25 Mar 2016 09:52:26 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Fri, 25 Mar 2016 09:51:47 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Fri, 25 Mar 2016 12:51:47 -0400
X-Google-Sender-Auth: Pi3wmbTejWLkyLrUVwwxOzJZoxQ
Message-ID: <CAJHGrrROOUpXkU6oVMgK8uUqs-jPeW=Ja4FowW7n=P9c4Fy3Tw@mail.gmail.com>
To: Dieter Sibold <dieter.sibold@ptb.de>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::22c
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Sun, 27 Mar 2016 04:12:13 +0000
Subject: [ntpwg] NTS: bootstrapping clients [was WGLC on NTS: Round trips for key exchange]
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: multipart/mixed; boundary="===============2071878852384765886=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2071878852384765886==
Content-Type: multipart/alternative; boundary=001a11c3b8a4455c04052ee2639e

--001a11c3b8a4455c04052ee2639e
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

On Thu, Mar 24, 2016 at 5:02 AM, Dieter Sibold <dieter.sibold@ptb.de> wrote=
:

Am 23.03.2016 um 23:17 schrieb Sharon Goldberg <goldbe@cs.bu.edu>:

Suppose an unauthenticated timing exchange happens and convince the client
> to update its clock before KE completes. Then,
> man-in-the-middle can trick the client into updating its clock to a
> bogus time in the past. Then, the attackers inject old compromised
> certificates into the KE exchange. (That is, a revoked/expired
> certificate for which the attacker has learned the secret key
> corresponding to the public key in the certificate.) The client is
> in the past, so it accepts the old bogus certificates, and the
> attacker has defeated any protection provided by NTS. (This is very
> related to the attack by Selvi in [5] and what we wrote about
> attacking SSL certificates in Section III of our paper [6]. See
> also [7].)
>
> We believe the NTS KE can be modified to authenticate timing
> messages sent in parallel with the KE. Note that this must be done
> *without* requiring these initial timing messages to be MAC'd,
> since before the KE completes, the client and server will not have
> a shared symmetric key.
>
> We believe that the NTS KE can be modified to include this feature.
> See *. Is this of interest?
>
>
> But is this not a fundamental problem? Even if an implementation supports
> an additional KE.  As long as the KE is based on certificates and the
> verification of the certificate=E2=80=99s validity is based upon time sta=
mps a
> client which starts  NTS  and has no notion about the current time is a
> priori vulnerable to attacks described in [5].
>
> No, the attack described above will work *even if the victim client start=
s
up with an accurate time*.

Say my victim machine starts up knowing that it is the year 2016.  Now the
attacker modifies the timestamps on the unauthenticated timing messages
that are sent before the KE completes to the year 2014.  The client now
updates it clock to the year 2014.  Then during the key exchange the
attacker uses certificates from 2014 which were compromised by the attacker
by exploiting the heartblead bug.  Profit.

Notice that this attack works even on a client that is "bootstrapped", ie
has a clock that is approximately accurate upon startup.

Protecting a "non-bootstrapped" client from such an attack will be more
difficult.

But at the very least NTS should protect "bootstrapped" clients.

Along similar lines, I think it would be valuable for NTS to give some
advice on how to ensure most clients are bootstrapped most of the time.

Here is one idea. Each time the client updates its local clock, it also
writes the time to a file. This file persists even after the client shuts
down. Thus, when the client restarts and receives certificates as part of
the key exchange, the client will check this file and make sure that the
certificate is not expiring a time earlier than the last time written to
this file. This will stop attacks that try to roll the client to a time
BEFORE the last time it last synced, like the one described above.

Sharon

--001a11c3b8a4455c04052ee2639e
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr">On Thu, Mar 24, 2016 at 5:02 AM, Dieter Sibold <span dir=
=3D"ltr">&lt;<a href=3D"mailto:dieter.sibold@ptb.de" target=3D"_blank">diet=
er.sibold@ptb.de</a>&gt;</span> wrote:<span class=3D""><blockquote type=3D"=
cite"><div>Am 23.03.2016 um 23:17 schrieb Sharon Goldberg &lt;<a href=3D"ma=
ilto:goldbe@cs.bu.edu" target=3D"_blank">goldbe@cs.bu.edu</a>&gt;:</div></b=
lockquote></span><div class=3D"gmail_extra"><div class=3D"gmail_quote"><blo=
ckquote class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left=
:1px solid rgb(204,204,204);padding-left:1ex"><div><div><div style=3D"word-=
wrap:break-word"><div><div><blockquote type=3D"cite"><div><div dir=3D"ltr">=
Suppose an unauthenticated timing exchange happens and convince the client =
to update its clock before KE completes. Then,<br>man-in-the-middle can tri=
ck the client into updating its clock to a<br>bogus time in the past. Then,=
 the attackers inject old compromised<br>certificates into the KE exchange.=
 (That is, a revoked/expired<br>certificate for which the attacker has lear=
ned the secret key<br>corresponding to the public key in the certificate.) =
The client is<br>in the past, so it accepts the old bogus certificates, and=
 the<br>attacker has defeated any protection provided by NTS. (This is very=
<br>related to the attack by Selvi in [5] and what we wrote about<br>attack=
ing SSL certificates in Section III of our paper [6]. See<br>also [7].)<br>=
<br>We believe the NTS KE can be modified to authenticate timing<br>message=
s sent in parallel with the KE. Note that this must be done<br>*without* re=
quiring these initial timing messages to be MAC&#39;d,<br>since before the =
KE completes, the client and server will not have<br>a shared symmetric key=
.<br><br>We believe that the NTS KE can be modified to include this feature=
.<br>See *. Is this of interest?<br><br></div></div></blockquote><div><br><=
/div><div>But is this not a fundamental problem? Even if an implementation =
supports an additional KE.=C2=A0 As long as the KE is based on certificates=
 and the verification of the certificate=E2=80=99s validity is based upon t=
ime stamps a client which starts =C2=A0NTS =C2=A0and has no notion about th=
e current time is a priori vulnerable to attacks described in [5].=C2=A0</d=
iv><br></div></div></div></div></div></blockquote><div>No, the attack descr=
ibed above will work *even if the victim client starts up with an accurate =
time*. <br><br>Say my victim machine starts up knowing that it is the year =
2016.=C2=A0 Now the attacker modifies the timestamps on the unauthenticated=
 timing messages that are sent before the KE completes to the year 2014.=C2=
=A0 The client now updates it clock to the year 2014.=C2=A0 Then during the=
 key exchange the attacker uses certificates from 2014 which were compromis=
ed by the attacker by exploiting the heartblead bug.=C2=A0 Profit. <br><br>=
</div><div>Notice that this attack works even on a client that is &quot;boo=
tstrapped&quot;, ie has a clock that is approximately accurate upon startup=
.=C2=A0 <br><br>Protecting a &quot;non-bootstrapped&quot; client from such =
an attack will be more difficult.<br><br></div><div>But at the very least N=
TS should protect &quot;bootstrapped&quot; clients.<br><br></div><div>Along=
 similar lines, I think it would be valuable for NTS to give some advice on=
 how to ensure most clients are bootstrapped most of the time.<br></div></d=
iv><br>Here is one idea. Each time the client updates its local clock, it a=
lso writes the time to a file. This file persists even after the client shu=
ts down. Thus, when the client restarts and receives certificates as part o=
f the key exchange, the client will check this file and make sure that the =
certificate is not expiring a time earlier than the last time written to th=
is file. This will stop attacks that try to roll the client to a time BEFOR=
E the last time it last synced, like the one described above.<br><br></div>=
<div class=3D"gmail_extra">Sharon<br></div><div class=3D"gmail_extra"><br><=
/div></div>

--001a11c3b8a4455c04052ee2639e--

--===============2071878852384765886==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2071878852384765886==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 26 21:54:55 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6BB0712D0F8 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:54:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 5ugwL1rClC4n for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:54:53 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 1CF4512D0C9 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 21:54:50 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 16E2086DB0B for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 27 Mar 2016 04:54:50 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5DB4F86DAB9 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 19:30:28 +0000 (UTC)
Received: from mail-wm0-x236.google.com ([2a00:1450:400c:c09::236]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajXRC-000KoF-FQ for ntpwg@lists.ntp.org; Fri, 25 Mar 2016 19:30:28 +0000
Received: by mail-wm0-x236.google.com with SMTP id l68so32459777wml.1 for <ntpwg@lists.ntp.org>; Fri, 25 Mar 2016 12:30:26 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=lVWnpemjiq8pFKeiv2KmO+BuoLBsENoxQ1z70XmuaHQ=; b=Ku7XeUO6nSXtTTDsvxJmoRHUZHhn90CF6Qqfu2QL5uUeE4XeHR/oZTFNDJXBMTru2e 84/gcF696vPS5hCZvCt2oLqkIrAuvohAxTYtd2yAIjgvlRLqAQLb9rvHSd5owgPkVw3W gP4WScgB51M1wCxXmYdGatGmwe/ItNJLLshLrB5pcCQfTwVDf0DaSu5h1KV7ifdjWevJ nurJ1K+7vxRZvcF5pxTIMKKfTawcpSWkrLN2gaZdIxHpxbvSdsBODV0rhshFKOvjHxkq 4G60jEaihluITpYy9XvciHbCxgChan8j+uplFRqY2UGBesGYsSbT4GZp/iP2hV/OmGDb hjLQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=lVWnpemjiq8pFKeiv2KmO+BuoLBsENoxQ1z70XmuaHQ=; b=RdTOPwtVYC6f7C65qJG0/aaVUoYXZJ/9ns4+ijCzOMSsFpAR6TyaMl6oJxr7qpOVPv iEN5RflVNhrusQbUmP0so+IbHLiYIf6i4StUz9zpOtAPnDRoxstxxJGgIQKlUgF2HITt D/TsoFye1avYzZ3bIqdxjvi9XifbFAZjgbR4SQQzXLnSnwkgI4vQaAn2XgAyjPaeD2ZX aaz9hKqbvAf58TNDhM6rZzCapPWERgL5n0O0FkeSxYmcn7IKGPA2KNzQ7EBmx8wG9/GN oV5JetRIs/qE0pCzcNZutDh7YMKE++MRcX1Hflipk3CeYR5VbqZoLdhGtsepMMlQMz1t ItLw==
X-Gm-Message-State: AD7BkJLlK2o5aqyjuzk3qNQ/JC8+poDB7Jhak0MS28iTyDELFVe9+4sWSRce8Xtwi2hapkESEVO7HFmCynOCtw==
X-Received: by 10.28.213.66 with SMTP id m63mr176401wmg.2.1458934224710; Fri, 25 Mar 2016 12:30:24 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Fri, 25 Mar 2016 12:29:45 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Fri, 25 Mar 2016 15:29:45 -0400
X-Google-Sender-Auth: VwqiTU5zBFuIqC9L2MbL83ahLSY
Message-ID: <CAJHGrrSoso+ZkC8U8LoG0=MQ-sCUFiwJAqZMgvKbv0eZfOjceA@mail.gmail.com>
To: Harlan Stenn <stenn@ntp.org>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::236
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Sun, 27 Mar 2016 04:12:13 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============8702227709809859228=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============8702227709809859228==
Content-Type: multipart/alternative; boundary=001a11468f1036f1ed052ee49886

--001a11468f1036f1ed052ee49886
Content-Type: text/plain; charset=UTF-8

On Fri, Mar 25, 2016 at 5:09 AM, Harlan Stenn <stenn@ntp.org> wrote:

>
> Can one have reliable IPSEC if the time is unknown?


Great point, but bootstrapping is a problem for NTS as well.

If time is unknown, certificates cannot be trusted, and NTS uses
certificates for key establishment (KE). See my other email. "NTS:
boostrapping clients".

--001a11468f1036f1ed052ee49886
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Mar 25, 2016 at 5:09 AM, Harlan Stenn <span dir=3D"ltr">&lt;<a href=3D"=
mailto:stenn@ntp.org" target=3D"_blank">stenn@ntp.org</a>&gt;</span> wrote:=
<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-lef=
t:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
</span>Can one have reliable IPSEC if the time is unknown?</blockquote><div=
><br></div><div>Great point, but bootstrapping is a problem for NTS as well=
.=C2=A0 <br><br>If time is unknown, certificates cannot be trusted, and NTS=
 uses certificates for key establishment (KE). See my other email. &quot;NT=
S: boostrapping clients&quot;.<br></div><div>=C2=A0<br></div></div>
</div></div>

--001a11468f1036f1ed052ee49886--

--===============8702227709809859228==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============8702227709809859228==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 26 21:55:09 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0D3EE12D0DA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 rCqBKdrxy6p7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:55:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 7124812D0C9 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 21:55:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3739086DB85 for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 27 Mar 2016 04:55:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9F9E586D48C for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 17:26:39 +0000 (UTC)
Received: from mail-wm0-x232.google.com ([2a00:1450:400c:c09::232]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1ajryv-000HhB-DT for ntpwg@lists.ntp.org; Sat, 26 Mar 2016 17:26:39 +0000
Received: by mail-wm0-x232.google.com with SMTP id l68so43799366wml.0 for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 10:26:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=fk8E3EXBmh0PrRTP1guv89OgV9Vaet7nKiwn7CEVi0A=; b=BPM58Lh2shDRndp/ENTOv9f4a/+1G1vez9llS6419b96TVOKH0LQ+bq2mU0WIWfA/N Ja6koP5rASa5b5Wd6uJnr6D3HcsOJDVjYUuFvpKUF2kyY7Fm9GBJGhrWng+CyzPX3BwX I0qXRflnDi7jrpmLT695wDmL1yuvpXGcQwMK/gMnSXpfAQI/sgaP1eEYKnYvHeiSvKrC 1Fvfsvrpth/InnupznvIADufpmfgKpiP8s7fafXYRP0+aGde4sLFFTt4FsOZcudYjyQH v2qH+9w2Ut73tOTcl6123V0S1t24Kz/YG2bBrvwgcBTqkVPupUqoUPUH/8Ft3a2CWVLn 22Og==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=fk8E3EXBmh0PrRTP1guv89OgV9Vaet7nKiwn7CEVi0A=; b=CTQN1c3T9dz28HhqlrQTSWGpDIYYQC3aJyyQkMA5tKsmL4eWaKe5QrRUf3Zt5Z/I9R QDYFdajHXfgK1+rjpm+2VqOkVsjzvFJHkrbNwc6FEpsamLbCnuLW16GjYBSSbvWGKC29 enfji37goG+D+5GDaTIRxAyShkSwcYLis0VoKZoLNizBK24RLxIh0iBFVFBvOhnjCvTx x1xqhBAWRrkNGfxLtSVcP0Rx5kyaLHXnoeDnoG80cjZLxzr6AHKnCzEV+LpNbOr+euF5 0S50vz056CdIQz67o1nHpUXjXv581VihcfqwRj7CtqxZPGoux7o1hJwhPP5FPTMe9Mni TemA==
X-Gm-Message-State: AD7BkJJLRhczZ/w0ipU9qs8J/HjeUMJpK/XrmHnhJYtSW/9DcMOy/8VGJ3qZv+OiBlH0/mdeeaMRZAO+tU7i+A==
X-Received: by 10.195.13.76 with SMTP id ew12mr23224205wjd.68.1459013195382; Sat, 26 Mar 2016 10:26:35 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Sat, 26 Mar 2016 10:25:55 -0700 (PDT)
In-Reply-To: <20160325211040.6F5EB406063@ip-64-139-1-69.sjc.megapath.net>
References: <20160325211040.6F5EB406063@ip-64-139-1-69.sjc.megapath.net>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Sat, 26 Mar 2016 13:25:55 -0400
X-Google-Sender-Auth: jx2sENAPGe6mSZeo4xjoBiKXsb4
Message-ID: <CAJHGrrRAAEaahT8aS49oE5BGAr4KSTUmJREsFGUbZN_nBKXhKQ@mail.gmail.com>
To: Hal Murray <hmurray@megapathdsl.net>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::232
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Sun, 27 Mar 2016 04:12:13 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============5096765448285330388=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============5096765448285330388==
Content-Type: multipart/alternative; boundary=047d7bd91b543bc45b052ef6fb0b

--047d7bd91b543bc45b052ef6fb0b
Content-Type: text/plain; charset=UTF-8

On Fri, Mar 25, 2016 at 5:10 PM, Hal Murray <hmurray@megapathdsl.net> wrote:

>
> goldbe@cs.bu.edu said:
> >> I'm not sure if it's intentional, but recent versions of ntpd now
> >> update the clock with the first (authenticated) sample. Older versions
> >> and other implementations may require more.
> > I think Danny Mayer told me that was a bug. But I don't know.
> > ntpd 4.2.6 needs several samples.
>
> It's a bug.
>
> Consider what happens if the first response is from a falseticker.  You
> also
> get a bogus answer if one side of the request/response encounters long
> network delays.
>
> Yes, sounds like a bug.

Sharon

--047d7bd91b543bc45b052ef6fb0b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On F=
ri, Mar 25, 2016 at 5:10 PM, Hal Murray <span dir=3D"ltr">&lt;<a href=3D"ma=
ilto:hmurray@megapathdsl.net" target=3D"_blank">hmurray@megapathdsl.net</a>=
&gt;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0=
 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D""><br>
<a href=3D"mailto:goldbe@cs.bu.edu">goldbe@cs.bu.edu</a> said:<br>
&gt;&gt; I&#39;m not sure if it&#39;s intentional, but recent versions of n=
tpd now<br>
&gt;&gt; update the clock with the first (authenticated) sample. Older vers=
ions<br>
&gt;&gt; and other implementations may require more.<br>
&gt; I think Danny Mayer told me that was a bug. But I don&#39;t know.<br>
&gt; ntpd 4.2.6 needs several samples.<br>
<br>
</span>It&#39;s a bug.<br>
<br>
Consider what happens if the first response is from a falseticker.=C2=A0 Yo=
u also<br>
get a bogus answer if one side of the request/response encounters long<br>
network delays.<br>
<span class=3D"im HOEnZb"><br></span></blockquote><div>Yes, sounds like a b=
ug.<br></div><div>=C2=A0<br></div><div>Sharon<span class=3D"im HOEnZb"></sp=
an><br clear=3D"all"></div></div><br></div></div>

--047d7bd91b543bc45b052ef6fb0b--

--===============5096765448285330388==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5096765448285330388==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Sat Mar 26 21:55:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0748F12D0DA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:55:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.919
X-Spam-Level:
X-Spam-Status: No, score=-6.919 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01] autolearn=ham autolearn_force=no
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 dNEPDDn-ErLC for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Sat, 26 Mar 2016 21:55:13 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 2909F12D0C9 for <ntp-archives-ahFae6za@lists.ietf.org>; Sat, 26 Mar 2016 21:55:13 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1EB6786DB2E for <ntp-archives-ahFae6za@lists.ietf.org>; Sun, 27 Mar 2016 04:55:13 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 467B886D48C for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 18:31:00 +0000 (UTC)
Received: from relay58.bu.edu ([128.197.228.18]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <aanchal4@bu.edu>) id 1ajsz6-000Iaz-JA for ntpwg@lists.ntp.org; Sat, 26 Mar 2016 18:31:00 +0000
X-Envelope-From: aanchal4@bu.edu
Received: from mail-qk0-f172.google.com (mail-qk0-f172.google.com [209.85.220.172]) by relay58.bu.edu (8.14.3/8.14.3) with ESMTP id u2QIUEko028158 for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 14:30:14 -0400
Received: by mail-qk0-f172.google.com with SMTP id s5so63658702qkd.0 for <ntpwg@lists.ntp.org>; Sat, 26 Mar 2016 11:30:14 -0700 (PDT)
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:from:date:message-id:subject:to; bh=LEc17ADXOLeyl+FEyiRT+sIxBoN8gcqlLnGE3JBjO0o=; b=Zknhx12D9da5MRXQ5L3VpsFOS6EAQBHDmdFya7zhJxvgU17JSQgvjK1x5zF0uOOJjH ATnRSMB3W7ocosTj+QJH+YAfcSHMoPR8blOgvAc+4JLFgUFwFVuXWT3lP2IOuwke2bhH GjdZLIrUzRONApr/tSnBTPwj84lw4Sn9mgYrNGSSYFgVdKAFkPZDEaP9NDGr0V1zuGLA oPAktlHx0hqwh3qYFf9Koj0aTDhl9b1KwP5KfB93z3OOr7Uw3x/vWoQdLWx1bGj78PqS Ye/3yPXJiakz9cCD23Z0oNeEyhGARgYzmp5ku4Gnf8vTRC/mTEQh9KZj7PBnNzVenVhh +0mQ==
X-Gm-Message-State: AD7BkJKuyezONeSwZu52xcPPX1F9X+8g84dcpO5Xeq2+3Ex/Kh5KOJ+AGuwfmrlOH9DwLHg1ekxgHzfQ4wrWMFjPoZ53wDjcmQGdjtwD1X1TZ0/981fDbBqeWM9hHKQ1ATpn9vvOdrXuf0QLiZRp4EMa
X-Received: by 10.55.71.135 with SMTP id u129mr25859555qka.26.1459017014061; Sat, 26 Mar 2016 11:30:14 -0700 (PDT)
X-Received: by 10.55.71.135 with SMTP id u129mr25859548qka.26.1459017013910; Sat, 26 Mar 2016 11:30:13 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.55.0.204 with HTTP; Sat, 26 Mar 2016 11:29:54 -0700 (PDT)
From: Aanchal Malhotra <aanchal4@bu.edu>
Date: Sat, 26 Mar 2016 14:29:54 -0400
Message-ID: <CAMbs7kvo80z0vVd5WvCkj876mEbUO8cu-Op6sYOGVxU9ykgFEg@mail.gmail.com>
To: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
X-SA-Exim-Connect-IP: 128.197.228.18
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: aanchal4@bu.edu
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Sun, 27 Mar 2016 04:11:57 +0000
Subject: [ntpwg] Cipher suites for NTS?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============4242745450042668845=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============4242745450042668845==
Content-Type: multipart/alternative; boundary=001a114a7d20d5f025052ef7de8b

--001a114a7d20d5f025052ef7de8b
Content-Type: text/plain; charset=UTF-8

Hey All,

>From implementation point of view AFAWK, [1], [2] does not explicitly
mention the  * cipher suites * to be used in NTS. [1] mentions the
following:

** *The server MUST NOT include HMAC with a SHA-1 or weaker algorithms*
** *The server MUST include HMAC with SHA-256 or stronger algorithms *

We believe that the NTS draft should be more specific/explicit about the
cipher suites that should be used. Both for authenticating timing requests
and for the KE.   This is a standard practice: TLS and DNSSEC both specify
their cipher suites in their drafts.  (For example,
TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256,
etc)

       It is not a good idea to leave this up to implementors, because it
leads to interoperability issues (like those that have plagued IPsec [3]).

For instance the language above says "SHA-256 OR stronger".  What if one
vendor decides to implement HMAC-SHA-256 and another HMAC-SHA3?  Both
implementations satisfy the spec but the implementations will not
interoperate.

Section 8.1 of the TLS1.3 draft gives a good example of how this could be
done [4].   All ciphersuites that MUST or SHOULD or MAY be used are
specified.

This is also a security issue. Various attacks on older versions of
protocols like TLS [5] resulted from the inclusion of weak crypto
primitives.  This has lead the community to drop several cipher suites in
TLS v 1.3 [6].

Since we are trying to build NTP security from scratch we should be wary
about what crypto we want to use!

Thanks,
Aanchal.

[1] http://www.ietf.org/id/draft-ietf-ntp-using-nts-for-ntp-05.txt
[2] https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-13
[3] http://dx.doi.org/10.1109/ICCOMM.2010.5509093
[4] https://tools.ietf.org/html/draft-ietf-tls-tls13-12#section-8
[4] https://cr.yp.to/talks/2015.10.05/slides-djb-20151005-a4.pdf
[5] https://www.ietf.org/mail-archive/web/tls/current/msg11621.html

--001a114a7d20d5f025052ef7de8b
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><span class=3D"im" style=3D"font-size:12.8px"><font color=
=3D"#000000">Hey All,<div><br></div><div>From implementation point of view =
AFAWK, [1], [2] does not explicitly mention the =C2=A0* cipher suites * to =
be used in NTS. [1] mentions the following:</div><div><i><br></i></div><div=
><i>*=C2=A0</i>The server MUST NOT include HMAC with a SHA-1 or weaker algo=
rithms*</div><div><i>*=C2=A0</i>The server MUST include HMAC with SHA-256 o=
r stronger algorithms *<i>=C2=A0</i></div><div><i><br></i></div></font></sp=
an><div style=3D"font-size:12.8px"><font color=3D"#000000">We believe that =
the NTS draft should be more specific/explicit about the cipher suites that=
 should be used. Both for authenticating timing requests and for the KE.=C2=
=A0=C2=A0 This is a standard practice: TLS and DNSSEC both specify their ci=
pher suites in their drafts.=C2=A0 (For example,=C2=A0</font><span style=3D=
"color:rgb(0,0,0);font-size:13.3333px">TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA=
256, etc)=C2=A0</span><pre class=3D"" style=3D"font-size:13.3333px;margin-t=
op:0px;margin-bottom:0px;color:rgb(0,0,0)">       </pre></div><div style=3D=
"font-size:12.8px"><font color=3D"#000000">It is not a good idea to leave t=
his up to implementors, because it leads to interoperability issues (like t=
hose that have plagued IPsec [3]).=C2=A0=C2=A0<br><br></font></div><div sty=
le=3D"font-size:12.8px"><font color=3D"#000000">For instance the language a=
bove says &quot;SHA-256 OR stronger&quot;.=C2=A0 What if one=C2=A0 vendor d=
ecides to implement HMAC-SHA-256 and another HMAC-SHA3?=C2=A0 Both implemen=
tations satisfy the spec but the implementations will not interoperate.=C2=
=A0=C2=A0=C2=A0<br><br></font></div><div style=3D"font-size:12.8px"><font c=
olor=3D"#000000">Section 8.1 of the TLS1.3 draft gives a good example of ho=
w this could be done [4]. =C2=A0 All ciphersuites that MUST or SHOULD or MA=
Y be used are specified.=C2=A0<br><br></font></div><div style=3D"font-size:=
12.8px"><font color=3D"#000000">This is also a security issue. Various atta=
cks on older versions of protocols like TLS [5] resulted from the inclusion=
 of weak crypto primitives.=C2=A0 This has lead the community to drop sever=
al cipher suites in TLS v 1.3 [6].=C2=A0=C2=A0=C2=A0<br><br></font></div><s=
pan class=3D"im" style=3D"font-size:12.8px"><font color=3D"#000000"><div>Si=
nce we are trying to build NTP security from scratch we should be wary abou=
t what crypto we want to use!<br><br></div><div>Thanks,</div><div>Aanchal.<=
/div><div><br></div><div>[1]=C2=A0<a href=3D"http://www.ietf.org/id/draft-i=
etf-ntp-using-nts-for-ntp-05.txt" target=3D"_blank">http://www.ietf.org/id/=
draft-ietf-ntp-using-nts-for-ntp-05.txt</a></div><div>[2]=C2=A0<a href=3D"h=
ttps://tools.ietf.org/html/draft-ietf-ntp-network-time-security-13" target=
=3D"_blank">https://tools.ietf.org/html/draft-ietf-ntp-network-time-securit=
y-13</a></div></font></span><div style=3D"font-size:12.8px"><font color=3D"=
#000000">[3]=C2=A0<a href=3D"http://dx.doi.org/10.1109/ICCOMM.2010.5509093"=
 target=3D"_blank">http://dx.doi.org/10.1109/ICCOMM.2010.5509093</a><br>[4]=
=C2=A0<a href=3D"https://tools.ietf.org/html/draft-ietf-tls-tls13-12#sectio=
n-8" target=3D"_blank">https://tools.ietf.org/html/draft-ietf-tls-tls13-12#=
section-8</a><br>[4]=C2=A0<a href=3D"https://cr.yp.to/talks/2015.10.05/slid=
es-djb-20151005-a4.pdf" target=3D"_blank">https://cr.yp.to/talks/2015.10.05=
/slides-djb-20151005-a4.pdf</a></font></div><div style=3D"font-size:12.8px"=
><font color=3D"#000000">[5]=C2=A0<a href=3D"https://www.ietf.org/mail-arch=
ive/web/tls/current/msg11621.html" target=3D"_blank">https://www.ietf.org/m=
ail-archive/web/tls/current/msg11621.html</a></font></div></div>

--001a114a7d20d5f025052ef7de8b--

--===============4242745450042668845==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============4242745450042668845==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 28 14:37:31 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4AC8712D13C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 14:37:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 Ekwhg1pE0-fN for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 14:37:29 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 586E112D0C1 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 14:37:29 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 31F3686DB0F for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 21:37:29 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 03C7A86D58E for <ntpwg@lists.ntp.org>; Mon, 28 Mar 2016 21:16:33 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1akeWT-0008xH-8G for ntpwg@lists.ntp.org; Mon, 28 Mar 2016 21:16:33 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 1B7F8B830 for <ntpwg@lists.ntp.org>; Mon, 28 Mar 2016 20:05:02 +0000 (UTC)
Received: from [10.2.64.150] (unknown [198.22.153.36]) by chessie.everett.org (Postfix) with ESMTPSA id 1D2CCB82C; Mon, 28 Mar 2016 20:05:00 +0000 (UTC)
From: Danny Mayer <mayer@ntp.org>
References: <CAMbs7kvo80z0vVd5WvCkj876mEbUO8cu-Op6sYOGVxU9ykgFEg@mail.gmail.com>
To: Aanchal Malhotra <aanchal4@bu.edu>, ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Message-ID: <56F98E6B.1000805@ntp.org>
Date: Mon, 28 Mar 2016 16:04:59 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <CAMbs7kvo80z0vVd5WvCkj876mEbUO8cu-Op6sYOGVxU9ykgFEg@mail.gmail.com>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Mon Mar 28 20:05:01 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56f98e6d829931675816141
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Cipher suites for NTS?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/26/2016 2:29 PM, Aanchal Malhotra wrote:
> Hey All,
> =

> From implementation point of view AFAWK, [1], [2] does not explicitly
> mention the =C2 * cipher suites * to be used in NTS. [1] mentions the
> following:
> /
> /
> /*=C2 /The server MUST NOT include HMAC with a SHA-1 or weaker algorithms*
> /*=C2 /The server MUST include HMAC with SHA-256 or stronger algorithms *=
/=C2 /
> /
> /
> We believe that the NTS draft should be more specific/explicit about the
> cipher suites that should be used. Both for authenticating timing
> requests and for the KE.=C2 =C2  This is a standard practice: TLS and DNS=
SEC
> both specify their cipher suites in their drafts.=C2  (For
> example,=C2 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, etc)=C2 =

> =

>        =

> =

> It is not a good idea to leave this up to implementors, because it leads
> to interoperability issues (like those that have plagued IPsec [3]).=C2 =
=C2 =

> =

> For instance the language above says "SHA-256 OR stronger".=C2  What if
> one=C2  vendor decides to implement HMAC-SHA-256 and another HMAC-SHA3?=
=C2 =

> Both implementations satisfy the spec but the implementations will not
> interoperate.=C2 =C2 =C2 =

> =

> Section 8.1 of the TLS1.3 draft gives a good example of how this could
> be done [4]. =C2  All ciphersuites that MUST or SHOULD or MAY be used are
> specified.=C2 =

> =

> This is also a security issue. Various attacks on older versions of
> protocols like TLS [5] resulted from the inclusion of weak crypto
> primitives.=C2  This has lead the community to drop several cipher suites
> in TLS v 1.3 [6].=C2 =C2 =C2 =

> =

> Since we are trying to build NTP security from scratch we should be wary
> about what crypto we want to use!
> =


We have to be careful here. I agree that at least some  cipher suites
should be specified as a minimal subset in the draft but we also need
flexibility as new ciphers come out and older ones are found to be
vunerable. Otherwise we will need to create new RFC's to update the RFC
for either of these scenarios. I'm sure that there are other
implementations that have run into this problem and we should see how
they handle it.

Danny

> Thanks,
> Aanchal.
> =

> [1]=C2 http://www.ietf.org/id/draft-ietf-ntp-using-nts-for-ntp-05.txt
> [2]=C2 https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-13
> [3]=C2 http://dx.doi.org/10.1109/ICCOMM.2010.5509093
> [4]=C2 https://tools.ietf.org/html/draft-ietf-tls-tls13-12#section-8
> [4]=C2 https://cr.yp.to/talks/2015.10.05/slides-djb-20151005-a4.pdf
> [5]=C2 https://www.ietf.org/mail-archive/web/tls/current/msg11621.html
> =

> =

> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> =



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 28 15:37:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 56A6C12D565 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 15:37:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 K8dIIkC_R8Ap for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 15:37:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 0F64D12D562 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 15:37:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BA88386DB1F for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 22:37:13 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 29D9686D48C for <ntpwg@lists.ntp.org>; Sun, 27 Mar 2016 08:39:27 +0000 (UTC)
Received: from smtp.checkpoint.com ([194.29.34.68]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <ynir@checkpoint.com>) id 1ak6E9-00056S-Qw for ntpwg@lists.ntp.org; Sun, 27 Mar 2016 08:39:27 +0000
x-m-msg: CPCHECK
Received: from IL-EX10.ad.checkpoint.com ([194.29.34.147]) by smtp.checkpoint.com (8.13.8/8.13.8) with ESMTP id u2R8d50j004116; Sun, 27 Mar 2016 11:39:05 +0300
Received: from DAG-EX10.ad.checkpoint.com ([169.254.3.137]) by IL-EX10.ad.checkpoint.com ([169.254.2.246]) with mapi id 14.03.0248.002; Sun, 27 Mar 2016 11:39:04 +0300
From: Yoav Nir <ynir@checkpoint.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>, "kristof.teichel@ptb.de" <kristof.teichel@ptb.de>
Thread-Topic: [TICTOC] WGLC on NTS: Why not run over IPsec?
Thread-Index: AQHRhh0M9Yww06J5gkqi671c584tzJ9s+H2g
Date: Sun, 27 Mar 2016 08:39:03 +0000
Message-ID: <4613980CFC78314ABFD7F85CC3027721018447013B@DAG-EX10.ad.checkpoint.com>
References: <CAJHGrrR=xrxQaXqLz9vzHN=w-i0ji_WCa-=FYLaYgZATZ-nXkg@mail.gmail.com>
In-Reply-To: <CAJHGrrR=xrxQaXqLz9vzHN=w-i0ji_WCa-=FYLaYgZATZ-nXkg@mail.gmail.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [194.29.34.193]
x-kse-antivirus-interceptor-info: scan successful
x-kse-antivirus-info: Clean
x-cpdlp: 119d2a52e474c0c6998d5d324e931fd76eb03a7015
MIME-Version: 1.0
X-SA-Exim-Connect-IP: 194.29.34.68
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: ynir@checkpoint.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Mon, 28 Mar 2016 21:40:47 +0000
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============5828614432823726512=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============5828614432823726512==
Content-Language: en-US
Content-Type: multipart/alternative;
	boundary="_000_4613980CFC78314ABFD7F85CC3027721018447013BDAGEX10adchec_"

--_000_4613980CFC78314ABFD7F85CC3027721018447013BDAGEX10adchec_
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64

SGkuIElQc2VjIGd1eSBoZXJlLg0KDQpJ4oCZbSBzb3JyeSBJIGhhdmVu4oCZdCBiZWVuIGZvbGxv
d2luZyB0aGlzIGRpc2N1c3Npb24sIHNvIEnigJltIG5vdCBzdXJlIHdoYXQgdGhlIHJlcXVpcmVt
ZW50cyBvZiBOVFMgYXJlLiAgV2hhdGV2ZXIgdGhleSBhcmUsIEnigJltIHByZXR0eSBzdXJlIHRo
YXQgQUggaXMgbm90IHRoZSBhbnN3ZXIsIGJlY2F1c2UgQUggaXMgYmVpbmcgZGVwcmVjYXRlZCBp
biBtYW55IHN0YWNrcyAod2XigJl2ZSBkb25lIGl0IGluIDIwMDMpLg0KDQpUaGVyZSBhcmUgbW9k
ZXMgb2YgSVBzZWMgdGhhdCBkbyBub3QgcmVxdWlyZSBwZXIgYXNzb2NpYXRpb24gc3RhdGUsIGJ1
dCB0aGF0IGRlcGVuZHMgb24gd2hhdCBraW5kIG9mIHRyYWZmaWMgeW91IGhhdmUgYW5kIG9uIHlv
dXIgdHJ1c3QgbW9kZWwgKHRoYXTigJlzIGxpa2Ug4oCcdGhyZWF0IG1vZGVs4oCdIG9ubHkgbG9v
a2luZyBvbiB0aGUgYnJpZ2h0IHNpZGUgb2YgbGlmZSkuIEZvciBleGFtcGxlLCB0aGVyZSBpcyBH
RE9JIHdoZXJlIGEgc2luZ2xlIGtleSBpcyB1c2VkIGZvciBhbGwgYXNzb2NpYXRpb25zLiBUaGF0
4oCZcyBmaW5lIGFzIGxvbmcgYXMgeW91IHRydXN0IHRoZSBncm91cCBtZW1iZXJzIHRvIG5vdCBp
bXBlcnNvbmF0ZSBlYWNoIG90aGVyLg0KDQpBcyBmb3IgdGhlIGNvbXBsZXhpdHkgb2YgSVBzZWMs
IHRoaXMgaXMgbGFyZ2VseSBhIG15dGguIElQc2VjIGlzIG5vIG1vcmUgb3IgbGVzcyBjb21wbGV4
IHRoZW4gdGhlIHJlY29yZCBsYXllciBvZiBUTFMvRFRMUy4gVGhlIElLRSBwcm90b2NvbCBoYXMg
bWFueSBtb3JlIGtub2JzIHRoYW4gU1NMdjMsIGJ1dCBieSB0aGUgY3VycmVudCB2ZXJzaW9uIG9m
IFRMUyAoVExTIDEuMikgdGhleeKAmXZlIGNhdWdodCB1cCB3aXRoIHRoZSBjb21wbGV4aXR5LCBv
ZmZlcmluZyBQRlMgYW5kIG5vbi1QRlMsIFBTS3MsIHBhc3N3b3JkcyBhbmQgd2hhdCBoYXZlIHlv
dS4gSXQgc2VlbXMgc2ltcGxlciBiZWNhdXNlIG1vc3Qgb2YgdXMgZ2V0IHRvIHNlZSBUTFMgZW5j
YXNlZCBpbiBhIGJyb3dzZXIsIHdoaWxlIGFuIElLRSBkYWVtb24gaXMgdXN1YWxseSBpbnN0YWxs
ZWQgc2VwYXJhdGVseSBhbmQgY29uZmlndXJlZCB0aHJvdWdoIGEgdGV4dCBmaWxlIG9yIGFyY2Fu
ZSBjb21tYW5kLWxpbmVzLiAgQWxsIGNvbnN1bWVyIG9wZXJhdGluZyBzeXN0ZW1zIHRoZXNlIGRh
eXMgaGF2ZSBJUHNlYyBjbGllbnRzIChlaXRoZXIgTDJUUCBvciBJS0V2MikgdGhhdCBhcmUgZXh0
cmVtZWx5IGVhc3kgdG8gY29uZmlndXJlLg0KDQpJZiB5b3XigJlyZSByZWFsbHkgaW50ZXJlc3Rl
ZCBpbiBwdXJzdWluZyB0aGlzLCBJIHN1Z2dlc3QgeW91IHN1bW1hcml6ZSB0aGUgcmVxdWlyZW1l
bnRzIGFuZCBzZW5kIGEgbWVzc2FnZSB0byB0aGUgaXBzZWMgbGlzdC4gTG90cyBvZiBJUHNlYyBw
ZW9wbGUgdGhlcmUsIGluY2x1ZGluZyB0aGUgYXV0aG9yIG9mIFsyXS4NCg0KWW9hdg0KDQpGcm9t
OiBUSUNUT0MgW21haWx0bzp0aWN0b2MtYm91bmNlc0BpZXRmLm9yZ10gT24gQmVoYWxmIE9mIFNo
YXJvbiBHb2xkYmVyZw0KU2VudDogRnJpZGF5LCBNYXJjaCAyNSwgMjAxNiAxMjozMiBBTQ0KVG86
IGtyaXN0b2YudGVpY2hlbEBwdGIuZGUNCkNjOiBOVFAgV29ya2luZyBHcm91cDsgdGljdG9jQGll
dGYub3JnDQpTdWJqZWN0OiBSZTogW1RJQ1RPQ10gV0dMQyBvbiBOVFM6IFdoeSBub3QgcnVuIG92
ZXIgSVBzZWM/DQoNClBQUzogT3V0IG9mIGN1cmlvc2l0eTogaXMgdGhlcmUgYSBtb2RlIGZvciBJ
UHNlYyB3aGljaCBkb2VzIHdoYXQgTlRTIGlzIHRyeWluZyB0byBhY2hpZXZlIChuYW1lbHkgcmVx
dWlyaW5nIG9uIHRoZSBzZXJ2ZXIgc2lkZSBuZWl0aGVyIGEgcGVyLWFzc29jaWF0aW9uIHN0YXRl
IG5vciBjbGFzc2ljIGFzeW1tZXRyaWMgY3J5cHRvZ3JhcGh5IGxpa2UgZGlnaXRhbCBzaWduYXR1
cmVzKT8gSWYgc28sIHNvbWUgdGV4dCBtaWdodCBiZSBpbiBvcmRlciBzb21ld2hlcmUgKE5UUCBC
Q1AgZG9jdW1lbnQ/KSwgc3RhdGluZyB0aGF0IGlmIElQc2VjIGlzIHVzZWQgZm9yIHNlY3VyaW5n
IE5UUCwgc2FpZCBtb2RlIHdvdWxkIGJlIHRoZSBiZXN0IG9uZSB0byB1c2UuDQoNClRoaXMgaXMg
YSByZWFsbHkgZ29vZCBxdWVzdGlvbiBhbmQgSSB0cmllZCBhbmQgZmFpbGVkIHRvIGFuc3dlciBp
dCBzbyBmYXIuIElQc2VjIGlzIGFtYXppbmdseSBjb21wbGV4IGFuZCBlYXN5IHRvIGNvbmZpZ3Vy
ZSB3cm9uZ2x5LiAgT25lIHRoaW5nIHRoYXQgSSBjYW4gdGVsbCBzbyBmYXIgaXMgdGhhdCB0cmFm
ZmljIHNob3VsZCBiZSBzZWN1cmVkIGluICJBSCBUcmFuc3BvcnQiIG1vZGUgYnV0IEkgY2Fubm90
IGZpZ3VyZSBvdXQgd2hhdCBJUHNlYyBLRSBpcyBhcHByb3ByaWF0ZS4gIEl0IGRvZXMgc2VlbSB0
aGF0IGJ5IGRlZmF1bHQgSVBzZWMgdXNlcyBtdXR1YWwgYXV0aGVudGljYXRpb24gb2YgY2xpZW50
IGFuZCBzZXJ2ZXIsICh3aGlsZSBOVFMgIk1VU1QiIGFjY29tbW9kYXRlIG9uZS1zaWRlZCBhdXRo
ZW50aWNhdGlvbikuICBJIHdvbmRlciBpZiBJUHNlYyBhbHNvIHN1cHBvcnRzIG9uZS1zaWRlZCBh
dXRoZW50aWNhdGlvbjsgYXQgdGhlIG1vbWVudCBJIGhhdmUgbm90IGZpZ3VyZWQgb3V0IGlmL2hv
dyB0aGlzIHdvcmtzLg0KDQpNYXliZSBpZiBmb2xrcyBmcm9tIHRoaXMgV0cgZ28gdG8gSUVURiAo
c2FkbHkgSSBhbSBub3QpIHNvbWVvbmUgY291bGQgYXNrIG9uZSBvZiB0aGUgSVBzZWMgZm9sa3Mg
Zm9yIGFkdmljZSBvbiB3aGF0IEtFIHRoZXkgc3VnZ2VzdD8NCg0KQW55d2F5IEkndmUgdGFsa2Vk
IHRvIHNldmVyYWwgZnJpZW5kcyB3aG8gYXJlIHdobyBkbyByZXNlYXJjaCBvbiBjcnlwdG8gZmxh
d3MgaW4gcHJhY3RpY2UsIGFuZCB0aGV5IHNheSB0aGUgY29tcGxleGl0eSBvZiBJUHNlYyBpcyBi
b3RoIGEgYmFycmllciB0byBpdHMgYWRvcHRpb24gYW5kIGFsc28gYSBzZWN1cml0eSByaXNrIFsx
XS4NCg0KU2lnaC4NCg0KU2hhcm9uDQoNClsxXSBodHRwOi8vd3d3LnNwaWVnZWwuZGUvbWVkaWEv
bWVkaWEtMzU1MjkucGRmDQpbMl0gaHR0cHM6Ly9ub2hhdHMuY2Evd29yZHByZXNzL2Jsb2cvMjAx
NC8xMi8yOS9kb250LXN0b3AtdXNpbmctaXBzZWMtanVzdC15ZXQvDQoNCg0KDQpFbWFpbCBzZWN1
cmVkIGJ5IENoZWNrIFBvaW50Lg0K

--_000_4613980CFC78314ABFD7F85CC3027721018447013BDAGEX10adchec_
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64

PGh0bWwgeG1sbnM6dj0idXJuOnNjaGVtYXMtbWljcm9zb2Z0LWNvbTp2bWwiIHhtbG5zOm89InVy
bjpzY2hlbWFzLW1pY3Jvc29mdC1jb206b2ZmaWNlOm9mZmljZSIgeG1sbnM6dz0idXJuOnNjaGVt
YXMtbWljcm9zb2Z0LWNvbTpvZmZpY2U6d29yZCIgeG1sbnM6bT0iaHR0cDovL3NjaGVtYXMubWlj
cm9zb2Z0LmNvbS9vZmZpY2UvMjAwNC8xMi9vbW1sIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcv
VFIvUkVDLWh0bWw0MCI+DQo8aGVhZD4NCjxtZXRhIGh0dHAtZXF1aXY9IkNvbnRlbnQtVHlwZSIg
Y29udGVudD0idGV4dC9odG1sOyBjaGFyc2V0PXV0Zi04Ij4NCjxtZXRhIG5hbWU9IkdlbmVyYXRv
ciIgY29udGVudD0iTWljcm9zb2Z0IFdvcmQgMTQgKGZpbHRlcmVkIG1lZGl1bSkiPg0KPHN0eWxl
PjwhLS0NCi8qIEZvbnQgRGVmaW5pdGlvbnMgKi8NCkBmb250LWZhY2UNCgl7Zm9udC1mYW1pbHk6
Q2FsaWJyaTsNCglwYW5vc2UtMToyIDE1IDUgMiAyIDIgNCAzIDIgNDt9DQpAZm9udC1mYWNlDQoJ
e2ZvbnQtZmFtaWx5OlRhaG9tYTsNCglwYW5vc2UtMToyIDExIDYgNCAzIDUgNCA0IDIgNDt9DQpA
Zm9udC1mYWNlDQoJe2ZvbnQtZmFtaWx5OlZlcmRhbmE7DQoJcGFub3NlLTE6MiAxMSA2IDQgMyA1
IDQgNCAyIDQ7fQ0KLyogU3R5bGUgRGVmaW5pdGlvbnMgKi8NCnAuTXNvTm9ybWFsLCBsaS5Nc29O
b3JtYWwsIGRpdi5Nc29Ob3JtYWwNCgl7bWFyZ2luOjBpbjsNCgltYXJnaW4tYm90dG9tOi4wMDAx
cHQ7DQoJZm9udC1zaXplOjEyLjBwdDsNCglmb250LWZhbWlseToiVGltZXMgTmV3IFJvbWFuIiwi
c2VyaWYiO30NCmE6bGluaywgc3Bhbi5Nc29IeXBlcmxpbmsNCgl7bXNvLXN0eWxlLXByaW9yaXR5
Ojk5Ow0KCWNvbG9yOmJsdWU7DQoJdGV4dC1kZWNvcmF0aW9uOnVuZGVybGluZTt9DQphOnZpc2l0
ZWQsIHNwYW4uTXNvSHlwZXJsaW5rRm9sbG93ZWQNCgl7bXNvLXN0eWxlLXByaW9yaXR5Ojk5Ow0K
CWNvbG9yOnB1cnBsZTsNCgl0ZXh0LWRlY29yYXRpb246dW5kZXJsaW5lO30NCnNwYW4uRW1haWxT
dHlsZTE3DQoJe21zby1zdHlsZS10eXBlOnBlcnNvbmFsLXJlcGx5Ow0KCWZvbnQtZmFtaWx5OiJD
YWxpYnJpIiwic2Fucy1zZXJpZiI7DQoJY29sb3I6IzFGNDk3RDt9DQouTXNvQ2hwRGVmYXVsdA0K
CXttc28tc3R5bGUtdHlwZTpleHBvcnQtb25seTsNCglmb250LWZhbWlseToiQ2FsaWJyaSIsInNh
bnMtc2VyaWYiO30NCkBwYWdlIFdvcmRTZWN0aW9uMQ0KCXtzaXplOjguNWluIDExLjBpbjsNCglt
YXJnaW46MS4waW4gMS4waW4gMS4waW4gMS4waW47fQ0KZGl2LldvcmRTZWN0aW9uMQ0KCXtwYWdl
OldvcmRTZWN0aW9uMTt9DQotLT48L3N0eWxlPjwhLS1baWYgZ3RlIG1zbyA5XT48eG1sPg0KPG86
c2hhcGVkZWZhdWx0cyB2OmV4dD0iZWRpdCIgc3BpZG1heD0iMTAyNiIgLz4NCjwveG1sPjwhW2Vu
ZGlmXS0tPjwhLS1baWYgZ3RlIG1zbyA5XT48eG1sPg0KPG86c2hhcGVsYXlvdXQgdjpleHQ9ImVk
aXQiPg0KPG86aWRtYXAgdjpleHQ9ImVkaXQiIGRhdGE9IjEiIC8+DQo8L286c2hhcGVsYXlvdXQ+
PC94bWw+PCFbZW5kaWZdLS0+DQo8L2hlYWQ+DQo8Ym9keSBsYW5nPSJFTi1VUyIgbGluaz0iYmx1
ZSIgdmxpbms9InB1cnBsZSI+DQo8ZGl2IGNsYXNzPSJXb3JkU2VjdGlvbjEiPg0KPHAgY2xhc3M9
Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1
b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPkhp
LiBJUHNlYyBndXkgaGVyZS48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9y
bWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxp
YnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+PG86cD4mbmJz
cDs8L286cD48L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZv
bnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5z
LXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5N0QiPknigJltIHNvcnJ5IEkgaGF2ZW7igJl0IGJlZW4g
Zm9sbG93aW5nIHRoaXMgZGlzY3Vzc2lvbiwgc28gSeKAmW0gbm90IHN1cmUgd2hhdCB0aGUgcmVx
dWlyZW1lbnRzIG9mIE5UUyBhcmUuJm5ic3A7IFdoYXRldmVyIHRoZXkgYXJlLCBJ4oCZbSBwcmV0
dHkgc3VyZSB0aGF0IEFIIGlzIG5vdCB0aGUNCiBhbnN3ZXIsIGJlY2F1c2UgQUggaXMgYmVpbmcg
ZGVwcmVjYXRlZCBpbiBtYW55IHN0YWNrcyAod2XigJl2ZSBkb25lIGl0IGluIDIwMDMpLjxvOnA+
PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250
LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1z
ZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8
cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZh
bWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFG
NDk3RCI+VGhlcmUgYXJlIG1vZGVzIG9mIElQc2VjIHRoYXQgZG8gbm90IHJlcXVpcmUgcGVyIGFz
c29jaWF0aW9uIHN0YXRlLCBidXQgdGhhdCBkZXBlbmRzIG9uIHdoYXQga2luZCBvZiB0cmFmZmlj
IHlvdSBoYXZlIGFuZCBvbiB5b3VyIHRydXN0IG1vZGVsICh0aGF04oCZcyBsaWtlIOKAnHRocmVh
dA0KIG1vZGVs4oCdIG9ubHkgbG9va2luZyBvbiB0aGUgYnJpZ2h0IHNpZGUgb2YgbGlmZSkuIEZv
ciBleGFtcGxlLCB0aGVyZSBpcyBHRE9JIHdoZXJlIGEgc2luZ2xlIGtleSBpcyB1c2VkIGZvciBh
bGwgYXNzb2NpYXRpb25zLiBUaGF04oCZcyBmaW5lIGFzIGxvbmcgYXMgeW91IHRydXN0IHRoZSBn
cm91cCBtZW1iZXJzIHRvIG5vdCBpbXBlcnNvbmF0ZSBlYWNoIG90aGVyLjxvOnA+PC9vOnA+PC9z
cGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTEu
MHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVvdDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90
Oztjb2xvcjojMUY0OTdEIj48bzpwPiZuYnNwOzwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0i
TXNvTm9ybWFsIj48c3BhbiBzdHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVv
dDtDYWxpYnJpJnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+QXMg
Zm9yIHRoZSBjb21wbGV4aXR5IG9mIElQc2VjLCB0aGlzIGlzIGxhcmdlbHkgYSBteXRoLiBJUHNl
YyBpcyBubyBtb3JlIG9yIGxlc3MgY29tcGxleCB0aGVuIHRoZSByZWNvcmQgbGF5ZXIgb2YgVExT
L0RUTFMuIFRoZSBJS0UgcHJvdG9jb2wgaGFzIG1hbnkgbW9yZSBrbm9icw0KIHRoYW4gU1NMdjMs
IGJ1dCBieSB0aGUgY3VycmVudCB2ZXJzaW9uIG9mIFRMUyAoVExTIDEuMikgdGhleeKAmXZlIGNh
dWdodCB1cCB3aXRoIHRoZSBjb21wbGV4aXR5LCBvZmZlcmluZyBQRlMgYW5kIG5vbi1QRlMsIFBT
S3MsIHBhc3N3b3JkcyBhbmQgd2hhdCBoYXZlIHlvdS4gSXQgc2VlbXMgc2ltcGxlciBiZWNhdXNl
IG1vc3Qgb2YgdXMgZ2V0IHRvIHNlZSBUTFMgZW5jYXNlZCBpbiBhIGJyb3dzZXIsIHdoaWxlIGFu
IElLRSBkYWVtb24gaXMgdXN1YWxseQ0KIGluc3RhbGxlZCBzZXBhcmF0ZWx5IGFuZCBjb25maWd1
cmVkIHRocm91Z2ggYSB0ZXh0IGZpbGUgb3IgYXJjYW5lIGNvbW1hbmQtbGluZXMuJm5ic3A7IEFs
bCBjb25zdW1lciBvcGVyYXRpbmcgc3lzdGVtcyB0aGVzZSBkYXlzIGhhdmUgSVBzZWMgY2xpZW50
cyAoZWl0aGVyIEwyVFAgb3IgSUtFdjIpIHRoYXQgYXJlIGV4dHJlbWVseSBlYXN5IHRvIGNvbmZp
Z3VyZS48bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBz
dHlsZT0iZm9udC1zaXplOjExLjBwdDtmb250LWZhbWlseTomcXVvdDtDYWxpYnJpJnF1b3Q7LCZx
dW90O3NhbnMtc2VyaWYmcXVvdDs7Y29sb3I6IzFGNDk3RCI+PG86cD4mbmJzcDs8L286cD48L3Nw
YW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4w
cHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7
O2NvbG9yOiMxRjQ5N0QiPklmIHlvdeKAmXJlIHJlYWxseSBpbnRlcmVzdGVkIGluIHB1cnN1aW5n
IHRoaXMsIEkgc3VnZ2VzdCB5b3Ugc3VtbWFyaXplIHRoZSByZXF1aXJlbWVudHMgYW5kIHNlbmQg
YSBtZXNzYWdlIHRvIHRoZSBpcHNlYyBsaXN0LiBMb3RzIG9mIElQc2VjIHBlb3BsZSB0aGVyZSwg
aW5jbHVkaW5nDQogdGhlIGF1dGhvciBvZiBbMl0uPG86cD48L286cD48L3NwYW4+PC9wPg0KPHAg
Y2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMS4wcHQ7Zm9udC1mYW1p
bHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7O2NvbG9yOiMxRjQ5
N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxz
cGFuIHN0eWxlPSJmb250LXNpemU6MTEuMHB0O2ZvbnQtZmFtaWx5OiZxdW90O0NhbGlicmkmcXVv
dDssJnF1b3Q7c2Fucy1zZXJpZiZxdW90Oztjb2xvcjojMUY0OTdEIj5Zb2F2PG86cD48L286cD48
L3NwYW4+PC9wPg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZTox
MS4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7Q2FsaWJyaSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1
b3Q7O2NvbG9yOiMxRjQ5N0QiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwvcD4NCjxwIGNsYXNz
PSJNc29Ob3JtYWwiPjxiPjxzcGFuIHN0eWxlPSJmb250LXNpemU6MTAuMHB0O2ZvbnQtZmFtaWx5
OiZxdW90O1RhaG9tYSZxdW90OywmcXVvdDtzYW5zLXNlcmlmJnF1b3Q7Ij5Gcm9tOjwvc3Bhbj48
L2I+PHNwYW4gc3R5bGU9ImZvbnQtc2l6ZToxMC4wcHQ7Zm9udC1mYW1pbHk6JnF1b3Q7VGFob21h
JnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDsiPiBUSUNUT0MgW21haWx0bzp0aWN0b2MtYm91
bmNlc0BpZXRmLm9yZ10NCjxiPk9uIEJlaGFsZiBPZiA8L2I+U2hhcm9uIEdvbGRiZXJnPGJyPg0K
PGI+U2VudDo8L2I+IEZyaWRheSwgTWFyY2ggMjUsIDIwMTYgMTI6MzIgQU08YnI+DQo8Yj5Ubzo8
L2I+IGtyaXN0b2YudGVpY2hlbEBwdGIuZGU8YnI+DQo8Yj5DYzo8L2I+IE5UUCBXb3JraW5nIEdy
b3VwOyB0aWN0b2NAaWV0Zi5vcmc8YnI+DQo8Yj5TdWJqZWN0OjwvYj4gUmU6IFtUSUNUT0NdIFdH
TEMgb24gTlRTOiBXaHkgbm90IHJ1biBvdmVyIElQc2VjPzxvOnA+PC9vOnA+PC9zcGFuPjwvcD4N
CjxwIGNsYXNzPSJNc29Ob3JtYWwiPjxvOnA+Jm5ic3A7PC9vOnA+PC9wPg0KPGRpdj4NCjxkaXY+
DQo8ZGl2Pg0KPGJsb2NrcXVvdGUgc3R5bGU9ImJvcmRlcjpub25lO2JvcmRlci1sZWZ0OnNvbGlk
ICNDQ0NDQ0MgMS4wcHQ7cGFkZGluZzowaW4gMGluIDBpbiA2LjBwdDttYXJnaW4tbGVmdDo0Ljhw
dDttYXJnaW4tcmlnaHQ6MGluIj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48c3BhbiBz
dHlsZT0iZm9udC1zaXplOjEwLjBwdDtmb250LWZhbWlseTomcXVvdDtWZXJkYW5hJnF1b3Q7LCZx
dW90O3NhbnMtc2VyaWYmcXVvdDsiPlBQUzogT3V0IG9mIGN1cmlvc2l0eTogaXMgdGhlcmUgYSBt
b2RlIGZvciBJUHNlYyB3aGljaCBkb2VzIHdoYXQgTlRTIGlzIHRyeWluZyB0byBhY2hpZXZlIChu
YW1lbHkgcmVxdWlyaW5nIG9uIHRoZSBzZXJ2ZXIgc2lkZSBuZWl0aGVyIGEgcGVyLWFzc29jaWF0
aW9uIHN0YXRlIG5vciBjbGFzc2ljDQogYXN5bW1ldHJpYyBjcnlwdG9ncmFwaHkgbGlrZSBkaWdp
dGFsIHNpZ25hdHVyZXMpPyBJZiBzbywgc29tZSB0ZXh0IG1pZ2h0IGJlIGluIG9yZGVyIHNvbWV3
aGVyZSAoTlRQIEJDUCBkb2N1bWVudD8pLCBzdGF0aW5nIHRoYXQgaWYgSVBzZWMgaXMgdXNlZCBm
b3Igc2VjdXJpbmcgTlRQLCBzYWlkIG1vZGUgd291bGQgYmUgdGhlIGJlc3Qgb25lIHRvIHVzZS48
bzpwPjwvbzpwPjwvc3Bhbj48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFs
Ij48c3BhbiBzdHlsZT0iZm9udC1zaXplOjEwLjBwdDtmb250LWZhbWlseTomcXVvdDtWZXJkYW5h
JnF1b3Q7LCZxdW90O3NhbnMtc2VyaWYmcXVvdDsiPjxvOnA+Jm5ic3A7PC9vOnA+PC9zcGFuPjwv
cD4NCjwvZGl2Pg0KPC9ibG9ja3F1b3RlPg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPlRo
aXMgaXMgYSByZWFsbHkgZ29vZCBxdWVzdGlvbiBhbmQgSSB0cmllZCBhbmQgZmFpbGVkIHRvIGFu
c3dlciBpdCBzbyBmYXIuIElQc2VjIGlzIGFtYXppbmdseSBjb21wbGV4IGFuZCBlYXN5IHRvIGNv
bmZpZ3VyZSB3cm9uZ2x5LiZuYnNwOyBPbmUgdGhpbmcgdGhhdCBJIGNhbiB0ZWxsIHNvIGZhciBp
cyB0aGF0IHRyYWZmaWMgc2hvdWxkIGJlIHNlY3VyZWQgaW4gJnF1b3Q7QUggVHJhbnNwb3J0JnF1
b3Q7IG1vZGUgYnV0IEkgY2Fubm90DQogZmlndXJlIG91dCB3aGF0IElQc2VjIEtFIGlzIGFwcHJv
cHJpYXRlLiZuYnNwOyBJdCBkb2VzIHNlZW0gdGhhdCBieSBkZWZhdWx0IElQc2VjIHVzZXMgbXV0
dWFsIGF1dGhlbnRpY2F0aW9uIG9mIGNsaWVudCBhbmQgc2VydmVyLCAod2hpbGUgTlRTICZxdW90
O01VU1QmcXVvdDsgYWNjb21tb2RhdGUgb25lLXNpZGVkIGF1dGhlbnRpY2F0aW9uKS4mbmJzcDsg
SSB3b25kZXIgaWYgSVBzZWMgYWxzbyBzdXBwb3J0cyBvbmUtc2lkZWQgYXV0aGVudGljYXRpb247
IGF0IHRoZSBtb21lbnQNCiBJIGhhdmUgbm90IGZpZ3VyZWQgb3V0IGlmL2hvdyB0aGlzIHdvcmtz
LjxvOnA+PC9vOnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86
cD4mbmJzcDs8L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5N
YXliZSBpZiBmb2xrcyBmcm9tIHRoaXMgV0cgZ28gdG8gSUVURiAoc2FkbHkgSSBhbSBub3QpIHNv
bWVvbmUgY291bGQgYXNrIG9uZSBvZiB0aGUgSVBzZWMgZm9sa3MgZm9yIGFkdmljZSBvbiB3aGF0
IEtFIHRoZXkgc3VnZ2VzdD8gJm5ic3A7PG86cD48L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8
cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwvcD4NCjwvZGl2Pg0KPGRpdj4N
CjxwIGNsYXNzPSJNc29Ob3JtYWwiPkFueXdheSBJJ3ZlIHRhbGtlZCB0byBzZXZlcmFsIGZyaWVu
ZHMgd2hvIGFyZSB3aG8gZG8gcmVzZWFyY2ggb24gY3J5cHRvIGZsYXdzIGluIHByYWN0aWNlLCBh
bmQgdGhleSBzYXkgdGhlIGNvbXBsZXhpdHkgb2YgSVBzZWMgaXMgYm90aCBhIGJhcnJpZXIgdG8g
aXRzIGFkb3B0aW9uIGFuZCBhbHNvIGEgc2VjdXJpdHkgcmlzayBbMV0uPG86cD48L286cD48L3A+
DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj4mbmJzcDs8bzpwPjwvbzpwPjwv
cD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPlNpZ2guPG86cD48L286cD48
L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpw
PjwvcD4NCjwvZGl2Pg0KPGRpdj4NCjxwIGNsYXNzPSJNc29Ob3JtYWwiPlNoYXJvbjxvOnA+PC9v
OnA+PC9wPg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+PG86cD4mbmJzcDs8
L286cD48L3A+DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj5bMV0mbmJzcDs8
YSBocmVmPSJodHRwOi8vd3d3LnNwaWVnZWwuZGUvbWVkaWEvbWVkaWEtMzU1MjkucGRmIj5odHRw
Oi8vd3d3LnNwaWVnZWwuZGUvbWVkaWEvbWVkaWEtMzU1MjkucGRmPC9hPjxvOnA+PC9vOnA+PC9w
Pg0KPC9kaXY+DQo8ZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCI+WzJdJm5ic3A7PGEgaHJlZj0i
aHR0cHM6Ly9ub2hhdHMuY2Evd29yZHByZXNzL2Jsb2cvMjAxNC8xMi8yOS9kb250LXN0b3AtdXNp
bmctaXBzZWMtanVzdC15ZXQvIj5odHRwczovL25vaGF0cy5jYS93b3JkcHJlc3MvYmxvZy8yMDE0
LzEyLzI5L2RvbnQtc3RvcC11c2luZy1pcHNlYy1qdXN0LXlldC88L2E+PG86cD48L286cD48L3A+
DQo8L2Rpdj4NCjxkaXY+DQo8cCBjbGFzcz0iTXNvTm9ybWFsIj48bzpwPiZuYnNwOzwvbzpwPjwv
cD4NCjwvZGl2Pg0KPC9kaXY+DQo8L2Rpdj4NCjwvZGl2Pg0KPHAgY2xhc3M9Ik1zb05vcm1hbCIg
c3R5bGU9Im1hcmdpbi1ib3R0b206MTIuMHB0Ij48YnI+DQo8YnI+DQpFbWFpbCBzZWN1cmVkIGJ5
IENoZWNrIFBvaW50LiA8bzpwPjwvbzpwPjwvcD4NCjwvZGl2Pg0KPC9ib2R5Pg0KPC9odG1sPg0K

--_000_4613980CFC78314ABFD7F85CC3027721018447013BDAGEX10adchec_--

--===============5828614432823726512==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============5828614432823726512==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 28 15:46:04 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7B67C12D14A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 15:46:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 InFyB7tski-z for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 15:46:03 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 1074A12D579 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 15:37:26 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0898386DB3D for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 22:37:26 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BEC9B86D4A6 for <ntpwg@lists.ntp.org>; Mon, 28 Mar 2016 21:46:36 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@pdmconsulting.net>) id 1akezV-0009MG-SL for ntpwg@lists.ntp.org; Mon, 28 Mar 2016 21:46:36 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id B951CB82B for <ntpwg@lists.ntp.org>; Mon, 28 Mar 2016 16:23:52 +0000 (UTC)
Received: from [10.2.184.134] (unknown [198.22.153.130]) by chessie.everett.org (Postfix) with ESMTPSA id BACBEB80E; Mon, 28 Mar 2016 16:23:50 +0000 (UTC)
References: <CAMbs7kvo80z0vVd5WvCkj876mEbUO8cu-Op6sYOGVxU9ykgFEg@mail.gmail.com>
To: Aanchal Malhotra <aanchal4@bu.edu>, ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
From: Danny Mayer <mayer@pdmconsulting.net>
Message-ID: <56F95A95.3000105@pdmconsulting.net>
Date: Mon, 28 Mar 2016 12:23:49 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <CAMbs7kvo80z0vVd5WvCkj876mEbUO8cu-Op6sYOGVxU9ykgFEg@mail.gmail.com>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Mon Mar 28 16:23:52 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56f95a98829931290011415
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@pdmconsulting.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Cipher suites for NTS?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@pdmconsulting.net
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/26/2016 2:29 PM, Aanchal Malhotra wrote:
> Hey All,
> =

> From implementation point of view AFAWK, [1], [2] does not explicitly
> mention the =C2 * cipher suites * to be used in NTS. [1] mentions the
> following:
> /
> /
> /*=C2 /The server MUST NOT include HMAC with a SHA-1 or weaker algorithms*
> /*=C2 /The server MUST include HMAC with SHA-256 or stronger algorithms *=
/=C2 /
> /
> /
> We believe that the NTS draft should be more specific/explicit about the
> cipher suites that should be used. Both for authenticating timing
> requests and for the KE.=C2 =C2  This is a standard practice: TLS and DNS=
SEC
> both specify their cipher suites in their drafts.=C2  (For
> example,=C2 TLS_ECDHE_ECDSA_WITH_AES_128_GCM_SHA256, etc)=C2 =

> =

>        =

> =

> It is not a good idea to leave this up to implementors, because it leads
> to interoperability issues (like those that have plagued IPsec [3]).=C2 =
=C2 =

> =

> For instance the language above says "SHA-256 OR stronger".=C2  What if
> one=C2  vendor decides to implement HMAC-SHA-256 and another HMAC-SHA3?=
=C2 =

> Both implementations satisfy the spec but the implementations will not
> interoperate.=C2 =C2 =C2 =

> =

> Section 8.1 of the TLS1.3 draft gives a good example of how this could
> be done [4]. =C2  All ciphersuites that MUST or SHOULD or MAY be used are
> specified.=C2 =

> =

> This is also a security issue. Various attacks on older versions of
> protocols like TLS [5] resulted from the inclusion of weak crypto
> primitives.=C2  This has lead the community to drop several cipher suites
> in TLS v 1.3 [6].=C2 =C2 =C2 =

> =

> Since we are trying to build NTP security from scratch we should be wary
> about what crypto we want to use!
> =


We have to be careful here. I agree that at least some  cipher suites
should be specified as a minimal subset in the draft but we also need
flexibility as new ciphers come out and older ones are found to be
vunerable. Otherwise we will need to create new RFC's to update the RFC
for either of these scenarios. I'm sure that there are other
implementations that have run into this problem and we should see how
they handle it.

Danny

> Thanks,
> Aanchal.
> =

> [1]=C2 http://www.ietf.org/id/draft-ietf-ntp-using-nts-for-ntp-05.txt
> [2]=C2 https://tools.ietf.org/html/draft-ietf-ntp-network-time-security-13
> [3]=C2 http://dx.doi.org/10.1109/ICCOMM.2010.5509093
> [4]=C2 https://tools.ietf.org/html/draft-ietf-tls-tls13-12#section-8
> [4]=C2 https://cr.yp.to/talks/2015.10.05/slides-djb-20151005-a4.pdf
> [5]=C2 https://www.ietf.org/mail-archive/web/tls/current/msg11621.html
> =

> =

> _______________________________________________
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg
> =



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Mon Mar 28 22:38:56 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 14B8912D1B1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 22:38:56 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 IkXKlOiGT55h for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Mon, 28 Mar 2016 22:38:54 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C9B5312D0C0 for <ntp-archives-ahFae6za@lists.ietf.org>; Mon, 28 Mar 2016 22:38:54 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B71CD86DAD1 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 05:38:54 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C53F086DAA9 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 04:55:15 +0000 (UTC)
Received: from mail158c25.carrierzone.com ([64.29.147.228] helo=mail223c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1aklgE-000Hgk-Rc; Tue, 29 Mar 2016 04:55:14 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail223c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2T4swOS028337; Tue, 29 Mar 2016 04:54:59 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id F12DD406063;  Mon, 28 Mar 2016 21:54:57 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Danny Mayer <mayer@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Danny Mayer <mayer@ntp.org> of "Mon, 28 Mar 2016 16:04:59 EDT." <56F98E6B.1000805@ntp.org>
Mime-Version: 1.0
Date: Mon, 28 Mar 2016 21:54:57 -0700
Message-Id: <20160329045457.F12DD406063@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=YdmEuWhf c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=6FpmVylZZ9z4qwCcpYEA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010203.56FA0AA4.0045, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.228
X-SA-Exim-Rcpt-To: mayer@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] Cipher suites for NTS?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

mayer@ntp.org said:
> We have to be careful here. I agree that at least some  cipher suites should
> be specified as a minimal subset in the draft but we also need flexibility
> as new ciphers come out and older ones are found to be vunerable. Otherwise
> we will need to create new RFC's to update the RFC for either of these
> scenarios. I'm sure that there are other implementations that have run into
> this problem and we should see how they handle it. 

Is there any group in the IETF keeping track of which cyphers are good/weak?

It would be nice if there were something like the assigned numbers role, but 
this is more complicated that just assigning and keeping track of what has 
been assigned.

-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 03:37:25 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 395C812D658 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 03:37:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 FIC-DrgqBvWT for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 03:37:22 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 6CBA112D662 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 03:37:21 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6344B86DB2D for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 10:37:21 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id AA1D686DAA9 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 09:53:19 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1akqKj-000LYG-F9 for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 09:53:19 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 279273B758; Tue, 29 Mar 2016 09:53:06 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2T9r5lR019310; Tue, 29 Mar 2016 05:53:05 -0400
Date: Tue, 29 Mar 2016 11:53:04 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Dieter Sibold <dieter.sibold@ptb.de>
Message-ID: <20160329095304.GB20902@localhost>
References: <3171CCA5-C6DA-477F-9010-66F5EB178FDA@ptb.de> <20160323063539.GA1531@localhost> <E80963D9-E924-4060-8C03-B5EF12E75280@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E80963D9-E924-4060-8C03-B5EF12E75280@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] New draft document for NTS and NTS for NTP
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: base64
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

T24gV2VkLCBNYXIgMjMsIDIwMTYgYXQgMDk6MTk6NDRQTSArMDEwMCwgRGlldGVyIFNpYm9sZCB3
cm90ZToKPiBJ4oCZdmUgZGlzY3Vzc2VkIHRoaXMgdG9kYXkgd2l0aCBLcmlzdG9mIGFuZCB3ZSBh
Z3JlZWQgdGhhdCB0aGlzIGlzIGEgZ29vZCBpZGVhLiBJIGp1c3Qgc3R1ZGllZCBhIGVzdGltYXRl
IG9mIHRoZSBzaXplIG9mIHRoZSByZWxldmFudCBOVFMgZXh0ZW5zaW9uIGZpZWxkcy4gVGhlIHRp
bWVfcmVxdWVzdCBleHRlbnNpb24gZmllbGQgaXMgc3VwcG9zZWQgdG8gaGF2ZSBhbiBhcHByb3hp
bWF0ZWQgc2l6ZSBvZiA4MCBvY3RldHMgd2hlcmVhcyB0aGUgdGltZV9yZXNwb25zZSBleHRlbnNp
b24gZmllbGRzIGhhcyBhIHNpemUgYXJvdW5kIDMwIG9jdGV0cy4gU28sIGJvdGggIGV4dGVuc2lv
biBmaWVsZHMgaGF2ZSB0byBiZSBsYXJnZXIgdGhhbiBpdHMgcG9zc2libHkgbWluaW11bSBzaXpl
IG9mIDE2IG9jdGV0cy4gVG8gaGF2ZSBib3RoIGV4dGVuc2lvbiBmaWVsZHMgdGhlIHNhbWUgc2l6
ZSB3ZSBjdXJyZW50bHkgc2VlIHR3byBhcHByb2FjaGVzCj4gCj4gMS4gVGhlIHNlcnZlciBjYXB0
dXJlcyB0aGUgc2l6ZSBvZiB0aGUgdGltZV9yZXF1ZXN0IGV4dGVuc2lvbiBmaWVsZCBhbmQgemVy
by1wYWRzIHRoZSB0aW1lX3Jlc3BvbnNlIGV4dGVuc2lvbiBmaWVsZCB0byBoYXZlIHRoZSBzYW1l
IHNpemUuCj4gMi4gVGhlIHNlcnZlciBpbmNsdWRlcyBpbiB0aGUgdGltZV9yZXNwb25zZSBleHRl
bnNpb24gZmllbGQgdGhlIHNhbWUgaW5mb3JtYXRpb24gYXMgaW4gdGhlIHRpbWVfcmVxdWVzdCBl
eHRlbnNpb24gZmllbGQuIFRoYXQgc2hvdWxkIGFjaGlldmUgdGhlIGdvYWwgYWxzby4KPiAKPiBJ
4oCZbSB5ZXQgbm90IHN1cmUgd2hhdCBpcyB0aGUgYmVzdCBtZXRob2QuIEkgdGVuZCB0byBwcmVm
ZXIgdGhlIGZpcnN0IGFwcHJvYWNoLgoKSSdkIHByb2JhYmx5IHByZWZlciB0aGUgZm9ybWVyIHRv
by4KCkknbSB3b25kZXJpbmcgaWYgaXQgd291bGQgbWFrZSBzZW5zZSB0byBkZWZpbmUgYSBuZXcg
InBhZGRpbmctb25seSIKZXh0ZW5zaW9uIGZpZWxkIGFuZCBwYWQgcmVwbGllcyB3aXRoIGl0IGlu
c3RlYWQgb2YgcmVxdWlyaW5nIHRoZSBOVFMKYW5kIG90aGVyIGV4dGVuc2lvbiBmaWVsZHMgaW4g
cGFja2V0cyB1c2VkIGZvciBzeW5jaHJvbml6YXRpb24gdG8gaGF2ZQpzeW1tZXRyaWMgbGVuZ3Ro
cy4gSXQgY291bGQgYmUgYWxzbyB1c2VkIHdoZW4gYSByZXBseSBoYXMgYSBkaWZmZXJlbnQKbnVt
YmVyIG9mIGV4dGVuc2lvbiBmaWVsZHMgdGhhbiB0aGUgcmVxdWVzdC4gSSdtIG5vdCBzdXJlIGlm
IHRoYXQgaXMKZXhwZWN0ZWQgdG8gaGFwcGVuLiBUaGlzIHdvdWxkIHdvcmsgb25seSBpZiB0aGUg
cmVxdWlyZWQgcGFkZGluZyB3YXMKbm90IHNtYWxsZXIgdGhhbiB0aGUgbWluaW11bSBhbGxvd2Vk
IGxlbmd0aCBvZiBhbiBleHRlbnNpb24gZmllbGQuCgotLSAKTWlyb3NsYXYgTGljaHZhcgpfX19f
X19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fX19fXwpudHB3ZyBtYWlsaW5n
IGxpc3QKbnRwd2dAbGlzdHMubnRwLm9yZwpodHRwOi8vbGlzdHMubnRwLm9yZy9saXN0aW5mby9u
dHB3Zw==

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 04:07:49 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 08EE212D67C for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 04:07:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 kwN5lP0A178A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 04:07:47 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 853E012D0F3 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 04:07:47 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4008A86DB0A for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 11:07:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BBA1386DAD9 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 10:16:06 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1akqgm-0000lG-Lw for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 10:16:06 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 434C81E21; Tue, 29 Mar 2016 10:15:56 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2TAFsPI005126; Tue, 29 Mar 2016 06:15:55 -0400
Date: Tue, 29 Mar 2016 12:15:54 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160329101554.GA30541@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 24, 2016 at 04:05:56PM -0400, Sharon Goldberg wrote:
> On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar <mlichvar@redhat.com>
> wrote:
> > There is no limit on the duration. The client may be polling the
> > server just couple times a day.
> 
> Sorry, I'm confused.  The NTS key exchange is a 6-message exchange that
> should happen "atomically" (ie. the server gets the clients KE msg,
> processes it, and immediately sends its own message. & vice versa: the
> client gets the servers KE msg, processes it, and immediately sends its own
> message. )

As I understand it, NTS doesn't change anything in the NTP polling
process. It should be similar to Autokey. Clients poll the server as
they would normally without any authentication and NTS extension
fields are added to the packets depending on what state the NTS
association is currently in. Only when the NTS association is
initialized, the received packets are used for synchronization.

If the clients sent a new request immediately, that would create a
rapid burst and the server might drop the packets due to rate
limiting. If the server didn't respond, the client would have to use a
timeout for a new request with some exponential backoff. To me it
seems easier to rely the normal NTP polling process, which was
designed to not overload the server.

>From the server point of view, I think there should be no change in
the observed packet rate (after IP defragmentation) when clients
enable NTS.

> If we are discussing state that only lives for the *duration of the KE* why
> does it matter how often the client polls the server?

If I understand how NTS will be implemented correctly, the duration of
the KE is proportional to the polling interval.

> Let's not forget the key exchange will
> > happen not only when the client is started, but also when the server
> > refreshes its seed. We certainly don't want clients to drop to their
> > minimum polling intervals or start a burst when that happens.
> >
> That's interesting point, but could you clarify why that would happen? Why
> would clients react in this way?

They might want to reinitialize the NTS association as quickly as
possible and this would increase the request rate observed on the
server. I suspect the expensive crypto operations will be a problem on
busy servers even if the request rate doesn't change and the servers
will probably need to use multiple seeds for groups of clients split
by their IP address and refresh the seeds sequentially in order to
spread the extra CPU load.

> > I'm not sure if it's intentional, but recent versions of ntpd now
> > update the clock with the first (authenticated) sample. Older versions
> > and other implementations may require more.
> >
> >
> I think Danny Mayer told me that was a bug. But I don't know. ntpd 4.2.6
> needs several samples.

Yes, from the commit message it does look like an unintentional
change.

> > If the client is
> > allowed to increase its polling rate, I think it would be more useful
> > to do that with the NTS association rather than adding an extra
> > association, so the client would get the first authenticated sample
> > sooner.
> >
> 
> I'm sorry I don't understand this last point, can you clarify?

If we compare clients that send the same number of packets in the same
interval, the client that puts all packets in the association using
NTS will have the first authenticated sample sooner than a client that
has a parallel association with the server. Here is an illustration:

packet #        client 1                client 2

1               client_access           client_access
2               client_assoc            non-NTS
3               client_cook             client_assoc
4               time_request            non-NTS
5               time_request            client_cook
6               time_request            non-NTS
7               time_request            time_request

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 05:07:40 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EC11412D73D for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 05:07:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 ceNrDLT37PSV for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 05:07:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5D9B612D745 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 05:07:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4DD0286DB0D for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 12:07:28 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 695FB86D756 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 11:11:31 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1akrYQ-0001ZI-9w for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 11:11:31 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id D678F64443; Tue, 29 Mar 2016 11:11:21 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2TBBKCA005149; Tue, 29 Mar 2016 07:11:21 -0400
Date: Tue, 29 Mar 2016 13:11:20 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160329111120.GC20902@localhost>
References: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 29 Mar 2016 11:11:21 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: KE over NTP packets or special packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 24, 2016 at 06:15:46PM -0400, Sharon Goldberg wrote:
> >
> > The main reasoning here was, I believe, that an inherent solution would be
> > easier to tailor to a time synchronization protocol's special needs,
> > particularly for the additional delays caused by the cryptographic
> > operations on time-sensitive packets to be small (and ideally
> > symmetrical).
> >
> 
> OK, that's interesting.
> Can you please elaborate on the symmetrical requirement?
> And, following some comments of Miroslav I also wonder the following:
> 
> 1) Will NTS's KE messages be piggybacked on NTP's normal packets with the
> usual T1, T2, T3, T4 timestamps?

Yes (if I understand the current drafts correctly).

> 2) If yes, then during the KE, will the client actually uses these
> timestamps to set its clock or inform any of NTP's clock discipline
> algorithms?

Not unless there is some way to authenticate timestamps from the earlier
packets.

> 3) If yes, then I guess you will want to be very careful about the delay
> introduced by the public key crypto operations in the KE. How will you deal
> with that, in light of the fact that eg. RSA signing is 10x slower than RSA
> verification, and RSA encryption is 10x faster than RSA decryption?
> 
> Does this even matter?  Maybe it depends on what "symmetrical" means?

The speed of the RSA operations shouldn't matter as far as the
accuracy of the synchronization is concerned. What matters is the
delay between an NTP server or client capturing the TX timestamp and
the other side capturing the RX timestamp. Asymmetries in that delay
add an error to the measured offset.

The delay includes the calculation of the MAC, the actual transmission
and the network delay. It's a function of the packet length, so there
is a tendency to keep the packets symmetric and short. The delay due
to the MAC calculation can be estimated and compensated (at least one
NTP implementation tries to do that), but the other parts of the delay
I suspect would be very difficult or impossible to estimate.

Wrapping NTP packets in some other protocol like IPsec would create an
additional delay. If it was symmetric or it could be estimated
reliably, perhaps it wouldn't be a problem for accuracy. However, the
size of the state the server would have to keep per client would limit
the maximum number of clients.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 05:08:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 595CD12D740 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 05:08:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 2vG8JSKMNSfv for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 05:07:59 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id BBDC112D73D for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 05:07:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id ACF7086DB81 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 12:07:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 414B586D756 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 11:36:14 +0000 (UTC)
Received: from mail234c25.carrierzone.com ([64.29.147.248] helo=mail222c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1akrwJ-0001wN-Lm for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 11:36:14 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail222c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2TBa0MB008433 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 11:36:01 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id BDCF3406074;  Tue, 29 Mar 2016 04:35:59 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Miroslav Lichvar <mlichvar@redhat.com>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Miroslav Lichvar <mlichvar@redhat.com> of "Tue, 29 Mar 2016 12:15:54 +0200." <20160329101554.GA30541@localhost>
Mime-Version: 1.0
Date: Tue, 29 Mar 2016 04:35:59 -0700
Message-Id: <20160329113559.BDCF3406074@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=S+zgnucP c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=20KFwNOVAAAA:8 a=nvJtGQww3aNJOBoj-K0A:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56FA68A1.00C1, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.248
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

mlichvar@redhat.com said:
> If I understand how NTS will be implemented correctly, the duration of the
> KE is proportional to the polling interval. 

It probably needs to be smarter than that.  If not, rekeying will take a long 
time after the polling interval has ramped up.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 07:07:04 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0DA3312D833 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 07:07:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 sLh79GvCXpkc for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 07:07:02 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id EDFE112D169 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 07:07:01 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A496E86DB05 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 14:07:01 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id DA0FC86D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 13:26:19 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1akter-0003Tx-IC for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 13:26:19 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 977086445D; Tue, 29 Mar 2016 13:26:08 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2TDQ7JX010627; Tue, 29 Mar 2016 09:26:08 -0400
Date: Tue, 29 Mar 2016 15:26:06 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Hal Murray <hmurray@megapathdsl.net>
Message-ID: <20160329132606.GD20902@localhost>
References: <mlichvar@redhat.com> <20160329101554.GA30541@localhost> <20160329113559.BDCF3406074@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <20160329113559.BDCF3406074@ip-64-139-1-69.sjc.megapath.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Tue, 29 Mar 2016 13:26:08 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Tue, Mar 29, 2016 at 04:35:59AM -0700, Hal Murray wrote:
> mlichvar@redhat.com said:
> > If I understand how NTS will be implemented correctly, the duration of the
> > KE is proportional to the polling interval. 
> 
> It probably needs to be smarter than that.  If not, rekeying will take a long 
> time after the polling interval has ramped up.

If the client is using a long polling interval, why would long NTS
reinitialization be a problem?

A missed NTP packet or client dropping a bad sample is a common
occurence. For instance, the clock filter in ntpd can drop up to 7
consecutive samples. A couple of samples dropped due to invalid
authentication after the server refreshes its seed shouldn't be a big
deal.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 08:38:18 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A7D5912D920 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 08:38:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 o6ulAfBnE5O2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 08:38:17 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 22B4A12D949 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 08:37:38 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1B68386DB17 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 15:37:38 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 07A9F86D58E for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 14:52:01 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1akuzn-0004e2-Il for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 14:52:00 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 3174B474; Tue, 29 Mar 2016 14:51:50 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2TEpmld027121; Tue, 29 Mar 2016 10:51:49 -0400
Date: Tue, 29 Mar 2016 16:51:48 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160329145148.GG20902@localhost>
References: <mlichvar@redhat.com> <20160329101554.GA30541@localhost> <20160329113559.BDCF3406074@ip-64-139-1-69.sjc.megapath.net> <20160329132606.GD20902@localhost> <CAJHGrrRN=jtY_mvqnFQNsrWjXTYS3qPZOt10fCtTtsHBMwHc5g@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrRN=jtY_mvqnFQNsrWjXTYS3qPZOt10fCtTtsHBMwHc5g@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, Hal Murray <hmurray@megapathdsl.net>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Tue, Mar 29, 2016 at 10:22:56AM -0400, Sharon Goldberg wrote:
> On Tue, Mar 29, 2016 at 9:26 AM, Miroslav Lichvar <mlichvar@redhat.com>
> wrote:
> > A missed NTP packet or client dropping a bad sample is a common
> > occurence. For instance, the clock filter in ntpd can drop up to 7
> > consecutive samples. A couple of samples dropped due to invalid
> > authentication after the server refreshes its seed shouldn't be a big
> > deal.
> >
> 
> What if an NTS KE message is lost?  How will NTS recover and will it need

A missed reply doesn't change the client's NTS state. On next poll, it
will send a new request with the same NTS message as before, just
nonce will be different.

> to wait an entire poll interval to do that?

Yes and that interval needs to be slowly increasing up to the maximum,
as NTP and other network protocols normally do when packets are
getting lost. If the server was operating at its maximum capacity and
a significant number of its clients shortened their interval after
missed reply, I think it would basically be a DoS attack.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 09:19:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECCC112DA77 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 09:19:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 Y_WYCCTDFR9e for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 09:19:02 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 054C012DABF for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 09:14:41 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C936D86DB10 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 16:14:40 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id AE22686D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 15:27:06 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1akvXk-00053A-Hv for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 15:27:06 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id C83BA7108C; Tue, 29 Mar 2016 15:26:55 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2TFQsQC030095; Tue, 29 Mar 2016 11:26:55 -0400
Date: Tue, 29 Mar 2016 17:26:54 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160329152654.GH20902@localhost>
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.38]); Tue, 29 Mar 2016 15:26:55 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Tue, Mar 29, 2016 at 10:44:23AM -0400, Sharon Goldberg wrote:
> On Tue, Mar 29, 2016 at 6:15 AM, Miroslav Lichvar <mlichvar@redhat.com>
> wrote:
> > From the server point of view, I think there should be no change in
> > the observed packet rate (after IP defragmentation) when clients
> > enable NTS.
> >
> > This worries me.

(Sharon, the last sentence is not from my mail, it seems your client
breaks quoting sometimes).

> Note that NTS uses certificates to authenticate the KE.  Generally, a
> certificate chain cannot fit into a single IP packet.

Yes, there was a discussion about that on the ntpwg list recently and
currently NTS relies on IP fragmentation even with the standard
ethernet MTU of 1500. I agree it could be a problem. It seems IPv6
doesn't even require hosts to defragment packets larger than 1500
octets.

Adding fragmentation to the NTP protocol seems like a horrible idea.

Would it be safe to assume an NTP+NTS packet can always contain a
single certificate without requiring fragmentation with MTU of 1500?
Perhaps the server_cook message could be split into multiple messages.
With the client_cook message I suspect it would be much more
difficult.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 10:18:27 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 897FA12D821 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 10:18:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 E-seoMIn_A1t for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 10:18:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5814C12D8B0 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 10:06:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3585086DAAD for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 17:06:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id A5E6F86D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 16:27:06 +0000 (UTC)
Received: from chessie.everett.org ([2001:470:1:205::234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1akwTm-0005sx-AU for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 16:27:06 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 64FDEB80E for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 16:26:53 +0000 (UTC)
Received: from [10.2.64.150] (unknown [198.22.153.36]) by chessie.everett.org (Postfix) with ESMTPSA id 8AEC4B82A; Tue, 29 Mar 2016 16:26:52 +0000 (UTC)
References: <3171CCA5-C6DA-477F-9010-66F5EB178FDA@ptb.de> <20160323063539.GA1531@localhost> <E80963D9-E924-4060-8C03-B5EF12E75280@ptb.de> <20160329095304.GB20902@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>, Dieter Sibold <dieter.sibold@ptb.de>
From: Danny Mayer <mayer@ntp.org>
Message-ID: <56FAACCB.2060902@ntp.org>
Date: Tue, 29 Mar 2016 12:26:51 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <20160329095304.GB20902@localhost>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Tue Mar 29 16:26:53 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56faaccd829931560755483
X-SA-Exim-Connect-IP: 2001:470:1:205::234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] New draft document for NTS and NTS for NTP
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/29/2016 5:53 AM, Miroslav Lichvar wrote:
> On Wed, Mar 23, 2016 at 09:19:44PM +0100, Dieter Sibold wrote:
>> I=E2=80=99ve discussed this today with Kristof and we agreed that this i=
s a good idea. I just studied a estimate of the size of the relevant NTS ex=
tension fields. The time_request extension field is supposed to have an app=
roximated size of 80 octets whereas the time_response extension fields has =
a size around 30 octets. So, both  extension fields have to be larger than =
its possibly minimum size of 16 octets. To have both extension fields the s=
ame size we currently see two approaches
>>
>> 1. The server captures the size of the time_request extension field and =
zero-pads the time_response extension field to have the same size.
>> 2. The server includes in the time_response extension field the same inf=
ormation as in the time_request extension field. That should achieve the go=
al also.
>>
>> I=E2=80=99m yet not sure what is the best method. I tend to prefer the f=
irst approach.
> =

> I'd probably prefer the former too.
> =

> I'm wondering if it would make sense to define a new "padding-only"
> extension field and pad replies with it instead of requiring the NTS
> and other extension fields in packets used for synchronization to have
> symmetric lengths. It could be also used when a reply has a different
> number of extension fields than the request. I'm not sure if that is
> expected to happen. This would work only if the required padding was
> not smaller than the minimum allowed length of an extension field.
> =


The response extension fields should never expect to be the same number
or type as the request extension fields irrespective of the contents of
those extension fields. Part of the reason may be that the responding
server may not be aware of some of the extension fields in the request
and the other may be that the server shouldn't be sending back that
extension field even if it does understand it.

Danny



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 10:41:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0821612D9DD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 10:41:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 SeH3HgYqcHeH for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 10:41:06 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id BB76212DDE7 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 10:23:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B05D386DB1F for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 17:23:14 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 7ADEC86D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 16:59:42 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1akwzM-0006Qm-Ha for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 16:59:42 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2TGxRK5022471-u2TGxRK7022471 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Mar 2016 18:59:27 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 7B89DC30DC; Tue, 29 Mar 2016 18:59:27 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <CAJHGrrROOUpXkU6oVMgK8uUqs-jPeW=Ja4FowW7n=P9c4Fy3Tw@mail.gmail.com>
Date: Tue, 29 Mar 2016 18:59:26 +0200
Message-Id: <49F183DE-C27D-4406-B78A-BD2A21C3EEF8@ptb.de>
References: <CAJHGrrROOUpXkU6oVMgK8uUqs-jPeW=Ja4FowW7n=P9c4Fy3Tw@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
X-TNEFEvaluated: 1
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS: bootstrapping clients [was WGLC on NTS: Round trips for key exchange]
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>
Content-Type: multipart/mixed; boundary="===============0623990212031953863=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0623990212031953863==
Content-Type: multipart/alternative; boundary="Apple-Mail=_F2257367-5764-40A6-B7D1-49B0A2131334"


--Apple-Mail=_F2257367-5764-40A6-B7D1-49B0A2131334
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=utf-8


> Am 25.03.2016 um 17:51 schrieb Sharon Goldberg <goldbe@cs.bu.edu>:
>=20
> On Thu, Mar 24, 2016 at 5:02 AM, Dieter Sibold <dieter.sibold@ptb.de =
<mailto:dieter.sibold@ptb.de>> wrote:
>> Am 23.03.2016 um 23:17 schrieb Sharon Goldberg <goldbe@cs.bu.edu =
<mailto:goldbe@cs.bu.edu>>:
>=20
>> Suppose an unauthenticated timing exchange happens and convince the =
client to update its clock before KE completes. Then,
>> man-in-the-middle can trick the client into updating its clock to a
>> bogus time in the past. Then, the attackers inject old compromised
>> certificates into the KE exchange. (That is, a revoked/expired
>> certificate for which the attacker has learned the secret key
>> corresponding to the public key in the certificate.) The client is
>> in the past, so it accepts the old bogus certificates, and the
>> attacker has defeated any protection provided by NTS. (This is very
>> related to the attack by Selvi in [5] and what we wrote about
>> attacking SSL certificates in Section III of our paper [6]. See
>> also [7].)
>>=20
>> We believe the NTS KE can be modified to authenticate timing
>> messages sent in parallel with the KE. Note that this must be done
>> *without* requiring these initial timing messages to be MAC'd,
>> since before the KE completes, the client and server will not have
>> a shared symmetric key.
>>=20
>> We believe that the NTS KE can be modified to include this feature.
>> See *. Is this of interest?
>>=20
>=20
> But is this not a fundamental problem? Even if an implementation =
supports an additional KE.  As long as the KE is based on certificates =
and the verification of the certificate=E2=80=99s validity is based upon =
time stamps a client which starts  NTS  and has no notion about the =
current time is a priori vulnerable to attacks described in [5].=20
>=20
> No, the attack described above will work *even if the victim client =
starts up with an accurate time*.=20
>=20
> Say my victim machine starts up knowing that it is the year 2016.  Now =
the attacker modifies the timestamps on the unauthenticated timing =
messages that are sent before the KE completes to the year 2014.  The =
client now updates it clock to the year 2014.  Then during the key =
exchange the attacker uses certificates from 2014 which were compromised =
by the attacker by exploiting the heartblead bug.  Profit.=20

This is true. And this is what I meant.=20

>=20
> Notice that this attack works even on a client that is "bootstrapped", =
ie has a clock that is approximately accurate upon startup. =20

This is also true, of course. But a a bootstrapped client can mitigate =
this attack by just not using the unauthenticated timing messages for =
time synchronization.=20

>=20
> Protecting a "non-bootstrapped" client from such an attack will be =
more difficult.
>=20
> But at the very least NTS should protect "bootstrapped" clients.

This lead to the question how a client will verify that it is a =
=E2=80=9Ebootstrapped=E2=80=9C client.

>=20
> Along similar lines, I think it would be valuable for NTS to give some =
advice on how to ensure most clients are bootstrapped most of the time.
>=20
> Here is one idea. Each time the client updates its local clock, it =
also writes the time to a file. This file persists even after the client =
shuts down. Thus, when the client restarts and receives certificates as =
part of the key exchange, the client will check this file and make sure =
that the certificate is not expiring a time earlier than the last time =
written to this file. This will stop attacks that try to roll the client =
to a time BEFORE the last time it last synced, like the one described =
above.

This is true but leaves open the question how the client will check this =
file on its very first bootstrapping process. Also, this will not work =
for clients with memory based file system. Even some manufactures of NTP =
server appliances would probably lose such info during a reboot of the =
system. Sure, also for such systems appropriate means are feasible to =
make such a attack more difficult.=20

However, from our point of view this is not a question of the =
specification but of the implementation. Form the specification point of =
view the situation is clear. The KE is piggybacked on NTP packets and =
the NTP header information including the four timestamps t1 - t4 are not =
protected by a MAC. The subsequent time_request and time_response =
messages are authenticated. The timestamps from the KE exchanges may or =
may not be applied for the calculation of the time offset. =46rom our =
point of view this is not to be specified or decided by NTS.

We believe that a good implementation will leave the decision of how =
these timestamps will be used to the user (probably by default it should =
not consider them). But I can also imagine business cases in which an =
user will evaluate the risk of this attack and based on the evaluation's =
result will decide to accept the remaining risk and use these timestamps =
in order to have faster time synchronization.

Dieter

>=20
> Sharon
>=20


--Apple-Mail=_F2257367-5764-40A6-B7D1-49B0A2131334
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=utf-8

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dutf-8"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 25.03.2016 um 17:51 schrieb Sharon Goldberg &lt;<a =
href=3D"mailto:goldbe@cs.bu.edu" =
class=3D"">goldbe@cs.bu.edu</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">On Thu, Mar 24, 2016 at 5:02 AM, Dieter Sibold <span =
dir=3D"ltr" class=3D"">&lt;<a href=3D"mailto:dieter.sibold@ptb.de" =
target=3D"_blank" class=3D"">dieter.sibold@ptb.de</a>&gt;</span> =
wrote:<span class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 23.03.2016 um 23:17 schrieb Sharon Goldberg &lt;<a =
href=3D"mailto:goldbe@cs.bu.edu" target=3D"_blank" =
class=3D"">goldbe@cs.bu.edu</a>&gt;:</div></blockquote></span><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px 0.8ex;border-left:1px =
solid rgb(204,204,204);padding-left:1ex"><div class=3D""><div =
class=3D""><div style=3D"word-wrap:break-word" class=3D""><div =
class=3D""><div class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D"">Suppose an unauthenticated timing =
exchange happens and convince the client to update its clock before KE =
completes. Then,<br class=3D"">man-in-the-middle can trick the client =
into updating its clock to a<br class=3D"">bogus time in the past. Then, =
the attackers inject old compromised<br class=3D"">certificates into the =
KE exchange. (That is, a revoked/expired<br class=3D"">certificate for =
which the attacker has learned the secret key<br class=3D"">corresponding =
to the public key in the certificate.) The client is<br class=3D"">in =
the past, so it accepts the old bogus certificates, and the<br =
class=3D"">attacker has defeated any protection provided by NTS. (This =
is very<br class=3D"">related to the attack by Selvi in [5] and what we =
wrote about<br class=3D"">attacking SSL certificates in Section III of =
our paper [6]. See<br class=3D"">also [7].)<br class=3D""><br =
class=3D"">We believe the NTS KE can be modified to authenticate =
timing<br class=3D"">messages sent in parallel with the KE. Note that =
this must be done<br class=3D"">*without* requiring these initial timing =
messages to be MAC'd,<br class=3D"">since before the KE completes, the =
client and server will not have<br class=3D"">a shared symmetric key.<br =
class=3D""><br class=3D"">We believe that the NTS KE can be modified to =
include this feature.<br class=3D"">See *. Is this of interest?<br =
class=3D""><br class=3D""></div></div></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">But is this not a fundamental problem? =
Even if an implementation supports an additional KE.&nbsp; As long as =
the KE is based on certificates and the verification of the =
certificate=E2=80=99s validity is based upon time stamps a client which =
starts &nbsp;NTS &nbsp;and has no notion about the current time is a =
priori vulnerable to attacks described in [5].&nbsp;</div><br =
class=3D""></div></div></div></div></div></blockquote><div class=3D"">No, =
the attack described above will work *even if the victim client starts =
up with an accurate time*. <br class=3D""><br class=3D"">Say my victim =
machine starts up knowing that it is the year 2016.&nbsp; Now the =
attacker modifies the timestamps on the unauthenticated timing messages =
that are sent before the KE completes to the year 2014.&nbsp; The client =
now updates it clock to the year 2014.&nbsp; Then during the key =
exchange the attacker uses certificates from 2014 which were compromised =
by the attacker by exploiting the heartblead bug.&nbsp; Profit. <br =
class=3D""></div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>This is true. And this is what I =
meant.&nbsp;</div><div><br class=3D""></div><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><div class=3D""><br =
class=3D""></div><div class=3D"">Notice that this attack works even on a =
client that is "bootstrapped", ie has a clock that is approximately =
accurate upon startup.&nbsp; <br =
class=3D""></div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>This is also true, of course. But a a bootstrapped =
client can mitigate this attack by just not using the unauthenticated =
timing messages for time synchronization.&nbsp;</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div class=3D""><br class=3D"">Protecting a =
"non-bootstrapped" client from such an attack will be more difficult.<br =
class=3D""><br class=3D""></div><div class=3D"">But at the very least =
NTS should protect "bootstrapped" clients.<br =
class=3D""></div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>This lead to the question how a client will verify =
that it is a =E2=80=9Ebootstrapped=E2=80=9C client.</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div class=3D""><br class=3D""></div><div =
class=3D"">Along similar lines, I think it would be valuable for NTS to =
give some advice on how to ensure most clients are bootstrapped most of =
the time.<br class=3D""></div></div><br class=3D"">Here is one idea. =
Each time the client updates its local clock, it also writes the time to =
a file. This file persists even after the client shuts down. Thus, when =
the client restarts and receives certificates as part of the key =
exchange, the client will check this file and make sure that the =
certificate is not expiring a time earlier than the last time written to =
this file. This will stop attacks that try to roll the client to a time =
BEFORE the last time it last synced, like the one described above.<br =
class=3D""></div></div></div></blockquote><div><br =
class=3D""></div><div>This is true but leaves open the question how the =
client will check this file on its very first bootstrapping process. =
Also, this will not work for clients with memory based file system. Even =
some manufactures of NTP server appliances would probably lose such info =
during a reboot of the system. Sure, also for such systems appropriate =
means are feasible to make such a attack more =
difficult.&nbsp;</div><div><br class=3D""></div><div>However, from our =
point of view this is not a question of the specification but of the =
implementation. Form the specification point of view the situation is =
clear. The KE is piggybacked on NTP packets and the NTP header =
information including the four timestamps t1 - t4 are not protected by a =
MAC. The subsequent time_request and time_response messages are =
authenticated. The timestamps from the KE exchanges may or may not be =
applied for the calculation of the time offset. =46rom our point of view =
this is not to be specified or decided by NTS.</div><div><br =
class=3D""></div><div>We believe that a good implementation will leave =
the decision of how these timestamps will be used to the user (probably =
by default it should not consider them). But I can also imagine business =
cases in which an user will evaluate the risk of this attack and based =
on the evaluation's result will decide to accept the remaining risk and =
use these timestamps in order to have faster time =
synchronization.</div><div><br class=3D""></div><div>Dieter</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><div =
dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><br =
class=3D""></div><div class=3D"gmail_extra">Sharon<br =
class=3D""></div><div class=3D"gmail_extra"><br class=3D""></div></div>
</div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_F2257367-5764-40A6-B7D1-49B0A2131334--

--===============0623990212031953863==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0623990212031953863==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 11:24:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 92F3812DEFA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 11:24:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 PVgtF86bxnB9 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 11:24:32 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 06B4B12DCA8 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 10:51:52 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id EE51086DAAD for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 17:51:51 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1A33386D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 17:11:19 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1akxAd-0006a5-4w for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 17:11:19 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2THB3uv023240-u2THB3ux023240 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 29 Mar 2016 19:11:03 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id BFAB6C30DF; Tue, 29 Mar 2016 19:11:03 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Pgp-Agent: GPGMail 2.6b2
From: Dieter Sibold <dieter.sibold@ptb.de>
In-Reply-To: <CAJHGrrTGbLwWjWEoAnJvC6c4pFOWoN5A96TGDKG_RLZcL97PcA@mail.gmail.com>
Date: Tue, 29 Mar 2016 19:10:53 +0200
Message-Id: <749C9B3C-C1BE-4FE4-A6A1-D8BD3C311357@ptb.de>
References: <OF66B2919C.9ABE1AFA-ONC1257F80.00515670-C1257F80.00520BB9@ptb.de> <CAJHGrrTGbLwWjWEoAnJvC6c4pFOWoN5A96TGDKG_RLZcL97PcA@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] NTS evaluation other than KE protocol?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============9178047597086229782=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============9178047597086229782==
Content-Type: multipart/signed; boundary="Apple-Mail=_8621A30A-F80F-44F3-9EA9-7DC861AA9AD5"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_8621A30A-F80F-44F3-9EA9-7DC861AA9AD5
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_D83A8C2D-74C0-4CAA-A703-7C44B215D9FA"


--Apple-Mail=_D83A8C2D-74C0-4CAA-A703-7C44B215D9FA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=us-ascii


> Am 24.03.2016 um 22:48 schrieb Sharon Goldberg <goldbe@cs.bu.edu>:
>=20
> Hi Kristof,
>=20
> Thanks for your mail.
>=20
> I wanted to ask whether you and your team already had a chance to look =
at the parts of the NTS specification other than the KE protocol.
>=20
> No, not yet.
>=20
> Specifically:
> - We have specified requirements for the cookie exchange (for which =
our proposed KE protocol is but one way to solve them). Do you think =
that if the requirements are met, the rest of NTS' unicast part is =
solid?
>=20
> We can try to look at that in the next short while.
That would be great. Thanks.

>=20
> - Also, have you had a chance to look at the broadcast part of the =
specification?
>=20
> Actually we are very interested in broadcast, we even had a few =
related recent CVEs.  Here is our work describing these CVEs and some =
suggestions, I hope you will have some time to read it:
>=20
> http://www.cs.bu.edu/~goldbe/papers/NTPbroadcast.html =
<http://www.cs.bu.edu/~goldbe/papers/NTPbroadcast.html>
>=20
> One specific suggestion we had was that NTS NOT demobilize ephemeral =
associations based on crypto errors.  Please read the paper to see why =
this creates a DoS vulnerability.
>=20
> But beyond this, broadcast crypto for NTP is super complex problem.  =
We have not had time to review this part of the draft, but hope to do so =
in the future.
>=20
> Doing this properly, however, will take some time, and we wanted to =
focus on the KE for now.  Note that by "properly" I mean with formal =
proof of security.
>=20
> So, one thing we think is needed, and could do, is a formal proof of =
security for NTS's KE. Using for instance the Canetti Krawcyzk model =
[1]. We would not feel comfortable claiming that we had reviewed the KE =
protocol (or the broadcast protocol) until we had done such a proof.  =
See [2] [3] for examples of what I mean.

Please not that Kristof did an formal analysis of the NTS unicast mode. =
You will find it in [1]. I will send you the paper offline.
[1]	K. Teichel, D. Sibold, and S. Milius, "First Results of a Formal =
Analysis of the Network Time Security Specification," presented at the =
Security Standardisation Research:  Second International Conference, SSR =
2015, Tokyo, Japan, 2015.

>=20
> But, before we started on this proof, which would take some time, we =
wanted to understand all the requirements. Hence all the questions. =
Thanks for answering them!
>=20
> Sharon
>=20
> [1] http://link.springer.com/chapter/10.1007/3-540-44987-6_28#page-1 =
<http://link.springer.com/chapter/10.1007/3-540-44987-6_28#page-1>
> [2] https://eprint.iacr.org/2015/914.pdf =
<https://eprint.iacr.org/2015/914.pdf>
> [3] http://eprint.iacr.org/2015/978.pdf =
<http://eprint.iacr.org/2015/978.pdf>
>=20
>=20
>=20
> --
> Sharon Goldberg
> Computer Science, Boston University
> http://www.cs.bu.edu/~goldbe =
<http://www.cs.bu.edu/~goldbe>____________________________________________=
___
> ntpwg mailing list
> ntpwg@lists.ntp.org
> http://lists.ntp.org/listinfo/ntpwg


--Apple-Mail=_D83A8C2D-74C0-4CAA-A703-7C44B215D9FA
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=us-ascii

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Dus-ascii"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 24.03.2016 um 22:48 schrieb Sharon Goldberg &lt;<a =
href=3D"mailto:goldbe@cs.bu.edu" =
class=3D"">goldbe@cs.bu.edu</a>&gt;:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><div dir=3D"ltr" =
class=3D"">Hi Kristof,<div class=3D""><br class=3D""></div><div =
class=3D"">Thanks for your mail.&nbsp;</div><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><br class=3D""><font size=3D"2" =
face=3D"sans-serif" class=3D"">I wanted to ask whether you and your
team already had a chance to look at the parts of the NTS specification
other than the KE protocol.</font>
<br class=3D""><font size=3D"2" face=3D"sans-serif" =
class=3D""></font></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">No, not yet.</div><div class=3D"">&nbsp;</div><blockquote =
class=3D"gmail_quote" style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><font size=3D"2" face=3D"sans-serif" =
class=3D"">Specifically: </font>
<br class=3D""><font size=3D"2" face=3D"sans-serif" class=3D"">- We have =
specified requirements for
the cookie exchange (for which our proposed KE protocol is but one way
to solve them). Do you think that if the requirements are =
met,&nbsp;</font><font size=3D"2" face=3D"sans-serif" class=3D"">the =
rest
of NTS' unicast part is solid?</font></blockquote><div class=3D""><br =
class=3D""></div><div class=3D"">We can try to look at that in the next =
short while.&nbsp;</div></div></div></div></div></blockquote><div>That =
would be great. Thanks.</div><br class=3D""><blockquote type=3D"cite" =
class=3D""><div class=3D""><div dir=3D"ltr" class=3D""><div =
class=3D"gmail_extra"><div class=3D"gmail_quote"><div =
class=3D"">&nbsp;</div><blockquote class=3D"gmail_quote" =
style=3D"margin:0px 0px 0px =
0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left=
-style:solid;padding-left:1ex"><font size=3D"2" face=3D"sans-serif" =
class=3D"">- Also, have you had a chance to look
at the broadcast part of the specification?</font>
<br class=3D""></blockquote><div class=3D""><br class=3D""></div><div =
class=3D"">Actually we are very interested in broadcast, we even had a =
few related recent CVEs.&nbsp; Here is our work describing these CVEs =
and some suggestions, I hope you will have some time to read =
it:</div><div class=3D""><br class=3D""></div><div class=3D""><a =
href=3D"http://www.cs.bu.edu/~goldbe/papers/NTPbroadcast.html" =
class=3D"">http://www.cs.bu.edu/~goldbe/papers/NTPbroadcast.html</a><br =
class=3D""></div><div class=3D""><br class=3D""></div><div class=3D"">One =
specific suggestion we had was that NTS NOT demobilize ephemeral =
associations based on crypto errors.&nbsp; Please read the paper to see =
why this creates a DoS vulnerability.</div><div class=3D""><br =
class=3D""></div><div class=3D"">But beyond this, broadcast crypto for =
NTP is super complex problem.&nbsp; We have not had time to review this =
part of the draft, but hope to do so in the future.&nbsp;</div><div =
class=3D""><br class=3D""></div><div class=3D"">Doing this properly, =
however, will take some time, and we wanted to focus on the KE for =
now.&nbsp; Note that by "properly" I mean with formal proof of =
security.<br class=3D""></div><div class=3D""><br class=3D""></div><div =
class=3D"">So, one thing we think is needed, and could do, is a formal =
proof of security for NTS's KE. Using for instance the Canetti Krawcyzk =
model [1]. We would not feel comfortable claiming that we had reviewed =
the KE protocol (or the broadcast protocol) until we had done such a =
proof.&nbsp; See [2] [3] for examples of what I mean. =
&nbsp;</div></div></div></div></div></blockquote><div><br =
class=3D""></div><div>Please not that Kristof did an formal analysis of =
the NTS unicast mode. You will find it in [1]. I will send you the paper =
offline.</div><div><div style=3D"margin: 0px 0px 0px 36px; text-indent: =
-36px; line-height: normal;" class=3D"">[1]<span class=3D"Apple-tab-span" =
style=3D"white-space:pre">	</span>K. Teichel, D. Sibold, and S. =
Milius, "First Results of a Formal Analysis of the Network Time Security =
Specification," presented at the Security Standardisation =
Research:&nbsp; Second International Conference, SSR 2015, Tokyo, Japan, =
2015.</div></div><br class=3D""><blockquote type=3D"cite" class=3D""><div =
class=3D""><div dir=3D"ltr" class=3D""><div class=3D"gmail_extra"><div =
class=3D"gmail_quote"><div class=3D""><br class=3D""></div><div =
class=3D"">But, before we started on this proof, which would take some =
time, we wanted to understand all the requirements. Hence all the =
questions. Thanks for answering them!</div><div class=3D""><br =
class=3D""></div><div class=3D"">Sharon</div><div class=3D""><br =
class=3D""></div><div class=3D"">[1] <a =
href=3D"http://link.springer.com/chapter/10.1007/3-540-44987-6_28#page-1" =
class=3D"">http://link.springer.com/chapter/10.1007/3-540-44987-6_28#page-=
1</a></div><div class=3D"">[2]&nbsp;<a =
href=3D"https://eprint.iacr.org/2015/914.pdf" =
class=3D"">https://eprint.iacr.org/2015/914.pdf</a></div><div =
class=3D"">[3]&nbsp;<a href=3D"http://eprint.iacr.org/2015/978.pdf" =
class=3D"">http://eprint.iacr.org/2015/978.pdf</a></div><div =
class=3D""><br class=3D""></div></div><br clear=3D"all" class=3D""><div =
class=3D""><br class=3D""></div>-- <br class=3D""><div =
class=3D"gmail_signature">Sharon Goldberg<br class=3D"">Computer =
Science, Boston University<br class=3D""><a =
href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank" =
class=3D"">http://www.cs.bu.edu/~goldbe</a></div>
</div></div>
_______________________________________________<br class=3D"">ntpwg =
mailing list<br class=3D""><a href=3D"mailto:ntpwg@lists.ntp.org" =
class=3D"">ntpwg@lists.ntp.org</a><br =
class=3D"">http://lists.ntp.org/listinfo/ntpwg</div></blockquote></div><br=
 class=3D""></body></html>=

--Apple-Mail=_D83A8C2D-74C0-4CAA-A703-7C44B215D9FA--

--Apple-Mail=_8621A30A-F80F-44F3-9EA9-7DC861AA9AD5
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW+rcmAAoJEGX4ie6lYtkjYkUP/0FhZdCr02rQM5UVB0tilErn
XR1ZoE3NG5EWScmvG1QjDxAL/ZKMkQNCKqjOYYbgxgXWi/i82ar/SVOGpikvjVUZ
kZdjDkfodgE2WyKRa22cYaMPocAgF8fmwHGuKyxr6jqfLPB5AAMqYRfq7uGUmAFJ
x6CJCxbTE9MqAoS07CbJGZoEnFDeT9fH8GWY9O7+jp2kawodRqo2ttqWz2+627za
6tZfzabQYJqxQkomZKQerwV88C2vuxd+wDEGwPFQGjhW3C0USVj7aGs91BbP38mA
u2liTgLJ4TcNUWlb3+F4udf/dPCQPZ+dmbYjglDIH7/jBx1fJ1FcSxGRPDB1R9Ku
npPuO4W5sbVRpdxkP+bxce7x/jQHKtAe6ay45n5gry2SSIFl5w2hS6OlLRkf3pOI
8LiMinbN8vS0JjRMU0MDYze4cco8zXzkvLClbvpRpee7B2Of2T+20FaaS/AL11lO
Nev/bvFRbscLzUX1AFVlE41BnC+KKjwjUj/dsbAyxO7OqDfORHcDIaYZXseOtsJL
qJy4rXUxKW8B64NynDk4v4yY3/HdvdBjqpmB5butH0wNUfXsQ2SecDRtRgMOt2RT
O/xfnFe7Y24cLuOGE1rdnPVBsDTgx3Bpp8Ie/3FuZsNvaaJSCPD2bnetD/+/1ETs
qClXc6F4noRfBKDR0Ao9
=sVPr
-----END PGP SIGNATURE-----

--Apple-Mail=_8621A30A-F80F-44F3-9EA9-7DC861AA9AD5--

--===============9178047597086229782==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============9178047597086229782==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 16:24:08 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0554A12DB60 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 16:24:08 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 FeqQz0Puyn8Q for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 16:24:06 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 61B2512DB58 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 16:24:06 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 3DC8386DAA5 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 23:24:06 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 9028C86D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 22:36:59 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1al2Fs-000MMv-1c; Tue, 29 Mar 2016 22:36:56 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160329101554.GA30541@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Tue, 29 Mar 2016 12:15:54 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 29 Mar 2016 22:36:55 +0000
Message-Id: <E1al2Fs-000MMv-1c@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

I don't think we want a *requirement* that we "advance" the NTS
handshake process in strict lockstep with the NTP packet exchange.

This could be the choice of an implementation but it should not be a
requirement.

As I recall (and I could be wrong), the 3rd NTS packet, which is the
start of the 2nd NTS exchange, contains information that is
computationally expensive for the "other side" to process.  While the
extra processing in between T2 and T3 delay is not an issue for the
protocol itself, it could well be more expensive than is desired for a
blocking operation.

For a multitasking server, it could well be that one "thread" does the
ordinary NTP handling while another does the NTS work.  The first thread
might say "I'm willing to wait N milliseconds before I reply to this
request", and if the NTS processing gets done in time then the
client_assoc info is ready in that response.  If not, a "plain" response
goes back, the client sends a plain NTP packet as its next query, and
the server replies with NTP+NTS-client_assoc.

I think it's a Bad Idea to make assumptions and "proactive restrictions"
about how to do these exchanges.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 16:24:21 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0039112DB59 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 16:24:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 bOBQs0xpmxfO for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 16:24:13 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id B268712DB47 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 16:24:13 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id A2DEC86DB28 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 23:24:13 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 60A1986D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 22:50:31 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1al2Sz-000MNq-2j; Tue, 29 Mar 2016 22:50:29 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160329111120.GC20902@localhost>
References: <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com> <20160329111120.GC20902@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Tue, 29 Mar 2016 13:11:20 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 29 Mar 2016 22:50:29 +0000
Message-Id: <E1al2Sz-000MNq-2j@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: KE over NTP packets or special packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Thu, Mar 24, 2016 at 06:15:46PM -0400, Sharon Goldberg wrote:
> > 2) If yes, then during the KE, will the client actually uses these
> > timestamps to set its clock or inform any of NTP's clock discipline
> > algorithms?
> 
> Not unless there is some way to authenticate timestamps from the earlier
> packets.

It's a local policy choice.

If a client chooses to only believe authenticated time, then if no
alternative MAC is available until NTS has completed KE timestamps will
not be used.  If another method (like symmetric key) is available and
enabled, that authentication can cover these initial timestamps.

There are other choices as well, but I think we're talking about
implementation choices and local policy choices.  Let's go the right
distance here, neither too restrictive nor too permissive.

> > 3) If yes, then I guess you will want to be very careful about the delay
> > introduced by the public key crypto operations in the KE. How will you deal
> > with that, in light of the fact that eg. RSA signing is 10x slower than RSA
> > verification, and RSA encryption is 10x faster than RSA decryption?
> > 
> > Does this even matter?  Maybe it depends on what "symmetrical" means?
> 
> The speed of the RSA operations shouldn't matter as far as the
> accuracy of the synchronization is concerned. What matters is the
> delay between an NTP server or client capturing the TX timestamp and
> the other side capturing the RX timestamp. Asymmetries in that delay
> add an error to the measured offset.

Sure.  But this goes beyond the case of "this packet and this
association".

See my previous message.  We must not *require* that we do the full
crypto operations between T2 and T3 in a busy server that is not
multi-threaded. That will very likely mess up capture timestamps that
are pending receipt while we're doing the crypto operations on the
current packet.

> The delay includes the calculation of the MAC, the actual transmission
> and the network delay. It's a function of the packet length, so there
> is a tendency to keep the packets symmetric and short. The delay due
> to the MAC calculation can be estimated and compensated (at least one
> NTP implementation tries to do that), but the other parts of the delay
> I suspect would be very difficult or impossible to estimate.

Is there empirical data to support the need for symmetric packet
lengths?  If so, is this a universal condition?

Is there empirical data to show behavioral differences between various
packet lengths?  If so, are these results universally consistent?

> Wrapping NTP packets in some other protocol like IPsec would create an
> additional delay. If it was symmetric or it could be estimated
> reliably, perhaps it wouldn't be a problem for accuracy. However, the
> size of the state the server would have to keep per client would limit
> the maximum number of clients.

How do you do IPsec without correct time?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 16:53:29 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5D7A112DB79 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 16:53:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 7HeWW_GNs1Mp for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 16:53:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 83AA312DB0C for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 16:53:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 59DE986DB4F for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 23:53:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id D9E5786D48C for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 22:59:27 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1al2bc-000MOY-W6; Tue, 29 Mar 2016 22:59:25 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160329095304.GB20902@localhost>
References: <3171CCA5-C6DA-477F-9010-66F5EB178FDA@ptb.de> <20160323063539.GA1531@localhost> <E80963D9-E924-4060-8C03-B5EF12E75280@ptb.de> <20160329095304.GB20902@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Tue, 29 Mar 2016 11:53:04 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Tue, 29 Mar 2016 22:59:24 +0000
Message-Id: <E1al2bc-000MOY-W6@stenn.ntp.org>
Subject: Re: [ntpwg] New draft document for NTS and NTS for NTP
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Why does this need to be specified in the standard/draft?

It's an implementation detail that can be noted.

Has anybody done any empirical testing and analysis around the packet
symmetry and packet length issues?  Is there expectation that if these
are valid issues, that they are universal in scope?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 20:25:11 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ADE3C12DC85 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 20:25:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 Ch6Q9ZkQelzf for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 20:25:09 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D1B1112DC7C for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 20:25:09 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C626986DB22 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 03:25:09 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 8CCC486DAA9 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 08:46:32 +0000 (UTC)
Received: from mail-wm0-x233.google.com ([2a00:1450:400c:c09::233]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1akpIE-000Kkx-2x for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 08:46:31 +0000
Received: by mail-wm0-x233.google.com with SMTP id 191so41847331wmq.0 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 01:46:29 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc; bh=Ex/+naD8wk91P0mOr6BOIrZISrmmU96N7c9bUAIHZqY=; b=U05SSSD0r59mgbiCg+njrzfujnc4GYqpeLyKN1reHgFxSw5zfCPN0vFlwbnekB8F83 wqUkCBZdSVTTXIM6W6pk5e7k6eqwL/P7bmvhjEUWWwak7qjEmyC8nA5aDvB/I93AE/gU aFhE5Js5a+dnQ4LLDojWNI5hALw5rxYSZ2IT401DrbBE2FdwIxGbd5+WHy0G7vxK9V/+ 4rLB2V/NGDL+WjcEZyU404aicZ8iGlxAjMOjK0RWIbxzMCtfBpPvf+GiucDOjBEM8ZAv wxjtVJaOQMPxApWQmUxeB4MfKZ+XOEoS0WrKcv9/FTGQNaEq1S45dFxhUbzgA1/lO+z5 tsTA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:date :message-id:subject:from:to:cc; bh=Ex/+naD8wk91P0mOr6BOIrZISrmmU96N7c9bUAIHZqY=; b=jHZWCrADex414qX+Lgl0h1L2ZRSwiR/ekfpcgcnxVGbM+vjtjH2keWbldE0EMcSLI6 QiyII5503rHf0gzLtdZjZY0bM/+543mNOTN80iNwWB/NH2BX3VEUACCtL2ayNa60Lk+J /f5N/YqVoKDnC74Nw/wLjmU2RDYZv6CvdvWClGDt0f/0jE2CvLFpuh/vlwy3BtUi7H9Z BR2owbI677OL0fmsi7LSkFhtHm/Ghf85eSk7WeDhoxVxxwIdci5TwOpf2YOyn8wlqihD GGSsc0T6frIW55Jhb6+dQx9Clo3WJk71cd/SibPjOf+MTHr3OsQy79mScuOkO7Ay6J01 yWDw==
X-Gm-Message-State: AD7BkJJNqbwoHTFeBZKOGKPUIFNnQS8YFRh+UDzBUceGI78QTSxDXhcjKliqaIblltnvFItVsJAkxvS+EnoXdg==
MIME-Version: 1.0
X-Received: by 10.194.62.110 with SMTP id x14mr1460851wjr.68.1459241188256; Tue, 29 Mar 2016 01:46:28 -0700 (PDT)
Received: by 10.194.242.35 with HTTP; Tue, 29 Mar 2016 01:46:27 -0700 (PDT)
In-Reply-To: <20160329045457.F12DD406063@ip-64-139-1-69.sjc.megapath.net>
References: <mayer@ntp.org> <56F98E6B.1000805@ntp.org> <20160329045457.F12DD406063@ip-64-139-1-69.sjc.megapath.net>
Date: Tue, 29 Mar 2016 04:46:27 -0400
X-Google-Sender-Auth: 7ipNL-J1d1S5RNOBW4vxfn4sS6Q
Message-ID: <CAJHGrrRO7qEpvXjwmiEFt2DGDfEZYf0QQMJ0WvTO3CaHOnBD5g@mail.gmail.com>
From: Sharon Goldberg <goldbe@cs.bu.edu>
To: Hal Murray <hmurray@megapathdsl.net>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::233
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Wed, 30 Mar 2016 02:40:24 +0000
Subject: Re: [ntpwg] Cipher suites for NTS?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "ntpwg@lists.ntp.org" <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============2325750879372510005=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2325750879372510005==
Content-Type: multipart/alternative; boundary=047d7b86d66caaf34d052f2c10c3

--047d7b86d66caaf34d052f2c10c3
Content-Type: text/plain; charset=UTF-8

On Tuesday, March 29, 2016, Hal Murray <hmurray@megapathdsl.net> wrote:

>
> mayer@ntp.org <javascript:;> said:
> > We have to be careful here. I agree that at least some  cipher suites
> should
> > be specified as a minimal subset in the draft but we also need
> flexibility
> > as new ciphers come out and older ones are found to be vunerable.
> Otherwise
> > we will need to create new RFC's to update the RFC for either of these
> > scenarios. I'm sure that there are other implementations that have run
> into
> > this problem and we should see how they handle it.
>
> Is there any group in the IETF keeping track of which cyphers are
> good/weak?
>
>  I think the CFRG is the right place to go. If not, I'm sure they can
point to the right place.

https://datatracker.ietf.org/rg/cfrg/charter/


> It would be nice if there were something like the assigned numbers role,
> but
> this is more complicated that just assigning and keeping track of what has
> been
>

Thanks.
Sharon


-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--047d7b86d66caaf34d052f2c10c3
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<br>On Tuesday, March 29, 2016, Hal Murray &lt;<a href=3D"mailto:hmurray@me=
gapathdsl.net">hmurray@megapathdsl.net</a>&gt; wrote:<br><blockquote class=
=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc solid;padd=
ing-left:1ex"><br>
<a href=3D"javascript:;" onclick=3D"_e(event, &#39;cvml&#39;, &#39;mayer@nt=
p.org&#39;)">mayer@ntp.org</a>=C2=A0said:<br>
&gt; We have to be careful here. I agree that at least some=C2=A0 cipher su=
ites should<br>
&gt; be specified as a minimal subset in the draft but we also need flexibi=
lity<br>
&gt; as new ciphers come out and older ones are found to be vunerable. Othe=
rwise<br>
&gt; we will need to create new RFC&#39;s to update the RFC for either of t=
hese<br>
&gt; scenarios. I&#39;m sure that there are other implementations that have=
 run into<br>
&gt; this problem and we should see how they handle it.<br>
<br>
Is there any group in the IETF keeping track of which cyphers are good/weak=
?<br>
<br></blockquote><div>=C2=A0I think the CFRG is the right place to go. If n=
ot, I&#39;m sure they can point to the right place.=C2=A0</div><div><br></d=
iv><div><a href=3D"https://datatracker.ietf.org/rg/cfrg/charter/">https://d=
atatracker.ietf.org/rg/cfrg/charter/</a><br></div><div>=C2=A0</div><blockqu=
ote class=3D"gmail_quote" style=3D"margin:0 0 0 .8ex;border-left:1px #ccc s=
olid;padding-left:1ex">
It would be nice if there were something like the assigned numbers role, bu=
t<br>
this is more complicated that just assigning and keeping track of what has<=
br>
been=C2=A0<br>
</blockquote><div><br></div><div>Thanks.</div><div>Sharon=C2=A0=C2=A0</div>=
<br><br>-- <br>Sharon Goldberg<br>Computer Science, Boston University<br><a=
 href=3D"http://www.cs.bu.edu/~goldbe" target=3D"_blank">http://www.cs.bu.e=
du/~goldbe</a><br>

--047d7b86d66caaf34d052f2c10c3--

--===============2325750879372510005==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2325750879372510005==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 20:25:29 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 74C3A12DC8A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 20:25:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 nGIDwlhtRqAg for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 20:25:27 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 6C57512DC85 for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 20:25:27 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5FD0E86DB1F for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 03:25:27 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 69CB586D58E for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 14:45:08 +0000 (UTC)
Received: from mail-wm0-x22b.google.com ([2a00:1450:400c:c09::22b]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1akutF-0004XW-SS for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 14:45:08 +0000
Received: by mail-wm0-x22b.google.com with SMTP id 191so53638333wmq.0 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 07:45:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:from:date:message-id:subject:to:cc; bh=yOwACMGcId1szCBNH5T825hC0QMaMxSuM6SZkn5+mYQ=; b=LFv8Rd04cq0tiKvaJkdaOun5mJ4yUvuasmwUihgbO92WRcyjQTwOLHtNjuln7CwJzG aRPLQrRl+hRM6LE4XAK4CM6I+cm0ZSxAv/oJ6GkhZ9muTgRyAJITDRD71r48PUghnFTK M0talJijYcMdDH8mfk+B1C6bkN7Zj2nKSJh/JI5a1wXdQ1fKMt+hoTF7l8f7IkFRCCMz /LfIgSW0bcKqWZasdjFg/otLN0tFhUlqjlJlmHpPVIHWE7/VvrKVdj665QtIxZUSkcu8 bCX9GX5q9jJqXzlComJf6+VhFaYilTztBmu4ed1ZCOUoaCJkXugeUAVkqZcjiyxb1MUr jWqA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:from:date:message-id:subject :to:cc; bh=yOwACMGcId1szCBNH5T825hC0QMaMxSuM6SZkn5+mYQ=; b=DgE7Xsu0w8KTokkprAb6SDk0Rq3lmOOMVJyDxvjgJAADpWiLan0GATuSoeTJbojr/H FRHZX/MnI+lHYNHTdUtepywZhvuMs5rllJwkZLMqNDISwX/qnlqTybU6YPYMZfBbMJXm n6PcqaIDATEYXVrVAZEduYhhH70lWOhdyjWdMm3gjT8ECTNWTFkO4KUQs7nVaqxQX9n/ 11Kh4yjJdiUHjfI8hm7orSEFv5WdFdjXuvI0hA8XhQ733tPzWGQUuuTjcWyWXFY8T2zw 7Ac26sPZioUB27jP3URdfZlzGr1FKOMukV/5IK2bflyIFB/lRPqSxQJeqsJKFmefv1Us Fb2w==
X-Gm-Message-State: AD7BkJKA0k5w1cR2lw2fjJB7qlsPhynn53MH+cl28u92P9sWsy3jF/hnNf6TgfFVCQ0ugphBkf6Nk6plNoE8cg==
X-Received: by 10.28.222.84 with SMTP id v81mr3871193wmg.42.1459262704006; Tue, 29 Mar 2016 07:45:04 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Tue, 29 Mar 2016 07:44:23 -0700 (PDT)
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Tue, 29 Mar 2016 10:44:23 -0400
X-Google-Sender-Auth: MyTxKegh6UAkKiFl3JjirdLOTJQ
Message-ID: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::22b
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Wed, 30 Mar 2016 02:40:24 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============4842844813667277559=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============4842844813667277559==
Content-Type: multipart/alternative; boundary=001a114b0dbe1b3e56052f311372

--001a114b0dbe1b3e56052f311372
Content-Type: text/plain; charset=UTF-8

On Tue, Mar 29, 2016 at 6:15 AM, Miroslav Lichvar <mlichvar@redhat.com>
wrote:

> On Thu, Mar 24, 2016 at 04:05:56PM -0400, Sharon Goldberg wrote:
> > On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar <mlichvar@redhat.com>
> > wrote:
> > > There is no limit on the duration. The client may be polling the
> > > server just couple times a day.
> >
> > Sorry, I'm confused.  The NTS key exchange is a 6-message exchange that
> should happen "atomically" (ie. the server gets the clients KE msg,
> processes it, and immediately sends its own message. & vice versa: the
> client gets the servers KE msg, processes it, and immediately sends its own
> message. )
>
> As I understand it, NTS doesn't change anything in the NTP polling
> process. It should be similar to Autokey. Clients poll the server as
> they would normally without any authentication and NTS extension
> fields are added to the packets depending on what state the NTS
> association is currently in. Only when the NTS association is
> initialized, the received packets are used for synchronization.
>
> If the clients sent a new request immediately, that would create a
> rapid burst and the server might drop the packets due to rate
> limiting. If the server didn't respond, the client would have to use a
> timeout for a new request with some exponential backoff. To me it
> seems easier to rely the normal NTP polling process, which was
> designed to not overload the server.
>
> From the server point of view, I think there should be no change in
> the observed packet rate (after IP defragmentation) when clients
> enable NTS.
>
> This worries me.

Note that NTS uses certificates to authenticate the KE.  Generally, a
certificate chain cannot fit into a single IP packet.

See below for some examples. The first is a "Certificate" messages from
TLSv1.2 for a certificate chain of length 2; it was sent in 2 TCP
segments.  The second "Certificate" message was for a chain of length 4
that had to be sent in 4 segments.  Adding OCSP would take further length
to the packet.

http://www.cs.bu.edu/~goldbe/share/oneCertMsg2Pkts.PNG
http://www.cs.bu.edu/~goldbe/share/oneCertMsg4Pkts.PNG

It seems very likely that even just one single message of the NTS KE will
require sending multiple packets to the server.  This needs to be dealt
with somehow.

As such, I'm not convinced that sending these KE messages according to the
NTP polling interval makes sense.  I'm further concerned because I don't
understand how the NTS KE will deal with lost packets.

Sharon


-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe

--001a114b0dbe1b3e56052f311372
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Mar 29, 2016 at 6:15 AM, Miroslav Lichvar <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mlichvar@redhat.com" target=3D"_blank">mlichvar@redhat.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0px 0=
px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><span=
 class=3D"">On Thu, Mar 24, 2016 at 04:05:56PM -0400, Sharon Goldberg wrote=
:<br>
&gt; On Thu, Mar 24, 2016 at 4:49 AM, Miroslav Lichvar &lt;<a href=3D"mailt=
o:mlichvar@redhat.com">mlichvar@redhat.com</a>&gt;<br>
&gt; wrote:<br>
</span><span class=3D"">&gt; &gt; There is no limit on the duration. The cl=
ient may be polling the<br>
&gt; &gt; server just couple times a day.<br>
&gt;<br>
&gt; Sorry, I&#39;m confused.=C2=A0 The NTS key exchange is a 6-message exc=
hange that should happen &quot;atomically&quot; (ie. the server gets the cl=
ients KE msg, processes it, and immediately sends its own message. &amp; vi=
ce versa: the client gets the servers KE msg, processes it, and immediately=
 sends its own message. )<br>
<br>
</span>As I understand it, NTS doesn&#39;t change anything in the NTP polli=
ng<br>
process. It should be similar to Autokey. Clients poll the server as<br>
they would normally without any authentication and NTS extension<br>
fields are added to the packets depending on what state the NTS<br>
association is currently in. Only when the NTS association is<br>
initialized, the received packets are used for synchronization.<br>
<br>
If the clients sent a new request immediately, that would create a<br>
rapid burst and the server might drop the packets due to rate<br>
limiting. If the server didn&#39;t respond, the client would have to use a<=
br>
timeout for a new request with some exponential backoff. To me it<br>
seems easier to rely the normal NTP polling process, which was<br>
designed to not overload the server.<br>
<br>
>From the server point of view, I think there should be no change in<br>
the observed packet rate (after IP defragmentation) when clients<br>
enable NTS.<br>
<span class=3D""><br></span></blockquote><div>This worries me.=C2=A0 <br><b=
r>Note that NTS uses certificates to authenticate the KE.=C2=A0 Generally, =
a certificate chain cannot fit into a single IP packet. <br><br>See below f=
or some examples. The first is a &quot;Certificate&quot; messages from TLSv=
1.2 for a certificate chain of length 2; it was sent in 2 TCP segments.=C2=
=A0 The second &quot;Certificate&quot; message was for a chain of length 4 =
that had to be sent in 4 segments.=C2=A0 Adding OCSP would take further len=
gth to the packet.<br><br><a href=3D"http://www.cs.bu.edu/~goldbe/share/one=
CertMsg2Pkts.PNG">http://www.cs.bu.edu/~goldbe/share/oneCertMsg2Pkts.PNG</a=
><br></div><div><a href=3D"http://www.cs.bu.edu/~goldbe/share/oneCertMsg4Pk=
ts.PNG">http://www.cs.bu.edu/~goldbe/share/oneCertMsg4Pkts.PNG</a><br><br>I=
t seems very likely that even just one single message of the NTS KE will re=
quire sending multiple packets to the server.=C2=A0 This needs to be dealt =
with somehow.=C2=A0=C2=A0 <br><br>As such, I&#39;m not convinced that sendi=
ng these KE messages according to the NTP polling interval makes sense.=C2=
=A0 I&#39;m further concerned because I don&#39;t understand how the NTS KE=
 will deal with lost packets.<br></div><br></div>Sharon<br></div><div class=
=3D"gmail_extra"><br clear=3D"all"><br>-- <br><div class=3D"gmail_signature=
">Sharon Goldberg<br>Computer Science, Boston University<br><a href=3D"http=
://www.cs.bu.edu/~goldbe" target=3D"_blank">http://www.cs.bu.edu/~goldbe</a=
></div>
</div></div>

--001a114b0dbe1b3e56052f311372--

--===============4842844813667277559==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============4842844813667277559==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Tue Mar 29 20:31:44 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CEAB312DC94 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 20:31:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.818
X-Spam-Level:
X-Spam-Status: No, score=-6.818 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (2048-bit key) reason="fail (message has been altered)" 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 I3yjxc8UBORk for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Tue, 29 Mar 2016 20:31:43 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 169F512DC7C for <ntp-archives-ahFae6za@lists.ietf.org>; Tue, 29 Mar 2016 20:25:22 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id E9EA086DB63 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 03:25:21 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D39BE86D60E for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 14:23:39 +0000 (UTC)
Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by mail1.ntp.org with esmtps (TLSv1:RC4-SHA:128) (Exim 4.77 (FreeBSD)) (envelope-from <sharon.goldbe@gmail.com>) id 1akuYU-0004GF-45 for ntpwg@lists.ntp.org; Tue, 29 Mar 2016 14:23:39 +0000
Received: by mail-wm0-x22e.google.com with SMTP id p65so28865879wmp.0 for <ntpwg@lists.ntp.org>; Tue, 29 Mar 2016 07:23:37 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:from:date:message-id :subject:to:cc; bh=utsz0JbkHr0j5aSh+5TnT7gp4FXjOkRyKRNP+D8XQvI=; b=zfRyXPZEFy/yrHgZzJnErrRbdtMDJ3eE2UojavUufl8maglqAvIhBU5BpwJ+Ce8gVe UM3lkGlevYDthmBysQyLDPxZ3Bi8T+7eIGy4naZrKvmMwj9XLN/dIleHb2/9OxnIvGe3 ctqxBhblMyRn+3yOPAZ/wx9LH+wbAvMN7P5zfVyWUiTGDZITGBueU6/BwvT1CidGpjJA Ysu5ZGCyqjSbPLVCjVxPG/4Wps9La1wJ+TjkBS84bgC5HmV8ai401hZom2XOeAaqG+4/ hCYzz8Uwejc1qg51eUb+UWJJN/s7ARlU0XZQtdZume5sCczrQWczT6Fnz1yUA3FBPGnz VfIQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:sender:in-reply-to:references:from :date:message-id:subject:to:cc; bh=utsz0JbkHr0j5aSh+5TnT7gp4FXjOkRyKRNP+D8XQvI=; b=Yd37mosQLrNekVsy4jUvxg/hSow821mRfUSrhTrTbetyBZgIBZ/Tp1C97qIHbeZdrU qjZeCy8beujQM/zF0X8pqDO2n9NmFxFxBPVv/C70V7qLzkZEaxZRn5TC2q6drQ/PZBju mmAphqzsL2F3mH4tUwBUpF5r/3rcoYVLcq2JiGKruytfNgMQeCxLARhM1ccX5kYL2/PA AJwD5MUuJXMfNQZJOVopEANQeoABIuYw8d4PJdC0eu8sYE0KuKcVXXl0maLrFSPQSaXG BchwAm9O3xjQGDXzbjcp1of7HYX0Q1Va2H04D6JyiqBEBVOPx71YibetCAMtrQ5PLIBF qMFw==
X-Gm-Message-State: AD7BkJJoX7y789b5FO2nTkql5W7cAvK47qUvi/ijUURGZx4c1exq9vW4e4CSXuXWPcDfsKZDqxh4bTz7r1ulOw==
X-Received: by 10.28.222.84 with SMTP id v81mr3764017wmg.42.1459261416151; Tue, 29 Mar 2016 07:23:36 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.194.242.35 with HTTP; Tue, 29 Mar 2016 07:22:56 -0700 (PDT)
In-Reply-To: <20160329132606.GD20902@localhost>
References: <mlichvar@redhat.com> <20160329101554.GA30541@localhost> <20160329113559.BDCF3406074@ip-64-139-1-69.sjc.megapath.net> <20160329132606.GD20902@localhost>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Tue, 29 Mar 2016 10:22:56 -0400
X-Google-Sender-Auth: rgRAFGcKsD1pU7SmpoI59otW1ko
Message-ID: <CAJHGrrRN=jtY_mvqnFQNsrWjXTYS3qPZOt10fCtTtsHBMwHc5g@mail.gmail.com>
To: Miroslav Lichvar <mlichvar@redhat.com>
X-SA-Exim-Connect-IP: 2a00:1450:400c:c09::22e
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: sharon.goldbe@gmail.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
X-Mailman-Approved-At: Wed, 30 Mar 2016 02:40:24 +0000
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, Hal Murray <hmurray@megapathdsl.net>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: multipart/mixed; boundary="===============2633106002774282028=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2633106002774282028==
Content-Type: multipart/alternative; boundary=001a114b0dbe58255a052f30c6bf

--001a114b0dbe58255a052f30c6bf
Content-Type: text/plain; charset=UTF-8

On Tue, Mar 29, 2016 at 9:26 AM, Miroslav Lichvar <mlichvar@redhat.com>
wrote:

> On Tue, Mar 29, 2016 at 04:35:59AM -0700, Hal Murray wrote:
> > mlichvar@redhat.com said:
> > > If I understand how NTS will be implemented correctly, the duration of
> the
> > > KE is proportional to the polling interval.
> >
> > It probably needs to be smarter than that.  If not, rekeying will take a
> long
> > time after the polling interval has ramped up.
>
> If the client is using a long polling interval, why would long NTS
> reinitialization be a problem?
>
> A missed NTP packet or client dropping a bad sample is a common
> occurence. For instance, the clock filter in ntpd can drop up to 7
> consecutive samples. A couple of samples dropped due to invalid
> authentication after the server refreshes its seed shouldn't be a big
> deal.
>

What if an NTS KE message is lost?  How will NTS recover and will it need
to wait an entire poll interval to do that?

Sharon

--001a114b0dbe58255a052f30c6bf
Content-Type: text/html; charset=UTF-8
Content-Transfer-Encoding: quoted-printable

<div dir=3D"ltr"><div class=3D"gmail_extra"><div class=3D"gmail_quote">On T=
ue, Mar 29, 2016 at 9:26 AM, Miroslav Lichvar <span dir=3D"ltr">&lt;<a href=
=3D"mailto:mlichvar@redhat.com" target=3D"_blank">mlichvar@redhat.com</a>&g=
t;</span> wrote:<br><blockquote class=3D"gmail_quote" style=3D"margin:0 0 0=
 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=3D"">On Tue,=
 Mar 29, 2016 at 04:35:59AM -0700, Hal Murray wrote:<br>
&gt; <a href=3D"mailto:mlichvar@redhat.com">mlichvar@redhat.com</a> said:<b=
r>
&gt; &gt; If I understand how NTS will be implemented correctly, the durati=
on of the<br>
&gt; &gt; KE is proportional to the polling interval.<br>
&gt;<br>
&gt; It probably needs to be smarter than that.=C2=A0 If not, rekeying will=
 take a long<br>
&gt; time after the polling interval has ramped up.<br>
<br>
</span>If the client is using a long polling interval, why would long NTS<b=
r>
reinitialization be a problem?<br>
<br>
A missed NTP packet or client dropping a bad sample is a common<br>
occurence. For instance, the clock filter in ntpd can drop up to 7<br>
consecutive samples. A couple of samples dropped due to invalid<br>
authentication after the server refreshes its seed shouldn&#39;t be a big<b=
r>
deal.<br></blockquote><div><br></div><div>What if an NTS KE message is lost=
?=C2=A0 How will NTS recover and will it need to wait an entire poll interv=
al to do that?<br><br></div><div>Sharon <br></div></div></div></div>

--001a114b0dbe58255a052f30c6bf--

--===============2633106002774282028==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2633106002774282028==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 01:07:38 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 308E812DE78 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:07:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 ZZwHqbErypyg for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:07:33 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 3FF1112DE81 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 01:06:39 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 2CC1D86DADF for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 08:06:39 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id E288C86D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 08:06:15 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alB8f-000JHQ-A4 for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 08:06:15 +0000
Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) by mx1.redhat.com (Postfix) with ESMTPS id 209EC6445D; Wed, 30 Mar 2016 08:06:04 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2U862px031667; Wed, 30 Mar 2016 04:06:03 -0400
Date: Wed, 30 Mar 2016 10:06:02 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160330080602.GB834@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1al2Fs-000MMv-1c@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.27
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 30 Mar 2016 08:06:04 +0000 (UTC)
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Tue, Mar 29, 2016 at 10:36:55PM +0000, Harlan Stenn wrote:
> For a multitasking server, it could well be that one "thread" does the
> ordinary NTP handling while another does the NTS work.  The first thread
> might say "I'm willing to wait N milliseconds before I reply to this
> request", and if the NTS processing gets done in time then the
> client_assoc info is ready in that response.  If not, a "plain" response
> goes back, the client sends a plain NTP packet as its next query, and
> the server replies with NTP+NTS-client_assoc.

If the server is not able to respond in time (whatever that means), it
shouldn't respond at all. The client will try again later. Responding
with a plain NTP message would not help as the client would ignore the
reply. Even if it didn't ignore it, the new request would have to be
the same NTS message as before, because the server doesn't have the
previous request. I doubt any server implementation would want to
cache requests and replies.

> I think it's a Bad Idea to make assumptions and "proactive restrictions"
> about how to do these exchanges.

What restrictions would you like to loose? The suspension of the NTS
protocol with plain NTP messages you described seems to me like a
major complication in the protocol, which would require the server to
cache the client's requests.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 01:08:02 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B5B3712DE05 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:08:02 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 Ma0aMpVtKqoA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:08:00 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C57A512DE76 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 01:06:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BBB0286DAFD for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 08:06:57 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 25C4F86DAB8 for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 08:06:51 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1alB9C-000JIC-Me for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 08:06:51 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2U86Wgh031356-u2U86Wgj031356 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 10:06:32 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 3DC40C337B; Wed, 30 Mar 2016 10:06:32 +0200 (CEST)
X-Disclaimed: 1
MIME-Version: 1.0
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
From: kristof.teichel@ptb.de
To: Sharon Goldberg <goldbe@cs.bu.edu>, ntpwg@lists.ntp.org, tictoc@ietf.org
Message-ID: <OFE3D03D7D.0FF9AF9A-ONC1257F86.002C8AFC-C1257F86.002C8AFE@ptb.de>
Date: Wed, 30 Mar 2016 10:06:31 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============0047372476658281360=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0047372476658281360==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">&gt;It se=
ems very likely that even just one single message of the NTS KE</span><br>&=
gt;will require sending multiple packets to the server.&nbsp; This needs to=
<br>&gt;be dealt with somehow.&nbsp;&nbsp; <br>&gt;<br>&gt;As such, I'm not=
 convinced that sending these KE messages according<br>&gt;to the NTP polli=
ng interval makes sense.&nbsp; I'm further concerned<br>&gt;because I don't=
 understand how the NTS KE will deal with lost<br>&gt;packets.<div><br></di=
v><div>We will add a paragraph treating the topic of lost packets.</div><di=
v><br></div><div>Our intended approach is to just have the client go into a=
 waiting state for each of its still unanswered requests.&nbsp;</div><div>T=
his waiting state would either be ended successfully by a verifiable reply =
(what verifiable means depends on the context), or unsuccessfully by reachi=
ng a timeout value (which would be configurable in its length, but whose ex=
istence would be mandatory). In the latter case, either a re-transmission o=
f the last message or a restart of the protocol would occur, depending on c=
ontext</div><div><br></div><div>Does anyone here have criticism or other su=
ggestions on this topic?</div><div><br>Kristof</div><div></div></font>

--===============0047372476658281360==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0047372476658281360==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 01:15:21 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9D53412DE62 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:15:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 WDM7hYgXYFag for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:15:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id D88FF12DE05 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 01:14:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id CF0F486DB38 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 08:14:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 8D08A86D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 08:14:36 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1alBGi-000JNd-5c for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 08:14:36 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2U8EJ0E032522-u2U8EJ0G032522 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 10:14:19 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 6B597C33A2; Wed, 30 Mar 2016 10:14:19 +0200 (CEST)
X-Disclaimed: 1
MIME-Version: 1.0
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <4613980CFC78314ABFD7F85CC3027721018447013B@DAG-EX10.ad.checkpoint.com>
References: <4613980CFC78314ABFD7F85CC3027721018447013B@DAG-EX10.ad.checkpoint.com>, <CAJHGrrR=xrxQaXqLz9vzHN=w-i0ji_WCa-=FYLaYgZATZ-nXkg@mail.gmail.com>
From: kristof.teichel@ptb.de
To: Yoav Nir <ynir@checkpoint.com>, ntpwg@lists.ntp.org, tictoc@ietf.org
Message-ID: <OFAFA01462.1493B5BE-ONC1257F86.002D4154-C1257F86.002D4157@ptb.de>
Date: Wed, 30 Mar 2016 10:14:18 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============9176721749288942911=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============9176721749288942911==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">&gt;Hi. I=
Psec guy here.</span><br>&gt;&nbsp;<br>&gt;I&#8217;m sorry I haven&#8217;t =
been following this discussion, so I&#8217;m not sure<br>&gt;what the requi=
rements of NTS are.&nbsp; Whatever they are, I&#8217;m pretty sure<br>&gt;t=
hat AH is not the<br>&gt; answer, because AH is being deprecated in many st=
acks (we&#8217;ve done it<br>&gt;in 2003).<br>&gt;&nbsp;<br>&gt;There are m=
odes of IPsec that do not require per association state,<br>&gt;but that de=
pends on what kind of traffic you have and on your trust<br>&gt;model (that=
&#8217;s like &#8220;threat<br>&gt; model&#8221; only looking on the bright=
 side of life). For example, there<br>&gt;is GDOI where a single key is use=
d for all associations. That&#8217;s fine<br>&gt;as long as you trust the g=
roup members to not impersonate each other.<br>&gt;&nbsp;<br>&gt;As for the=
 complexity of IPsec, this is largely a myth. IPsec is no<br>&gt;more or le=
ss complex then the record layer of TLS/DTLS. The IKE<br>&gt;protocol has m=
any more knobs<br>&gt; than SSLv3, but by the current version of TLS (TLS 1=
.2) they&#8217;ve<br>&gt;caught up with the complexity, offering PFS and no=
n-PFS, PSKs,<br>&gt;passwords and what have you. It seems simpler because m=
ost of us get<br>&gt;to see TLS encased in a browser, while an IKE daemon i=
s usually<br>&gt; installed separately and configured through a text file o=
r arcane<br>&gt;command-lines.&nbsp; All consumer operating systems these d=
ays have IPsec<br>&gt;clients (either L2TP or IKEv2) that are extremely eas=
y to configure.<br>&gt;&nbsp;<br>&gt;If you&#8217;re really interested in p=
ursuing this, I suggest you summarize<br>&gt;the requirements and send a me=
ssage to the ipsec list. Lots of IPsec<br>&gt;people there, including<br>&g=
t; the author of [2].<div><br></div><div>My opinion is that we are not inte=
rested in pursuing this in our capacity as authors of the NTS documents.</d=
iv><div><br></div><div>However, it might still be overall advisable to purs=
ue this.</div><div>Maybe someone would be interested in following up on thi=
s and write up a paragraph about how best to use/configure IPsec to secure =
NTP traffic (and possibly some pros and cons about doing this, too). This t=
ext mi<font size=3D"2">ght<span style=3D"font-family: arial, helvetica, san=
s-serif;">, for example,</span><span style=3D"font-family: arial, helvetica=
, sans-serif;">&nbsp;be added to the Security Considerations of the NTP BCP=
 document.</span></font></div><div><font size=3D"2"><span style=3D"font-fam=
ily: arial, helvetica, sans-serif;"><br></span></font></div><div><font size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">What do p=
eople think about this?</span></font></div><div><br>&gt;&nbsp;<br>&gt;Yoav<=
br>&gt;&nbsp;<br>&gt;&gt;PPS: is there a mode for IPsec which does what NTS=
<br>&gt;&gt;is trying to achieve (namely requiring on the server side neith=
er a<br>&gt;&gt;per-association state nor classic<br>&gt;&gt; asymmetric cr=
yptography like digital signatures)? If so, some text<br>&gt;&gt;might be i=
n order somewhere (NTP BCP document?), stating that if<br>&gt;&gt;IPsec is =
used for securing NTP, said mode would be the best one to<br>&gt;&gt;use.<b=
r>&gt;<br>&gt;<br>&gt;This is a really good question and I tried and failed=
 to answer it so<br>&gt;far. IPsec is amazingly complex and easy to configu=
re wrongly.&nbsp; One<br>&gt;thing that I can tell so far is that traffic s=
hould be secured in "AH<br>&gt;Transport" mode but I cannot<br>&gt; figure =
out what IPsec KE is appropriate.&nbsp; It does seem that by<br>&gt;default=
 IPsec uses mutual authentication of client and server, (while<br>&gt;NTS "=
MUST" accommodate one-sided authentication).&nbsp; I wonder if IPsec<br>&gt=
;also supports one-sided authentication; at the moment<br>&gt; I have not f=
igured out if/how this works.<br><br><br></div><div></div></font>

--===============9176721749288942911==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============9176721749288942911==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 01:22:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4BFA012DE96 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:22:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 arpm0DnNgR0r for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 01:22:01 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 7CAFD12DEB8 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 01:21:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7728A86DADC for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 08:21:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id BD10986D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 08:21:38 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1alBNW-000JS1-48 for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 08:21:38 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2U8LMZu000847-u2U8LMZw000847 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 10:21:22 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 4F1D0C33CB; Wed, 30 Mar 2016 10:21:22 +0200 (CEST)
X-Disclaimed: 1
MIME-Version: 1.0
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <20160324232543.GA31213@roeckx.be>
References: <20160324232543.GA31213@roeckx.be>, <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com>
From: kristof.teichel@ptb.de
To: Kurt Roeckx <kurt@roeckx.be>, ntpwg@lists.ntp.org, tictoc@ietf.org
Message-ID: <OF4C8C4C3C.59B90269-ONC1257F86.002DE65D-C1257F86.002DE660@ptb.de>
Date: Wed, 30 Mar 2016 10:21:20 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: KE over NTP packets or special	packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6366746808160449863=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============6366746808160449863==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">&gt;&gt; =
&gt; The main reasoning here was, I believe, that an inherent solution</spa=
n><br>&gt;would be<br>&gt;&gt; &gt; easier to tailor to a time synchronizat=
ion protocol's special<br>&gt;needs,<br>&gt;&gt; &gt; particularly for the =
additional delays caused by the<br>&gt;cryptographic<br>&gt;&gt; &gt; opera=
tions on time-sensitive packets to be small (and ideally<br>&gt;&gt; &gt; s=
ymmetrical).<br>&gt;&gt; &gt;<br>&gt;&gt; <br>&gt;&gt; OK, that's interesti=
ng.<br>&gt;&gt; Can you please elaborate on the symmetrical requirement?<br=
>&gt;<br>&gt;I assume that he's talking about the time between getting T1 a=
nd<br>&gt;sending out the packet, and getting T3 and sending it out would<b=
r>&gt;need about the same delay.<div><br></div><div>For the record: yes, th=
is is what I was talking about.</div><div><br>&gt;<br>&gt;I also assume tha=
t to be able to get a very accurate results.  But<br>&gt;if that's the case=
 I think they're going about this the wrong way.<br>&gt;I think for most ca=
ses the overhead of the crypto is not going to<br>&gt;have an impact on the=
 results because there is just way more<br>&gt;jitter on the network.  For =
the cases this matters both sides<br>&gt;should take an additional timestam=
p when the packet was really sent,<br>&gt;and have a follow up packet that =
contains the correct time.&nbsp;</div><div><br></div><div>This would be a v=
ery clean solution, but my impression was always that NTP did not offer fol=
low-up type messages (as a reminder: for NTS, we try to not require modific=
ations to the specification of the underlying time sync protocol). Am I wro=
ng about his?</div><div><br></div><div>&gt; For<br>&gt;the cases where this=
 matters, they should already be doing this.<br>&gt;<br>&gt;<br>&gt;Kurt<br=
>&gt;<br>&gt;=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=5F=
=5F=5F<br>&gt;ntpwg mailing list<br>&gt;ntpwg@lists.ntp.org<br>&gt;http://l=
ists.ntp.org/listinfo/ntpwg<br>&gt;</div><div></div></font>

--===============6366746808160449863==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============6366746808160449863==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 02:04:31 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8441412DFBA for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 02:04:31 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 eLghQfwX2zph for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 02:04:29 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id B010B12DFC2 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 02:03:55 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8BA3986DB0D for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 09:03:55 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 2B6C986D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 09:03:46 +0000 (UTC)
Received: from mail158c25.carrierzone.com ([64.29.147.228] helo=mail223c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alC2L-000KFY-EF for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 09:03:46 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail223c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2U93XeW027947 for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 09:03:35 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 6D750406076;  Wed, 30 Mar 2016 02:03:33 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: kristof.teichel@ptb.de
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from kristof.teichel@ptb.de of "Wed, 30 Mar 2016 10:14:18 +0200." <OFAFA01462.1493B5BE-ONC1257F86.002D4154-C1257F86.002D4157@ptb.de>
Mime-Version: 1.0
Date: Wed, 30 Mar 2016 02:03:33 -0700
Message-Id: <20160330090333.6D750406076@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=YdmEuWhf c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=tnLOPG4KuRFoj3XE_UoA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010202.56FB9667.0062, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.228
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net, Yoav Nir <ynir@checkpoint.com>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

kristof.teichel@ptb.de said:
>    Maybe someone would be interested in following up on this and write up a
>    paragraph about how best to use/configure IPsec to secure NTP traffic
>    (and possibly some pros and cons about doing this, too). This text
>    might, for example, be added to the Security Considerations of the NTP
>    BCP document.
>    What do people think about this? 

I think a BCP style writeup of how to use IPSec with NTP would be a good 
idea.  I assume it gets complicated if you don't have a shared key.

I think an overview document comparing various approaches for authenticating 
NTP would be a good idea.




-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 04:24:44 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 470E112D124 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 04:24:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 2bywMLVoZwbg for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 04:24:42 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 741D212D638 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 04:24:42 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6CE7D86DB5A for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 11:24:42 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5716A86D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 10:50:03 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1alDh8-0000c7-VX; Wed, 30 Mar 2016 10:50:03 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2UAnlmg028691-u2UAnlmi028691 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 12:49:47 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 636A8C35FC; Wed, 30 Mar 2016 12:49:47 +0200 (CEST)
MIME-Version: 1.0
X-Disclaimed: 1
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <E1al2Sz-000MNq-2j@stenn.ntp.org>
References: <E1al2Sz-000MNq-2j@stenn.ntp.org>, <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com> <20160329111120.GC20902@localhost>
From: kristof.teichel@ptb.de
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <OFBDEF98F6.3C16E962-ONC1257F86.003B514F-C1257F86.003B7D01@ptb.de>
Date: Wed, 30 Mar 2016 12:49:46 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: KE over NTP packets or special	packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============7927031502329436748=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============7927031502329436748==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">&gt;&gt; =
&gt; 2) If yes, then during the KE, will the client actually uses</span><br=
>&gt;&gt; &gt; these<br>&gt;&gt; &gt; timestamps to set its clock or inform=
 any of NTP's clock<br>&gt;&gt; &gt; discipline<br>&gt;&gt; &gt; algorithms=
?<br>&gt;&gt; <br>&gt;&gt; Not unless there is some way to authenticate tim=
estamps from the<br>&gt;&gt; earlier<br>&gt;&gt; packets.<br>&gt;<br>&gt;It=
's a local policy choice.<br><br>I second this, and would like to give the =
comment that as far as the NTS/NTS-4-NTP specifications are concerned, I en=
vision only two possibilities (one of which might be subdivided):<div>- NTS=
 can give the statement that for a given NTP message, authenticity and inte=
grity of the NTP header are provided through NTS measures</div><div>- NTS c=
an not give the above statement. (This might be subdivided into "no NTS sec=
urity measures used on this NTP message" or "NTS security measures used on =
this NTP message, but did not check out", i.e. MAC could not be verified)</=
div><div><br></div><div>Anything beyond that is (and should be) out of our =
scope for the three existing NTS-related documents.</div><div></div></font>

--===============7927031502329436748==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============7927031502329436748==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 04:31:47 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ED53912D646 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 04:31:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.928
X-Spam-Level:
X-Spam-Status: No, score=-6.928 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 aoQ7OI8342sm for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 04:31:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 0E6B912D623 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 04:23:32 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DDFF386DAF3 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 11:23:31 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3A45786D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 10:41:39 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <dieter.sibold@ptb.de>) id 1alDZ4-0000XS-E5 for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 10:41:39 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2UAfPLU027677-u2UAfPLW027677 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 12:41:25 +0200
Received: from lotus.bs.ptb.de (lotus.bs.ptb.de [141.25.85.200]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id D9D13C35E0; Wed, 30 Mar 2016 12:41:25 +0200 (CEST)
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
X-Pgp-Agent: GPGMail 2.6b2
From: Dieter Sibold <dieter.sibold@ptb.de>
X-Priority: 3 (Normal)
In-Reply-To: <OF4C8C4C3C.59B90269-ONC1257F86.002DE65D-C1257F86.002DE660@ptb.de>
Date: Wed, 30 Mar 2016 12:41:17 +0200
Message-Id: <1FC9021A-714E-4A26-AB29-F92B690A4E04@ptb.de>
References: <20160324232543.GA31213@roeckx.be> <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com> <OF4C8C4C3C.59B90269-ONC1257F86.002DE65D-C1257F86.002DE660@ptb.de>
To: kristof.teichel@ptb.de
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: dieter.sibold@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: KE over NTP packets or special	packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============2258713498719504712=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============2258713498719504712==
Content-Type: multipart/signed; boundary="Apple-Mail=_F7A020D4-4E29-4A38-8D2C-9EE5AB2C7F17"; protocol="application/pgp-signature"; micalg=pgp-sha512


--Apple-Mail=_F7A020D4-4E29-4A38-8D2C-9EE5AB2C7F17
Content-Type: multipart/alternative;
	boundary="Apple-Mail=_1E751E6F-7476-4E11-B06B-34F80457AB0C"


--Apple-Mail=_1E751E6F-7476-4E11-B06B-34F80457AB0C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain;
	charset=iso-8859-1


> Am 30.03.2016 um 10:21 schrieb kristof.teichel@ptb.de:
>=20
> >> > The main reasoning here was, I believe, that an inherent solution
> >would be
> >> > easier to tailor to a time synchronization protocol's special
> >needs,
> >> > particularly for the additional delays caused by the
> >cryptographic
> >> > operations on time-sensitive packets to be small (and ideally
> >> > symmetrical).
> >> >
> >>
> >> OK, that's interesting.
> >> Can you please elaborate on the symmetrical requirement?
> >
> >I assume that he's talking about the time between getting T1 and
> >sending out the packet, and getting T3 and sending it out would
> >need about the same delay.
>=20
> For the record: yes, this is what I was talking about.
>=20
> >
> >I also assume that to be able to get a very accurate results. But
> >if that's the case I think they're going about this the wrong way.
> >I think for most cases the overhead of the crypto is not going to
> >have an impact on the results because there is just way more
> >jitter on the network. For the cases this matters both sides
> >should take an additional timestamp when the packet was really sent,
> >and have a follow up packet that contains the correct time.
>=20
> This would be a very clean solution, but my impression was always that =
NTP did not offer follow-up type messages (as a reminder: for NTS, we =
try to not require modifications to the specification of the underlying =
time sync protocol). Am I wrong about his?
>=20
This is correct. NTP as specified in RFC 5905 does not have the concept =
of a follow up message, like for example PTP. I assume

> > For
> >the cases where this matters, they should already be doing this.
> >
> >
> >Kurt
> >
> >_______________________________________________
> >ntpwg mailing list
> >ntpwg@lists.ntp.org
> >http://lists.ntp.org/listinfo/ntpwg
> >
> _______________________________________________
> TICTOC mailing list
> TICTOC@ietf.org
> https://www.ietf.org/mailman/listinfo/tictoc


--Apple-Mail=_1E751E6F-7476-4E11-B06B-34F80457AB0C
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=iso-8859-1

<html><head><meta http-equiv=3D"Content-Type" content=3D"text/html =
charset=3Diso-8859-1"></head><body style=3D"word-wrap: break-word; =
-webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" =
class=3D""><br class=3D""><div><blockquote type=3D"cite" class=3D""><div =
class=3D"">Am 30.03.2016 um 10:21 schrieb <a =
href=3D"mailto:kristof.teichel@ptb.de" =
class=3D"">kristof.teichel@ptb.de</a>:</div><br =
class=3D"Apple-interchange-newline"><div class=3D""><font face=3D"Default =
Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=3D"2" class=3D""><span=
 style=3D"font-family: arial, helvetica, sans-serif;" class=3D"">&gt;&gt; =
&gt; The main reasoning here was, I believe, that an inherent =
solution</span><br class=3D"">&gt;would be<br class=3D"">&gt;&gt; &gt; =
easier to tailor to a time synchronization protocol's special<br =
class=3D"">&gt;needs,<br class=3D"">&gt;&gt; &gt; particularly for the =
additional delays caused by the<br class=3D"">&gt;cryptographic<br =
class=3D"">&gt;&gt; &gt; operations on time-sensitive packets to be =
small (and ideally<br class=3D"">&gt;&gt; &gt; symmetrical).<br =
class=3D"">&gt;&gt; &gt;<br class=3D"">&gt;&gt; <br class=3D"">&gt;&gt; =
OK, that's interesting.<br class=3D"">&gt;&gt; Can you please elaborate =
on the symmetrical requirement?<br class=3D"">&gt;<br class=3D"">&gt;I =
assume that he's talking about the time between getting T1 and<br =
class=3D"">&gt;sending out the packet, and getting T3 and sending it out =
would<br class=3D"">&gt;need about the same delay.<div class=3D""><br =
class=3D""></div><div class=3D"">For the record: yes, this is what I was =
talking about.</div><div class=3D""><br class=3D"">&gt;<br =
class=3D"">&gt;I also assume that to be able to get a very accurate =
results.  But<br class=3D"">&gt;if that's the case I think they're going =
about this the wrong way.<br class=3D"">&gt;I think for most cases the =
overhead of the crypto is not going to<br class=3D"">&gt;have an impact =
on the results because there is just way more<br class=3D"">&gt;jitter =
on the network.  For the cases this matters both sides<br =
class=3D"">&gt;should take an additional timestamp when the packet was =
really sent,<br class=3D"">&gt;and have a follow up packet that contains =
the correct time.&nbsp;</div><div class=3D""><br class=3D""></div><div =
class=3D"">This would be a very clean solution, but my impression was =
always that NTP did not offer follow-up type messages (as a reminder: =
for NTS, we try to not require modifications to the specification of the =
underlying time sync protocol). Am I wrong about his?</div><div =
class=3D""><br class=3D""></div></font></div></blockquote><div>This is =
correct. NTP as specified in RFC 5905 does not have the concept of a =
follow up message, like for example PTP. I assume&nbsp;</div><br =
class=3D""><blockquote type=3D"cite" class=3D""><div class=3D""><font =
face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=3D"2" =
class=3D""><div class=3D"">&gt; For<br class=3D"">&gt;the cases where =
this matters, they should already be doing this.<br class=3D"">&gt;<br =
class=3D"">&gt;<br class=3D"">&gt;Kurt<br class=3D"">&gt;<br =
class=3D"">&gt;_______________________________________________<br =
class=3D"">&gt;ntpwg mailing list<br class=3D"">&gt;<a =
href=3D"mailto:ntpwg@lists.ntp.org" class=3D"">ntpwg@lists.ntp.org</a><br =
class=3D"">&gt;<a href=3D"http://lists.ntp.org/listinfo/ntpwg" =
class=3D"">http://lists.ntp.org/listinfo/ntpwg</a><br =
class=3D"">&gt;</div><div class=3D""></div></font>

_______________________________________________<br class=3D"">TICTOC =
mailing list<br class=3D""><a href=3D"mailto:TICTOC@ietf.org" =
class=3D"">TICTOC@ietf.org</a><br =
class=3D"">https://www.ietf.org/mailman/listinfo/tictoc<br =
class=3D""></div></blockquote></div><br class=3D""></body></html>=

--Apple-Mail=_1E751E6F-7476-4E11-B06B-34F80457AB0C--

--Apple-Mail=_F7A020D4-4E29-4A38-8D2C-9EE5AB2C7F17
Content-Transfer-Encoding: 7bit
Content-Disposition: attachment;
	filename=signature.asc
Content-Type: application/pgp-signature;
	name=signature.asc
Content-Description: Message signed with OpenPGP using GPGMail

-----BEGIN PGP SIGNATURE-----
Comment: GPGTools - https://gpgtools.org

iQIcBAEBCgAGBQJW+61SAAoJEGX4ie6lYtkj2FEP/32WRdwcmr/Z7yB15IyJDmdU
e80C8mYNmMGJZIIPS5QCwxLkKbSCJLLGstWxNNHrbza7szA7p+U9un0W3aMyi2vp
EqspYQtH3/feLxSCs9dUbnJvkIMULdUjQqlYx2Ij3lpUxbFte+4RAraa1+wZHDDD
k6IeogR65SlYD1CucUr0rlccwYRi3u5woBZ7m/+/c/VWZ61APZNyLlMjuH344MN6
upIpoUP9WLadEHtmlNcYCOI2M3TR692z2XboqEnXtPBq+U54Tjfc3x4VOz1Zpz5A
0YFMwybMuBZFATbmOteBw0c08FqM6Vq4TejiSsMrpdMNrIrpjAE2UeSW+4H5BwQ3
wr2vnBHNy8i8lRdKLVRco2ajaMtGFj7oGhG9GEPbSnQ3McsQwjIVgnXMF7vC1Xaq
nDd01zGX+DSoqRP29X+EJx+2dvcrgYQR+B+Po9p8tJbuBOoQ9M2nt8eL3/JOQYqo
V3AymQPxwJPiEF9E2bq17hOVQo/nWjfTF+7GmVJ88nhyjhj92x67DdHDlvfaCLjL
BVokwvZTi4A52kT61yK4JGxf36iUX3hQfkmz1vRAbjc0uYU+J5JvyrAi76i3l8xd
T7w8T4mMvUl1TrBzCdXM809m5pevgkaRRftjoQvNCaE24sTbQ0cAGGaCYLr1KRL6
X4TXArI+TTpXuP8mG4pi
=R5Yp
-----END PGP SIGNATURE-----

--Apple-Mail=_F7A020D4-4E29-4A38-8D2C-9EE5AB2C7F17--

--===============2258713498719504712==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============2258713498719504712==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 05:12:06 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BA71C12D6CE for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 05:12:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 bxZpdMddd3t7 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 05:12:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 37DAB12E09B for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 05:09:01 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id F288686DAD5 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 12:09:00 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 41DD486D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 10:55:09 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1alDm4-0000dz-Bo for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 10:55:09 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2UAsoqX029077-u2UAsoqZ029077 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 12:54:50 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 80FABC3605; Wed, 30 Mar 2016 12:54:50 +0200 (CEST)
MIME-Version: 1.0
X-Disclaimed: 1
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <20160330090333.6D750406076@ip-64-139-1-69.sjc.megapath.net>
References: <20160330090333.6D750406076@ip-64-139-1-69.sjc.megapath.net>
From: kristof.teichel@ptb.de
To: Hal Murray <hmurray@megapathdsl.net>
Message-ID: <OF13093F06.81938EB0-ONC1257F86.003BD6F7-C1257F86.003BF37F@ptb.de>
Date: Wed, 30 Mar 2016 12:54:49 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Why not run over IPsec?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, Yoav Nir <ynir@checkpoint.com>, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============1850568031785442857=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============1850568031785442857==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">&gt;&gt; =
   Maybe someone would be interested in following up on this and</span><br>=
&gt;&gt; write up a<br>&gt;&gt;    paragraph about how best to use/configur=
e IPsec to secure NTP<br>&gt;&gt;traffic<br>&gt;&gt;    (and possibly some =
pros and cons about doing this, too). This<br>&gt;&gt; text<br>&gt;&gt;    =
might, for example, be added to the Security Considerations of<br>&gt;&gt; =
the NTP<br>&gt;&gt;    BCP document.<br>&gt;&gt;    What do people think ab=
out this? <br>&gt;<br>&gt;I think a BCP style writeup of how to use IPSec w=
ith NTP would be a<br>&gt;good <br>&gt;idea.  I assume it gets complicated =
if you don't have a shared key.<br>&gt;<br>&gt;I think an overview document=
 comparing various approaches for<br>&gt;authenticating <br>&gt;NTP would b=
e a good idea.<br><br><div>For the latter document (overview of authenticat=
ion approaches), I would voice cautious interest in contributing.</div><div=
></div></font>

--===============1850568031785442857==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============1850568031785442857==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 05:13:34 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 58ADA12E090 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 05:13:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 6LJ0twQXwAIQ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 05:13:28 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5085512D6A3 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 05:10:14 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 46F3586DB44 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 12:10:14 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 95F3B86D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 11:00:09 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1alDoe-000NH1-4U; Wed, 30 Mar 2016 10:57:36 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160330080602.GB834@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Wed, 30 Mar 2016 10:06:02 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Wed, 30 Mar 2016 10:57:35 +0000
Message-Id: <E1alDoe-000NH1-4U@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "tictoc@ietf.org" <tictoc@ietf.org>, ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Tue, Mar 29, 2016 at 10:36:55PM +0000, Harlan Stenn wrote:
> > For a multitasking server, it could well be that one "thread" does the
> > ordinary NTP handling while another does the NTS work.  The first thread
> > might say "I'm willing to wait N milliseconds before I reply to this
> > request", and if the NTS processing gets done in time then the
> > client_assoc info is ready in that response.  If not, a "plain" response
> > goes back, the client sends a plain NTP packet as its next query, and
> > the server replies with NTP+NTS-client_assoc.
> 
> If the server is not able to respond in time (whatever that means), it
> shouldn't respond at all. The client will try again later. Responding
> with a plain NTP message would not help as the client would ignore the
> reply. Even if it didn't ignore it, the new request would have to be
> the same NTS message as before, because the server doesn't have the
> previous request. I doubt any server implementation would want to
> cache requests and replies.

I disagree, but this may need to become a local policy choice.

Are you suggesting the server saves state between the first incoming
client request that we can't respond to "fast enough" and then on the
next poll the server sees that the client request is identical, so it
can immediately respond with the data it has had time to generate?

If the answer is "no" then the client will never get an NTS handshake.

> > I think it's a Bad Idea to make assumptions and "proactive restrictions"
> > about how to do these exchanges.
> 
> What restrictions would you like to lose? The suspension of the NTS
> protocol with plain NTP messages you described seems to me like a
> major complication in the protocol, which would require the server to
> cache the client's requests.

As opposed to degrading the server's performance?

We're not talking about caching very much information here, or caching
it for very long.

I think we should define as few restrictions as possible here, and leave
it to the implementation to decide what works best.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 05:15:09 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 6A70A12E0D9 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 05:15:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 E-n_TmQbWiU4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 05:15:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 0852C12DEB1 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 05:11:11 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 04EFE86DB57 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 12:11:11 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id C929886D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 11:02:37 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1alDtJ-0000kX-84 for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 11:02:37 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2UB2LRv030073-u2UB2LRx030073 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Wed, 30 Mar 2016 13:02:21 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id 36F85C3624; Wed, 30 Mar 2016 13:02:21 +0200 (CEST)
X-Disclaimed: 1
MIME-Version: 1.0
Importance: Normal
X-Priority: 3 (Normal)
In-Reply-To: <20160327022407.9BF4D406060@ip-64-139-1-69.sjc.megapath.net>
References: <20160327022407.9BF4D406060@ip-64-139-1-69.sjc.megapath.net>
From: kristof.teichel@ptb.de
To: Hal Murray <hmurray@megapathdsl.net>
Message-ID: <OF7BBD2752.428442A8-ONC1257F86.003CA318-C1257F86.003CA31C@ptb.de>
Date: Wed, 30 Mar 2016 13:02:19 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: multipart/mixed; boundary="===============0993985472766128174=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

--===============0993985472766128174==
Content-Transfer-Encoding: quoted-printable
Content-Type: text/html;
	charset=ISO-8859-1

<font face=3D"Default Sans Serif,Verdana,Arial,Helvetica,sans-serif" size=
=3D"2"><span style=3D"font-family: arial, helvetica, sans-serif;">&gt;&gt; =
I wonder if it might not make sense to use the first authenticated</span><b=
r>&gt;&gt; sample<br>&gt;&gt; to validate the previous unauthenticated samp=
les. If the offset<br>&gt;&gt; from the<br>&gt;&gt; first authenticated sam=
ple is not within some threshold of the<br>&gt;&gt; previous<br>&gt;&gt; sa=
mples then the older ones are thrown out. But if they are  within<br>&gt;&g=
t; the<br>&gt;&gt; threshold they are accepted. <br>&gt;<br>&gt;My vote wou=
ld be to put ideas like that on the back burner.<br>&gt;<br>&gt;It adds a l=
ayer of complexity it two places.  That's an opportunity<br>&gt;for bugs.<b=
r>&gt;<br>&gt;One is the general NTP timekeeping area.  The other is the se=
curity<br>&gt;area.<br><div><br></div><div>I second this, with two reasons.=
</div><div><br></div><div>1) I agree with the statement about complexity in=
 two places and am overall unsure whether the outlined idea has a good rati=
o of benefits to complexity costs.</div><div>2) I am fairly certain that an=
y ideas like this should not concern either of the NTS-related documents. W=
hether/how to use any samples whose authenticity &amp; integrity can *not* =
be verified by NTS should be out of scope for us.</div><div><br></div><div>=
Kristof</div><div></div></font>

--===============0993985472766128174==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============0993985472766128174==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 06:08:45 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 78F8612E1A4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 06:08:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 26R7m6Yc92mE for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 06:08:42 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 0934612E2AE for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 05:56:36 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DC4EF86DADC for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 12:56:35 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id AF07986D55E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 11:27:45 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alEHf-0001Ja-IP for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 11:27:45 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 22D7785367; Wed, 30 Mar 2016 11:27:35 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2UBRYue003025; Wed, 30 Mar 2016 07:27:34 -0400
Date: Wed, 30 Mar 2016 13:27:33 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160330112733.GC834@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1alDoe-000NH1-4U@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 30, 2016 at 10:57:35AM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > If the server is not able to respond in time (whatever that means), it
> > shouldn't respond at all. The client will try again later. Responding
> > with a plain NTP message would not help as the client would ignore the
> > reply. Even if it didn't ignore it, the new request would have to be
> > the same NTS message as before, because the server doesn't have the
> > previous request. I doubt any server implementation would want to
> > cache requests and replies.
> 
> I disagree, but this may need to become a local policy choice.
> 
> Are you suggesting the server saves state between the first incoming
> client request that we can't respond to "fast enough" and then on the
> next poll the server sees that the client request is identical, so it
> can immediately respond with the data it has had time to generate?

Yes, if you really needed to significantly delay the response, this
would be one way do to it without having to modify the NTS spec. But I
still don't see how it's useful and I'd be worried about DoS attacks
it could bring in.

> > What restrictions would you like to lose? The suspension of the NTS
> > protocol with plain NTP messages you described seems to me like a
> > major complication in the protocol, which would require the server to
> > cache the client's requests.
> 
> As opposed to degrading the server's performance?

I'm not sure I follow. How is this related to the server's performance?

> I think we should define as few restrictions as possible here, and leave
> it to the implementation to decide what works best.

As long as the protocol stays simple and secure, I'm ok with that.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 10:29:44 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 1F5DB12D81F for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 10:29:44 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 5J7c3XBZXaR1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 10:29:42 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 875C012D80A for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 10:29:42 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 7A9C886DAF6 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 17:29:42 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 6DDAC86D48C for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 17:27:36 +0000 (UTC)
Received: from excelsior.roeckx.be ([2a01:70:ffff:1::3]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kurt@roeckx.be>) id 1alJu2-0006MJ-V0 for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 17:27:36 +0000
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id 66CA7A8A0152; Wed, 30 Mar 2016 17:27:31 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 307A21FE079B; Wed, 30 Mar 2016 19:27:30 +0200 (CEST)
Date: Wed, 30 Mar 2016 19:27:30 +0200
From: Kurt Roeckx <kurt@roeckx.be>
To: Dieter Sibold <dieter.sibold@ptb.de>
Message-ID: <20160330172730.GA5731@roeckx.be>
References: <20160324232543.GA31213@roeckx.be> <CAJHGrrSf7+CDC9PjjP6wjbryaYbkgnVgwp1CDFXE++fasJKJLA@mail.gmail.com> <OF4C8C4C3C.59B90269-ONC1257F86.002DE65D-C1257F86.002DE660@ptb.de> <1FC9021A-714E-4A26-AB29-F92B690A4E04@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <1FC9021A-714E-4A26-AB29-F92B690A4E04@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: 2a01:70:ffff:1::3
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kurt@roeckx.be
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: KE over NTP packets or special packets?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 30, 2016 at 12:41:17PM +0200, Dieter Sibold wrote:
> > >
> > >I also assume that to be able to get a very accurate results. But
> > >if that's the case I think they're going about this the wrong way.
> > >I think for most cases the overhead of the crypto is not going to
> > >have an impact on the results because there is just way more
> > >jitter on the network. For the cases this matters both sides
> > >should take an additional timestamp when the packet was really sent,
> > >and have a follow up packet that contains the correct time.
> > 
> > This would be a very clean solution, but my impression was always that NTP did not offer follow-up type messages (as a reminder: for NTS, we try to not require modifications to the specification of the underlying time sync protocol). Am I wrong about his?
> > 
> This is correct. NTP as specified in RFC 5905 does not have the concept of a follow up message, like for example PTP. I assume

I can't believe that there isn't a draft for this yet.  At least
David Mills has been talking about this years ago.

As far as I know, at least Linux and FreeBSD have support for
hardware timestamping of the packets, but it depends on the
hardware and driver support.


Kurt

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 11:16:22 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8B16D12D883 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 11:16:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.929
X-Spam-Level:
X-Spam-Status: No, score=-6.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 xCfZUW3d-n4l for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 11:16:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C963312D847 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 11:16:20 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BA9D986DB08 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 18:16:20 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 0358D86D48C for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 18:15:59 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@pdmconsulting.net>) id 1alKei-00077T-3q for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 18:15:59 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id BF847B82E for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 18:15:47 +0000 (UTC)
Received: from [10.2.64.150] (unknown [198.22.153.36]) by chessie.everett.org (Postfix) with ESMTPSA id C2245B80E; Wed, 30 Mar 2016 18:15:45 +0000 (UTC)
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>, Miroslav Lichvar <mlichvar@redhat.com>
From: Danny Mayer <mayer@pdmconsulting.net>
Message-ID: <56FC17D2.3080103@pdmconsulting.net>
Date: Wed, 30 Mar 2016 14:15:46 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Mar 30 18:15:47 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56fc17d3829937744524527
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@pdmconsulting.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Reply-To: mayer@pdmconsulting.net
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/29/2016 10:44 AM, Sharon Goldberg wrote:
> It seems very likely that even just one single message of the NTS KE
> will require sending multiple packets to the server.=C2  This needs to be
> dealt with somehow.=C2 =C2 =

> =

> As such, I'm not convinced that sending these KE messages according to
> the NTP polling interval makes sense.=C2  I'm further concerned because I
> don't understand how the NTS KE will deal with lost packets.
> =


Some of this was discussed elsewhere. There are two cases to look at:

1) Client sends a packet and the server doesn't receive it
This is the simple case. If the client doesn't get a response from the
server it can reissue the same request and hope that the server gets it
the second time. Open issue is how many retries should there be before
it gives up?

2) The client sends the packet and the server receives it and responds
but the client doesn't get the response. If the client now resends the
request, what should the server do? Resend? Ignore? Does it need to
remember what it last sent? This is a much harder case to resolve.

Danny


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 11:16:42 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FDB512D847 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 11:16:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 ARgpKcNGtbWm for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 11:16:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 96C7712D881 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 11:16:36 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 9056086DAB5 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 18:16:36 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 14D2586DAA9 for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 18:16:31 +0000 (UTC)
Received: from chessie.everett.org ([66.220.13.234]) by mail1.ntp.org with esmtp (Exim 4.77 (FreeBSD)) (envelope-from <mayer@ntp.org>) id 1alKfD-00078N-PI for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 18:16:31 +0000
Received: from localhost (localhost [127.0.0.1]) by chessie.everett.org (Postfix) with SMTP id 7CD9CB814 for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 18:16:19 +0000 (UTC)
Received: from [10.2.64.150] (unknown [198.22.153.36]) by chessie.everett.org (Postfix) with ESMTPSA id 7C33FB836; Wed, 30 Mar 2016 18:16:17 +0000 (UTC)
From: Danny Mayer <mayer@ntp.org>
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
To: Sharon Goldberg <goldbe@cs.bu.edu>, Miroslav Lichvar <mlichvar@redhat.com>
Message-ID: <56FC17F2.8060903@ntp.org>
Date: Wed, 30 Mar 2016 14:16:18 -0400
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.7.0
MIME-Version: 1.0
In-Reply-To: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com>
X-DSPAM-Result: Innocent
X-DSPAM-Processed: Wed Mar 30 18:16:19 2016
X-DSPAM-Confidence: 0.9899
X-DSPAM-Probability: 0.0000
X-DSPAM-Signature: 6384,56fc17f3829939720921128
X-SA-Exim-Connect-IP: 66.220.13.234
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mayer@ntp.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="windows-1252"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On 3/29/2016 10:44 AM, Sharon Goldberg wrote:
> It seems very likely that even just one single message of the NTS KE
> will require sending multiple packets to the server.=C2  This needs to be
> dealt with somehow.=C2 =C2 =

> =

> As such, I'm not convinced that sending these KE messages according to
> the NTP polling interval makes sense.=C2  I'm further concerned because I
> don't understand how the NTS KE will deal with lost packets.
> =


Some of this was discussed elsewhere. There are two cases to look at:

1) Client sends a packet and the server doesn't receive it
This is the simple case. If the client doesn't get a response from the
server it can reissue the same request and hope that the server gets it
the second time. Open issue is how many retries should there be before
it gives up?

2) The client sends the packet and the server receives it and responds
but the client doesn't get the response. If the client now resends the
request, what should the server do? Resend? Ignore? Does it need to
remember what it last sent? This is a much harder case to resolve.

Danny


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 14:54:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8C65F12D103 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 14:54:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 63hNKdT57Myi for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 14:54:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 0B35D12D0A2 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 14:54:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 053F886DAE2 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 21:54:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 2D13A86D48C for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 21:53:52 +0000 (UTC)
Received: from mail225c25.carrierzone.com ([64.29.147.239] helo=mail24c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alO3a-000A5T-LZ for ntpwg@lists.ntp.org; Wed, 30 Mar 2016 21:53:52 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail24c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2ULrbtr006410 for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 21:53:40 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 33934406075;  Wed, 30 Mar 2016 14:53:37 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: mayer@pdmconsulting.net
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Danny Mayer <mayer@pdmconsulting.net> of "Wed, 30 Mar 2016 14:15:46 EDT." <56FC17D2.3080103@pdmconsulting.net>
Mime-Version: 1.0
Date: Wed, 30 Mar 2016 14:53:37 -0700
Message-Id: <20160330215337.33934406075@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=LLhfHvm9 c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=NuSfBpWpAAAA:8 a=gDgYSy4tmIQpppx6mPMA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010202.56FC4AE4.00DB, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.239
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, hmurray@megapathdsl.net, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

mayer@pdmconsulting.net said:
> Some of this was discussed elsewhere. There are two cases to look at:

> 1) Client sends a packet and the server doesn't receive it 
...
> Open issue is how many retries should there be before it gives up?

Does crypto complicate that decision?


> 2) The client sends the packet and the server receives it and responds but
> the client doesn't get the response. If the client now resends the request,
> what should the server do? Resend? Ignore? Does it need to remember what it
> last sent? This is a much harder case to resolve. 

I agree.  That needs to be part of evaluating any proposal that involves 
multiple packets.

--------

Perhaps the setup exchange should not be piggybacked on top of NTP packets.

If it uses a separate port or TCP it would be easier to put the setup work in 
a separate process.

TCP avoids the lost packet problem.  (Or at least simplifies it.)  It might 
avoid the problems with certificate chains overflowing a packet.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 15:32:50 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id E658712D0FF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 15:32:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.93
X-Spam-Level:
X-Spam-Status: No, score=-6.93 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 gEUXfO6zFCoo for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 15:32:49 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 6101712D10E for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 15:32:49 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4BC4186DAA9 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 22:32:49 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id EF6AA86D48C for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 22:32:30 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1alOf5-000NxC-BG; Wed, 30 Mar 2016 22:32:27 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160330112733.GC834@localhost>
References: <mlichvar@redhat.com> <20160323171157.GA10836@localhost> <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org> <20160330112733.GC834@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Wed, 30 Mar 2016 13:27:33 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Wed, 30 Mar 2016 22:32:27 +0000
Message-Id: <E1alOf5-000NxC-BG@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "tictoc@ietf.org" <tictoc@ietf.org>, ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Wed, Mar 30, 2016 at 10:57:35AM +0000, Harlan Stenn wrote:
> > Miroslav Lichvar writes:
> > > If the server is not able to respond in time (whatever that means), it
> > > shouldn't respond at all. The client will try again later. Responding
> > > with a plain NTP message would not help as the client would ignore the
> > > reply. Even if it didn't ignore it, the new request would have to be
> > > the same NTS message as before, because the server doesn't have the
> > > previous request. I doubt any server implementation would want to
> > > cache requests and replies.
> > 
> > I disagree, but this may need to become a local policy choice.
> > 
> > Are you suggesting the server saves state between the first incoming
> > client request that we can't respond to "fast enough" and then on the
> > next poll the server sees that the client request is identical, so it
> > can immediately respond with the data it has had time to generate?
> 
> Yes, if you really needed to significantly delay the response, this
> would be one way do to it without having to modify the NTS spec. But I
> still don't see how it's useful and I'd be worried about DoS attacks
> it could bring in.

I don't know how to describe this any better.

What is the DoS vector you see?

The premise is that the crypto calculations "take longer than we want to
wait" for something to do in between T2/T3.

If these crypto operations take "a relatively long time" we may choose
to do them outside the main processing "thread".

> > > What restrictions would you like to lose? The suspension of the NTS
> > > protocol with plain NTP messages you described seems to me like a
> > > major complication in the protocol, which would require the server to
> > > cache the client's requests.
> > 
> > As opposed to degrading the server's performance?
> 
> I'm not sure I follow. How is this related to the server's performance?

A server cannot do "expensive" operations in-line.

This is the thing I don't know how to describe better.  I've described it
several times from several angles.

> > I think we should define as few restrictions as possible here, and leave
> > it to the implementation to decide what works best.
> 
> As long as the protocol stays simple and secure, I'm ok with that.

OK.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 15:48:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 007D512D11A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 15:48:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 1Yig0ER_3Yih for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 15:48:01 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 8823B12D0FF for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 15:48:01 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 83A7E86DAEC for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 22:48:01 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5576886D48C for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 22:47:54 +0000 (UTC)
Received: from mail146c25.carrierzone.com ([64.29.147.216] helo=mail239c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alOts-000AtX-Qr; Wed, 30 Mar 2016 22:47:54 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail239c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2UMlfQ2015184; Wed, 30 Mar 2016 22:47:43 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 662EE406078;  Wed, 30 Mar 2016 15:47:41 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Harlan Stenn <stenn@ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Harlan Stenn <stenn@ntp.org> of "Wed, 30 Mar 2016 22:32:27 -0000." <E1alOf5-000NxC-BG@stenn.ntp.org>
Mime-Version: 1.0
Date: Wed, 30 Mar 2016 15:47:41 -0700
Message-Id: <20160330224741.662EE406078@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=cNXZ7DuN c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=85N1-lAfAAAA:8 a=OuuyP0RTJkKiJgIVZxoA:9 a=CjuIK1q_8ugA:10 a=HSfbJe_vbXAA:10
X-CTCH-RefID: str=0001.0A010204.56FC578F.008A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.216
X-SA-Exim-Rcpt-To: stenn@ntp.org, ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, hmurray@megapathdsl.net, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

stenn@ntp.org said:
> A server cannot do "expensive" operations in-line.

Are you confusing the general problem with a specific implementation?

How do I decide if something is "expensive"?


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 16:14:48 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id EF11F12D0FF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 16:14:47 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 0BZFuqwIFO_0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 16:14:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 70DD712D1CD for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 16:14:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 6D08286DAE8 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 23:14:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 147A286D48C for <ntpwg@lists.ntp.org>; Wed, 30 Mar 2016 23:14:22 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1alPHC-000O0z-Ub; Wed, 30 Mar 2016 23:11:50 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Hal Murray <hmurray@megapathdsl.net>
In-reply-to: <20160330224741.662EE406078@ip-64-139-1-69.sjc.megapath.net>
References: <20160330224741.662EE406078@ip-64-139-1-69.sjc.megapath.net>
Comments: In-reply-to Hal Murray <hmurray@megapathdsl.net> message dated "Wed, 30 Mar 2016 15:47:41 -0700."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Wed, 30 Mar 2016 23:11:50 +0000
Message-Id: <E1alPHC-000O0z-Ub@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Hal Murray writes:
> 
> stenn@ntp.org said:
> > A server cannot do "expensive" operations in-line.
> 
> Are you confusing the general problem with a specific implementation?

I don't think so.  It's a general implementation issue, not a specific
implementation issue.

> How do I decide if something is "expensive"?

I don't know, how do you decide if something is "expensive"?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 17:54:12 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 9F47212D54B for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 17:54:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.929
X-Spam-Level:
X-Spam-Status: No, score=-106.929 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=unavailable autolearn_force=no
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 yGXDUywI3wnQ for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 17:54:11 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 58CD712D6F3 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 17:53:58 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 485F186DABD for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 00:53:58 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 4EA4886D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 00:53:31 +0000 (UTC)
Received: from rfc-editor.org ([4.31.198.49]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <wwwrun@rfc-editor.org>) id 1alQrU-000Cbg-6i for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 00:53:31 +0000
Received: by rfc-editor.org (Postfix, from userid 30) id 15249187E48; Wed, 30 Mar 2016 17:52:50 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
X-PHP-Originating-Script: 1005:ams_util_lib.php
From: rfc-editor@rfc-editor.org
Message-Id: <20160331005250.15249187E48@rfc-editor.org>
Date: Wed, 30 Mar 2016 17:52:50 -0700 (PDT)
X-SA-Exim-Connect-IP: 4.31.198.49
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: wwwrun@rfc-editor.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] RFC 7821 on UDP Checksum Complement in the Network Time Protocol (NTP)
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, drafts-update-ref@iana.org, rfc-editor@rfc-editor.org
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

A new Request for Comments is now available in online RFC libraries.

        
        RFC 7821

        Title:      UDP Checksum Complement in the 
                    Network Time Protocol (NTP) 
        Author:     T. Mizrahi
        Status:     Experimental
        Stream:     IETF
        Date:       March 2016
        Mailbox:    talmi@marvell.com
        Pages:      14
        Characters: 26007
        Updates/Obsoletes/SeeAlso:   None

        I-D Tag:    draft-ietf-ntp-checksum-trailer-07.txt

        URL:        https://www.rfc-editor.org/info/rfc7821

        DOI:        http://dx.doi.org/10.17487/RFC7821

The Network Time Protocol (NTP) allows clients to synchronize to a
time server using timestamped protocol messages.  To facilitate
accurate timestamping, some implementations use hardware-based
timestamping engines that integrate the accurate transmission
time into every outgoing NTP packet during transmission.  Since
these packets are transported over UDP, the UDP Checksum field is
then updated to reflect this modification.  This document proposes an
extension field that includes a 2-octet Checksum Complement, allowing
timestamping engines to reflect the checksum modification in the last
2 octets of the packet rather than in the UDP Checksum field.  The
behavior defined in this document is interoperable with existing NTP
implementations.

This document is a product of the Network Time Protocol Working Group of the IETF.


EXPERIMENTAL: This memo defines an Experimental Protocol for the
Internet community.  It does not specify an Internet standard of any
kind. Discussion and suggestions for improvement are requested.
Distribution of this memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  https://www.ietf.org/mailman/listinfo/ietf-announce
  https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see https://www.rfc-editor.org/search
For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Wed Mar 30 17:54:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 8D01112D7C6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 17:54:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -106.909
X-Spam-Level:
X-Spam-Status: No, score=-106.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01, USER_IN_WHITELIST=-100] autolearn=unavailable autolearn_force=no
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 AazYa20mbmZ1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Wed, 30 Mar 2016 17:54:23 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2550112D7F4 for <ntp-archives-ahFae6za@lists.ietf.org>; Wed, 30 Mar 2016 17:54:07 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1DDAD86DB0A for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 00:54:07 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 5FEAE86DABF for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 00:53:42 +0000 (UTC)
Received: from rfc-editor.org ([4.31.198.49]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <wwwrun@rfc-editor.org>) id 1alQrf-000Cbn-75 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 00:53:42 +0000
Received: by rfc-editor.org (Postfix, from userid 30) id 6415D187E4E; Wed, 30 Mar 2016 17:53:02 -0700 (PDT)
To: ietf-announce@ietf.org, rfc-dist@rfc-editor.org
X-PHP-Originating-Script: 1005:ams_util_lib.php
From: rfc-editor@rfc-editor.org
Message-Id: <20160331005302.6415D187E4E@rfc-editor.org>
Date: Wed, 30 Mar 2016 17:53:02 -0700 (PDT)
X-SA-Exim-Connect-IP: 4.31.198.49
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: wwwrun@rfc-editor.org
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] RFC 7822 on Network Time Protocol Version 4 (NTPv4) Extension Fields
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, rfc-editor@rfc-editor.org
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

A new Request for Comments is now available in online RFC libraries.

        
        RFC 7822

        Title:      Network Time Protocol Version 4 
                    (NTPv4) Extension Fields 
        Author:     T. Mizrahi, D. Mayer
        Status:     Standards Track
        Stream:     IETF
        Date:       March 2016
        Mailbox:    talmi@marvell.com, 
                    mayer@ntp.org
        Pages:      8
        Characters: 15759
        Updates:    RFC 5905

        I-D Tag:    draft-ietf-ntp-extension-field-07.txt

        URL:        https://www.rfc-editor.org/info/rfc7822

        DOI:        http://dx.doi.org/10.17487/RFC7822

The Network Time Protocol version 4 (NTPv4) defines the optional
usage of extension fields.  An extension field, as defined in RFC
5905, is an optional field that resides at the end of the NTP header
and that can be used to add optional capabilities or additional
information that is not conveyed in the standard NTP header.  This
document updates RFC 5905 by clarifying some points regarding NTP
extension fields and their usage with Message Authentication Codes
(MACs).

This document is a product of the Network Time Protocol Working Group of the IETF.

This is now a Proposed Standard.

STANDARDS TRACK: This document specifies an Internet Standards Track
protocol for the Internet community, and requests discussion and suggestions
for improvements.  Please refer to the current edition of the Official
Internet Protocol Standards (https://www.rfc-editor.org/standards) for the 
standardization state and status of this protocol.  Distribution of this 
memo is unlimited.

This announcement is sent to the IETF-Announce and rfc-dist lists.
To subscribe or unsubscribe, see
  https://www.ietf.org/mailman/listinfo/ietf-announce
  https://mailman.rfc-editor.org/mailman/listinfo/rfc-dist

For searching the RFC series, see https://www.rfc-editor.org/search
For downloading RFCs, see https://www.rfc-editor.org/retrieve/bulk

Requests for special distribution should be addressed to either the
author of the RFC in question, or to rfc-editor@rfc-editor.org.  Unless
specifically noted otherwise on the RFC itself, all RFCs are for
unlimited distribution.


The RFC Editor Team
Association Management Solutions, LLC


_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 00:31:12 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 37EE412D821 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 00:31:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 mk3dmQZBlhXV for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 00:31:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 5E60112D55E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 00:31:10 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 23C1E86DAF9 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 07:31:10 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id EDEEE86D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 07:27:17 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alX0U-000ICe-Mf for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 07:27:17 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) by mx1.redhat.com (Postfix) with ESMTPS id 054D048A; Thu, 31 Mar 2016 07:27:04 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2V7R3Ze028590; Thu, 31 Mar 2016 03:27:04 -0400
Date: Thu, 31 Mar 2016 09:27:03 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160331072703.GD834@localhost>
References: <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org> <20160330112733.GC834@localhost> <E1alOf5-000NxC-BG@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1alOf5-000NxC-BG@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 30, 2016 at 10:32:27PM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > Yes, if you really needed to significantly delay the response, this
> > would be one way do to it without having to modify the NTS spec. But I
> > still don't see how it's useful and I'd be worried about DoS attacks
> > it could bring in.
> 
> I don't know how to describe this any better.
> 
> What is the DoS vector you see?

Any state that the protocol would require on the server is a potential
vector for a DoS attack. How easy is for an attacker to make new
"connections" and allocate memory on the server? Can the attacker
prevent other clients from fully forming the NTS association?

> The premise is that the crypto calculations "take longer than we want to
> wait" for something to do in between T2/T3.
> 
> If these crypto operations take "a relatively long time" we may choose
> to do them outside the main processing "thread".

Ok, but why would you not send the result to the client when the
operation is finished? Are you expecting it will take longer than some
minimum expected polling interval of the client (e.g. 1 second)?

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 00:52:48 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3FB5A12D0B1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 00:52:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 ZIL4v3pzJGAh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 00:52:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B037712D0ED for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 00:52:46 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 853BA86DAF1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 07:52:46 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 0C0E386D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 07:52:40 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1alXMm-000OfI-Db; Thu, 31 Mar 2016 07:50:08 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160331072703.GD834@localhost>
References: <20160323211918.C9690406063@ip-64-139-1-69.sjc.megapath.net> <CAJHGrrTYKVhNnSd1HA49-3Vtq1FOeD9vceLJ9vFLo1KZOkak-g@mail.gmail.com> <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org> <20160330112733.GC834@localhost> <E1alOf5-000NxC-BG@stenn.ntp.org> <20160331072703.GD834@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Thu, 31 Mar 2016 09:27:03 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 31 Mar 2016 07:50:08 +0000
Message-Id: <E1alXMm-000OfI-Db@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "tictoc@ietf.org" <tictoc@ietf.org>, ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Wed, Mar 30, 2016 at 10:32:27PM +0000, Harlan Stenn wrote:
> > Miroslav Lichvar writes:
> > > Yes, if you really needed to significantly delay the response, this
> > > would be one way do to it without having to modify the NTS spec. But I
> > > still don't see how it's useful and I'd be worried about DoS attacks
> > > it could bring in.
> > 
> > I don't know how to describe this any better.
> > 
> > What is the DoS vector you see?
> 
> Any state that the protocol would require on the server is a potential
> vector for a DoS attack. How easy is for an attacker to make new
> "connections" and allocate memory on the server?

While great hunks of this are implementation-dependent, I suspect no
additional memory will be required to answer "now" as opposed to
"later".  The difference is "duration" and it's easy enough to deal with
that.  There are other steps that can be taken, too.


> Can the attacker prevent other clients from fully forming the NTS
> association?

How?

> > The premise is that the crypto calculations "take longer than we want to
> > wait" for something to do in between T2/T3.
> > 
> > If these crypto operations take "a relatively long time" we may choose
> > to do them outside the main processing "thread".
> 
> Ok, but why would you not send the result to the client when the
> operation is finished? Are you expecting it will take longer than some
> minimum expected polling interval of the client (e.g. 1 second)?

In a client/server situation, how would you propose to do that before
the next poll?

What benefit do you gain from doing this?

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 01:01:10 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD65412D1C0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 01:01:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 AHYEwaTd56R9 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 01:01:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 80D5C12D0B1 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 01:01:04 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 5CD9C86DB08 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 08:01:04 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3207686D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 07:58:56 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alXV8-000IfY-W8 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 07:58:56 +0000
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 5B41BA70D; Thu, 31 Mar 2016 07:58:46 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2V7wjaw024116; Thu, 31 Mar 2016 03:58:45 -0400
Date: Thu, 31 Mar 2016 09:58:44 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Danny Mayer <mayer@ntp.org>
Message-ID: <20160331075844.GE834@localhost>
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com> <56FC17F2.8060903@ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <56FC17F2.8060903@ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Wed, Mar 30, 2016 at 02:16:18PM -0400, Danny Mayer wrote:
> On 3/29/2016 10:44 AM, Sharon Goldberg wrote:
> > As such, I'm not convinced that sending these KE messages according to
> > the NTP polling interval makes sense.=C2  I'm further concerned because=
 I
> > don't understand how the NTS KE will deal with lost packets.
> =

> Some of this was discussed elsewhere. There are two cases to look at:
> =

> 1) Client sends a packet and the server doesn't receive it
> This is the simple case. If the client doesn't get a response from the
> server it can reissue the same request and hope that the server gets it
> the second time. Open issue is how many retries should there be before
> it gives up?

I think this is handled by NTP. If it's a persistent association, the
client doesn't give up, it will just increase the polling interval up
to the maxpoll. If it's an ephemeral association, it will be
demobilized at some point.

I'm not sure if NTS needs to change anything in that.

> 2) The client sends the packet and the server receives it and responds
> but the client doesn't get the response. If the client now resends the
> request, what should the server do? Resend? Ignore? Does it need to
> remember what it last sent? This is a much harder case to resolve.

I'd expect the server to respond to all requests it can or is
configured to (e.g. with rate limiting), like an NTP server normally
does. Should it be different with NTS?

-- =

Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 01:55:23 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5ADAB12D143 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 01:55:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 2D1u8nutooVG for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 01:55:21 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C3E7312D0BA for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 01:55:21 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BD02286DAFE for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 08:55:21 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id CD74E86D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 08:55:03 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alYNQ-000JXT-91 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 08:55:03 +0000
Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (Postfix) with ESMTPS id 2BDE1C0005D5; Thu, 31 Mar 2016 08:54:51 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2V8snaL011321; Thu, 31 Mar 2016 04:54:50 -0400
Date: Thu, 31 Mar 2016 10:54:49 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160331085449.GF834@localhost>
References: <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org> <20160330112733.GC834@localhost> <E1alOf5-000NxC-BG@stenn.ntp.org> <20160331072703.GD834@localhost> <E1alXMm-000OfI-Db@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1alXMm-000OfI-Db@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 31, 2016 at 07:50:08AM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > Any state that the protocol would require on the server is a potential
> > vector for a DoS attack. How easy is for an attacker to make new
> > "connections" and allocate memory on the server?
> 
> While great hunks of this are implementation-dependent, I suspect no
> additional memory will be required to answer "now" as opposed to
> "later".  The difference is "duration" and it's easy enough to deal with
> that.  There are other steps that can be taken, too.

If you want to respond later, you need to save that response
somewhere. And when you have too many reponses saved, you need to drop
some of them.

> > Can the attacker prevent other clients from fully forming the NTS
> > association?
> 
> How?

By forcing the server to drop the saved response which the client will
need. If the server doesn't save any state, there is nothing for the
attacker to play with.

> > Ok, but why would you not send the result to the client when the
> > operation is finished? Are you expecting it will take longer than some
> > minimum expected polling interval of the client (e.g. 1 second)?
> 
> In a client/server situation, how would you propose to do that before
> the next poll?

Like with any other NTP packet? Respond immediately when the request
is processed. The crypto operations should be much faster than the 2s
iburst interval, I don't think we need to worry about clients sending
new request before they get the reply. If there are more requests than
the server can handle, then some of them will be dropped.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 02:03:18 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 038D812D098 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 02:03:18 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 4vIdTs-_uDy0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 02:03:11 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id C6FFF12D17E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 02:03:11 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id BF16486DB4C for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 09:03:11 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 9D69B86D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 09:03:06 +0000 (UTC)
Received: from mail150c25.carrierzone.com ([64.29.147.220] helo=mail238c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alYVD-000Jjo-CV for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 09:03:06 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail238c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2V92n8J014496 for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 09:02:52 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 201B8406078;  Thu, 31 Mar 2016 02:02:47 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: NTP Working Group <ntpwg@lists.ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Miroslav Lichvar <mlichvar@redhat.com> of "Thu, 31 Mar 2016 09:58:44 +0200." <20160331075844.GE834@localhost>
Mime-Version: 1.0
Date: Thu, 31 Mar 2016 02:02:47 -0700
Message-Id: <20160331090247.201B8406078@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=MbtV5fPf c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=20KFwNOVAAAA:8 a=6ZpeQRpgIiLw_4nS58UA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010205.56FCE7BD.0134, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.220
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: [ntpwg] What's the current thinking on rate limiting?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: hmurray@megapathdsl.net, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

mlichvar@redhat.com said:
> I'd expect the server to respond to all requests it can or is configured to
> (e.g. with rate limiting), like an NTP server normally does. Should it be
> different with NTS? 

Since it's reasonably easy to inject packets with forged source address, rate 
limiting is an opportunity for denial of service without sending a lot of 
traffic that might attract notice.  If you want to keep a site from using 
NTP, just send enough requests "from" that site to all the NTP servers it 
might use.  You only need to send enough traffic to keep the the rate 
limiting activated.



-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 02:17:26 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 7C65E12D56D for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 02:17:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=unavailable autolearn_force=no
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 fI52to8nEyUo for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 02:17:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 21C3C12D143 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 02:17:25 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1A85086DB21 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 09:17:25 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id F1E1386D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 09:17:18 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1alYgg-000OmK-Hu; Thu, 31 Mar 2016 09:14:46 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160331085449.GF834@localhost>
References: <20160324084941.GB23775@localhost> <CAJHGrrTtxJK35eXG_SC8EjGk6w33PtV=wx=5q+HNg00_VLvPAQ@mail.gmail.com> <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org> <20160330112733.GC834@localhost> <E1alOf5-000NxC-BG@stenn.ntp.org> <20160331072703.GD834@localhost> <E1alXMm-000OfI-Db@stenn.ntp.org> <20160331085449.GF834@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Thu, 31 Mar 2016 10:54:49 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 31 Mar 2016 09:14:46 +0000
Message-Id: <E1alYgg-000OmK-Hu@stenn.ntp.org>
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: "tictoc@ietf.org" <tictoc@ietf.org>, ntpwg@lists.ntp.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> On Thu, Mar 31, 2016 at 07:50:08AM +0000, Harlan Stenn wrote:
> > Miroslav Lichvar writes:
> > > Any state that the protocol would require on the server is a potential
> > > vector for a DoS attack. How easy is for an attacker to make new
> > > "connections" and allocate memory on the server?
> > 
> > While great hunks of this are implementation-dependent, I suspect no
> > additional memory will be required to answer "now" as opposed to
> > "later".  The difference is "duration" and it's easy enough to deal with
> > that.  There are other steps that can be taken, too.
> 
> If you want to respond later, you need to save that response
> somewhere. And when you have too many reponses saved, you need to drop
> some of them.

How is that significantly different from having lots of NTS connections
starting up at the same time?

Regardless, this is a pretty easy situation to address.  I'm not worried
about it at all.

> > > Can the attacker prevent other clients from fully forming the NTS
> > > association?
> > 
> > How?
> 
> By forcing the server to drop the saved response which the client will
> need. If the server doesn't save any state, there is nothing for the
> attacker to play with.

Same as above.  This is something that's pretty easy to address.

> > > Ok, but why would you not send the result to the client when the
> > > operation is finished? Are you expecting it will take longer than some
> > > minimum expected polling interval of the client (e.g. 1 second)?
> > 
> > In a client/server situation, how would you propose to do that before
> > the next poll?
> 
> Like with any other NTP packet? Respond immediately when the request
> is processed. The crypto operations should be much faster than the 2s
> iburst interval, I don't think we need to worry about clients sending
> new request before they get the reply. If there are more requests than
> the server can handle, then some of them will be dropped.

Again, that's a local policy choice.  If you choose that approach and
the crypto work is "expensive" you've just traded one attack vector for
another.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 02:46:20 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DBC8912D9D6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 02:46:20 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 fKtiIEjIXHe4 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 02:46:19 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 5589A12D52C for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 02:46:19 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 4F5A886DB37 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 09:46:19 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id DD28D86D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 09:45:33 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alZAJ-000KMn-Px for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 09:45:33 +0000
Received: from int-mx13.intmail.prod.int.phx2.redhat.com (int-mx13.intmail.prod.int.phx2.redhat.com [10.5.11.26]) by mx1.redhat.com (Postfix) with ESMTPS id 2DEF1C0AEE27; Thu, 31 Mar 2016 09:45:23 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx13.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2V9jMbo007658; Thu, 31 Mar 2016 05:45:22 -0400
Date: Thu, 31 Mar 2016 11:45:21 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Hal Murray <hmurray@megapathdsl.net>
Message-ID: <20160331094521.GA16340@localhost>
References: <mlichvar@redhat.com> <20160331075844.GE834@localhost> <20160331090247.201B8406078@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <20160331090247.201B8406078@ip-64-139-1-69.sjc.megapath.net>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.26
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] What's the current thinking on rate limiting?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 31, 2016 at 02:02:47AM -0700, Hal Murray wrote:
> mlichvar@redhat.com said:
> > I'd expect the server to respond to all requests it can or is configured to
> > (e.g. with rate limiting), like an NTP server normally does. Should it be
> > different with NTS? 
> 
> Since it's reasonably easy to inject packets with forged source address, rate 
> limiting is an opportunity for denial of service without sending a lot of 
> traffic that might attract notice.  If you want to keep a site from using 
> NTP, just send enough requests "from" that site to all the NTP servers it 
> might use.  You only need to send enough traffic to keep the the rate 
> limiting activated.

Yes, that is a security issue in the implementation of rate limiting
in ntpd, which was published last year. You may have seen posts from
authors of the paper on this list :). The fix is to respond randomly
when the clients appear to be sending too many requests, so they can't
be starved from responses completely. At least one NTP implementation
already does that.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 03:23:17 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BC81112D591 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 03:23:17 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.91
X-Spam-Level:
X-Spam-Status: No, score=-6.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 Sn9DjPWdeMeh for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 03:23:16 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 53D3F12D598 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 03:23:15 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 0E1CB86DB07 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 10:23:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from stenn.ntp.org (stenn.ntp.org [IPv6:2001:4f8:fff7:1::30]) by lists.ntp.org (Postfix) with ESMTP id 0EB5986D48C for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 10:23:06 +0000 (UTC)
Received: from [::1] (helo=stenn.ntp.org) by stenn.ntp.org with esmtp (Exim 4.86 (FreeBSD)) (envelope-from <stenn@stenn.ntp.org>) id 1alZkl-000OsI-AT; Thu, 31 Mar 2016 10:23:03 +0000
From: Harlan Stenn <stenn@ntp.org>
To: Miroslav Lichvar <mlichvar@redhat.com>
In-reply-to: <20160331094521.GA16340@localhost>
References: <mlichvar@redhat.com> <20160331075844.GE834@localhost> <20160331090247.201B8406078@ip-64-139-1-69.sjc.megapath.net> <20160331094521.GA16340@localhost>
Comments: In-reply-to Miroslav Lichvar <mlichvar@redhat.com> message dated "Thu, 31 Mar 2016 11:45:21 +0200."
X-Mailer: MH-E 7.4.2; nmh 1.6; XEmacs 21.4 (patch 24)
Mime-Version: 1.0 (generated by tm-edit 1.8)
Date: Thu, 31 Mar 2016 10:23:03 +0000
Message-Id: <E1alZkl-000OsI-AT@stenn.ntp.org>
Subject: Re: [ntpwg] What's the current thinking on rate limiting?
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, Hal Murray <hmurray@megapathdsl.net>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Miroslav Lichvar writes:
> Yes, that is a security issue in the implementation of rate limiting
> in ntpd, which was published last year. You may have seen posts from
> authors of the paper on this list :). The fix is to respond randomly
> when the clients appear to be sending too many requests, so they can't
> be starved from responses completely. At least one NTP implementation
> already does that.

We're now doing a number of different things along those lines.  There
are probably more things we could do, too.

H
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 05:01:38 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 28DE312D5CF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 05:01:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.908
X-Spam-Level:
X-Spam-Status: No, score=-6.908 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 K33XMk_uouGk for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 05:01:35 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id DF40612D5AA for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 05:01:35 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id D67B486DB07 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 12:01:35 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 3B5D886D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 11:58:55 +0000 (UTC)
Received: from mx1.bs.ptb.de ([192.53.103.120]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kristof.teichel@ptb.de>) id 1albFL-0001Ds-00 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 11:58:55 +0000
Received: from smtp-hub.bs.ptb.de (smtpint01.bs.ptb.de [141.25.87.32]) by mx1.bs.ptb.de  with ESMTP id u2VBwaEC004816-u2VBwaEE004816 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=FAIL); Thu, 31 Mar 2016 13:58:36 +0200
Received: from rose.bs.ptb.de (rose.bs.ptb.de [141.25.85.201]) by smtp-hub.bs.ptb.de (Postfix) with ESMTP id E5184C40C2; Thu, 31 Mar 2016 13:58:36 +0200 (CEST)
In-Reply-To: <20160329152654.GH20902@localhost>
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com> <20160329152654.GH20902@localhost>
To: Miroslav Lichvar <mlichvar@redhat.com>, "NTP Working Group" <ntpwg@lists.ntp.org>, tictoc@ietf.org
MIME-Version: 1.0
Message-ID: <OF07030A8A.8267E74D-ONC1257F87.002F2081-C1257F87.0041C9FA@ptb.de>
From: kristof.teichel@ptb.de
Date: Thu, 31 Mar 2016 13:58:35 +0200
X-SA-Exim-Connect-IP: 192.53.103.120
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kristof.teichel@ptb.de
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: multipart/mixed; boundary="===============6642260347154606490=="
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Dies ist eine mehrteilige Nachricht im MIME-Format.
--===============6642260347154606490==
Content-Type: multipart/alternative; boundary="=_alternative 0041C9FAC1257F87_="

Dies ist eine mehrteilige Nachricht im MIME-Format.
--=_alternative 0041C9FAC1257F87_=
Content-Type: text/plain; charset="US-ASCII"

> > Note that NTS uses certificates to authenticate the KE.  Generally, a
> > certificate chain cannot fit into a single IP packet.
> 
> Yes, there was a discussion about that on the ntpwg list recently and
> currently NTS relies on IP fragmentation even with the standard
> ethernet MTU of 1500. I agree it could be a problem. It seems IPv6
> doesn't even require hosts to defragment packets larger than 1500
> octets.
> 
> Adding fragmentation to the NTP protocol seems like a horrible idea.

To be honest, we had never assumed for IP fragmentation (on one request 
and one response) to be a huge problem.
If people see grave problems with it, we would welcome an elaboration as 
to why this is.

> Would it be safe to assume an NTP+NTS packet can always contain a
> single certificate without requiring fragmentation with MTU of 1500?
> Perhaps the server_cook message could be split into multiple messages.
> With the client_cook message I suspect it would be much more
> difficult.

Just for the record: as per the current draft version, the messages in 
question (those which likely exceed MTU because they contain certificate 
chains are server_assoc and client_cook).
To clarify: does the reason you suspect that splitting client_cook is more 
difficult lie only in the stateless nature of the server and the fact that 
client_cook is a request, sent from client to server? Or am I missing 
something?

Kristof
--=_alternative 0041C9FAC1257F87_=
Content-Type: text/html; charset="US-ASCII"

<tt><font size=2>&gt; &gt; Note that NTS uses certificates to authenticate
the KE. &nbsp;Generally, a<br>
&gt; &gt; certificate chain cannot fit into a single IP packet.<br>
&gt; <br>
&gt; Yes, there was a discussion about that on the ntpwg list recently
and<br>
&gt; currently NTS relies on IP fragmentation even with the standard<br>
&gt; ethernet MTU of 1500. I agree it could be a problem. It seems IPv6<br>
&gt; doesn't even require hosts to defragment packets larger than 1500<br>
&gt; octets.<br>
&gt; <br>
&gt; Adding fragmentation to the NTP protocol seems like a horrible idea.</font></tt>
<br>
<br><tt><font size=2>To be honest, we had never assumed for IP fragmentation
(on one request and one response) to be a huge problem.</font></tt>
<br><tt><font size=2>If people see grave problems with it, we would welcome
an elaboration as to why this is.</font></tt>
<br><tt><font size=2><br>
&gt; Would it be safe to assume an NTP+NTS packet can always contain a<br>
&gt; single certificate without requiring fragmentation with MTU of 1500?<br>
&gt; Perhaps the server_cook message could be split into multiple messages.<br>
&gt; With the client_cook message I suspect it would be much more<br>
&gt; difficult.</font></tt>
<br>
<br><tt><font size=2>Just for the record: as per the current draft version,
the messages in question (those which likely exceed MTU because they contain
certificate chains are server_assoc and client_cook).</font></tt>
<br><tt><font size=2>To clarify: does the reason you suspect that splitting
client_cook is more difficult lie only in the stateless nature of the server
and the fact that client_cook is a request, sent from client to server?
Or am I missing something?</font></tt>
<br><tt><font size=2><br>
Kristof</font></tt>
--=_alternative 0041C9FAC1257F87_=--

--===============6642260347154606490==
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
--===============6642260347154606490==--

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 06:02:03 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 514F012DA06 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 06:02:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 keMri2GPVaPD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 06:01:57 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 2F82212D0CB for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 06:01:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 2636986DAE4 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 13:01:45 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id DF62486D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 12:59:19 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alcBr-00028u-5d for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 12:59:19 +0000
Received: from int-mx09.intmail.prod.int.phx2.redhat.com (int-mx09.intmail.prod.int.phx2.redhat.com [10.5.11.22]) by mx1.redhat.com (Postfix) with ESMTPS id 0FE1E25CA1; Thu, 31 Mar 2016 12:59:10 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx09.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2VCx9ja027616; Thu, 31 Mar 2016 08:59:09 -0400
Date: Thu, 31 Mar 2016 14:59:08 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: kristof.teichel@ptb.de
Message-ID: <20160331125908.GG834@localhost>
References: <CAJHGrrSxvxRfe8VRRxh8Eh5tkCw-D0t7uuA_YqcLZif=ho45nA@mail.gmail.com> <20160329152654.GH20902@localhost> <OF07030A8A.8267E74D-ONC1257F87.002F2081-C1257F87.0041C9FA@ptb.de>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <OF07030A8A.8267E74D-ONC1257F87.002F2081-C1257F87.0041C9FA@ptb.de>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.22
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 31, 2016 at 01:58:35PM +0200, kristof.teichel@ptb.de wrote:
> To be honest, we had never assumed for IP fragmentation (on one request 
> and one response) to be a huge problem.

One request and response could still be a problem. If the client is
not able to receive fragmented packets, it won't be able to initialize
the NTS association.

> If people see grave problems with it, we would welcome an elaboration as 
> to why this is.

I'm not sure and I was hoping others would comment on that. It seems
to me problems with IPv4 fragmentation are quite common due to
firewalls dropping ICMP packets or IP fragments, and IPv6 doesn't seem
to recommend sending packets larger than 1500.

> To clarify: does the reason you suspect that splitting client_cook is more 
> difficult lie only in the stateless nature of the server and the fact that 
> client_cook is a request, sent from client to server?

Yes, precisely. The client keeps the NTS state, so in the worst case
the server could be authenticated in multiple steps, sending one
certificate at a time. But splitting the client_cook message at the
NTP or NTS layer would not be from the server point of view different
from fragmenting a single packet at IP layer.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 08:39:51 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2768912D1CF for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 08:39:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 W5zAeDnRuK9W for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 08:39:49 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 9163612D527 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 08:39:49 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 8840586DAFE for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 15:39:49 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 6B03386D643 for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 15:39:34 +0000 (UTC)
Received: from mx1.redhat.com ([209.132.183.28]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <mlichvar@redhat.com>) id 1alegu-0004Xy-D2 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 15:39:33 +0000
Received: from int-mx11.intmail.prod.int.phx2.redhat.com (int-mx11.intmail.prod.int.phx2.redhat.com [10.5.11.24]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id E2AFD8F511; Thu, 31 Mar 2016 15:39:22 +0000 (UTC)
Received: from localhost (dhcp-24-154.brq.redhat.com [10.34.24.154]) by int-mx11.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id u2VFdLOu008929; Thu, 31 Mar 2016 11:39:22 -0400
Date: Thu, 31 Mar 2016 17:39:21 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: Harlan Stenn <stenn@ntp.org>
Message-ID: <20160331153921.GA7550@localhost>
References: <20160329101554.GA30541@localhost> <E1al2Fs-000MMv-1c@stenn.ntp.org> <20160330080602.GB834@localhost> <E1alDoe-000NH1-4U@stenn.ntp.org> <20160330112733.GC834@localhost> <E1alOf5-000NxC-BG@stenn.ntp.org> <20160331072703.GD834@localhost> <E1alXMm-000OfI-Db@stenn.ntp.org> <20160331085449.GF834@localhost> <E1alYgg-000OmK-Hu@stenn.ntp.org>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <E1alYgg-000OmK-Hu@stenn.ntp.org>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-Scanned-By: MIMEDefang 2.68 on 10.5.11.24
X-SA-Exim-Connect-IP: 209.132.183.28
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: mlichvar@redhat.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: ntpwg@lists.ntp.org, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 31, 2016 at 09:14:46AM +0000, Harlan Stenn wrote:
> Miroslav Lichvar writes:
> > On Thu, Mar 31, 2016 at 07:50:08AM +0000, Harlan Stenn wrote:
> > > Miroslav Lichvar writes:
> > > > Any state that the protocol would require on the server is a potential
> > > > vector for a DoS attack. How easy is for an attacker to make new
> > > > "connections" and allocate memory on the server?
> > > 
> > > While great hunks of this are implementation-dependent, I suspect no
> > > additional memory will be required to answer "now" as opposed to
> > > "later".  The difference is "duration" and it's easy enough to deal with
> > > that.  There are other steps that can be taken, too.
> > 
> > If you want to respond later, you need to save that response
> > somewhere. And when you have too many reponses saved, you need to drop
> > some of them.
> 
> How is that significantly different from having lots of NTS connections
> starting up at the same time?

I think the difference is that new NTS associations can't break
existing associations if the server doesn't keep any NTS state per
client. It's easy to control the number of requests that are processed
at the same time, but it's difficult to tell which associations are
still alive.

-- 
Miroslav Lichvar
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 10:03:19 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id BD99912D543 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 10:03:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 aDerl3IBM7F1 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 10:03:18 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id B461D12D536 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 10:03:15 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id AB95B86DAE8 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 17:03:15 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 0CEE586D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 17:01:29 +0000 (UTC)
Received: from excelsior.roeckx.be ([195.234.45.115]) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <kurt@roeckx.be>) id 1alfyA-0005hZ-1N for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 17:01:28 +0000
Received: from intrepid.roeckx.be (localhost [127.0.0.1]) by excelsior.roeckx.be (Postfix) with ESMTP id A179BA8A06A6; Thu, 31 Mar 2016 17:01:14 +0000 (UTC)
Received: by intrepid.roeckx.be (Postfix, from userid 1000) id 5822C1FE01B7; Thu, 31 Mar 2016 19:01:14 +0200 (CEST)
Date: Thu, 31 Mar 2016 19:01:14 +0200
From: Kurt Roeckx <kurt@roeckx.be>
To: Sharon Goldberg <goldbe@cs.bu.edu>
Message-ID: <20160331170113.GA6025@roeckx.be>
References: <20160327022407.9BF4D406060@ip-64-139-1-69.sjc.megapath.net> <OF7BBD2752.428442A8-ONC1257F86.003CA318-C1257F86.003CA31C@ptb.de> <CAJHGrrQ_HQiqkvF3O6RRtLk=m4=cFF7RT9K7CVEMFXZw8woARA@mail.gmail.com>
MIME-Version: 1.0
Content-Disposition: inline
In-Reply-To: <CAJHGrrQ_HQiqkvF3O6RRtLk=m4=cFF7RT9K7CVEMFXZw8woARA@mail.gmail.com>
User-Agent: Mutt/1.5.24 (2015-08-30)
X-SA-Exim-Connect-IP: 195.234.45.115
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: kurt@roeckx.be
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]   WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, Hal Murray <hmurray@megapathdsl.net>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

On Thu, Mar 31, 2016 at 12:37:40PM -0400, Sharon Goldberg wrote:
> 
> Re: using unauthenticated time samples.
> 
> Leaving this out of scope gives uses just enough rope to hang themselves.
> The draft should explain the risks and implication of using unathenticated
> time. As I discussed in my previous email, doing this allows even a
> *boosttrapped* client to be attacked.  I would even suggest that the draft
> use MUST to forbid the use of unauthenticated samples.  If this is already
> in the draft and I have missed it, please accept my apologies.

I think the point about the local policy is that you might not
have any servers that support NTS, and that you should probably
have a config file that says it should be available or not.

I guess you could have 3 modes of operations:
1) Don't do NTS at all
2) NTS must be supported (by at least some peers)
3) We don't know if NTS is going to be available or not, but we
want to use it if it is.

I'm not sure how useful the 3rd option is.  I currently only see
this working with a config file that doesn't use the pool.  But I
think software should probably have that as default option if it's
using other peers than the pool, at least when NTS is still new.


Kurt

_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 11:32:46 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 88CCD12D6CD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 11:32:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 8zIMbjqtFE1L for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 11:32:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id C438212D68E for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 11:32:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id B9B9386DADD for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 18:32:44 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id D8CEC86D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 18:27:41 +0000 (UTC)
Received: from mail225c25.carrierzone.com ([64.29.147.239] helo=mail24c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alhJb-00070k-R8 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 18:27:41 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail24c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2VIRSJs030675 for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 18:27:29 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id C8A29406078;  Thu, 31 Mar 2016 11:27:27 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Sharon Goldberg <goldbe@cs.bu.edu> of "Thu, 31 Mar 2016 12:37:40 EDT." <CAJHGrrQ_HQiqkvF3O6RRtLk=m4=cFF7RT9K7CVEMFXZw8woARA@mail.gmail.com>
Mime-Version: 1.0
Date: Thu, 31 Mar 2016 11:27:27 -0700
Message-Id: <20160331182727.C8A29406078@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=LLhfHvm9 c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=9tjlA2ocFJU7HAN7TM8A:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56FD6C11.0185, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.239
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC] WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: Hal Murray <hmurray@megapathdsl.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

goldbe@cs.bu.edu said:
> I suggest that NTS should encourage users to write the current time to a
> persistent file that is available upon reboot.  This should be overwritten
> on every clock update.    Then, when the client reboots, it can check that
> the expiry time of the certificates is no earlier than the last time time
> written to the presisent file.  This limits the impact of attackers that use
> old compromised certificates to break the security of NTS. 

I think the issue of getting started is much more complicated than that.

It probably deserves a separate document to collect all the ideas.  
Individual documents like NTS should be explicit about what they are 
assuming.  Do they need valid (how close?) time or valid certificates or ???

The above paragraph assumes the system has a writable file system.  The 
"every clock update" may be too expensive for some systems.

What happens the first time?  Even if you assume that file was sanely 
initialized at the factory, the unit may have sat on a shelf for a long time.

What do you do if your clock gets set far into the future?


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 11:34:45 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id B61C512D6CD for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 11:34:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 LcnXYsaVXBa0 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 11:34:44 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id 2E5AA12D6D5 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 11:34:40 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 1BCF786DAE9 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 18:34:40 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 8D30886D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 18:34:27 +0000 (UTC)
Received: from mail234c25.carrierzone.com ([64.29.147.248] helo=mail222c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alhQ7-00076L-Od for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 18:34:27 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail222c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u2VIYCPL017311 for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 18:34:14 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id 93B35406078;  Thu, 31 Mar 2016 11:34:12 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: Kurt Roeckx <kurt@roeckx.be>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Kurt Roeckx <kurt@roeckx.be> of "Thu, 31 Mar 2016 19:01:14 +0200." <20160331170113.GA6025@roeckx.be>
Mime-Version: 1.0
Date: Thu, 31 Mar 2016 11:34:12 -0700
Message-Id: <20160331183412.93B35406078@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=S+zgnucP c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=CD2TSpuGCclhV6iZhckA:9 a=CjuIK1q_8ugA:10 a=sGxlAF5xaXIA:10
X-CTCH-RefID: str=0001.0A010203.56FD6DA6.00CE, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.248
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: NTP Working Group <ntpwg@lists.ntp.org>, Hal Murray <hmurray@megapathdsl.net>, tictoc@ietf.org
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

> 2) NTS must be supported (by at least some peers)

I think that needs to be stronger to be secure.  The "at least some" needs to 
be large enough so that they can't be outvoted by MITM attacks on the rest of 
the servers that client is using.

It gets more complicated if you think about what happens if one of the 
servers with NTS turns into a falseticker.



-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 11:47:43 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5841C12D74A for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 11:47:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.798
X-Spam-Level:
X-Spam-Status: No, score=-6.798 tagged_above=-999 required=5 tests=[BAD_ENC_HEADER=0.001, BAYES_00=-1.9, DKIM_SIGNED=0.1, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_DKIM_INVALID=0.01, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=mscc365.onmicrosoft.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 8gVNS2WJKzSm for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 11:47:41 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id CACA212D6BD for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 11:47:41 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id C23DF86DAE8 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 18:47:41 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id ACEA386D55E for <ntpwg@lists.ntp.org>; Thu, 31 Mar 2016 18:44:52 +0000 (UTC)
Received: from mail-by2on0091.outbound.protection.outlook.com ([207.46.100.91] helo=na01-by2-obe.outbound.protection.outlook.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <Greg.Dowd@microsemi.com>) id 1alhaF-0007CB-71 for ntpwg@lists.ntp.org; Thu, 31 Mar 2016 18:44:52 +0000
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=mscc365.onmicrosoft.com; s=selector1-microsemi-com; h=From:To:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=BDz0eBmbDB6/QJn0fYFMhnQOWd34M6EsPYfhmlwFkDQ=; b=GQWvrezLCAdjCLXn3quBA8UdhsPyv4yNwDNiUVfWrT/6UMXwptYZEzkyKjVAKTiQr4mFxhUqLAthdjfJAIMYAbg0CWKhIfN03unu5acWNiQxBCIGi8mHvn6Oqs/CwwHf7PNZ8Xhp2pN2eCZpP8mP4KoUYISOUh25ZYgtIPlxZzM=
Received: from BLUPR02CA047.namprd02.prod.outlook.com (10.160.23.165) by BN1PR02MB197.namprd02.prod.outlook.com (10.242.214.146) with Microsoft SMTP Server (TLS) id 15.1.443.12; Thu, 31 Mar 2016 18:44:42 +0000
Received: from BY2FFO11FD007.protection.gbl (2a01:111:f400:7c0c::165) by BLUPR02CA047.outlook.office365.com (2a01:111:e400:8ad::37) with Microsoft SMTP Server (TLS) id 15.1.447.15 via Frontend Transport; Thu, 31 Mar 2016 18:44:41 +0000
Authentication-Results: spf=none (sender IP is 208.19.100.21) smtp.mailfrom=microsemi.com; ietf.org; dkim=none (message not signed) header.d=none; ietf.org; dmarc=none action=none header.from=microsemi.com; 
Received-SPF: None (protection.outlook.com: microsemi.com does not designate permitted sender hosts)
Received: from avsrvexchhts1.microsemi.net (208.19.100.21) by BY2FFO11FD007.mail.protection.outlook.com (10.1.14.128) with Microsoft SMTP Server (TLS) id 15.1.453.6 via Frontend Transport; Thu, 31 Mar 2016 18:44:39 +0000
Received: from SJSRVEXCHHTS1.microsemi.net (10.241.34.105) by avsrvexchhts1.microsemi.net (10.100.34.105) with Microsoft SMTP Server (TLS) id 14.3.266.1; Thu, 31 Mar 2016 11:44:38 -0700
Received: from SJSRVEXCHMBX2.microsemi.net ([fe80::6da0:6f9d:d5d1:3d5d]) by sjsrvexchhts1.microsemi.net ([::1]) with mapi id 14.03.0266.001; Thu, 31 Mar 2016 11:44:38 -0700
From: Greg Dowd <Greg.Dowd@microsemi.com>
To: Hal Murray <hmurray@megapathdsl.net>, NTP Working Group <ntpwg@lists.ntp.org>, "tictoc@ietf.org" <tictoc@ietf.org>
Thread-Topic: [TICTOC] [ntpwg]  WGLC on NTS: Round trips for key exchange
Thread-Index: AQHRi3r6/V6dXnpHiEqi2DEsV4+Vn59z4kfg
Date: Thu, 31 Mar 2016 18:44:37 +0000
Message-ID: <8D2BF679AAC7C346848A489074F9F8BF7AAFB1E2@sjsrvexchmbx2.microsemi.net>
References: Message from Sharon Goldberg <goldbe@cs.bu.edu> of "Thu, 31 Mar 2016 12:37:40 EDT." <CAJHGrrQ_HQiqkvF3O6RRtLk=m4=cFF7RT9K7CVEMFXZw8woARA@mail.gmail.com> <20160331182727.C8A29406078@ip-64-139-1-69.sjc.megapath.net>
In-Reply-To: <20160331182727.C8A29406078@ip-64-139-1-69.sjc.megapath.net>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
x-originating-ip: [10.241.128.82]
MIME-Version: 1.0
X-EOPAttributedMessage: 0
X-Forefront-Antispam-Report: CIP:208.19.100.21; IPV:NLI; CTRY:US; EFV:NLI; SFV:NSPM; SFS:(10009020)(6009001)(2980300002)(428002)(199003)(13464003)(377454003)(189002)(57704003)(106466001)(76176999)(15975445007)(6116002)(2501003)(33656002)(47776003)(2906002)(54356999)(16796002)(87936001)(92566002)(50986999)(2900100001)(86362001)(2950100001)(3846002)(81166005)(23726003)(5004730100002)(5250100002)(46406003)(102836003)(101416001)(53416004)(2920100001)(6806005)(107886002)(5008740100001)(50466002)(1220700001)(189998001)(105586002)(5001770100001)(1096002)(55846006)(11100500001)(97756001)(586003)(106116001)(5003600100002)(19580405001)(19580395003); DIR:OUT; SFP:1101; SCL:1; SRVR:BN1PR02MB197; H:avsrvexchhts1.microsemi.net; FPR:; SPF:None; MLV:sfv; A:1; MX:1; LANG:en; 
X-Microsoft-Exchange-Diagnostics: 1; BY2FFO11FD007; 1:aDmgkfvAgGtybn25/3lcmnEuP253mRyd64x6/mkrTBHaQsWsgu9Z5BHrLgP61Mi3NQkmrw0ijMiQ2gDqHavNbUD3mc/2lmFoXL+4EDtFJKvzG4Iw0Rjc6xhSRKJ6TgctohvIn3/fOkFTAr0myHHMdSOfjX3OlErAAzna7H3NI1WG3t6IP/kMwFUfEGviPyk2kB6WGVOuSJ5ooOB5Fqn7m/H0nd/thS5KTiwQjGegT3F5O0dNkaByDp48HGtkYgUfPrmWCtEVumeIgUyg3PZJVfOBFWzAodfNPxYdvtPPQ5gXWlyNEcFyeHDCFRG55CvUaVyMLBIgOrMKsArOSbuJrMa5N1PSTODe8OysFrx3GvjQw3jum9/PpFxqJGFbQa7yC6cVPiWGhwtYWP6+YvXDLYqoFfZkAISLZ3x6xfgQds+Vpp5Sax9v/VpVSe9qn5cIuJQ9PnzAoRoB10cY/UuerdWLuz2GgxSU7q48yaLHLVVqBD5soIFMlEG52htzNtWR
X-MS-Office365-Filtering-Correlation-Id: fd2300c9-a21b-4340-aefa-08d3599484e8
X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB197; 2:soqKLwOmzhNMZZMat4eNCqaq/lVJzO94sPONT/nSPgvx9TB00OckcVMt9u1iOMTFcRKf3ymZxf6YOjh9pCaNWMpT2gsEh+Grp4eCAgX0RuaWyvl9jHf6asKwI3b4h0QdzUatRGtlCv852GgAfZBClNBWba+vl7FU7evNOVkze++p2cxyx4cvXJycti+Vciq0; 3:MpFlWrPAxdHN3p12v888+2LUm2N+DK7+CslImPwFpXOgGC71OFNkEb4XBgxeQvrvwTzDmKl1pTHSdnvIunMgEXjLtsiA2pM0Y2I6xN2BbSTRDSpRFy6c37W1Gv1j99Das2Km+MqpdZQ162efNjtXFs99KNnc0OMR2ywdl2O2loDWSKDhdmCBhyWAJwMnfLVK4XEj8bZ5G4Zh5twD7kb63wtexcy4/fL6+4UyNxeigQs=; 25:2tn1lcfOPbR3dg6rYC9jYes9sMLCAnCTQYwM8NseOzuqU1pM5tFuFfs425xdV7n19qhYNVf/21aJXcXvMW+4ifghOxUtfMdJd0DTvtlcebdmEsBBPWUf0m/Q6IAKH+pIHwd42YDaMQ1rQtjSBAFWUZMyfz2NLWqgWI/dLFTtH2ayBemzzG/qEj3q72S87B8DGw9AVp4YK8VqCwRid6HmlUSvYOsXdSRlkBiiPq4MA5uv8UUFena5eFhR4hK5fUHz1T2raT0+tHeY+xuWHRM4yMEqXlplHSeb30rA1LQD2JUke8rQAQxEKNlHno7ofM2Bnx/4vA9zxLnw21qw0I4kcvkw0Y52Y1QIfrhOaEQPvhE=
X-Microsoft-Antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:BN1PR02MB197;
X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB197; 20:L9Z3sS/bQkYISjecbE9DRof0inYpMV2DWKYc7XPxLKj55jSoCaTrR6t/tuwQLvjjnCv4OT2kRfZLn1PQKwaYiemTb2B9SfJMd2VDUtOft0diE6I9FF6RDjd8SnzSRcy1lmCjz1hHI8B2ITTgnl9Y94S6Bph48KcBQODgI0WRQbEM9j9r4YjHx/uR2WoIA+T6VVKNJW170SC/+SVrSQz+ys8vhm2C/vdinySI73Jreyrzuqu19iybfc8v/u74SlE90CiZmzER2GkoMMUpWiKvUODu306JSJXlEu94OafKr4HrxQzSSVoPL18YBOnm7JA7SeQdGHDq/zB6L3+T/Tmkew+R5UaT5jFOjf5alzdQy8/MVAIgQttqpOCMmQYL4Mw09UZOKgUBSdjOLb8CvMt8+HpS70knam/Gqy+mm1Y8ZgVFER2PNodApa9aQ8UePkYqywu0bu42l0P0A+PhpwoS3FFz0/KX4lgyyfoejCAieHKGUZ2fiFGRQA8DtClqaOTo
X-Microsoft-Antispam-PRVS: <BN1PR02MB1973BCE23C5B06610BDF564FC990@BN1PR02MB197.namprd02.prod.outlook.com>
X-Exchange-Antispam-Report-Test: UriScan:;
X-Exchange-Antispam-Report-CFA-Test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(13015025)(13017025)(13023025)(13018025)(13024025)(5005006)(3002001)(10201501046); SRVR:BN1PR02MB197; BCL:0; PCL:0; RULEID:; SRVR:BN1PR02MB197; 
X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB197; 4:G3uGhsyWhf0Z9ndkwBrmBLq87sRIQzN7PFMyIG4nflZCUDJF2Rw3vKua85YNZpoNjNJrdkr0LrNGBzqMBm7Yi46l1nC7oUH/HKXlhHmWKgLjXTdqgSMKSS7g6Vo8v/rRxuPC1IwNU0Fbap/OSkiTjOaO2ZP1/pYp+jQXUeQU1l5emWB4eKGAGVTu0BVWteUDiyOvYJOxHx0KUJPgxjDCywRhhNRTBXfefmGo6aYNXqlZYQJiSuGqk6SewWmoWPl2YZEZvrmBlgIckT0YDhOuaH3idu8zDiMsgmOH+OMuYhL+QWn7m45iBI398k/mDIOH+OLio4t8gPdZgUXteB2R/iP+cuAB8+Hk7PArEOYVeMlfdQiYMdcRcrgOo1OCdSdC6f7/hXmG7a5f05bB63ifaLI0Zji+P5uF20Iupe3YCBl9ajEHHr8tSHRA5qpjoaz5cW5fhG9kshfVLcO4IA43qw==
X-Forefront-PRVS: 0898A6E028
X-Microsoft-Exchange-Diagnostics: =?us-ascii?Q?1; BN1PR02MB197; 23:sEqmlkk2NUXF+MbyxIXRV5lQX7HOab2w/Ung2Ljxau?= =?us-ascii?Q?v+p0kVGcECssSLESx1Lfc6NTF0L3tt+nER2sZIZzIVGuST9JC7tTjdobUllL?= =?us-ascii?Q?XWVCLEjjrrpnE7zoqpXQ1/octta3uhW9Dxces4Zxlzw7rGwN2yEFRUFUgxsl?= =?us-ascii?Q?n6NB7YatyH3mXO8cNvGlWOdif/UbtdLWloOz5+PM/3eEEv9di03ZXyTv/5g1?= =?us-ascii?Q?6wvYkACjtXyq9EJQeU8Cdh6LjAk4+RsU11PNSBD0HOA5u52Kykg9O+T7W4SO?= =?us-ascii?Q?CxRvuddr8vNPEyHYdGSVLucVHHGx6A3BKAXWQ5MQp5yunOBiEAqBIz4KGMPe?= =?us-ascii?Q?4kJE4739pAwFh6ejSzqkO8I/GcnF+N5r7dJ6OpKp3kG2LnAJMVuJazJS1SyN?= =?us-ascii?Q?YjtMMurTcI8RZ3sFOpz/IHLDNfaVmho4zpnc+4oGlhIG/AGT4iSSFiZFq91u?= =?us-ascii?Q?Mbv7ARyxW4eS8a4YULF5GUENO5/eGi68Va+5Re7eKeSO+BqPyluPMhAY87t4?= =?us-ascii?Q?lcj96cMzUgT6q3j3hR9wGy3VVgEIQkN4i+kitTKqdRJzeHbfm3ss669FYlfX?= =?us-ascii?Q?ethuHcUtGpj9SmSoLFryUd4HUahlRZ4Pv+HoanhEfuMx5iKoFEbK30PIHpSp?= =?us-ascii?Q?z1Z4QCaSR0wCoL2r2wiCF6WAJYqNY9iHJ6ZwoN1yr+9MdX94t6esZYk/h7cO?= =?us-ascii?Q?OGIiRrz+vGXRoSBRjtAhIvYgk/Krr97Wroxoawa+Fksl/nu1k4Zmn1t1mCV8?= =?us-ascii?Q?F7ISZ96zYsNwTTR3qqpKkpZ3Ye5Q2iQJ+rvM7RFFd1teZfhqclYD3uQLgW5Q?= =?us-ascii?Q?ywEhqdQB9t686HYoOMWydR8UijvJ7+u2vUCR3TV6l8LClicwm4oWGZonnz/V?= =?us-ascii?Q?/fk5TcZi5aCpE8WwnjMf11V/OynCKLG8ATgsGgBIaXeSn2wVkg++ZnnkMphd?= =?us-ascii?Q?nUr716iGQRI6M9j7ppBtbX7A7BBuxJlULxOVXXeSAcuhOX7qUuurDTxf05Gx?= =?us-ascii?Q?xlt1CX058Sbhv/zhLhxtb263jC/0ncul9XQl8W7dOIj4CbfD1h+Bx8yghvlf?= =?us-ascii?Q?bZC18ImKKMityDL/l3GBgAH2BM7roA9Ej3ZzJz5hH3YyH+kdR4nXIFK4iw5l?= =?us-ascii?Q?rtHbUQVb5MNLVRG45/Ry17iDO/lFfyyGeZe4d7A1fp3kNiR8OWoiTpvQaone?= =?us-ascii?Q?L3OumvZ4W8251K9iwijc0KO3q7CncqKWjemTXIvgj0/UGYVIRJk8e7ywkPeV?= =?us-ascii?Q?cFeYfIuVcccuCM6H98/evVzf47e12VPRG4u5SF+3rMpw/RpMmKg9Odwp7ehm?= =?us-ascii?Q?GmUToLenf5kKpNetPFXHI=3D?=
X-Microsoft-Exchange-Diagnostics: 1; BN1PR02MB197; 5:Be/GZNpQJ1LOni9hgfpW2zpzFTuoeL/QiEaw0as3GC5QcQf+8ar5L3OeDWuEdrRqNa9F7GbMvw9ka3c5jJ0lLZWw8eGl0yX7ECe6k9/k1EgvzXBu61xHrB+T3OkZxXjvt0U8uwnaISvjGz0Wv64VpA==; 24:M9wNW2oAoFmZ9m8GI7D6M5qPliYWYS0T+yMSKw+yr5Iz/sbUiuO6a30zpNyzFLgVn+Oybi+jfvS1iiAp2lwN8m0ppzmPC+i7xwR2JAAAoH4=
SpamDiagnosticOutput: 1:23
SpamDiagnosticMetadata: NSPM
X-OriginatorOrg: microsemi.com
X-MS-Exchange-CrossTenant-OriginalArrivalTime: 31 Mar 2016 18:44:39.8325 (UTC)
X-MS-Exchange-CrossTenant-Id: f267a5c8-86d8-4cc9-af71-1fd2c67c8fad
X-MS-Exchange-CrossTenant-OriginalAttributedTenantConnectingIp: TenantId=f267a5c8-86d8-4cc9-af71-1fd2c67c8fad; Ip=[208.19.100.21]; Helo=[avsrvexchhts1.microsemi.net]
X-MS-Exchange-CrossTenant-FromEntityHeader: HybridOnPrem
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BN1PR02MB197
X-SA-Exim-Connect-IP: 207.46.100.91
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: Greg.Dowd@microsemi.com
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]   WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

There is already an intrinsic range requirement for ntp to have dates in the last 34 years for the math to work.   Using build date I think sufficed for that.  So there is a finite time range required already which serves as a precedent for defining boundary conditions.  I am in full agreement with those who feel that the apriori assumptions of NTS initialization (e.g., impact of unknown time on cert validation/revocation, requirement to gate time step until "proventic" bit set) should be an output of the NTS design process.  Whether it is in the same document, or a bcp, or whatever, I have no useful info to add.



-----Original Message-----
From: TICTOC [mailto:tictoc-bounces@ietf.org] On Behalf Of Hal Murray
Sent: Thursday, March 31, 2016 11:27 AM
To: NTP Working Group; tictoc@ietf.org
Cc: Hal Murray
Subject: Re: [TICTOC] [ntpwg] WGLC on NTS: Round trips for key exchange

EXTERNAL EMAIL


goldbe@cs.bu.edu said:
> I suggest that NTS should encourage users to write the current time to 
> a persistent file that is available upon reboot.  This should be overwritten
> on every clock update.    Then, when the client reboots, it can check that
> the expiry time of the certificates is no earlier than the last time 
> time written to the presisent file.  This limits the impact of 
> attackers that use old compromised certificates to break the security of NTS.

I think the issue of getting started is much more complicated than that.

It probably deserves a separate document to collect all the ideas.
Individual documents like NTS should be explicit about what they are assuming.  Do they need valid (how close?) time or valid certificates or ???

The above paragraph assumes the system has a writable file system.  The "every clock update" may be too expensive for some systems.

What happens the first time?  Even if you assume that file was sanely initialized at the factory, the unit may have sat on a shelf for a long time.

What do you do if your clock gets set far into the future?


--
These are my opinions.  I hate spam.



_______________________________________________
TICTOC mailing list
TICTOC@ietf.org
https://www.ietf.org/mailman/listinfo/tictoc
_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 18:12:46 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DA97A12D1B6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 18:12:46 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 ScIKMp6uzPLi for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 18:12:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by ietfa.amsl.com (Postfix) with ESMTP id 6D15312D112 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 18:12:45 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id 66B4986DB22 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  1 Apr 2016 01:12:45 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 549DE86DAF4 for <ntpwg@lists.ntp.org>; Fri,  1 Apr 2016 01:12:22 +0000 (UTC)
Received: from mail158c25.carrierzone.com ([64.29.147.228] helo=mail223c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alndF-000Cj9-3F for ntpwg@lists.ntp.org; Fri, 01 Apr 2016 01:12:22 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail223c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u311C9xn026499 for <ntpwg@lists.ntp.org>; Fri, 1 Apr 2016 01:12:10 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id D67ED406078;  Thu, 31 Mar 2016 18:12:08 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: NTP Working Group <ntpwg@lists.ntp.org>
From: Hal Murray <hmurray@megapathdsl.net>
In-Reply-To: Message from Greg Dowd <Greg.Dowd@microsemi.com> of "Thu, 31 Mar 2016 18:44:37 -0000." <8D2BF679AAC7C346848A489074F9F8BF7AAFB1E2@sjsrvexchmbx2.microsemi.net>
Mime-Version: 1.0
Date: Thu, 31 Mar 2016 18:12:08 -0700
Message-Id: <20160401011208.D67ED406078@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=YdmEuWhf c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=uBuKx8GwAAAA:8 a=BRI7Z9m9xq0a6KvdR3UA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56FDCAEB.001A, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.228
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]  WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: Hal Murray <hmurray@megapathdsl.net>, "tictoc@ietf.org" <tictoc@ietf.org>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Greg.Dowd@microsemi.com said:
> I am in full agreement with those who feel that the apriori assumptions of
> NTS initialization (e.g., impact of unknown time on cert validation/
> revocation, requirement to gate time step until "proventic" bit set) should
> be an output of the NTS design process.  Whether it is in the same document,
> or a bcp, or whatever, I have no useful info to add.

I think we should have 2 documents.  NTS should state what assumptions it is 
making about getting started.  I think that is that the system has some 
top-level certificates and that they are valid.

We need another BCP type document to discuss all the techniques, heuristics, 
and issues of getting started when you don't know the time.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg

From ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org  Thu Mar 31 23:24:53 2016
Return-Path: <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>
X-Original-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Delivered-To: ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5FFBA12D1A2 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 23:24:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.909
X-Spam-Level:
X-Spam-Status: No, score=-6.909 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HEADER_FROM_DIFFERENT_DOMAINS=0.001, RCVD_IN_DNSWL_HI=-5, T_RP_MATCHES_RCVD=-0.01] autolearn=ham autolearn_force=no
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 y3gdoUrdVeX6 for <ietfarch-ntp-archives-ahFae6za@ietfa.amsl.com>; Thu, 31 Mar 2016 23:24:51 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [IPv6:2001:4f8:fff7:1::7]) by ietfa.amsl.com (Postfix) with ESMTP id E783312D0B5 for <ntp-archives-ahFae6za@lists.ietf.org>; Thu, 31 Mar 2016 23:24:51 -0700 (PDT)
Received: from lists.ntp.org (lists.ntp.org [149.20.68.7]) by lists.ntp.org (Postfix) with ESMTP id DE3F586DB73 for <ntp-archives-ahFae6za@lists.ietf.org>; Fri,  1 Apr 2016 06:24:51 +0000 (UTC)
X-Original-To: ntpwg@lists.ntp.org
Delivered-To: ntpwg@lists.ntp.org
Received: from mail1.ntp.org (mail1.ntp.org [IPv6:2001:4f8:fff7:1::5]) by lists.ntp.org (Postfix) with ESMTP id 1218C86DB3A for <ntpwg@lists.ntp.org>; Fri,  1 Apr 2016 06:20:38 +0000 (UTC)
Received: from mail146c25.carrierzone.com ([64.29.147.216] helo=mail239c25-2586.carrierzone.com) by mail1.ntp.org with esmtps (TLSv1:AES256-SHA:256) (Exim 4.77 (FreeBSD)) (envelope-from <hmurray@megapathdsl.net>) id 1alsRY-000HW0-JQ for ntpwg@lists.ntp.org; Fri, 01 Apr 2016 06:20:38 +0000
X-POP-User: hmurray@megapathdsl.net
Received: from ip-64-139-1-69.sjc.megapath.net (ip-64-139-1-69.sjc.megapath.net [64.139.1.69]) by mail239c25-2586.carrierzone.com (8.14.9/8.13.1) with ESMTP id u316KPif008555 for <ntpwg@lists.ntp.org>; Fri, 1 Apr 2016 06:20:26 +0000
Received: from shuksan (localhost [127.0.0.1]) by ip-64-139-1-69.sjc.megapath.net (Postfix) with ESMTP id BE457406078;  Thu, 31 Mar 2016 23:20:24 -0700 (PDT)
X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.3
To: ntpwg@lists.ntp.org, tictoc@ietf.org
From: Hal Murray <hmurray@megapathdsl.net>
Mime-Version: 1.0
Date: Thu, 31 Mar 2016 23:20:24 -0700
Message-Id: <20160401062024.BE457406078@ip-64-139-1-69.sjc.megapath.net>
X-CSC: 0
X-CHA: v=2.1 cv=cNXZ7DuN c=1 sm=1 tr=0 a=OWgXOY7Tc8w5m7k7nGX6Zw==:117 a=OWgXOY7Tc8w5m7k7nGX6Zw==:17 a=L9H7d07YOLsA:10 a=9cW_t1CCXrUA:10 a=s5jvgZ67dGcA:10 a=kj9zAlcOel0A:10 a=7OsogOcEt9IA:10 a=CFCfR_5D1n6AhpNxjjwA:9 a=CjuIK1q_8ugA:10
X-CTCH-RefID: str=0001.0A010204.56FE132A.0094, ss=1, re=0.000, recu=0.000, reip=0.000, cl=1, cld=1, fgs=0
X-CTCH-VOD: Unknown
X-CTCH-Spam: Unknown
X-CTCH-Score: 0.000
X-CTCH-Rules: 
X-CTCH-Flags: 0
X-CTCH-ScoreCust: 0.000
X-SA-Exim-Connect-IP: 64.29.147.216
X-SA-Exim-Rcpt-To: ntpwg@lists.ntp.org
X-SA-Exim-Mail-From: hmurray@megapathdsl.net
X-SA-Exim-Version: 4.2
X-SA-Exim-Scanned: Yes (on mail1.ntp.org)
Subject: Re: [ntpwg] [TICTOC]   WGLC on NTS: Round trips for key exchange
X-BeenThere: ntpwg@lists.ntp.org
X-Mailman-Version: 2.1.20
Precedence: list
List-Id: IETF Working Group for Network Time Protocol <ntpwg.lists.ntp.org>
List-Unsubscribe: <http://lists.ntp.org/options/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=unsubscribe>
List-Archive: <http://lists.ntp.org/pipermail/ntpwg/>
List-Post: <mailto:ntpwg@lists.ntp.org>
List-Help: <mailto:ntpwg-request@lists.ntp.org?subject=help>
List-Subscribe: <http://lists.ntp.org/listinfo/ntpwg>, <mailto:ntpwg-request@lists.ntp.org?subject=subscribe>
Cc: Hal Murray <hmurray@megapathdsl.net>
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: 7bit
Errors-To: ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org
Sender: "ntpwg" <ntpwg-bounces+ntp-archives-ahfae6za=lists.ietf.org@lists.ntp.org>

Kurt Roeckx <kurt@roeckx.be> said:
> 3) We don't know if NTS is going to be available or not, but we want to use
> it if it is.

> I'm not sure how useful the 3rd option is.  I currently only see this
> working with a config file that doesn't use the pool.  But I think software
> should probably have that as default option if it's using other peers than
> the pool, at least when NTS is still new. 

It might be useful for forensics.

That would need appropriate logging.


-- 
These are my opinions.  I hate spam.



_______________________________________________
ntpwg mailing list
ntpwg@lists.ntp.org
http://lists.ntp.org/listinfo/ntpwg
