Re: [dnssd] SRP: support of SRP message with zero service?

Ted Lemon <mellon@fugue.com> Wed, 07 December 2022 12:55 UTC

Return-Path: <mellon@fugue.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 CB718C14CE54 for <dnssd@ietfa.amsl.com>; Wed, 7 Dec 2022 04:55:55 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.895
X-Spam-Level:
X-Spam-Status: No, score=-6.895 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, 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=fugue-com.20210112.gappssmtp.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 AldV-AL_I33x for <dnssd@ietfa.amsl.com>; Wed, 7 Dec 2022 04:55:54 -0800 (PST)
Received: from mail-qk1-x732.google.com (mail-qk1-x732.google.com [IPv6:2607:f8b0:4864:20::732]) (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 C9310C14F72F for <dnssd@ietf.org>; Wed, 7 Dec 2022 04:55:54 -0800 (PST)
Received: by mail-qk1-x732.google.com with SMTP id j26so9869820qki.10 for <dnssd@ietf.org>; Wed, 07 Dec 2022 04:55:54 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fugue-com.20210112.gappssmtp.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=71qy/XDLMkekBDfYGHqpYEFgrzxzv+hRAtythWoUJw0=; b=7zBs0dGJ5Z3TRVZvXp/hk7c1P54XPOsxRLB88uFQvk0Bs1xy74/i32ullOa5gU4TmP NbsCLf2Yk+HKsaqrT/FiExTGaxmiZkpYBdUY7/mzyCiG7HYvV7fCPUBW+LDUQuhakLt7 W+oZcLW5ueqc7x4kM9rtHyHgCtxSw0hCI+TWW7bJg+AAsWw8FHSAuyD3KfcJFALJ2Fme N7GFHolFF3FOTTFJR5eZjxZ6F3i0IUqmyb+yAoiCfWCpgJ6lntQqYGcy9hFkzkfAWR5E nGe+V/DU50UgxN5bEB0zpPilSS0gFkGE/KNoTRo1qTnHlNqHk4GrCLR5zbAx6gcctMhd Yd6A==
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:message-id :reply-to; bh=71qy/XDLMkekBDfYGHqpYEFgrzxzv+hRAtythWoUJw0=; b=yEsl82i35QTgo3c4nRG43VYzO7jcnNidBszdYX8dLryFGFgJnozR4KNhqic7Dub9pE TvqMLQASeF6lITK6Z9pmTW1u2GqVmJt1BR5xlByHxqhps66pTmemrD/s8/5UJomFMTQa jNIXGQc4QqKyKRzzA3hH2X3d1AttRckSU19i3CGWCstBuqLwUJvUutxcFbf/kZHB/DoJ 8pZ3duSrZghDalQZpl8EfQZWyf3KOfX9ihB0FxUoKzoOBg2CicBeIqOs664B6un4srrA 9SaNu5MnXXBeSsMuqCQQWTEhJaLBqKbRxAuJerT39xaQEawMZhG9nwjwcmwSQyJAQ5Ka E7oQ==
X-Gm-Message-State: ANoB5pm5U4drSnG9KSNcMbnkcyevfkAcBQqrVWZKO+pM435I6E+asm5N CU2s3MJtRvY7G3/vJ0KBI8qBXmg3LBVovczL6k580g==
X-Google-Smtp-Source: AA0mqf6LZHlpS88CIkpznyCzg5GTEhBPI3UrPd4VehQifWt3GOxiPkTku1c/i+o4jqWOA/A4zUKy3KT0hxJ67bIFlD0=
X-Received: by 2002:a37:f509:0:b0:6fb:ff0f:e7e0 with SMTP id l9-20020a37f509000000b006fbff0fe7e0mr36419756qkk.747.1670417753200; Wed, 07 Dec 2022 04:55:53 -0800 (PST)
MIME-Version: 1.0
References: <CAJ5Rr7ZTujqf3_CR-PY1Kdj1KTFAKQKcPbmZORXOxW+8TMquVw@mail.gmail.com> <CAPt1N1=aPfTpSdVbWTSBVi27SAr_uGwhuG03z6MNGRBdzZyqkg@mail.gmail.com> <DU0P190MB1978503FBF2F9F3853AFC3E6FD1A9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM> <CAJ5Rr7azeWtW0ujL6GBQ9QwWbX3Zi5Noroc4fLvcRAC9n5iOsg@mail.gmail.com> <DU0P190MB197841581AE31FF6A74B4440FD1A9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
In-Reply-To: <DU0P190MB197841581AE31FF6A74B4440FD1A9@DU0P190MB1978.EURP190.PROD.OUTLOOK.COM>
From: Ted Lemon <mellon@fugue.com>
Date: Wed, 07 Dec 2022 07:55:42 -0500
Message-ID: <CAPt1N1mtci0R7qH0=yiu0xn5su-PGXhobi+h5dk-_9eCJXrXng@mail.gmail.com>
To: Esko Dijk <esko.dijk@iotconsultancy.nl>
Cc: Kangping Dong <wgtdkp@google.com>, "dnssd@ietf.org" <dnssd@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000ce740d05ef3c70d9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnssd/p4NeNYGzJ3QXtqdfDbV4UgcM2Eo>
Subject: Re: [dnssd] SRP: support of SRP message with zero service?
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: Wed, 07 Dec 2022 12:55:55 -0000

Also bear in mind that SRP isn’t just for the constrained device use case.
There may be cases where it’s useful to register a well known name and
unnecessary to advertise a service. E.g. so you can ssh to your laptop by
name.

Op wo 7 dec. 2022 om 07:52 schreef Esko Dijk <esko.dijk@iotconsultancy.nl>

> Yes we have, the link to the start of the thread is:
> https://mailarchive.ietf.org/arch/msg/dnssd/01voO6MkMBBvxeInncR6e-3u1bM/
>
> (somewhat long discussion)
>
>
>
> One use case mentioned also is an SRP client adding or removing an IP
> address in its registration, while keeping its services unchanged.
>
>
>
> Esko
>
>
>
> *From:* Kangping Dong <wgtdkp@google.com>
> *Sent:* Wednesday, December 7, 2022 12:48
> *To:* Esko Dijk <esko.dijk@iotconsultancy.nl>
> *Cc:* Ted Lemon <mellon@fugue.com>; Abtin Keshavarzian <abtink@google.com>;
> DNSSD <dnssd@ietf.org>; Jonathan Hui <jonhui@google.com>
> *Subject:* Re: SRP: support of SRP message with zero service?
>
>
>
> > Why is it useful to have a hostname and address generally?  :)
>
>
>
> If the client knows only the hostname and address, it doesn't know what
> protocol should be used to communicate with the device, so it doesn't seem
> to be useful to
>
> know only the address. One use case in my mind is that a device may
> register a well-known hostname, but didn't find a real case in local
> constraint networks...
>
>
>
> > I recall that we discussed that a device could temporarily not have a
> particular service; and some expectation that in due time a service will
> become available again.
>
> > During this time the device wants to keep its name registered, to show
> that it is still there and functional, and defend its name against
> potential other devices taking that name.
>
> *> *So one use case is deleting its service(s) but keeping the name
> registered.
>
>
>
> Will this encourage devices to always register their hostname even when
> they don't provide any service? Do we have a link to that discussion? @Esko
> Dijk <esko.dijk@iotconsultancy.nl>
>
>
>
> BRs,
>
> Kangping
>
>
>
>
>
>
>
> On Wed, Dec 7, 2022 at 7:32 PM Esko Dijk <esko.dijk@iotconsultancy.nl>
> wrote:
>
> I recall that we discussed that a device could temporarily not have a
> particular service; and some expectation that in due time a service will
> become available again.
>
> During this time the device wants to keep its name registered, to show
> that it is still there and functional, and defend its name against
> potential other devices taking that name.
>
>
>
> So one use case is deleting its service(s) but keeping the name registered.
>
>
>
> Regards
>
> Esko
>
>
>
> *From:* Ted Lemon <mellon@fugue.com>
> *Sent:* Wednesday, December 7, 2022 12:15
> *To:* Kangping Dong <wgtdkp@google.com>
> *Cc:* Abtin Keshavarzian <abtink@google.com>; DNSSD <dnssd@ietf.org>;
> Esko Dijk <esko.dijk@iotconsultancy.nl>; Jonathan Hui <jonhui@google.com>
> *Subject:* Re: SRP: support of SRP message with zero service?
>
>
>
> Why is it useful to have a hostname and address generally?  :)
>
>
>
> Op wo 7 dec. 2022 om 06:09 schreef Kangping Dong <wgtdkp@google.com>
>
> Hi,
>
>
>
> Regarding SRP registration, it's unclear if at least one "Service
> Description Instruction" is required in a SRP message when the host is not
> being deleted.
>
> If it's not required to register at least one service, what's the use case
> of registering only the host/address? Any examples? (It doesn't seem to be
> useful
>
> to advertise only the host name and addresses with the Advertising Proxy :)
>
>
>
> Thanks!
>
>
>
>
>
>
>
> BRs,
>
> Kangping
>
> _______________________________________________
> dnssd mailing list
> dnssd@ietf.org
> https://www.ietf.org/mailman/listinfo/dnssd
>