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

Michael Richardson <mcr+ietf@sandelman.ca> Fri, 01 June 2018 15:03 UTC

Return-Path: <mcr+ietf@sandelman.ca>
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 2D62C12D885 for <homenet@ietfa.amsl.com>; Fri, 1 Jun 2018 08:03:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.201
X-Spam-Level:
X-Spam-Status: No, score=-4.201 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, 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 nRG-UkRJNeOP for <homenet@ietfa.amsl.com>; Fri, 1 Jun 2018 08:03:00 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 7E80B12D88A for <homenet@ietf.org>; Fri, 1 Jun 2018 08:03:00 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id 98B8E20093; Fri, 1 Jun 2018 11:16:08 -0400 (EDT)
Received: by sandelman.ca (Postfix, from userid 179) id EFC021C6; Fri, 1 Jun 2018 11:02:26 -0400 (EDT)
Received: from sandelman.ca (localhost [127.0.0.1]) by sandelman.ca (Postfix) with ESMTP id ECE5E1C5; Fri, 1 Jun 2018 11:02:26 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Ted Lemon <mellon@fugue.com>, HOMENET <homenet@ietf.org>
cc: Michael Thomas <mike@mtcc.com>
In-Reply-To: <CB6C0B26-CF8C-4713-94F0-86F06819FF3C@fugue.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> <CB6C0B26-CF8C-4713-94F0-86F06819FF3C@fugue.com>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha1"; protocol="application/pgp-signature"
Date: Fri, 01 Jun 2018 11:02:26 -0400
Message-ID: <20694.1527865346@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/homenet/XIa4OkvwDa2CQiy1eqgPuNLonJs>
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 15:03:03 -0000

Ted Lemon <mellon@fugue.com> wrote:
    > 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, there are now "True Names", and "Current Names", and some nebulous
disctinction between them.  TrueNames could be IP addresses or L2 addresses
(except for privacy issues that make them Current names)... 

Let me add additional motivation/use-case to what you say:

Let's say I have a printer called "basement", and after awhile I decide I
want a better printer, and so I get one.  I move the "basement" printer
to the spouse's office, and I want to rename it "houseprinter", because
I want the new printer to be called "basement".

I should be able to rename the printer once, and a whole bunch of places
where there is a link to "basement" should become "houseprinter", because I
see no reason why I should re-install drivers and changes settings, etc.
At the same time, the default printer for my basement desktop should probably
*not* change, but perhaps that's too much to ask.

Contrast this to a case where I get a new phone, and give my old phone to my
kid.  I actually want to *disconnect* all privileges for the old phone when
it is not just renamed, but in fact, factory reset.  My new phone should get
all the privileges of my old phone.

So in fact, when I move the printer I want it to keep the TrueName something,
and when I get a new phone, I want it to adopt the old phone's TrueName
something.

    > 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.

Factory reset generates a new keypair, and despite the name change,
that should persist in the printer, so this is perfect.

So what we want the host to remember is the public key of the printer, not
the name.   Is this possible with DNSSD?  I guess we need this additional draft.

    > 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. 

-- 
]               Never tell me the odds!                 | ipv6 mesh networks [ 
]   Michael Richardson, Sandelman Software Works        | network architect  [ 
]     mcr@sandelman.ca  http://www.sandelman.ca/        |   ruby on rails    [