Re: [dnssd] Adoption call for draft-sctl-advertising-proxy
Lanlan Pan <abbypan@gmail.com> Wed, 18 August 2021 15:05 UTC
Return-Path: <abbypan@gmail.com>
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 CB6043A1DB9
for <dnssd@ietfa.amsl.com>; Wed, 18 Aug 2021 08:05:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5
tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1,
DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001,
HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001,
URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key)
header.d=gmail.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 PK-W5MC-p1Fk for <dnssd@ietfa.amsl.com>;
Wed, 18 Aug 2021 08:05:33 -0700 (PDT)
Received: from mail-qv1-xf2d.google.com (mail-qv1-xf2d.google.com
[IPv6:2607:f8b0:4864:20::f2d])
(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 769EA3A1DAB
for <dnssd@ietf.org>; Wed, 18 Aug 2021 08:05:33 -0700 (PDT)
Received: by mail-qv1-xf2d.google.com with SMTP id dt3so1816055qvb.6
for <dnssd@ietf.org>; Wed, 18 Aug 2021 08:05:33 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025;
h=mime-version:references:in-reply-to:from:date:message-id:subject:to
:cc; bh=WAjeGq/Z4cvFj+ngreIClKZW9G0xVi0vpQPtxX0sswk=;
b=R80guHbtAefjakXnH6GZnHI1UgV1V6HEUvuoijHlZxcVU+KRfZxEuwMrD7xIbpRYVR
/MJIp7IO2NCnoDPa8ioc9d8tfK0JHh5pf5kuLWnQLlLPTtXbbBzCjKZ7JZdtSWw8XIJ5
liAE6S7gOavXVNpzWMzIBOoFrWLejvcVDQi54li3a65jAaCvcFtQi5inFKYfymmzvepS
akY3kHMKLr72rny3QDY+JbV8Cyhvb3mhiR81TwANWTWUS+TccoLayCFJ8BgsJeq6Ih2o
KL/uciGX3YOLGxRY/97ylkrza1KziRwhZD+4NEo4lXUvZHqm6/7o5AYsjHCBJ2k46zNd
XVEg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
d=1e100.net; s=20161025;
h=x-gm-message-state:mime-version:references:in-reply-to:from:date
:message-id:subject:to:cc;
bh=WAjeGq/Z4cvFj+ngreIClKZW9G0xVi0vpQPtxX0sswk=;
b=doaeLvnISEX4wF8W6gPxTMQMo0g68giCzqvBxUT1toz7i9IA3nc8QDK2XSTTViap3D
+HNQ07vrR6PlTbSm31z8Xn3t/j4iuAlLpxuhid5k0z0JPUe6T5iylumfsiPZie0N83Yw
NlkHX9t+VOSAnQYYDzpcA7xrl2B9yKooXff4SnFuqObRBCIrrjf0cgoNFpZqUMBwiT/B
zCMvy60ubyC9o3JT2iv8SV3N6NdL1SEcJm5tJPF52Y5JBQtOa4xCL83ObNXvFysiWU5X
p2WzdxA1EUxd1OykJeu2Niyk8Musvdm2wDRqgpRZNuL3xFt3fOmpm7Q4Gs5zgqT4sk6Q
cAcA==
X-Gm-Message-State: AOAM533OSUNtZgYRMH6CLkM5KABJhTmQhaFCj/MffYmTuZbPKwG/otDA
i5EnOUcE0ywzTapKG79hdcOWRDy/qCi+YuMPCoQ=
X-Google-Smtp-Source: ABdhPJyiLLVEBX3dwg8NMyI/9n1eljcZnZVKwM2YiI4lIlNnQRJY7ZyCvZ3Iy4btoPdi/0ROffoqSlJuatCWB3B6IFg=
X-Received: by 2002:ad4:46cb:: with SMTP id g11mr9430287qvw.45.1629299131353;
Wed, 18 Aug 2021 08:05:31 -0700 (PDT)
MIME-Version: 1.0
References: <CADPZrgTu8QeR=yAM+9w0zDJ45Uz7Lgs12-6PKzutTW_p1RkA4Q@mail.gmail.com>
<CAPt1N1=NgRRVnD1L_dJ_mZYuE5ReXOv0sK_cL6RcjcmpdQZOYg@mail.gmail.com>
<CANLjSvV45ki5ZjGut62uJTtyJ8+J8AwXcPKNMUTimDUoga5qkA@mail.gmail.com>
<CAPt1N1myE-01aNhTS69OU4Xr+6dhfyzZCXO_Piov2LFpjbNsNw@mail.gmail.com>
In-Reply-To: <CAPt1N1myE-01aNhTS69OU4Xr+6dhfyzZCXO_Piov2LFpjbNsNw@mail.gmail.com>
From: Lanlan Pan <abbypan@gmail.com>
Date: Wed, 18 Aug 2021 23:05:19 +0800
Message-ID: <CANLjSvVboigCztcKo2C5ucEk2Di76yc5s17TbpsRKKKNwXgKcg@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: Simon Lin <simonlin=40google.com@dmarc.ietf.org>, dnssd <dnssd@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000f5108605c9d6c31c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/VHYST-RqFgvLJ2_jbxNaBOn9BjM>
Subject: Re: [dnssd] Adoption call for draft-sctl-advertising-proxy
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.29
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: Wed, 18 Aug 2021 15:05:39 -0000
Ted Lemon <mellon@fugue.com> 于2021年8月18日周三 上午6:46写道: > > On August 17, 2021 at 10:33:00 AM, Lanlan Pan (abbypan@gmail.com) wrote: > > I don't think dnssd-zone-discover helps with this. I think the client > needs to either unregister itself with SRP before migrating, or follow the > same protocol I mentioned earlier with respect to its service > advertisement: advertise without asserting uniqueness. > > +1, advertise without asserting uniqueness. > To join in a Thread zone, srp client should be authenticated through > J-PAKE or other protocols. the srp client only its own the srp server, the > srp server can only ensure the uniqueness in its zone, but not asserting > the uniqueness with other zones. > If srp client migrating to a mdns client, just follow the mdns conflicts > policy. > > Actually that's not really an issue we address. Yes, on a network like > Thread, the commissioning process guarantees that the client has the right > to connect, but it doesn't guarantee a unique hostname. Some other part of > the onboarding process might do that, or might not, but SRP doesn't really > pay attention to that. Rather, devices are expected to have a unique > public/private key pair that's used to claim the name, and conflicts are > detected by noticing that the client making a claim to a name has signed > their claim with the wrong key (wrong meaning not the key that was used > last time). And then that client doesn't get the name. This is FCFS naming. > > As long as there is a single SRP namespace, it's fine for it to span more > than one network link, because the FCFS naming process ensures that there > will be no duplicate names. If a device moves from Thread to WiFi, we want > it to keep the same name. > Thank you for the clarification. > The problem is that mDNS currently lacks the capability to defend names > using FCFS, and so when this roaming occurs, if there is an overlap between > the lifetime of the SRP registration and the lifetime of the mDNS > advertisement, we need a strategy for dealing with that. > > The strategy I'm proposing is that we allow the conflict to exist, and let > the application figure out which information to use. Ultimately though we > want WiFi clients to use SRP, with FCFS naming, and that solves the problem. > allowing conflict at Public WiFi may be better for user privacy ? or WiFi clients using SRP with FCFS naming is an opt-in in a smart home environment ? > We could do what the Discovery Proxy does and give each link its own name, > but I didn't suggest going that route because I think it's confusing. Is a > device with the same name in a different domain the same device that's > moved to a different network, or a different device? The application still > has to figure this out, so we haven't gained anything. Additionally, the > app needs to do more work, because now it has to have a list of domains to > query (or the API for finding names has to know to query multiple domains). > > Also, with that model, when a device roams to a new link, until it's > discovered to have roamed, there is no name the app can use to immediately > reference the device, because now the name changes from link to link. So > the app has to always be doing discovery just to find the device when it > roams, even if it isn't interested in other devices that have the same > service type. > So that's why I tend to prefer the model where we do our best to avoid > conflicts, but when we have duplicate information, we allow it to coexist. > The app should be able to fairly easily figure out which information to > use, and the period of coexistence should be brief, so if there is a cost > to disambiguating, it will be paid only infrequently. > Yes, the discovery is the base cost. If the app and the device exchanged some trust credentials (TOFU public key/psk/...), it can know the real device when it finds two devices with the same name. If the app trusts anything without authentication, then there may be some problem.
- [dnssd] Adoption call for draft-sctl-advertising-… Kangping Dong
- Re: [dnssd] Adoption call for draft-sctl-advertis… Martin Turon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Ted Lemon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Simon Lin
- Re: [dnssd] Adoption call for draft-sctl-advertis… Jonathan Hui
- Re: [dnssd] Adoption call for draft-sctl-advertis… Simon Lin
- Re: [dnssd] Adoption call for draft-sctl-advertis… Ted Lemon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Jonathan Hui
- Re: [dnssd] Adoption call for draft-sctl-advertis… Ted Lemon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Saurabh Kumar
- Re: [dnssd] Adoption call for draft-sctl-advertis… Jonathan Hui
- Re: [dnssd] Adoption call for draft-sctl-advertis… Ted Lemon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Simon Lin
- Re: [dnssd] Adoption call for draft-sctl-advertis… mellon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Simon Lin
- Re: [dnssd] Adoption call for draft-sctl-advertis… Jonathan Hui
- Re: [dnssd] Adoption call for draft-sctl-advertis… Lanlan Pan
- Re: [dnssd] Adoption call for draft-sctl-advertis… Ted Lemon
- Re: [dnssd] Adoption call for draft-sctl-advertis… Lanlan Pan