Re: [Deepspace] Some questions about the deep space IP architecture

Marc Blanchet <marc.blanchet@viagenie.ca> Wed, 17 April 2024 14:19 UTC

Return-Path: <marc.blanchet@viagenie.ca>
X-Original-To: deepspace@ietfa.amsl.com
Delivered-To: deepspace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D363DC14F6E1 for <deepspace@ietfa.amsl.com>; Wed, 17 Apr 2024 07:19:00 -0700 (PDT)
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_FONT_FACE_BAD=0.001, 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_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=viagenie-ca.20230601.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 q1qNEdCkBdCA for <deepspace@ietfa.amsl.com>; Wed, 17 Apr 2024 07:18:56 -0700 (PDT)
Received: from mail-qk1-x72d.google.com (mail-qk1-x72d.google.com [IPv6:2607:f8b0:4864:20::72d]) (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 7DB93C14F5ED for <deepspace@ietf.org>; Wed, 17 Apr 2024 07:18:56 -0700 (PDT)
Received: by mail-qk1-x72d.google.com with SMTP id af79cd13be357-78edc3ad5fdso71304885a.0 for <deepspace@ietf.org>; Wed, 17 Apr 2024 07:18:56 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=viagenie-ca.20230601.gappssmtp.com; s=20230601; t=1713363535; x=1713968335; darn=ietf.org; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=uVHgiqyLd3qkrK3RNHHZ762b5ifOD0x1AlmIcnphszw=; b=tbuP32nUs1k/eR2z3jXhh88EJ/Y4phLM3OgPZZvttf126+4KkKKAMhUFe2uobidcL0 yPZ3MXzAhuxMMWF1/u7nnUuTeBIEpZCOPueRDzB99h7/IoSG9AJ1ficIF1nA8wJqHcYF 7sXcoEA2q7fUOYdz2SRe2Ao/hz4orrGTL+2HNcoyJefBWFKr25abs94Mv4tj0egjDq7T 6SGlyYRC7WdGt1y7yjoPUNG0XBL+9eHxrvBcsWzhZSSZ82bLxf8z5aebbsrdUzlZfV4P tjnek1AoQ8Me6ePyIqaotItVB4uP8G6IVxcM7T2URaAaJP+gHp9bvZxCzPD9n5jHhI6u aGtw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713363535; x=1713968335; h=to:references:message-id:cc:date:in-reply-to:from:subject :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=uVHgiqyLd3qkrK3RNHHZ762b5ifOD0x1AlmIcnphszw=; b=vHZTZ7hpTvkA7jJkpmDGdvh2z/5/F1+I6MYAfteoLzqHb9uC1i2VQTVXcNH8o3TwGt 4yZpEmjmHzQNzTIKTkXhgA6STCPmd3mypm6UPh5+z9PovvmR8k49ctvZn9VZ5Ddy8+xb bEk79Hu8cf0RUkqHibA8l3hNf/yRaBI0WwH+qeyH6UDvtblqHisuBpd6mAPPc6JHKybY GaZYMdAlkwGpVaSRt225oc7zhgFhQHuq7caLqygay6w2SJbU/8oglrot+n0Zp/DEpilI s9zEZjiQrQPn9G2gkpvwOuaI9j13bGssGH0vPtGKGAYwJi9GjlY6O4JZxSamwXrizKll amtQ==
X-Gm-Message-State: AOJu0Yz+4yt/cO41PzmycwdXDoApGRfh7+UAZ0Ot2S3MxVHVhNoyAwnC oVWvx1jC849+03KY2bFhq//R0yz+rg9S1RcvbTNeb//lPHHi1cfllibj9+IyOxs=
X-Google-Smtp-Source: AGHT+IE31xXYwHAoTEYJmuTI/StX2COwibRfk19XW9PqELfpB59sgYQbO5k2dZ9WwL+FAOZ26qv0NQ==
X-Received: by 2002:a05:620a:c81:b0:78e:cf14:f89a with SMTP id q1-20020a05620a0c8100b0078ecf14f89amr8367435qki.9.1713363535166; Wed, 17 Apr 2024 07:18:55 -0700 (PDT)
Received: from smtpclient.apple (modemcable108.66-162-184.mc.videotron.ca. [184.162.66.108]) by smtp.gmail.com with ESMTPSA id t12-20020a05620a004c00b0078d43da0be3sm8421417qkt.5.2024.04.17.07.18.54 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Wed, 17 Apr 2024 07:18:54 -0700 (PDT)
Content-Type: multipart/alternative; boundary="Apple-Mail=_CF529630-A702-4F8F-857E-28E9BEBFE7E7"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3774.500.171.1.1\))
From: Marc Blanchet <marc.blanchet@viagenie.ca>
X-Priority: 3
In-Reply-To: <2afe661fc86f9d6-00001.Richmail.03034505473366877874@139.com>
Date: Wed, 17 Apr 2024 10:18:43 -0400
Cc: "deepspace@ietf.org" <deepspace@ietf.org>
Message-Id: <0152963E-FDC1-4FFF-8233-0EA8C732563A@viagenie.ca>
References: <2afe661fc86f9d6-00001.Richmail.03034505473366877874@139.com>
To: 朱亦涵 <13961673777@139.com>
X-Mailer: Apple Mail (2.3774.500.171.1.1)
Archived-At: <https://mailarchive.ietf.org/arch/msg/deepspace/_NnSk5UM9_x3XpLHkZ6EFIrLvlA>
Subject: Re: [Deepspace] Some questions about the deep space IP architecture
X-BeenThere: deepspace@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IP protocol stack in deep space <deepspace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/deepspace>, <mailto:deepspace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/deepspace/>
List-Post: <mailto:deepspace@ietf.org>
List-Help: <mailto:deepspace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/deepspace>, <mailto:deepspace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 17 Apr 2024 14:19:00 -0000

> Le 17 avr. 2024 à 09:02, 朱亦涵 <13961673777@139.com> a écrit :
> 
> Hi,
> 
> I am very interested in the deep space IP architecture proposed in the mailing list

Great!

> and am currently conducting some research on it. However, I still have some points that are unclear to me:
> 
> (1) Does the QUIC layer need to handle intermittent connectivity specifically?

Currently, we don’t think so. It is handled at the IP forwarding layer. For QUIC, it is “just” more delay.  

As described in draft-many-deepspace-ip-assessment and also discussed on this mailing list, one may also look at a proxy-based deployment where proxies are on the space edge and maybe those are “more aware” of delays and intermittent connectivity. But I’m not aware of someone who tested it.

> Considering three nodes h1-s1-h2, within the first minute, only h1-s1 is connected; in the second minute, neither is connected; in the third minute, only s1-h2 is connected; or even in more extreme scenarios, is there a possibility that QUIC cannot establish a connection at all?

If you set the proper timer for the QUIC connection, then this is well handled. See my presentation at the last IETF meeting where we describe which QUIC parameters were set. https://deepspaceip.github.io/meetings/ietf119/ietf119-brisbane-deepspaceip-whatis-update-testbed.pdf page 9

> 
> (2) Even though we have implemented store-and-forward at the IP layer,

Great! Which technique have you used? Would be great if you present it at the next deepspace IP meeting. 

> we are faced with a problem: if two nodes are transmitting data for the first time, we might need one RTT to establish a connection and then transmit data,

Yes. 

> a process not required in the DTN architecture.

Of course, because there is no connection semantics in the bundle protocol. Therefore all those connection semantics have to be implemented within each application. If one is using IP with a connection-aware transport such as QUIC, then all this work is done by the transport and free up the application layer (and developer) to make mistakes and to handle complex cases such as loss, reorder, duplicates. And in fact, a reliable Bundle protocol application would probably have to do an RTT anyway to establish a ‘virtual’ connection between the two peers.

One possible deployment scenario is to establish the connection before the spacecraft leaves Earth since one would need to “talk” to the spacecraft on his way to the destination. Therefore, in fact, the connection will be established way before going to space. With QUIC, you can have a connection lifetime almost infinite with almost zero penalty, therefore you can keep that initial connection opened.  In the case of connection loss for whatever reason, the cost is one RTT.

> However, I believe that for subsequent connections, this process is not needed in QUIC either and it directly transmits data, consistent with the DTN architecture.

I think we should rephrase this. DTN means Delay (and disruption)-tolerant networking. This is the use case. It does not indicate the networking stack. Now, we can achieve DTN architecture using either BP or IP. 
> 
> (3) Regarding the issue of intermittent connectivity, would the application layer also be affected, even if we use existing QUIC-based applications? Are these applications incompatible with QUIC in deep space and the deep space environment?

Look again at the slides above. Application layer, as with bundle protocol, has to be asynchronous in design and have appropriate (large) timeouts. Application layer does not see any interruptions, it just sees delays.

An overarching design consideration with the IP stack is the layered approach: each layer is responsible for its own “business”. Therefore, a layer below taking care of an issue makes the layers above agnostic and not taking care of that issue. IP forwarding is taking care of interruptions. QUIC is taking care of delays (both real and induced by interruptions). Applications need to ajust timers and be asynchronous.

> 
> My understanding of the deep space IP architecture may not be very deep yet. These are some doubts I have in my research process.

No issue. Please continue sending questions.

Regards, Marc.

> 
> Cheers
> 
> Kathy
> 
> 
> 朱亦涵
> 13961673777@139.com <mailto:13961673777@139.com>
> 
> 扫一扫,
> 快速添加名片到手机
> -- 
> Deepspace mailing list
> Deepspace@ietf.org <mailto:Deepspace@ietf.org>
> https://www.ietf.org/mailman/listinfo/deepspace