Re: [v6ops] [IPv6] [OPSEC] [EXTERNAL] Re: Why folks a re blocking IPv 6 extension headers? (Episode 1000 and counting ) (Linux DoS)

Fernando Gont <fgont@si6networks.com> Thu, 08 June 2023 12:21 UTC

Return-Path: <fgont@si6networks.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 885F5C14F74A; Thu, 8 Jun 2023 05:21:05 -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, 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=unavailable autolearn_force=no
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 iTEqAY0-_1ul; Thu, 8 Jun 2023 05:21:01 -0700 (PDT)
Received: from fgont.go6lab.si (fgont.go6lab.si [IPv6:2001:67c:27e4::14]) (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 41BF7C14CF1B; Thu, 8 Jun 2023 05:20:58 -0700 (PDT)
Received: from [10.8.7.94] (fibhost-66-166-22.fibernet.hu [85.66.166.22]) (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 fgont.go6lab.si (Postfix) with ESMTPSA id B98DA2803CB; Thu, 8 Jun 2023 09:20:52 -0300 (-03)
Message-ID: <1f213da2-b636-e822-aa8c-8fc56cbeed53@si6networks.com>
Date: Thu, 08 Jun 2023 14:20:53 +0200
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:102.0) Gecko/20100101 Thunderbird/102.11.0
Content-Language: en-US
To: "Haisheng Yu (Johnson)" <hsyu@biigroup.cn>, "tom=40herbertland.com@dmarc.ietf.org" <tom=40herbertland.com@dmarc.ietf.org>
Cc: "andrew.campling@419.consulting" <andrew.campling@419.consulting>, "v6ops@ietf.org" <v6ops@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, "opsec@ietf.org" <opsec@ietf.org>
References: <11087a11-476c-5fb8-2ede-e1b3b6e95e48@si6networks.com> <27d28224-0cb0-eec2-8d54-f0d175596c85@gmail.com> <f5758380-9967-b67b-744d-dc36b7b599ab@si6networks.com> <4FCF75B585A1D068+7D9B99BB-B24B-4FE8-A3FD-54877C7C1131@cfiec.net> <375ea678-b05f-7bb6-5ae2-43c54cd271f4@si6networks.com> <CALx6S34u5=2UxEz3zeApv+_-W=PTj0PzMRHS1UC=zRchqVCDyQ@mail.gmail.com> <882610dc-cf8f-e08d-8d9e-0e786097f520@si6networks.com> <CALx6S34AnMaVyEVQxaO0b1JGbQetQvDC+xDHk6aH5vbXM-KT7A@mail.gmail.com> <2a02905427604fa6a4c95e2eaa1dd165@boeing.com> <CALx6S36pmsZighJVBLEZWvYqTh1tJtU4SH2Ym0V7oS87dPWAHQ@mail.gmail.com> <6b3a40ef922c47a483860468aac73502@boeing.com> <CALx6S36Vv57AZFr=2adfEMYnVSOECsowXw1c7pTo_E-FWokB6Q@mail.gmail.com> <CWXP265MB51535486342FD27A30CFEE6EC2459@CWXP265MB5153.GBRP265.PROD.OUTLOOK.COM> <CALx6S35VA7g95HA-HK1kAr4rehX6hmrzybGS-Hx8j6Mit5FBMg@mail.gmail.com> <79E4E13AA53D1956+88643FCA-56CF-4A3B-A7EC-571290B76A9C@biigroup.cn>
From: Fernando Gont <fgont@si6networks.com>
Organization: SI6 Networks
In-Reply-To: <79E4E13AA53D1956+88643FCA-56CF-4A3B-A7EC-571290B76A9C@biigroup.cn>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/1gMm-CJPAu_d0N8PVyMuk47f3WQ>
Subject: Re: [v6ops] [IPv6] [OPSEC] [EXTERNAL] Re: Why folks a re blocking IPv 6 extension headers? (Episode 1000 and counting ) (Linux DoS)
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 08 Jun 2023 12:21:05 -0000

Hi, Haisheng Yu (Johnson),

On 8/6/23 10:01, Haisheng Yu (Johnson) wrote:
> Hi, Fernando and Tom,
> 
> I have been contemplating Fernando's questions lately, what exactly 
> hinders the development of extension headers? Is it because IPv6 
> adoption is not widespread enough? Or do IPv6 extension headers 
> themselves serve little purpose? Or is it because the use of IPv6 
> extension headers could potentially decrease network efficiency and 
> security?

RFC9098 and associated pointers.



> I believe all of these reasons have some validity, but none of them are 
> the primary cause. In my opinion, the main reason is that we lack a 
> comprehensive understanding of the current development status and 
> application scenarios of IPv6 extension headers. 

Strongly disagree. In fact, having been on the seat to make such 
decisions, you're probably assuming that the EH topic, for the folks 
making such decisions, is more important than it actually is. i.e., you 
don't have the luxury to spend a lot of time on a feature that, for the 
most part, doesn't have a real use case in the deployed wor;d (other 
than the recent SRv6 in limited domains).

For development and use cases, 
https://www.rfc-editor.org/rfc/rfc9288.txt is your friend -- that part 
is the important part of the document, I'd say.



> Only by thoroughly 
> understanding the benefits and drawbacks of IPv6 extension headers can 
> we make better use of them. In the current RFC 8200, extension headers 
> are only recommended for use, and many service providers are concerned 
> that handling unfamiliar extension headers could impact the efficiency 
> and security of control-plane devices, as Fernando mentioned in his 
> email example.

Yes. And RFC9098 provides enough references with datapoints proving that.



> Additionally, because many routing devices forward 
> packets with unknown processing requirements to control-plane devices 
> for handling, these impacts exist simultaneously at the forwarding and 
> control layers.
> However, as Tom mentioned, the most secure network in the world is one 
> that is turned off.

That's not the way a security team works: What you normally want to do 
is eliminate unnecessary risk.  Risk associated with a feature that is 
for the most part, not used for production, is risk you want to eliminate.



> We should not refrain from using IPv6 extension 
> headers simply out of fear of the potential effects on efficiency and 
> security.

Yes. Everyone is free to play in their own lab or network. Now, if what 
you want is me granting arbitrary folks permission to play with EHs in 
my production systems, the answer is simple: "No, thank you".



> Therefore, I suggest that we consider drafting a document specifically 
> focused on studying the current development status of IPv6 extension 
> headers. This document should provide guidance on how IPv6 extension 
> headers should be handled, when they are useful, and how to correctly 
> use and process them.

RFC9288 essentially already provides that.



> Alternatively, we can iterate on the foundation of 
> 6man-eh-limits, and I would be glad to contribute in this regard.

As long as you/we can't agree on:

* Minimum common denominator (as opposed to a requirement of supporting 
arbitrary IPv6 header chains, which is unreal)
* Who is going to pay the associated cost (because in a lot of cases, 
processing EHs in the fast path requires $ )

and,

* Have vednors be able to gracefully handle EH chains, without trivial 
syntax-processing bugs found every now and then

and,

* provide a compelling feature that folks require (other than |I feel 
like playing with EHs)

... the outcome is going to be the same.

Thanks,
-- 
Fernando Gont
SI6 Networks
e-mail: fgont@si6networks.com
PGP Fingerprint: F242 FF0E A804 AF81 EB10 2F07 7CA1 321D 663B B494