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

Mark Andrews <marka@isc.org> Tue, 25 June 2024 01:36 UTC

Return-Path: <marka@isc.org>
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 4318FC1519B3 for <dnsop@ietfa.amsl.com>; Mon, 24 Jun 2024 18:36:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.107
X-Spam-Level:
X-Spam-Status: No, score=-2.107 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, RCVD_IN_ZEN_BLOCKED_OPENDNS=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 (1024-bit key) header.d=isc.org header.b="oAwVRV6R"; dkim=pass (1024-bit key) header.d=isc.org header.b="fjY46uwf"
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 4MQqWR0WfQM7 for <dnsop@ietfa.amsl.com>; Mon, 24 Jun 2024 18:36:02 -0700 (PDT)
Received: from mx.pao1.isc.org (mx.pao1.isc.org [149.20.2.50]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 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 D04B9C14F6E2 for <dnsop@ietf.org>; Mon, 24 Jun 2024 18:36:02 -0700 (PDT)
Received: from zimbrang.isc.org (zimbrang.isc.org [149.20.2.31]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx.pao1.isc.org (Postfix) with ESMTPS id C83723AB266; Tue, 25 Jun 2024 01:36:01 +0000 (UTC)
ARC-Filter: OpenARC Filter v1.0.0 mx.pao1.isc.org C83723AB266
Authentication-Results: mx.pao1.isc.org; arc=none smtp.remote-ip=149.20.2.31
ARC-Seal: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1719279361; cv=none; b=WAlIgqfCEiL0AiCbAbBxjmJxmxuGXKjqkIU+UqiFSvQgT7ZHkZ2FBNBfkOLAQ8eCZiVAWlqpFpe6FDBmJPaNWv7BEvzsWeK6rSFk9e/pOloSLY0lVti/FRLWYhaW435F5uxkvnPcEPlUB+1NgGsr86/lVcySJYdQSbDgq4U8f5A=
ARC-Message-Signature: i=1; a=rsa-sha256; d=isc.org; s=ostpay; t=1719279361; c=relaxed/relaxed; bh=2wjr/ep1nSzLWWkTIjmxa5bv8z3II9yKuUFT6EEYF/E=; h=DKIM-Signature:DKIM-Signature:Mime-Version:Subject:From:Date: Message-Id:To; b=UKJwtC6YCu4uK/pIZyHYSIKgp/z/3BmsMULW86w0vt6red6KAzEOh2XbFZhHdjybLfXWBnJwRGBdTDroCkPLLX7LxSGOT9MxIpsSrVVUAOubKS52FuxSwNp0+A1XKrST1XJ+KlPi9saJqgvJ//ipyLrCTssu7fAadRmf/TGEdh4=
ARC-Authentication-Results: i=1; mx.pao1.isc.org
DKIM-Filter: OpenDKIM Filter v2.10.3 mx.pao1.isc.org C83723AB266
DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=isc.org; s=ostpay; t=1719279361; bh=kptjfjBdwO2RadCOtVUifqHFI/UsEpVlyJGOii3FRy0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=oAwVRV6RG6nv4KZ6BE1Z4a6rroWds1wQKnhWBxAPB+UrOXjSSj7gD82IA7HpVt9nG e7ml6YikGeHXjrUYRemZc4AnZ+QobHsAVqAkwq1OVL6k4N6F9iOZ67B/peJI+cDbs0 /hSLL7M2C5bm60/zf/rorpYgNWkeSA+M9+kpfG8c=
Received: from zimbrang.isc.org (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTPS id C278C116ED3B; Tue, 25 Jun 2024 01:36:01 +0000 (UTC)
Received: from localhost (localhost.localdomain [127.0.0.1]) by zimbrang.isc.org (Postfix) with ESMTP id A1825116ED61; Tue, 25 Jun 2024 01:36:01 +0000 (UTC)
DKIM-Filter: OpenDKIM Filter v2.10.3 zimbrang.isc.org A1825116ED61
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=isc.org; s=05DFB016-56A2-11EB-AEC0-15368D323330; t=1719279361; bh=2wjr/ep1nSzLWWkTIjmxa5bv8z3II9yKuUFT6EEYF/E=; h=Mime-Version:From:Date:Message-Id:To; b=fjY46uwf2JVUeSo7iXDnhsVuq9F5MMp/b3sJ11U4Q456HpqT37Pds/1NBn7QHH0GG MB/WfHLiYCtEd4zFStIY9IItUdCocgrQI0rR9EtJ1nFZ4McVs1dxdev4m0MrjdGwGs UI7CKFGs3/LIlXk/TKC6Jjpc/ev3hxsA8nCSMnuA=
Received: from zimbrang.isc.org ([127.0.0.1]) by localhost (zimbrang.isc.org [127.0.0.1]) (amavis, port 10026) with ESMTP id dX3-Pf0-n6j9; Tue, 25 Jun 2024 01:36:01 +0000 (UTC)
Received: from smtpclient.apple (n49-187-18-238.bla1.nsw.optusnet.com.au [49.187.18.238]) by zimbrang.isc.org (Postfix) with ESMTPSA id 108F2116ED3B; Tue, 25 Jun 2024 01:36:00 +0000 (UTC)
Content-Type: text/plain; charset="utf-8"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3731.700.6.1.1\))
From: Mark Andrews <marka@isc.org>
In-Reply-To: <b3f42856-9460-2fa2-1088-185fda441f51@spacelypackets.com>
Date: Tue, 25 Jun 2024 11:35:48 +1000
Content-Transfer-Encoding: quoted-printable
Message-Id: <F2BD591F-8512-4E3E-ABA2-3DF3F34372CB@isc.org>
References: <fa28794e-d02b-aa93-56c8-082a3472c6e4@spacelypackets.com> <44BBD57B-752B-47FA-B5A5-D4F37BE60E9A@isc.org> <b3f42856-9460-2fa2-1088-185fda441f51@spacelypackets.com>
To: Scott Johnson <scott@spacelypackets.com>
X-Mailer: Apple Mail (2.3731.700.6.1.1)
Message-ID-Hash: B62Y4BWEUM4EIXFXMCRZAOHYHWNEJUTS
X-Message-ID-Hash: B62Y4BWEUM4EIXFXMCRZAOHYHWNEJUTS
X-MailFrom: marka@isc.org
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: dnsop <dnsop@ietf.org>
X-Mailman-Version: 3.3.9rc4
Precedence: list
Subject: [DNSOP] 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/SysOxsWYO5NJiUZBqBvb4iHd4ag>
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>


> On 25 Jun 2024, at 10:32, Scott Johnson <scott@spacelypackets.com> wrote:
> 
> Hi Mark,
> 
> On Tue, 25 Jun 2024, Mark Andrews wrote:
> 
>> An obvious correction “LTP--v6” -> “LTP-v6”
> 
> Aha!  Good eye.
> 
>> 
>> For IPN why isn’t the wire format two network 64 bit integers?  That is 16 bytes.  Also 2^64-1 is 20 characters so 2 64-bit numbers separated by “." is 41 characters.  It’s not clear where then 21 comes from.
> 
> EID is the basic unit of IPN naming, which is indeed two 64 bit integers separated by a ".". We are seeking to represent only the node-nbr component of an EID, as the service-nbr component is loosely analagous to a UDP or TCP port, for which there is one publicly defined service in the registry, and a collection of space agencies who lay claim to another chunk of them:
> https://www.iana.org/assignments/bundle/bundle.xhtml#cbhe-service-numbers
> As such, there is no gain in including the second 64-bit integer, representing service-nbr in the DNS records, and indeed, a loss of utility on the application level.
> 
> The node-nbr component is presently, under RFC7116, a 64 bit unsigned integer.  There is a draft from the DTN WG currently making it's way through the IESG which will amend the IPN naming scheme. Perhaps I should add it to normative references?
> https://datatracker.ietf.org/doc/draft-ietf-dtn-ipn-update/
> 
> In effect it splits the node-nbr component into two-32 bit integers; Allocator Identifier and Node Number in the "Three-Element Scheme-Specific Encoding" of Section 6.1.2 over the above.  Section 6.1.1 describes the "Two-Element Scheme-Specific Encoding" method which retains the use of a single 64-bit integer.  Thus, a single 64 bit integer (20 characters) or two 32-bit integers (10 characters each) delimited by a "."
> makes 21 characters maximum.  This preserves forwards compatibility with the proposed amended scheme, and does no harm if the scheme fails to achieve standardization.

Or just 8 bytes on the wire with both possible input formats described.  Machines using the records will just be converting ASCII values to a 64 bit integer.  We may as well transmit it as that.  Input validation will need to do the conversion anyway to ensure both fields will fit into 32 bits in the “.” separated case and 64 bits in the single value case.  Length along is not sufficient to prevent undetected overflows.  The only thing you need to determine is which format is the initial canonical presentation format.  That can be changed with a later update if needed.

>> Limit CLA characters to Letter Digit Hyphen rather than the full ASCII range.
> 
> It is possible for a node to support multiple CLAs on the same IP address and node number.  Will this change allow multiple, comma delimited values to be expressed in the CLA record?  If so, can you point me to an example so I can get the verbiage of the draft right?  If not, what do you recommend (in addition to my defining that in the draft)?  I like the idea of limiting the usable characters.

Personally I would just use a TXT record wire format with the additional constraint that the values are restricted to Letter, Digits and interior Hyphens.  The input format matches the TXT record with the above character value constraints.  The canonical presentation form is space separated, unquoted, unescaped ASCII. This allow for long records to be split over multiple lines.  Descriptive comments in the zone file.  This take one extra octet over using comma separated values.

e.g. 

example inputs

@ CLA ( TCP-V4 ; TCP over IPv4
      TCP-V6 ) ; TCP over IPv6

@ CLA “TCP-V4” TCP-V6

Wire

06 ’T’ ‘C’ ‘P’ ‘-‘ ‘V’ ‘4’ 06 ’T’ ‘C’ ‘P’ ‘-‘ ‘V’ ‘6’

Canonical presentation

@ CLA TCP-V4 TCP-V6
      

> Thanks,
> Scott
> 
>> 
>> Mark
>> 
>>> On 25 Jun 2024, at 08:19, Scott Johnson <scott@spacelypackets.com> wrote:
>>> 
>>> Hi All,
>>> 
>>> After reading the recent discussion about WALLET, I am hesitant to jump into the fray here, but this plainly is the correct group to help me get my logic and syntax right, so here goes:
>>> 
>>> I submitted requests to IANA for IPN and CLA RRTYPEs, these representing the missing datasets necessary to make a BP overlay network connection from data found by DNS queries.
>>> 
>>> For those not familiar, BP is a store and forward mechanism generally used in high latency situations where there does not exist constant end-to-end connectivity.  It was designed for deep space networking, however has network segments and application uses which overlay the terrestrial Internet.  There will arise similar use cases on the Moon (in the reasonably near future) and Mars whereby low latency, constant connectivity exists, thereby making use of DNS in these situations viable.
>>> 
>>> My Expert Reviewer asked for an i-d, to clarify the requests, and that said i-d be sent to this list for review.
>>> 
>>> Please find the approptiate draft here:
>>> https://datatracker.ietf.org/doc/draft-johnson-dns-ipn-cla/
>>> 
>>> Relevant IANA requests:
>>> https://tools.iana.org/public-view/viewticket/1364843
>>> https://tools.iana.org/public-view/viewticket/1364844
>>> 
>>> I have the BP community also reviewing this, but they are generally in agreement as to use.
>>> 
>>> Thanks,
>>> Scott M. Johnson
>>> Spacely Packets, LLC
>>> 
>>> _______________________________________________
>>> DNSOP mailing list -- dnsop@ietf.org
>>> To unsubscribe send an email to dnsop-leave@ietf.org
>> 
>> -- 
>> Mark Andrews, ISC
>> 1 Seymour St., Dundas Valley, NSW 2117, Australia
>> PHONE: +61 2 9871 4742              INTERNET: marka@isc.org
>> 
>> _______________________________________________
>> DNSOP mailing list -- dnsop@ietf.org
>> To unsubscribe send an email to dnsop-leave@ietf.org


-- 
Mark Andrews, ISC
1 Seymour St., Dundas Valley, NSW 2117, Australia
PHONE: +61 2 9871 4742              INTERNET: marka@isc.org