[DNSOP] Re: [dtn] Re: Re: Re: Re: IPN and CLA RRTYPEs to support Bundle Protocol RFC9171

Sauli Kiviranta <smksauli@gmail.com> Fri, 28 June 2024 07:47 UTC

Return-Path: <smksauli@gmail.com>
X-Original-To: dnsop@ietfa.amsl.com
Delivered-To: dnsop@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 0B42CC15106F; Fri, 28 Jun 2024 00:47:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.104
X-Spam-Level:
X-Spam-Status: No, score=-2.104 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_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, 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=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 zGQSeZygNTDb; Fri, 28 Jun 2024 00:47:44 -0700 (PDT)
Received: from mail-ed1-x536.google.com (mail-ed1-x536.google.com [IPv6:2a00:1450:4864:20::536]) (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 07F45C14F713; Fri, 28 Jun 2024 00:47:44 -0700 (PDT)
Received: by mail-ed1-x536.google.com with SMTP id 4fb4d7f45d1cf-57d07f07a27so336278a12.3; Fri, 28 Jun 2024 00:47:43 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20230601; t=1719560862; x=1720165662; darn=ietf.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=pNOQnM4U5UI3UQE0J4c9CmXWK1PfhSVjPEo9OSUAa2A=; b=jnDCvf7iurm36HzvXnWR8a1K5WwPWMOZdVSJ3SHHWiET/0yz3Ccuu7oBhhMdtaBEzV DXa4vK3rALoBYXhta9rS14Zc8Wdt6Tw5mBNopqpEd+El6Nz0gAeAiDyRCjjhpQIli5hS mcwzCsXCyiOQzALO4nA3O0fVDc0z+Qd6LoNphWTVbMk49zpU4Dyee6eokq9G+XOjE+9g vw4bB2/gB6iZ3zLBYjVZ4aBws3OSOkWtRivIC1DUO/PfFcc++6t38YRMmfNPPlxTD2IM gLqg7ZtmbNwB9r1aAUpmgsLD/rTJY88UOwl4/JQtMjJF19JRMWWzkHR4XaBAZhSA+8xr 4amQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1719560862; x=1720165662; 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=pNOQnM4U5UI3UQE0J4c9CmXWK1PfhSVjPEo9OSUAa2A=; b=C4kz1ntplrjiQ1SqIRvUOWCtOL8+Tvr4s8TMoX+J5+Nf/QFd2vzXMA8wFRnmF3tjcA ICee57gtsrPYsQUZd6U9yVZakKTMITGFD+LU0htcfsiy1sd8l6+mBkePxe5hxMSX9EnN Afbu1wPwSGu86P8ySdu2hbXIEGkSVouixVdJO+3wJCgZGjmfEfzIvaFUXtlwPGxYP80L mCxJqRWCOTdTZQHA0cSgXBLpgRFEZ47Cw3wd7DUCkjAEUH6sZzeQoK9FxdCd39V3x2LH 7wpyYzH1Ztv+ISxd1FQV/3qoyAizlrOw0c+50ZDi+FMGUGgxTUknGyjsNj2rB2sEw8X/ tCog==
X-Forwarded-Encrypted: i=1; AJvYcCU8oQDzxDZgXY/fCwKg4Wl52qdKuzAjWNH/LyOJSIpno/HvqRkr6umjzqJVlfCa/Tb4V7hbEYFOhUozD2LsTwusoqlL7mEp1GMwt1si
X-Gm-Message-State: AOJu0YwViQMCmx34rlCE/asa3VNIV9LPbKt+fzJMZyWX8EvI2elys2ME 3HBBIn/PhuBeuud0cX6ECGavDnGpw+aMtu0V4BB4M73QDKzvcqckdjItQw4bSFYUUu5dBHYNXPj zWTfGZwhgpvIEtPJuvCAWWqEaOJY=
X-Google-Smtp-Source: AGHT+IEfiUpN7tyTIm0dWBeEdfW64r8sQhxcTHhrxyU7BabYSdO5g+xd803O3HjGEqp2KBekx+L8Vw9hfWrPkxEAJ5Q=
X-Received: by 2002:a17:907:20ed:b0:a6f:256c:8163 with SMTP id a640c23a62f3a-a7245953041mr945454666b.0.1719560862103; Fri, 28 Jun 2024 00:47:42 -0700 (PDT)
MIME-Version: 1.0
References: <fa28794e-d02b-aa93-56c8-082a3472c6e4@spacelypackets.com> <AC5B89B2-DD53-4A36-9B87-4136EC288851@isc.org> <2dec1732-841e-dd38-85a8-3263b1c59885@spacelypackets.com> <C363E260-22EA-43E9-97B6-D7A403C205ED@isc.org> <98976a58-b976-e82c-4b12-76edce92e691@spacelypackets.com> <CAMGpriUVcoJu1CWWLapwREN2NaHJFnVkGUpF45TJotm7uyAxyg@mail.gmail.com> <3cfc8b7c-9128-46b5-c458-ac0ebb9c79bc@spacelypackets.com> <38A5475DE83986499AEACD2CFAFC3F980273735D06@tss-server1.home.tropicalstormsoftware.com> <b3ee82da-ae38-5781-77eb-bab292d5c113@spacelypackets.com> <cca98f92-27ee-d372-b419-81c63777033b@spacelypackets.com> <38A5475DE83986499AEACD2CFAFC3F980273739166@tss-server1.home.tropicalstormsoftware.com> <24b5ed89-c7fa-8d2d-826b-f8e08779b6d8@spacelypackets.com> <38A5475DE83986499AEACD2CFAFC3F98027373928B@tss-server1.home.tropicalstormsoftware.com> <f354954d-f41b-f1af-314c-7db6e4d86191@spacelypackets.com> <A8F570D7-CD30-4693-88EF-C6B977E95590@isc.org> <643022e2-e234-d380-5a79-74213a5b3c90@spacelypackets.com> <38A5475DE83986499AEACD2CFAFC3F9802737395BC@tss-server1.home.tropicalstormsoftware.com> <113401dac8bc$b412aaa0$1c37ffe0$@gmail.com>
In-Reply-To: <113401dac8bc$b412aaa0$1c37ffe0$@gmail.com>
From: Sauli Kiviranta <smksauli@gmail.com>
Date: Fri, 28 Jun 2024 10:47:30 +0300
Message-ID: <CAJbqEYC_qQ1-Mhzo-dTQrpH7MxKjKcZAKAMnWx6tTv15G9-+qA@mail.gmail.com>
To: sburleig.sb@gmail.com
Content-Type: multipart/alternative; boundary="0000000000005afc84061bee7643"
Message-ID-Hash: IGML4AGRP23MMTCHA362JI3JMGDGSONI
X-Message-ID-Hash: IGML4AGRP23MMTCHA362JI3JMGDGSONI
X-MailFrom: smksauli@gmail.com
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-dnsop.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Rick Taylor <rick@tropicalstormsoftware.com>, Scott Johnson <scott@spacelypackets.com>, Erik Kline <ek.ietf@gmail.com>, dnsop <dnsop@ietf.org>, dtn@ietf.org
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] Re: [dtn] Re: Re: Re: Re: IPN and CLA RRTYPEs to support Bundle Protocol RFC9171
List-Id: IETF DNSOP WG mailing list <dnsop.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/dnsop/B2Tle7Aj7kIE9wF43_3CfI_FDfw>
List-Archive: <https://mailarchive.ietf.org/arch/browse/dnsop>
List-Help: <mailto:dnsop-request@ietf.org?subject=help>
List-Owner: <mailto:dnsop-owner@ietf.org>
List-Post: <mailto:dnsop@ietf.org>
List-Subscribe: <mailto:dnsop-join@ietf.org>
List-Unsubscribe: <mailto:dnsop-leave@ietf.org>

I would strongly support what ScottJ has proposed, I would even say that
this is very pragmatic way to go forward. These new RRTYPEs make everything
quite clean (towards Bundle Protocol's integration as first class
citizen?). Even if not all DNS immediately support, most important thing is
what we can enable with it, not so much the transition period. This is
quite good baseline functionality without too much hassle on the DNS side.
For the backwards compatibility this is nothing new, should not be a real
concern.

On Thu, Jun 27, 2024 at 9:07 PM <sburleig.sb@gmail.com> wrote:

> Hi, Rick.  I would not fight to the death over this, but I am skeptical
> that having domain names map to node numbers encoded in CBOR, rather than
> to node numbers expressed as unsigned integers, would be advantageous.
>
> My understanding is that RFC 9171 and later
> https://datatracker.ietf.org/doc/draft-ietf-dtn-ipn-update/ define the
> CBOR encoding for BP ipn-scheme endpoint IDs.  Scott has indicated several
> times that he doesn't propose to return EIDs as resources; all he wants
> returned from a DNS lookup by domain name is the fully qualified node
> number (allocator number followed by node number) to which that name maps.
>
> Section 6.1.1 of the dtn-ipn-update draft explains that the encoding of an
> FQNN is a 64-bit unsigned integer and explains how that integer value is
> constructed.  One could CBOR-encode that value, which would tell the
> recipient "Here's an unsigned integer" and indicate the number of octets
> occupied by that integer value.  But it would seem simpler (both in the
> definition and for implementations) to state in the resource record
> definition that "The value returned is a 64-bit unsigned integer", so that
> the recipient instantly knows how to handle it.
>
> It is true that the CBOR representation could compress the returned value
> in many cases, but I would not expect that to be a significant advantage in
> DNS lookup traffic, which shouldn't be extremely heavy.
>
> Again, not a life-or-death consideration for me, but I would prefer the
> simpler mechanism.
>
> Scott
>
> -----Original Message-----
> From: Rick Taylor <rick@tropicalstormsoftware.com>
> Sent: Thursday, June 27, 2024 1:32 AM
> To: Scott Johnson <scott@spacelypackets.com>; Mark Andrews <marka@isc.org>
> Cc: Erik Kline <ek.ietf@gmail.com>; dnsop <dnsop@ietf.org>;
> sburleig.sb@gmail.com; dtn@ietf.org
> Subject: RE: [DNSOP] Re: [dtn] Re: Re: IPN and CLA RRTYPEs to support
> Bundle Protocol RFC9171
>
> Hi Both,
>
> Comments inline...
>
> > -----Original Message-----
> > From: Scott Johnson [mailto:scott@spacelypackets.com]
> > Sent: 27 June 2024 04:36
> > To: Mark Andrews
> > Cc: Rick Taylor; Erik Kline; dnsop; sburleig.sb@gmail.com;
> > dtn@ietf.org
> > Subject: Re: [DNSOP] Re: [dtn] Re: Re: IPN and CLA RRTYPEs to support
> > Bundle Protocol RFC9171
> >
> > Hi Mark,
> >
> > On Thu, 27 Jun 2024, Mark Andrews wrote:
> >
> > >> I broached the possibility of CBOR in discussion on DNSOP before
> > >> DTN was CCed, making the above point to Scott Burleigh.  Our
> > >> conclusion there, along with Mark Andrews, was that the current
> > >> verbiage is the current best course of action.  I have no personal
> > >> objection to wire format for the IPN RRTYPE being CBOR, if ScottB
> > >> and Mark agree that there is gain to be had over using 64-bit
> unsigned int.
> > >>
> > >> That said, it is unclear if appropriate CBOR functions/libraries
> > >> already exist/are used inside nameserver implementations. If not,
> > >> that could substantially delay deployment, and/or add burden to
> > >> implementers.  There is an active draft which specifically treats
> > >> CBOR encoding of RRs (
> > >> https://datatracker.ietf.org/doc/draft-lenders-dns-cbor section
> > >> 3.2.1), but that document is still an Individual Draft at this point
> as well.
> > >>
> > >> Mark, ScottB, opinions?
> > >
> > > What real benefit would CBOR bring over a raw 8 byte value other
> > > than saying it was entered via X or X.X?
> >
> > This would be my criteria exactly.  If we can save bytes, ok; lets
> > consider it.  If not, then why?
>
> My point wasn't about saving bytes (but of course one doesn't want to go
> overboard and explode the total length) - as Scott B pointed out, this
> isn't a resource constrained use-case.
>
> My point is about familiarity and commonality.  By the time someone has
> got their head around EIDs, NodeIds, Node Numbers, FQNNs, introducing yet
> another binary encoding to save some bytes seems a mistake.
>
> RFC9171 (the source document for all of BP) has a well-defined CBOR
> encoding, which is updated in a forwards-compatible way in
> https://datatracker.ietf.org/doc/draft-ietf-dtn-ipn-update/ (currently
> with IESG), so why not re-use it?  It has been intentionally designed such
> that if in the future NodeIds are expanded again (because 640K is never
> enough) the format is highly unlikely to need changing.  There is also
> following work within the WG adding 'wildcard' support, whilst still
> maintaining a consistent, efficient, self-descriptive format.
>
> If the RRTYPE is encoding a 'data type' defined by a IETF, I would expect
> there to be a good reason to deviate from the IETF standard binary encoding.
>
> Additionally I think it might make the RRTYPE defining document simpler:
> You can just normatively reference ipn-update.
>
> Cheers,
> Rick
>
> _______________________________________________
> dtn mailing list -- dtn@ietf.org
> To unsubscribe send an email to dtn-leave@ietf.org
>