Re: [TICTOC] comments on draft-stenn-ntp-suggest-refid-00

Sharon Goldberg <goldbe@cs.bu.edu> Tue, 05 April 2016 18:48 UTC

Return-Path: <sharon.goldbe@gmail.com>
X-Original-To: tictoc@ietfa.amsl.com
Delivered-To: tictoc@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id A1D6C12D58B for <tictoc@ietfa.amsl.com>; Tue, 5 Apr 2016 11:48:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.399
X-Spam-Level:
X-Spam-Status: No, score=-2.399 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FREEMAIL_FORGED_FROMDOMAIN=0.199, FREEMAIL_FROM=0.001, HEADER_FROM_DIFFERENT_DOMAINS=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id K5LA4RIFr_I8 for <tictoc@ietfa.amsl.com>; Tue, 5 Apr 2016 11:48:53 -0700 (PDT)
Received: from mail-wm0-x22e.google.com (mail-wm0-x22e.google.com [IPv6:2a00:1450:400c:c09::22e]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id DDC2A12D11C for <tictoc@ietf.org>; Tue, 5 Apr 2016 11:48:51 -0700 (PDT)
Received: by mail-wm0-x22e.google.com with SMTP id n3so33467534wmn.0 for <tictoc@ietf.org>; Tue, 05 Apr 2016 11:48:51 -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; bh=uw1p0zf3XlV9r9Aw+xicvVIvojKe+llgtPjRu+ZV9Ls=; b=bt2pIx7jt6hvBCSb7yciOGy6TCsVcAJHAe488VIj5VIOnzX09pQCt/4FmS8ghfW8vb /u9o6Wugw5rA2yLF6BgQDbT8zIk/UjliplHnzB9ACuFj+9p5VoSUlX6MTAq+/Me6YZww mZah9Sm5tLLFmQ7csrjFhIzVTxwqUEulE+e8+wQE3Lmtp89m/Tq+NoPhTx83sppU6EST z2EI7d+/08/PQiXdtw+AC6+T9QDDBLHKStemzbMTTW9PFgdD4ZR1/WWntJVLFf1coVrs 588RyetZAc8zYf+nTayby1AUuRK5lwqhTrjyAZGOvhm29SUi06Q+8Pl4dQU95IlZ9QGj FLhQ==
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; bh=uw1p0zf3XlV9r9Aw+xicvVIvojKe+llgtPjRu+ZV9Ls=; b=AltmNCmSUfuwFUIHKTD/2drTP/bEbkDnFvZN3nOexfQAgM3cmIUNuJuDPS3Huml4Gp pPEnV0Ztl1on1/cKkCjmUPxB+xseCaWOBP8u/BjIvfKsP/y0/7yI3mn/1w3yFawWmHIA I6+miRNV9i70PsfhhCfaPxWu+KLM3WcyGoFWBP5QRWTuHnri6i3030LCVMnAGZRAk9vE gALrjtBzHBDNqhTZCFF3OubD6R5Hd2QsUrfZIDkqxI8pcGQnKPY79bv8v4JGydgssoq3 tMfjenvCzKRAoEl7aeNANasqM7aFqxb4THnRjvaAeX7RwWH1YL/684/e6vV7+JjMMFnv KTEA==
X-Gm-Message-State: AD7BkJLjMIS6qdfg5KOLLGVb3jMFJVwZ9iqhXGGqlykvrTBv1OpiOQKqzP1p/NMOf9bEGdYDcx3Mf4W3gDzlIQ==
X-Received: by 10.28.227.130 with SMTP id a124mr19633695wmh.2.1459881787023; Tue, 05 Apr 2016 11:43:07 -0700 (PDT)
MIME-Version: 1.0
Sender: sharon.goldbe@gmail.com
Received: by 10.194.71.200 with HTTP; Tue, 5 Apr 2016 11:42:27 -0700 (PDT)
In-Reply-To: <CAJHGrrQimUVqtRg6bowwBr5pxrSUh+mHkEzB0P1SBxP=nzczbg@mail.gmail.com>
References: <CAJHGrrQimUVqtRg6bowwBr5pxrSUh+mHkEzB0P1SBxP=nzczbg@mail.gmail.com>
From: Sharon Goldberg <goldbe@cs.bu.edu>
Date: Tue, 05 Apr 2016 14:42:27 -0400
X-Google-Sender-Auth: Kg8tIK5wcIehrB1W2IKSJlYeJHU
Message-ID: <CAJHGrrSBj19-12UY=GyYsx5FaaCqTSixaFdt0Sf=ELNL4DXUew@mail.gmail.com>
To: NTP Working Group <ntpwg@lists.ntp.org>, tictoc@ietf.org
Content-Type: multipart/alternative; boundary="001a114ccbd4546512052fc137f9"
Archived-At: <http://mailarchive.ietf.org/arch/msg/tictoc/ZCrB_yVze_3WFVw5d8hG39jDm08>
Subject: Re: [TICTOC] comments on draft-stenn-ntp-suggest-refid-00
X-BeenThere: tictoc@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Timing over IP Connection and Transfer of Clock BOF <tictoc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tictoc>, <mailto:tictoc-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tictoc/>
List-Post: <mailto:tictoc@ietf.org>
List-Help: <mailto:tictoc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tictoc>, <mailto:tictoc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 05 Apr 2016 18:48:56 -0000

All, just to summarize the conversation on meetcho just now. I think  that
this proposal would also solve the problem hashed IPv6 addresses colliding
with IPv4 addresses on the same network, which is addressed
in draft-stenn-ntp-ipv6-refid-hash-00.

Why? Because the only time a server will put an IP address in the refID
field is when it is responding to a query from *that specific IP*.  (Else,
it puts the "nonsense" value in the refID.)  So even if a collision
happens, it should not matter, since the only party to see the collision is
the IP that sent the query.

Sharon

On Tue, Apr 5, 2016 at 2:28 PM, Sharon Goldberg <goldbe@cs.bu.edu> wrote:

> Dear WG,
>
> To follow up on my comments on draft-stenn-ntp-suggest-refid-00 at the
> IETF'95 WG meeting just now. The current draft requires the use of an
> extension field.  I believe the goals of the draft can be accomplished
> without using an extension field, in a backwards compatible fashion.
>
> The goal of the draft is to limit the information exposed by the REFID
> while still preserving robustness to "length-1" timing loops where system A
> takes time from system B, but system B takes time from system A.
> This proposal allow system A to limit the info it leaks in its refID,
> without harming any of its legacy clients.
>
> Suppose system A is taking time from system B. Then there are two cases:
> 1) If A gets a time query from system B, A puts the IP of B in the refID
> of its response. This way, even a legacy B can tell it cannot take time
> from A because this would cause a timing loop.
>
> 2) If A gets a time query from system C, A puts a "nonsense" value in its
> refID.  Even a legacy C can see that its IP is not in the refID, and so it
> is allowed to take time from A.
>
> One question is what this "nonsense" value should be.  I think it should
> be a fixed value. For example 0.0.0.0.  We would not want a randomly-chosen
> value since this might collide with actual IP addresses on the network.
>
> Thanks,
> Sharon
>
>
> --
> Sharon Goldberg
> Computer Science, Boston University
> http://www.cs.bu.edu/~goldbe
>



-- 
Sharon Goldberg
Computer Science, Boston University
http://www.cs.bu.edu/~goldbe