Re: [tsvwg] Teredo Extensions vs. draft-ietf-tsvwg-udp-options-18

"touch@strayalpha.com" <touch@strayalpha.com> Fri, 08 April 2022 22:42 UTC

Return-Path: <touch@strayalpha.com>
X-Original-To: tsvwg@ietfa.amsl.com
Delivered-To: tsvwg@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 24D743A1A1A for <tsvwg@ietfa.amsl.com>; Fri, 8 Apr 2022 15:42:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.328
X-Spam-Level:
X-Spam-Status: No, score=-1.328 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, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_NEUTRAL=0.779, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001] autolearn=no autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=strayalpha.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 5fvC-kMzb4r4 for <tsvwg@ietfa.amsl.com>; Fri, 8 Apr 2022 15:42:30 -0700 (PDT)
Received: from server217-1.web-hosting.com (server217-1.web-hosting.com [198.54.114.226]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 870463A1A19 for <tsvwg@ietf.org>; Fri, 8 Apr 2022 15:42:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=strayalpha.com; s=default; h=To:References:Message-Id:Cc:Date:In-Reply-To: From:Subject:Mime-Version:Content-Type:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Id: List-Help:List-Unsubscribe:List-Subscribe:List-Post:List-Owner:List-Archive; bh=nugjtI5a6I6sQy1evMOCDiTlglkEtAspcWCwpkA71bU=; b=bLDjF3DzoVNp4IBbR9qruHkKyg 65bcz4tNa0CCGi9UuUgASs+BD0vwYk00wje1z43mV2nA0Me753G2reO3FWx+6xwKS48gzORCC/zv4 +3aBXHzn2FlMZcX55UJFbGe17+b5Zncg5Q4DQDq1dOC7rEFKhcggpf+qOI2Pd57PNvVGEB5pYuVMr TPEiRvwVafUBND5NqeuV+HXqdou3w0kz9lex8aMGDh4h2tp7OAQQTyCU5ijzm3q9UbPnsO2Ni2UMJ AYN4DCtQ9K6UDI5FevQ7/rdbgkotjcC6n9FamaU25VM9xeRe7zMwiamIWLY9EGWoz+am6hT6sKVre bWdGW60w==;
Received: from cpe-172-114-237-88.socal.res.rr.com ([172.114.237.88]:58420 helo=smtpclient.apple) by server217.web-hosting.com with esmtpsa (TLS1.2) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.94.2) (envelope-from <touch@strayalpha.com>) id 1ncxJ9-001JT2-Dw; Fri, 08 Apr 2022 18:42:27 -0400
Content-Type: multipart/alternative; boundary="Apple-Mail=_E6D71412-76E2-45DD-AB0F-E0019A811DF4"
Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3696.80.82.1.1\))
From: "touch@strayalpha.com" <touch@strayalpha.com>
In-Reply-To: <CACL_3VGWdXziMzPzS900+-em=sc+0u1fxkH_skeBBUctJPx2XA@mail.gmail.com>
Date: Fri, 08 Apr 2022 15:42:21 -0700
Cc: Erik Auerswald <auerswal@unix-ag.uni-kl.de>, TSVWG <tsvwg@ietf.org>
Message-Id: <4FC16FAE-A98D-49E3-A5A1-E3959412CEA7@strayalpha.com>
References: <20220408141318.GA32732@unix-ag.uni-kl.de> <CACL_3VGWdXziMzPzS900+-em=sc+0u1fxkH_skeBBUctJPx2XA@mail.gmail.com>
To: "C. M. Heard" <heard@pobox.com>
X-Mailer: Apple Mail (2.3696.80.82.1.1)
X-OutGoing-Spam-Status: No, score=-0.5
X-AntiAbuse: This header was added to track abuse, please include it with any abuse report
X-AntiAbuse: Primary Hostname - server217.web-hosting.com
X-AntiAbuse: Original Domain - ietf.org
X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12]
X-AntiAbuse: Sender Address Domain - strayalpha.com
X-Get-Message-Sender-Via: server217.web-hosting.com: authenticated_id: touch@strayalpha.com
X-Authenticated-Sender: server217.web-hosting.com: touch@strayalpha.com
X-Source:
X-Source-Args:
X-Source-Dir:
X-From-Rewrite: unmodified, already matched
Archived-At: <https://mailarchive.ietf.org/arch/msg/tsvwg/XXUBwu8XIEWofCBWhJZh1l4ltBs>
Subject: Re: [tsvwg] Teredo Extensions vs. draft-ietf-tsvwg-udp-options-18
X-BeenThere: tsvwg@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Transport Area Working Group <tsvwg.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/tsvwg/>
List-Post: <mailto:tsvwg@ietf.org>
List-Help: <mailto:tsvwg-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/tsvwg>, <mailto:tsvwg-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 08 Apr 2022 22:42:35 -0000

Hi, all,

> On Apr 8, 2022, at 12:11 PM, C. M. Heard <heard@pobox.com> wrote:
> 
> On Fri, Apr 8, 2022 at 7:13 AM Erik Auerswald wrote:
> >
> > Hello tsvwg,
> >
> > draft-ietf-tsvwg-udp-options-18 mentions possible interactions of
> > UDP Options with Teredo Extensions (RFC 6081) in section 20:
> >
> >     """
> >     As a result, UDP options are not compatible with TE, but that is
> >     also why this document does not update TE. Additionally, it is not
> >     at all clear how TE operates[.]
> >     """
> >
> > >From looking at both the Teredo RFC 4380 and the Teredo Extensions
> > RFC 6081 I would say that Teredo Extensions seem to be compatible
> > with the proposed UDP Options.
> >
> > Therefore, I would suggest to remove every paragraph pertaining to
> > Teredo Extensions and the informative references to RFC 4380 and
> > RFC 6081 from draft-ietf-tsvwg-udp-options.
> 
> 
> Greetings Erik,
> 
> After reading your rationale and having a look at the RFCs, I agree
> with the above suggestion. Fundamentally, the issue is that this
> sentence
> 
>    IPv6 Teredo [RFC6081] uses values of the UDP Length that are larger
>    than the IP payload as an additional type of signal, as noted in
>    Section 20.
> 
> results from a misunderstanding of the following text from
> 
>    In addition, Section 5.2.3 of [RFC4380] states:
> 
>       An IPv6 packet is deemed valid if it conforms to [RFC2460]: the
>       protocol identifier should indicate an IPv6 packet and the payload
>       length should be consistent with the length of the UDP datagram in
>       which the packet is encapsulated.  In addition, the client should
>       check that the IPv6 destination address correspond [sic] to its
>       own Teredo address.

I read that as implying UDP inside IPv6; there’s nothing in RFC2460 that establishes a relationship between IPv4 length and UDP length or between the protocol that encapsulates IPv6 (e.g., Ethernet or other link layers, or Teredo here) and the IPv6 length.

So I’ll admit that one threw me...

> 
>    This document updates the word "consistent" above as follows.  The
>    IPv6 payload length is "consistent" with the length of the UDP
>    datagram if the IPv6 packet length (i.e., the Payload Length value in
>    the IPv6 header plus the IPv6 header size) is less than or equal to
>    the UDP payload length (i.e., the Length value in the UDP header
>    minus the UDP header size).  This allows the use of trailers after
>    the IPv6 packet, which are defined in the following sections.
> 
> As the diagrams in your rationale illustrate, the IPv6 packet length
> referred to in the above paragraph is the length of the IPv6 packet
> that is ***encapsulated within*** the UDP datagram, not the payload
> length of the outer IPv4 packet. The option trailers in Teredo are
> part of the conventional UDP payload, and thus, pose no conflict
> whatsoever with the concurrent use of UDP options. On that basis,
> I agree that Teredo needs no discussion in the UDP options draft.

I disagree; at a minimum, the kind of discussion presented here should be included to at least clarify that the two are compatible. 

But that’s a change from the current text and I’m glad if there’s concurrence.

Joe