Re: [homenet] Introduction to draft-ietf-homenet-simple-naming

Ted Lemon <mellon@fugue.com> Fri, 01 June 2018 00:39 UTC

Return-Path: <mellon@fugue.com>
X-Original-To: homenet@ietfa.amsl.com
Delivered-To: homenet@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 41134124205 for <homenet@ietfa.amsl.com>; Thu, 31 May 2018 17:39:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.91
X-Spam-Level:
X-Spam-Status: No, score=-1.91 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-0.001, T_DKIMWL_WL_MED=-0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=fugue-com.20150623.gappssmtp.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 yZwZyriA-E9c for <homenet@ietfa.amsl.com>; Thu, 31 May 2018 17:39:56 -0700 (PDT)
Received: from mail-ot0-x234.google.com (mail-ot0-x234.google.com [IPv6:2607:f8b0:4003:c0f::234]) (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 EDE441241F5 for <homenet@ietf.org>; Thu, 31 May 2018 17:39:55 -0700 (PDT)
Received: by mail-ot0-x234.google.com with SMTP id i5-v6so27438893otf.1 for <homenet@ietf.org>; Thu, 31 May 2018 17:39:55 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20150623.gappssmtp.com; s=20150623; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=4K27RvMDm1/RTD8ztl/C6X8BdyvsDMT7WDRfx6ryVr4=; b=s7PNT0X2oOcGubSJY0jjEY5nst+/DfsuT2L81JAj+cWtD3VvawSL5bWHvGfCM+31xU fs86CbmP4skhBT070AbG2hjOi+fYXE6xDzBYvLV0qSz1C/SuaFjLlnJmn6uYbOrg8bKj UypoG/7g6WAJEmLi2BiW+b+KaeYvPHYuO4dYuOR+TLjrG91LIPX/yXlg0pdTf+x37oEg T9YhGtQgFd7xso5SvuVuVfK1EMMSE2IbnFnnIiAOuXD1Ou+w4IEfe4h8ZorexBinbRCn 3dMGzACVYrgFz6VGJKJBrifxZJVPZgd2Z6wGsDk+QLkk+hNpLyrTmKqtojhAFOWUiP4x Crhw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=4K27RvMDm1/RTD8ztl/C6X8BdyvsDMT7WDRfx6ryVr4=; b=Y/r+wuErpCOiVq+RtRlfRZEKUGMukGMkH/fLE1J8tEakYgE6EwUMlWW8VU40ifYKOs VPhc6bqJD1NK99Uqn7L1vmvgr85Pr9+qDeK1K6zK+QDJvSt+juMAexW1dCliGp0R6SHq 0TxAe8LeeseQvfCI9+yP7WwFnSvYgbdHLOzViRz5TaKmOsuyU9/Ax0doJSVdXIylTVBT jMkAhZ6+EdrST/PtGUxSeyhlX/TmOiEaaThGgCLLOzV+NcEdCn1l/IZfW6zzIg8X+N5A osZ8Ch0OEjGrlknFGTrO1VTubTLuMPnruxkH80L+NNPlRLsVAPAww0UmCdNODspe+wbh KsdQ==
X-Gm-Message-State: ALKqPwd83Cu8sLrvVUTSp+ovowE2VxDjJiU1edtixdGyHedvmRlSdk0F wr14dyH2gBBi1vcYb+SBlOfP6YnStjs=
X-Google-Smtp-Source: ADUXVKIrsA1gLY6NGMUGiM4Rq/qJu3PqOlKtukL3+fPcN34Ds2bJAxRFeGeSsaTJWXKIlTZkCsFUoA==
X-Received: by 2002:a9d:3df4:: with SMTP id l107-v6mr5717684otc.73.1527813595115; Thu, 31 May 2018 17:39:55 -0700 (PDT)
Received: from [192.168.1.15] (47-215-236-167.sdoncmtk01.res.dyn.suddenlink.net. [47.215.236.167]) by smtp.gmail.com with ESMTPSA id e132-v6sm20431972oia.58.2018.05.31.17.39.54 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 31 May 2018 17:39:54 -0700 (PDT)
From: Ted Lemon <mellon@fugue.com>
Message-Id: <CB6C0B26-CF8C-4713-94F0-86F06819FF3C@fugue.com>
Content-Type: multipart/alternative; boundary="Apple-Mail=_809B557B-15DA-4E1C-B76A-D2A7193545CA"
Mime-Version: 1.0 (Mac OS X Mail 11.3 \(3445.6.18\))
Date: Thu, 31 May 2018 17:39:51 -0700
In-Reply-To: <a75e515f-0d67-10c4-326a-0c4f70d8b888@mtcc.com>
Cc: HOMENET <homenet@ietf.org>
To: Michael Thomas <mike@mtcc.com>
References: <CAPt1N1kcuDBxK1=RN=_Q4YM7L_-YDNaEt4WS-sh2YDeJgvMgRw@mail.gmail.com> <20180528180538.GF12038@mx4.yitter.info> <CADZyTkmAc+CUdFxaur=qfFagtrUx64vv7QGFocgdHM1rXqJB7Q@mail.gmail.com> <762d4d6d-38d3-05ac-7cd6-fc87b2f1b042@gmail.com> <10568.1527686230@localhost> <29be80e3-bd65-bcd3-5db2-c2ef0a084f12@gmail.com> <37902D77-2528-4D9E-815A-DFF83905EB83@fugue.com> <8736y8hnll.wl-jch@irif.fr> <355c2773-efb5-20ce-f813-2fcd48470543@gmail.com> <1F6977CE-A176-432C-85EC-92CDACA71C02@orandom.net> <35df1f70-c900-501e-7014-eae265d8ebdf@gmail.com> <CAPt1N1nHMS42F9Qke8wWHhTSF_Szr9AGao+ZxftwDavZAkztCQ@mail.gmail.com> <69d6999b-af05-c38d-56e2-6f391f6bcf05@mtcc.com> <CAPt1N1=s+x26pPk2-kP7vgHMs6R=0zG6ZoXevKymbf1EwbqTMw@mail.gmail.com> <a75e515f-0d67-10c4-326a-0c4f70d8b888@mtcc.com>
X-Mailer: Apple Mail (2.3445.6.18)
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/MVZjgLuPdDd5lmSqODO12J84GdA>
Subject: Re: [homenet] Introduction to draft-ietf-homenet-simple-naming
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.22
Precedence: list
List-Id: IETF Homenet WG mailing list <homenet.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/homenet>, <mailto:homenet-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/homenet/>
List-Post: <mailto:homenet@ietf.org>
List-Help: <mailto:homenet-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/homenet>, <mailto:homenet-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 01 Jun 2018 00:39:58 -0000

On May 31, 2018, at 4:27 PM, Michael Thomas <mike@mtcc.com> wrote:
> With a CNAME, you wouldn't need to deprecate the other... it's just an alias that you have control of.
> From the UI perspective, whatever is presenting names to the user can prefer the human-given name over
> the auto-generated name, right? We wouldn't need to standardize anything then.

Michael, I don't think you've really understood the issue here.   Let me try and explain it all at once, since the explanation was actually scattered across several messages.

There are two pieces to this.   First, there's the thing that publishes the name.  That's DNSSD.   There's no problem with that end of things.   If you change the name, the device just appears with its new name, and everything is fine.   That's our piece of the puzzle, and it already works.

The problem is that hosts tend to remember names.   On MacOS, for instance, if you configure a printer, the host remembers the printer forevermore.   It's no problem to configure a new printer, but if you change the name that the printer advertises, there will be a stale configuration on the host pointing to the old name, and the user will have to configure a new printer to get access to the old printer.

So what we are talking about here actually breaks DNSSD's good behavior.   We don't want DNSSD to publish two names.   We don't want DNSSD to publish a CNAME.   That would just be extra garbage that would have to be maintained forever.

What we want is a way for the host to notice that the device's name has changed.   We want the device to have some identity other than the name that doesn't change when the name changes.   And we actually have this in the registration protocol, which is another draft being published in the DNSSD working group.   That protocol has the host generating a public/private key pair, and using the public key as an identity.   It uses this identity to claim the name, but it wouldn't be that much work to also specify that hosts should use that identifier to notice that a device has a new name and update the name in the user interface.

When I talk about UI, I'm really talking about the API behind the UI.   Having a management API for homenet would be a good thing.   Possibly it could just be done with HNCP.