Re: [dnssd] SRP: name conflict while not knowing which name conflicts
Tim Wicinski <tjw.ietf@gmail.com> Fri, 23 September 2022 13:27 UTC
Return-Path: <tjw.ietf@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 BE9BAC1524AC for <dnssd@ietfa.amsl.com>; Fri, 23 Sep 2022 06:27:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.105
X-Spam-Level:
X-Spam-Status: No, score=-2.105 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, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.com
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id z2i0CSyFyBpG for <dnssd@ietfa.amsl.com>; Fri, 23 Sep 2022 06:27:28 -0700 (PDT)
Received: from mail-lf1-x134.google.com (mail-lf1-x134.google.com [IPv6:2a00:1450:4864:20::134]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 247FDC1522B4 for <dnssd@ietf.org>; Fri, 23 Sep 2022 06:27:28 -0700 (PDT)
Received: by mail-lf1-x134.google.com with SMTP id 10so279488lfy.5 for <dnssd@ietf.org>; Fri, 23 Sep 2022 06:27:28 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date; bh=VBoenZuMZi/T0IBZmq8H8tN1XDNO/+G+zy79HsdSqug=; b=dOGdDjCt9LCCsXduPR0Py9DRpV15WubrLhK7E0zqkHanKNK3vD6aUwFHL0SVKdGgxS hV5MSqno54sOSFsO+PewuBC1lN5wif5K2WOB8Sfl86Q/1B7y8ZVyQrdvQy2dA6TUL/m0 EOuImLj5Voh4JApEXI00gbIIl0WDu2rNI3pmX+8IOQ/NY/mA7PtEo1EA0mzJKrJHke94 O47+vYslMFh/rorwVhfBaXPMT3J6hYbOXG2VdSgqD+z9C5bB9rgJCQEoYfZvIYlRsI9D MrodPp8XMznQ5xQQznVWdBylXH8bGb5y04oVPnAHJwKOwW5qZIFZG9SxZuqf8mp2z3Z4 +9Eg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date; bh=VBoenZuMZi/T0IBZmq8H8tN1XDNO/+G+zy79HsdSqug=; b=6KIQobWw3//FnZK/a7RjJhE6JmrCFItfBbJEBs9whJ08YWnfbD0/HBEwtosJ/dQ80W XKIgZibDSFVClpm0iiGQuCHZvXrMegDy09XR+tgKxBKKgGA9ta2Kc4cdD7/Or1E9OZZK uJ0OFsrrSukO+WR73kWhWhn0HvREfMa+yqkZG06OEmUi820ztZPGf8Xt0EuUIh8H/xlu KO1sEpYbNQMo+aA94k4eQtAZeuW6eyWgrw052/3R4Qdxpw/6zAoym0YF67zR3v1fiWuz J8GDVqe961sTQ74kFnVV/yiP8BHSB0N4R/LARx8cmoIk6pTE34b7f8Z12GLpG0hStCiH f58Q==
X-Gm-Message-State: ACrzQf0lKAwcFESq2+EWtsbTl/7K+gfh2iDyirGWH3hgzIDOKeIgW9FQ WO6b519bk/LU8/6EfVrEmZChZjgzEOABJiBZQNk=
X-Google-Smtp-Source: AMsMyM4DD8Irze2W3C4Muju6njKvxeX0UMn5m9Q4+io9b4pjw5chVn6ImOgSZHjX+KhCEJc/iAY3jz8Yx1a1su3C5M4=
X-Received: by 2002:a19:5e50:0:b0:497:a331:91d9 with SMTP id z16-20020a195e50000000b00497a33191d9mr3316601lfi.162.1663939646254; Fri, 23 Sep 2022 06:27:26 -0700 (PDT)
MIME-Version: 1.0
References: <DU0P190MB19780211A2F50F5E66BCE005FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CAJ5Rr7Ys+bmFiP9j3ebptBEZHXX+6rzkTRaFHr7_mmgVZb9sZQ@mail.gmail.com> <DU0P190MB1978E63F6C69807759C10FD0FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CADyWQ+EMf3XTLuZWupLNeGwQ8Gaqd-A7BvyAs4wK-fT7M5zk6Q@mail.gmail.com> <DU0P190MB19786D6BDA466AC9667087C9FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CAPt1N1k0si52gnCHz_A-coitbVG8AHovLaWpJXBaWiN3to0j+w@mail.gmail.com> <DU0P190MB19782E66596D8C646D5A3F89FD519@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CAPt1N1kOLHnKkarjfuOeqRgS0Rz8n219Av37xbLxbakwHhS5-g@mail.gmail.com>
In-Reply-To: <CAPt1N1kOLHnKkarjfuOeqRgS0Rz8n219Av37xbLxbakwHhS5-g@mail.gmail.com>
From: Tim Wicinski <tjw.ietf@gmail.com>
Date: Fri, 23 Sep 2022 09:27:15 -0400
Message-ID: <CADyWQ+Hzg44nbJ49PwwMsK9cPVXtao2aFeiDr7n0UyCt7JXj2A@mail.gmail.com>
To: Ted Lemon <mellon@fugue.com>
Cc: Esko Dijk <esko.dijk@iotconsultancy.nl>, Kangping Dong <wgtdkp@google.com>, "dnssd@ietf.org" <dnssd@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000008af26c05e9582319"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/WB4usjxJ1-W42hCd3xahAxjtgzo>
Subject: Re: [dnssd] SRP: name conflict while not knowing which name conflicts
X-BeenThere: dnssd@ietf.org
X-Mailman-Version: 2.1.39
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: Fri, 23 Sep 2022 13:27:32 -0000
How about just the name(s) attempted to register with that request which are in conflict? I vote for being explicit on the minimum the SRP registar needs to do. also, not a chair but write up all the text changes and make sure the WG has no issues with that. On Fri, Sep 23, 2022 at 9:14 AM Ted Lemon <mellon@fugue.com> wrote: > Okay. I ask because we should be explicit. > > Chairs, how do you want to approach this? I think this is a WG consensus > that I failed to put into the document, but we didn't last call on it, so I > don't know that it's _actually_ consensus. Do we need a new WGLC? > > On Fri, Sep 23, 2022 at 9:12 AM Esko Dijk <esko.dijk@iotconsultancy.nl> > wrote: > >> > So it can certainly respond with a list of the names on which it found >> conflicts, but the list might not be able to be made complete >> >> >> >> I think it should respond at least with the names that it knows are in >> conflict (based on its internal database of SRP registrations for example). >> So, 0 or more records in the response. Zero records is our current >> specified baseline. >> >> An SRP registrar implementation that wants to put in more work can >> certainly do so – we don’t need to standardize here exactly what it should >> do for that. >> >> >> >> Esko >> >> >> >> *From:* Ted Lemon <mellon@fugue.com> >> *Sent:* Friday, September 23, 2022 14:56 >> *To:* Esko Dijk <esko.dijk@iotconsultancy.nl> >> *Cc:* Kangping Dong <wgtdkp@google.com>; Tim Wicinski <tjw.ietf@gmail.com>; >> dnssd@ietf.org >> *Subject:* Re: [dnssd] SRP: name conflict while not knowing which name >> conflicts >> >> >> >> Aargh. Thanks for catching this Eskimo, and thanks Kangping for >> remembering the conversation. I had completely forgotten, although I recall >> it now of course. >> >> >> >> One problem with this approach is that it will not be the case that the >> SRP server necessarily knows all of the names that are in conflict. So it >> can certainly respond with a list of the names on which it found conflicts, >> but the list might not be able to be made complete without more work. Do we >> want to require it to do that work? >> >> >> >> Op vr 23 sep. 2022 om 08:07 schreef Esko Dijk < >> esko.dijk@iotconsultancy.nl> >> >> Hi Tim, >> >> >> >> > I don't think an update to 2136 is needed here, as section 2.2.3.1 >> describes the differences with an SRP registrations and 2136 Updates, >> >> but this response should be tested against a DNS update response. >> >> >> >> Clear, we can just add a bullet in 2.2.3.1 then as plain DNS Update isn’t >> updated by this draft. What’s important then is that the server, when >> receiving a DNS Update that is not an SRP Update, will not use the new >> mechanism of including the conflicting record(s). Only do this for an SRP >> Update. >> >> And for testing: do you mean sending the “new” type of YXDomain response >> to a plain DNS Update client and see what happens? That seems not >> necessary if the SRP registrar is careful in using the “new” response >> format only for SRP clients. >> >> >> >> Esko >> >> >> >> >> >> *From:* Tim Wicinski <tjw.ietf@gmail.com> >> *Sent:* Friday, September 23, 2022 12:28 >> *To:* Esko Dijk <esko.dijk@iotconsultancy.nl> >> *Cc:* Kangping Dong <wgtdkp@google.com>; dnssd@ietf.org; Ted Lemon < >> mellon@fugue.com> >> *Subject:* Re: [dnssd] SRP: name conflict while not knowing which name >> conflicts >> >> >> >> >> >> >> >> On Fri, Sep 23, 2022 at 4:32 AM Esko Dijk <esko.dijk@iotconsultancy.nl> >> wrote: >> >> Thanks Kangping, >> >> >> >> It looks like including the conflicting name records in the Additional >> section is a good base solution and also easy to describe in the SRP draft, >> which does not impact the states & procedures of registrar and client. >> >> It’s just additional helpful information the client may use to compose >> the retry Update. The part about renaming by the registrar, on behalf of >> the client, seems more tricky and may impact states & procedures which were >> just WGLC-reviewed now. >> >> >> >> If we use the Additional section for a YXDomain response, this may >> require a formal update of RFC 2136 (3.8) since DNS Update only allows a >> server to repeat all records in the (error) response or to exclude all >> records. >> >> >> >> Esko >> >> >> >> >> >> Esko, >> >> >> >> I don't think an update to 2136 is needed here, as section 2.2.3.1 >> describes the differences with an SRP registrations and 2136 Updates, >> >> but this response should be tested against a DNS update response. >> >> >> >> Kangping, I believe this is your workflow description - I pasted it here >> to assist in my readings. >> >> >> >> 1. If a name has already been registered on the SRP server or a name conflict >> error is returned by the Advertising Proxy: >> >> the SRP server responds with the RR that includes the conflicted name. >> >> If the client sees such records, it knows the conflicts on the SRP >> server and will retry with a new name. >> >> >> >> 2. If a name conflict is reported to the SRP server after the SRP update transaction >> has been committed: >> >> The next time the SRP client registers, the SRP server responds with >> a CNAME record which includes the new name. >> >> If the client sees such records, it knows the conflict on the >> multicast link and will accept the name or retry with another name. >> >> >> >> https://mailarchive.ietf.org/arch/msg/dnssd/cUJBXN9WXBguPKtTYgPYq4bo4pQ/ >> >> >> >> Tim >> >>
- [dnssd] SRP: name conflict while not knowing whic… Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Kangping Dong
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Tim Wicinski
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Tim Wicinski
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Nathan Dyck
- Re: [dnssd] SRP: name conflict while not knowing … Chris Box
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Michael Richardson
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon
- Re: [dnssd] SRP: name conflict while not knowing … Esko Dijk
- Re: [dnssd] SRP: name conflict while not knowing … Ted Lemon