Re: Death by extension header (was:RE: New Version Notification for draft-li-6man-hbh-fwd-hdr-00.txt)

Fernando Gont <fgont@si6networks.com> Mon, 13 July 2020 18:34 UTC

Return-Path: <fgont@si6networks.com>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 340D43A16DD for <ipv6@ietfa.amsl.com>; Mon, 13 Jul 2020 11:34:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.898
X-Spam-Level:
X-Spam-Status: No, score=-1.898 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 wO30tBJ6IW_s for <ipv6@ietfa.amsl.com>; Mon, 13 Jul 2020 11:34:41 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [91.239.96.14]) (using TLSv1.2 with cipher ADH-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 14DE13A1771 for <6man@ietf.org>; Mon, 13 Jul 2020 11:34:36 -0700 (PDT)
Received: from [IPv6:2800:810:464:1f7:603e:8516:bae8:27ff] (unknown [IPv6:2800:810:464:1f7:603e:8516:bae8:27ff]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by fgont.go6lab.si (Postfix) with ESMTPSA id D8126280CEA; Mon, 13 Jul 2020 18:34:32 +0000 (UTC)
Subject: Re: Death by extension header (was:RE: New Version Notification for draft-li-6man-hbh-fwd-hdr-00.txt)
To: Tom Herbert <tom@herbertland.com>, Fernando Gont <fernando@gont.com.ar>
Cc: "6man@ietf.org" <6man@ietf.org>
References: <DM6PR05MB6348708352E1EE4421A61D63AE650@DM6PR05MB6348.namprd05.prod.outlook.com> <CALx6S34e21BLHRfx+p7agrzzDsx-M-XxB6cZQnWc-d0wqSesRQ@mail.gmail.com> <20200710183228.GV42197@faui48f.informatik.uni-erlangen.de> <6fc66168-f04c-c23e-856c-5a61e1a28f5f@gont.com.ar> <CALx6S37T_7JYW=93iOhaHaq_Kw1CsaFc37sjT3Bo4Sx_wtbfqQ@mail.gmail.com>
From: Fernando Gont <fgont@si6networks.com>
Message-ID: <c1ecb592-6e99-0dca-90c5-51a19b893af5@si6networks.com>
Date: Mon, 13 Jul 2020 15:33:47 -0300
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <CALx6S37T_7JYW=93iOhaHaq_Kw1CsaFc37sjT3Bo4Sx_wtbfqQ@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/mh7LppRdDO4bo40cPJ8VIrh3OjE>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 13 Jul 2020 18:34:43 -0000

On 13/7/20 15:11, Tom Herbert wrote:
> On Mon, Jul 13, 2020 at 11:01 AM Fernando Gont <fernando@gont.com.ar> wrote:
>>
>> On 10/7/20 15:32, Toerless Eckert wrote:
>>> IMHO: See my email earlier in the thread about punting stuff to slow-path, especially when/before
>>> you figure out that you should have just ignored something at linerarte.
>>>
>>> Aka: not sufficiently prescriptive RFCs + bad implementations == extension header based features killed in deployments.
>>
>> Indeed. And add to that that the EH structure itself seems to be rather
>> unfriendly with some popular hardware architectures. (unless with "not
>> sufficiently prescriptive RFCs" you are meaning to set the maximum
>> EH-header chain length to some sane value that folks might agree to
>> comply with).
>>
> 
> RFC8504 implicitly does that for number of Hop-by-Hop or Destination
> options in a packet:
> 
> "A host MAY impose a limit on the maximum number of non-padding
> options allowed in the destination options and hop-by-hop extension
> headers.  If this feature is supported, the maximum number SHOULD be
> configurable, and the default value SHOULD be set to 8."
> 
> The default value of eight was derived from the number of already
> defined options, extrapolation of new options that might be defined
> and deployed, and discussions with some HW vendors that they can
> efficiently process a small number of TLVs (as opposed to hundreds in
> a packet that are possible without a limit).

Kudos to RFC8504 and authors for that- That said, given that options may 
have a rather unlimited length, is that enough? It would seem to me that 
the most important thing is that E-H header length, as opposed to the 
length of individual options, or ther number of options...

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492