Re: [homenet] Updating DNS [was: How many people have installed the homenet code?]

"Ray Hunter (v6ops)" <v6ops@globis.net> Wed, 11 May 2016 16:16 UTC

Return-Path: <v6ops@globis.net>
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 39A0612D1B7 for <homenet@ietfa.amsl.com>; Wed, 11 May 2016 09:16:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.596
X-Spam-Level:
X-Spam-Status: No, score=-3.596 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_LOW=-0.7, RP_MATCHES_RCVD=-0.996, 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 V3SZhawHrE73 for <homenet@ietfa.amsl.com>; Wed, 11 May 2016 09:16:37 -0700 (PDT)
Received: from globis01.globis.net (mail.globis.net [IPv6:2001:470:1f15:62e::2]) by ietfa.amsl.com (Postfix) with ESMTP id D982112D6DE for <homenet@ietf.org>; Wed, 11 May 2016 09:16:34 -0700 (PDT)
Received: from localhost (localhost [127.0.0.1]) by globis01.globis.net (Postfix) with ESMTP id 0E0AA4035E; Wed, 11 May 2016 18:16:34 +0200 (CEST)
X-Virus-Scanned: Debian amavisd-new at globis01.globis.net
Received: from globis01.globis.net ([127.0.0.1]) by localhost (mail.globis.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id VVpWgpDGa9Ds; Wed, 11 May 2016 18:16:29 +0200 (CEST)
Received: from MacBook-Pro.local (178-84-244-32.dynamic.upc.nl [178.84.244.32]) (Authenticated sender: v6ops@globis.net) by globis01.globis.net (Postfix) with ESMTPA id 59D384032B; Wed, 11 May 2016 18:15:56 +0200 (CEST)
Message-ID: <57335AB6.8060305@globis.net>
Date: Wed, 11 May 2016 18:15:50 +0200
From: "Ray Hunter (v6ops)" <v6ops@globis.net>
User-Agent: Postbox 4.0.8 (Macintosh/20151105)
MIME-Version: 1.0
To: Tim Chown <Tim.Chown@jisc.ac.uk>
References: <6E709688-414A-4AFB-AEAE-56BAE0469583@coote.org> <87oa93vz8e.wl-jch@pps.univ-paris-diderot.fr> <917CFE11-2386-4B0D-8A81-F87764AC09A4@coote.org> <87lh47vtpe.wl-jch@pps.univ-paris-diderot.fr> <02CF43FB-CF81-4C0C-84E1-A8DFB27B3F8C@coote.org> <87lh44fff7.wl-jch@pps.univ-paris-diderot.fr> <48A9C52C-85BC-4123-A3ED-FB269AD03126@iki.fi> <87eg9wfctc.wl-jch@pps.univ-paris-diderot.fr> <CAPt1N1nq1CTMmQHFQXnaFY73SyRPKpWagiMVfrHODakbeT2Wxw@mail.gmail.com> <87a8kj3r7p.wl-jch@pps.univ-paris-diderot.fr> <CAPt1N1nN+ih8xpBV_-T_JaGtbBG6d5zYqW==tph8yN_UB34NNw@mail.gmail.com> <56DB4264-1769-443A-86F2-BB0BE0ED9693@ecs.soton.ac.uk> <EMEW3|87dc38b1e390496e02166dafe2490d8as44D0U03tjc|ecs.soton.ac.uk|56DB4264-1769-443A-86F2-BB0BE0ED9693@ecs.soton.ac.uk> <57333B3F.7000009@globis.net> <CC759790-4F9B-47B8-A42C-A85F78AC9773@jisc.ac.uk>
In-Reply-To: <CC759790-4F9B-47B8-A42C-A85F78AC9773@jisc.ac.uk>
Content-Type: multipart/alternative; boundary="------------010209000202030601050702"
Archived-At: <http://mailarchive.ietf.org/arch/msg/homenet/HakAflw6nEnfdPz2ZIF_EHzQay8>
Cc: "homenet@ietf.org" <homenet@ietf.org>, Markus Stenberg <markus.stenberg@iki.fi>, Ted Lemon <mellon@fugue.com>, Juliusz Chroboczek <jch@pps.univ-paris-diderot.fr>
Subject: Re: [homenet] Updating DNS [was: How many people have installed the homenet code?]
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: Wed, 11 May 2016 16:16:41 -0000

>> On 11 May 2016, at 15:01, Ray Hunter (v6ops) <v6ops@globis.net 
>> <mailto:v6ops@globis.net>> wrote:
>>
>> Tim Chown wrote:
>>>> On 25 Apr 2016, at 03:39, Ted Lemon <mellon@fugue.com 
>>>> <mailto:mellon@fugue.com>> wrote:
>>>>
>>>> On Sun, Apr 24, 2016 at 12:29 PM, Juliusz Chroboczek 
>>>> <jch@pps.univ-paris-diderot.fr 
>>>> <mailto:jch@pps.univ-paris-diderot.fr>> wrote:
>>>>
>>>>     > Juliusz, the problem is that existing home network devices that do
>>>>     > DNS-based service discovery do not support DNS update. They
>>>>     could, but
>>>>     > they don't, because we didn't define an easy way for them to
>>>>     do it.
>>>>
>>>>     I'd be grateful if you could expand on that.  Why can't we
>>>>     define a way
>>>>     for clients to do DDNS?
>>>>
>>>>
>>>> We can and should.   The problem is that we won't see that code 
>>>> ship in new devices anytime soon, so we still have to make mDNS work.
>>>
>>> And this is why the dnssd WG is focused on making mDNS work on 
>>> multi-subnet networks.
>> That to me seems to be putting pragmatism before requirements.
>
> To an extent it is. The Bonjour protocols are much more widely 
> implemented and deployed than DNS Update.
>
Yes. I've seen a lot of printers shipping with it, and it works great at 
that scale.

I've also seen enterprises working with fully integrated DNS, together 
with managed Windows Domain Controllers, at monster scale.

Homenet is somewhere in the middle: we have more complexity, but no 
"computer certificates" to fall back on.

>> I'm not entirely convinced by the dnssd work, and have said so on the 
>> relevant WG.
>
> Do you mean the need for it based on Bonjour, or the solution given 
> we’re building on that?
Both.

Bonjour is a great protocol for a flat L2 network.

Bonjour is not designed for L3 networks (no inherent hop count, nor loop 
protection), nor support for multiple/overlapping name spaces.

The Homenet architecture calls for administrative zones.

I may have a guest LAN.
I may have a printer LAN (that is shared with guests)
I may have a media server (which is not shared with guests)

The Homenet architecture calls for multiple upstream providers.

I may have an electricity provider who allows me some special log on via 
the power network to control home automation, or feed back from my solar 
panels. They may publish (private) names for use by contracted customers 
that are not available over the Internet. Yes, that could also be done 
over Internet, but a specialised "walled garden" could be so much more 
secure and less vulnerable to external disruption.

Bonjour is (roughly) based on Appletalk AFAIK. I've got nothing against 
Appletalk Phase II, so if Bonjour was extended to provide an equivalent 
function to Appletalk Phase II Zone Information Protocol = ZIP then I'd 
be happier. That would cover concerns on non-overlapping name spaces. 
And Appletalk NBP/ZIP resolution also prevents loops in routed networks.

Otherwise I struggle to map the Homenet requirements onto the solution.

[BTW for the record, I don't consider DNS "as-is today" a great 
contender either. So I'm not just bashing Bonjour by any means]

>
> Note that one requirement was that other SD protocols could be 
> integrated into the hybrid proxy model. That’s still possible, but no 
> one has expressed any interest as yet.
>
I don't like the hybrid proxy model either.

It promises the union of the problems and intersection of the functionality.

Proxying flies in the face of the trend of smart devices and dumb networks.

If you get any device that bypasses, or misunderstands, the proxy 
topology, we could get very nasty name resolution loops [no inherent 
loop protection in Bonjour].

>>> But Ted has raised the question of DNS Update there, and we agreed 
>>> in BA that we’d accept a draft on issues around coexistence of mDNS 
>>> and DNS Update.
>> If "it" (multi-subnet mDNS) is going to cause more issues down the 
>> line, is it sensible to pull this into Homenet now?
>
> I think this is why Ted is doing what he is doing.  Homenet is a 
> different environment - smaller and unmanaged, generally.
>
>> Is that the intended question to be answered by that draft?
>
> The question is what happens in environments where both might mix. 
>  Well, that’s one question.  Ted offered to draft a -00 on that topic, 
> in one of his spare moments ;)
>
That seems like a worthwhile draft.

>>>>     > Just 2136 isn't enfough, because there's no authentication
>>>>     scheme,
>>>>
>>>>     I don't understand this argument.  How is non-secured DDNS any
>>>>     less secure
>>>>     than mDNS?  What am I missing?
>>>>
>>>>
>>>> This is an implementation issue, not a security issue--sorry for 
>>>> not making that clear.   In order to preserve the same security 
>>>> characteristics that mDNS has, we have to ensure that the update 
>>>> actually originated on the local link, which requires a different 
>>>> sort of listener than is present in a typical DNS server.   And 
>>>> existing DNS servers typically don't have any way to support 
>>>> unauthenticated updates on a first-come, first-served basis, so if 
>>>> you allow unauthenticated updates, you don't have any way to avoid 
>>>> collisions.   Otherwise you are correct.   The answer is to write a 
>>>> document that describes how to do that, and if you read the homenet 
>>>> naming arch document, you can see that I actually sketched out a 
>>>> solution there, which I expect to go in a different document, 
>>>> likely in a different working group.
>>>
>>> There are many worms in that can :)
>> I understand that this is potentially a huge can of worms, but if no 
>> one opens it, it'll never get solved.
>>
>> So my preference would be to write down what we want in Homenet (in 
>> the naming architecture document, in a technology-agnostic way), 
>> analyse the gaps against competing current technologies, and then see 
>> what people propose to close those gaps.
>
> That sounds like a good start.
>
>> If multi-subnet mDNS comes out a clear winner, then I'll shut up.
>>
>> But I'm not even convinced that the gaps are understood/ documented 
>> at this time.
>
> No, and I agree there. But that doesn’t preclude delivering the hybrid 
> proxy model, which is certainly applicable in campus environments (and 
> was in response in part to an educause petition), and for which Markus 
> has presented a draft for how that model could work in homenets.
>
> Tim
>