Re: [dnssd] WGLC on draft-ietf-dnssd-privacy-01

Stephane Bortzmeyer <bortzmeyer@nic.fr> Mon, 26 June 2017 18:43 UTC

Return-Path: <bortzmeyer@nic.fr>
X-Original-To: dnssd@ietfa.amsl.com
Delivered-To: dnssd@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0F0BA12EB44 for <dnssd@ietfa.amsl.com>; Mon, 26 Jun 2017 11:43:24 -0700 (PDT)
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] 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 J6Ry5862U8jA for <dnssd@ietfa.amsl.com>; Mon, 26 Jun 2017 11:43:15 -0700 (PDT)
Received: from mail.bortzmeyer.org (aetius.bortzmeyer.org [217.70.190.232]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 74F5912EB45 for <dnssd@ietf.org>; Mon, 26 Jun 2017 11:43:10 -0700 (PDT)
Received: by mail.bortzmeyer.org (Postfix, from userid 10) id 3B33131D2A; Mon, 26 Jun 2017 20:43:08 +0200 (CEST)
Received: by mail.sources.org (Postfix, from userid 1000) id DA79C190C3E; Mon, 26 Jun 2017 20:41:07 +0200 (CEST)
Date: Mon, 26 Jun 2017 20:41:07 +0200
From: Stephane Bortzmeyer <bortzmeyer@nic.fr>
To: Christian Huitema <huitema@huitema.net>
Cc: dnssd@ietf.org
Message-ID: <20170626184107.GA8291@sources.org>
References: <CF1BAEAE-41C7-4E69-AD6F-9F31E7C7B2A3@jisc.ac.uk> <20170625210709.GA829@sources.org> <28c0ad99-2905-64b6-52c2-a357e7fa6d12@huitema.net>
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
In-Reply-To: <28c0ad99-2905-64b6-52c2-a357e7fa6d12@huitema.net>
X-Transport: UUCP rules
X-Operating-System: Debian GNU/Linux 8.8
X-Charlie: Je suis Charlie
User-Agent: Mutt/1.5.23 (2014-03-12)
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/GR4xtoXFHeWeGhJtk0E4V_9sJdI>
Subject: Re: [dnssd] WGLC on draft-ietf-dnssd-privacy-01
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: "Discussion of extensions to DNS-based service discovery for routed networks." <dnssd.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/dnssd>, <mailto:dnssd-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnssd/>
List-Post: <mailto:dnssd@ietf.org>
List-Help: <mailto:dnssd-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/dnssd>, <mailto:dnssd-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 26 Jun 2017 18:43:24 -0000

On Mon, Jun 26, 2017 at 07:18:19AM -0700,
 Christian Huitema <huitema@huitema.net> wrote 
 a message of 58 lines which said:

> The solution requires that the participating devices have "good
> enough" clocks

Which, IMHO, should be written in the RFC.

> -- to the minute, in practice.

It is not sufficient. The current text says "We will thus use this 24
bit number as nonce, represented as 3 octets." If two machines have
almost perfectly synched clocks, one being at 20:35:44 today, and the
other at 20:35:43, the values won't have the same first 24 bits
(1011001010100010101010000000000 vs. 1011001010100010101001111111111).

There is no obvious solution. We cannot have "fuzzy" comparisons with
nonces.