Re: [homenet] I-D ACTION:draft-lemon-homenet-naming-architecture-00.txt

Markus Stenberg <markus.stenberg@iki.fi> Fri, 15 April 2016 07:05 UTC

Return-Path: <markus.stenberg@iki.fi>
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 0392C12E71D for <homenet@ietfa.amsl.com>; Fri, 15 Apr 2016 00:05:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.474
X-Spam-Level:
X-Spam-Status: No, score=-0.474 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_BL_SPAMCOP_NET=1.347, RCVD_IN_DNSWL_LOW=-0.7, SPF_NEUTRAL=0.779] autolearn=no 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 cSsO_77pzkRd for <homenet@ietfa.amsl.com>; Fri, 15 Apr 2016 00:05:03 -0700 (PDT)
Received: from johanna4.inet.fi (mta-out1.inet.fi [62.71.2.195]) by ietfa.amsl.com (Postfix) with ESMTP id EFA3012E712 for <homenet@ietf.org>; Fri, 15 Apr 2016 00:05:02 -0700 (PDT)
RazorGate-KAS: Status: not_detected
RazorGate-KAS: Rate: 0
RazorGate-KAS: Envelope from:
RazorGate-KAS: Version: 5.5.3
RazorGate-KAS: LuaCore: 215 2015-05-29_17-31-22 60ae4a1b4d01d14f868b20a55aced8d7df7b2e28
RazorGate-KAS: Lua profiles 78662 [Jun 02 2015]
RazorGate-KAS: Method: none
Received: from poro.lan (80.220.86.47) by johanna4.inet.fi (9.0.002.03-2-gbe5d057) (authenticated as stenma-47) id 570CF19A003FB2A2; Fri, 15 Apr 2016 10:05:01 +0300
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\))
From: Markus Stenberg <markus.stenberg@iki.fi>
In-Reply-To: <CAPt1N1k42dw0PN0JFxMcCfi0xc=F4-0QVruB=sHFtkMtvyyvcg@mail.gmail.com>
Date: Fri, 15 Apr 2016 10:04:59 +0300
Content-Transfer-Encoding: quoted-printable
Message-Id: <8A8B70E7-DE26-4F94-9B15-E5E8BC94B930@iki.fi>
References: <20160323164509.2510.24152.idtracker@ietfa.amsl.com> <CAPt1N1ni-01feyMSaa0-7GhFCXPSS0gPSL8fAzVnhWehih2Pug@mail.gmail.com> <BE7CA248-2B6A-49DF-86A6-142A8A3AE218@iki.fi> <CAPt1N1k42dw0PN0JFxMcCfi0xc=F4-0QVruB=sHFtkMtvyyvcg@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
X-Mailer: Apple Mail (2.3124)
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/cKUD4B-JXOdwA-nQIoy4PYZiS5s>
Cc: homenet@ietf.org
Subject: Re: [homenet] I-D ACTION:draft-lemon-homenet-naming-architecture-00.txt
X-BeenThere: homenet@ietf.org
X-Mailman-Version: 2.1.17
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, 15 Apr 2016 07:05:06 -0000

On 1.4.2016, at 16.09, Ted Lemon <mellon@fugue.com> wrote:
> On Fri, Apr 1, 2016 at 3:32 AM, Markus Stenberg <markus.stenberg@iki.fi> wrote:
> Section 2.1: It looks interesting. I like having separate naming and connectivity provider, if we can pry the reverse delegation off the connection providers’ dead hands at any rate.
> If you mean “get the ISP to do the delegation,” I think having it as part of the architecture will at least get them thinking about it, which is a start! :)

Yes. Not optimistic though :)

> Section 2.2: I am not sure I like ‘flat’ namespace, as it prevents e.g. DNS-SD records from being associated with the particular namespace (or is this ‘flat’ in some logical sense and not really talking about label sequences?).
> It's intended to be flat in the sense of a single label.   What would you see as the use for a non-flat namespace?   You mention DNS-SD records "being associated with a particular namespace," but this is more of a campus-wide DNS-SD solution than a homenet solution.   If you are trying to address the campus use case, I think that could be accomplished in a follow-on document, since it's not the primary goal.   But say on—is there more to it than that?

Well, my reading at the time was that it was strictly <label>.<zone>; therefore, even DNS-SD <service>.<transport>.<zone> would be out of scope. I hoped it was just an error on reader’s part :) 

> Section 2.3: I think public should be separate DNS-SD (+DNS-update) zone with manual opt-in, and not created out of local entries.
> Okay, but how would that work?   Do you mean just a different name externally than internally?   I agree with that to some extent, but it makes the UI harder because now the user has two different names for the same resource, depending on whether they are internal or external to the homenet.

Yes. Public should be opt-in, not default, because I for one at least don’t want to advertise every service in my home for various reasons; e.g. if there’s vulnerable product X, if trawling for the DNS-SD records in the well-defined home <domain> brings up data about it, someone can drive over and do bad things over wifi to e.g. broken Belkin wifi home automation stuff. Completely fictional example with nothing to do with the fact that the ones I used to use sometimes booted to default wifi, no password mode..

> Section 2.4.3: I would like some sort of ‘claim ownership of record X, allow updating it only if you are owner’ schemed DNS-Update to be the main method. It would also address conflict resolution _given_ single server (hard to do in distributed fashion though; the rest of draft seems to argue for loosely synchronized state while I would assert single master + read-only slaves would work better for this model as the ownership claim would be atomic / race-free)
> I thought I'd talked about that.   My idea was to put a key on each record that is used to sign subsequent updates or deletions.   You would lose control of the record if you went offline, however, since the whole name would expire.   I didn’t address that issue in the document.

Ah, perhaps I read through it too rapidly (as the disclaimer said, it was beer-powered sudden review, not really very thorough one).

Cheers,

-Markus