Re: [Ntp] Antw: Re: Antw: Re: Calls for Adoption -- NTP Extension Field drafts -- Four separate drafts

Miroslav Lichvar <mlichvar@redhat.com> Wed, 04 September 2019 09:51 UTC

Return-Path: <mlichvar@redhat.com>
X-Original-To: ntp@ietfa.amsl.com
Delivered-To: ntp@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 4E2D21200E0 for <ntp@ietfa.amsl.com>; Wed, 4 Sep 2019 02:51:17 -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, SPF_PASS=-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 F6T2APec_--0 for <ntp@ietfa.amsl.com>; Wed, 4 Sep 2019 02:51:14 -0700 (PDT)
Received: from mx1.redhat.com (mx1.redhat.com [209.132.183.28]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 755861200DF for <ntp@ietf.org>; Wed, 4 Sep 2019 02:51:14 -0700 (PDT)
Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.phx2.redhat.com [10.5.11.12]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id 129403CA13 for <ntp@ietf.org>; Wed, 4 Sep 2019 09:51:14 +0000 (UTC)
Received: from localhost (holly.tpb.lab.eng.brq.redhat.com [10.43.134.11]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 84A7460C18 for <ntp@ietf.org>; Wed, 4 Sep 2019 09:51:13 +0000 (UTC)
Date: Wed, 04 Sep 2019 11:51:11 +0200
From: Miroslav Lichvar <mlichvar@redhat.com>
To: ntp@ietf.org
Message-ID: <20190904095111.GJ15024@localhost>
References: <mlichvar@redhat.com> <20190902095854.GC15024@localhost> <20190903120544.394CC40605C@ip-64-139-1-69.sjc.megapath.net>
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Disposition: inline
In-Reply-To: <20190903120544.394CC40605C@ip-64-139-1-69.sjc.megapath.net>
User-Agent: Mutt/1.12.0 (2019-05-25)
X-Scanned-By: MIMEDefang 2.79 on 10.5.11.12
X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.5.16 (mx1.redhat.com [10.5.110.39]); Wed, 04 Sep 2019 09:51:14 +0000 (UTC)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ntp/aco5Ow58QCvfO6HC6Yz-RP-_EiA>
Subject: Re: [Ntp] Antw: Re: Antw: Re: Calls for Adoption -- NTP Extension Field drafts -- Four separate drafts
X-BeenThere: ntp@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: <ntp.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ntp>, <mailto:ntp-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ntp/>
List-Post: <mailto:ntp@ietf.org>
List-Help: <mailto:ntp-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ntp>, <mailto:ntp-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 04 Sep 2019 09:51:17 -0000

On Tue, Sep 03, 2019 at 05:05:44AM -0700, Hal Murray wrote:
> I think there are two approaches.
> 
> One is to use random data.  The probability of a collision can be made 
> arbitrarily small by making the number of bits in the ID big enough.  That 
> needs good randomness.
> 
> The other approach is to piggyback on some other scheme that has already 
> solved the problem.

The former makes more sense to me. We don't need the ID to be static.
Generating a random number on each start should be fine.

> Can we assume that every server will have a globally routeable IPv6 address?  

No. IPv6 is not universally available. Address translation is
common, so we cannot assume an IPv4 or IPv6 address is unique.

> Can we assume that every server will have an Ethernet host address?

The vast majority will, but I'm not sure we can rely on them being random.

> In both cases, for multi homed servers, just pick one.  After that choice, 
> it's an ID, no longer an address.

Yes. And it's important that all clients get the same ID.

-- 
Miroslav Lichvar