Re: [v6ops] [IPv6] Why folks are blocking IPv6 extension headers? (Episode 1000 and counting) (Linux DoS)

Haisheng Yu <hsyu@biigroup.cn> Mon, 22 May 2023 10:15 UTC

Return-Path: <hsyu@biigroup.cn>
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 B213BC151542; Mon, 22 May 2023 03:15:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.486
X-Spam-Level:
X-Spam-Status: No, score=-0.486 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, HTML_MESSAGE=0.001, MIME_HTML_ONLY=0.1, RCVD_ILLEGAL_IP=1.3, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_MSPIKE_H2=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_PASS=-0.001, T_REMOTE_IMAGE=0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=no 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 yXXW_97Ri3fh; Mon, 22 May 2023 03:15:12 -0700 (PDT)
Received: from smtpbg154.qq.com (smtpbg154.qq.com [15.184.224.54]) (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 67806C14CE5F; Mon, 22 May 2023 03:15:06 -0700 (PDT)
X-QQ-mid: bizesmtpipv601t1684750471tq44
Received: from DESKTOP-3U2VLEE ( [255.81.159.14]) by bizesmtp.qq.com (ESMTP) with id ; Mon, 22 May 2023 18:14:28 +0800 (CST)
X-QQ-SSF: 00400000000000L0Z000000A0000000
X-QQ-FEAT: Mxc3K7F63kyez1UUmexaEz4xTBgd9AiamgPEolDY+lXQHSOoMgQp6/a2Y5YvQ c2yyP6rtUF8pQo38zzpyEXk4flZ1hkca3fpC4fXW/f/lzduGgYzVWEhy/sEKAYM84HueQEE sSJ3RQLLlPwBSBDC0L7+7NZdyG4gG/hY8tTWwrxk+H3cPos6f12nTUDFxaJEiJ5ukWIHPc0 1lwiJaoi4R5wAP9d/ORbkM7Z6CSfRwYd+JiI91x6vIEdVfkmpmKVmY89ZBb7INylTVHjw2h v/klNGqItyvNr5uUOuraIaVhV53b4YQPXeUVdHQCw3cypQ9SVPcwT8a1AG0XOU6/i5NM/DQ LzpyiU+L18y1dVCd6uJL5ChviTLiSrvXLXOfa2aeW65Ro6XOxCwKdjy3QQqv2ILLszTTAzS LOMq/fIipSfLz92Hz1bgqPBL4AHE/GMF
X-QQ-GoodBg: 2
X-BIZMAIL-ID: 15509706567201943921
Date: Mon, 22 May 2023 18:14:26 +0800
From: Haisheng Yu <hsyu@biigroup.cn>
To: "otroan=40employees.org@dmarc.ietf.org" <otroan=40employees.org@dmarc.ietf.org>
Cc: "brian.e.carpenter@gmail.com" <brian.e.carpenter@gmail.com>, "fernando@gont.com.ar" <fernando@gont.com.ar>, "v6ops@ietf.org" <v6ops@ietf.org>, "ipv6@ietf.org" <ipv6@ietf.org>, "opsec@ietf.org" <opsec@ietf.org>
Message-ID: <A87BA994FF8D4546+BBFFF914-97FD-4176-83B8-EB1C202DA8D9@biigroup.cn>
In-Reply-To: <F9838657-B1C0-480B-8F78-28A4027ADEF3@employees.org>
References: <11087a11-476c-5fb8-2ede-e1b3b6e95e48@si6networks.com> <CALx6S343f_FPXVxuZuXB4j=nY-SuTEYrnxb3O5OQ3fv5uPwT8g@mail.gmail.com> <CAN-Dau1pTVr6ak9rc9x7irg+aLhq0N8_WOyySqx5Syt74HMX=g@mail.gmail.com> <a087b963-1e12-66bf-b93e-5190ce09914b@si6networks.com> <CALx6S349nNA8L5+_1hrbWayqp8GfTYypWy_SP57c_Xxams=csg@mail.gmail.com> <51a066b3-4b4c-d573-ffbe-d6b44a4f193f@gont.com.ar> <a411a1b0-c521-c456-3d44-d99a1cc0975b@gmail.com> <F9838657-B1C0-480B-8F78-28A4027ADEF3@employees.org>
X-Mailer: MailMasterPC/4.17.9.1009 (Win10 19H2)
X-CUSTOM-MAIL-MASTER-SENT-ID: 75DCAF89-9C27-45F4-84D0-A2B5159DA58E
MIME-Version: 1.0
Content-Type: text/html; charset="utf-8"
Content-Transfer-Encoding: base64
X-QQ-SENDSIZE: 520
Feedback-ID: bizesmtpipv:biigroup.cn:qybglogicsvrsz:qybglogicsvrsz3a-1
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/DDlkZejMcjWsDP2TWHnZv0Qjayg>
Subject: Re: [v6ops] [IPv6] Why folks are blocking IPv6 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: Mon, 22 May 2023 10:15:16 -0000

Hi, all

I have written a blog on APNIC discussing the limitations of using extension headers in IPv6, the security issues associated with extension headers, and how to optimize the use of IPv6 extension headers.

Here is the link to the blog on APNIC where I discussed the limitations of using extension headers in IPv6, the security issues associated with extension headers, and how to optimize their usage:

https://blog.apnic.net/2022/12/14/ipv6-extension-headers-in-routing-security/" rel="nofollow">APNIC BLOG:https://blog.apnic.net/2022/12/14/ipv6-extension-headers-in-routing-security/




Haisheng Yu
---- Replied Message ----
From Ole Troan<otroan=40employees.org@dmarc.ietf.org>
Date 5/22/2023 18:04
To Brian E Carpenter<brian.e.carpenter@gmail.com>
Cc Fernando Gont<fernando@gont.com.ar> ,
IPv6 Operations<v6ops@ietf.org> ,
6man WG<ipv6@ietf.org> ,
<opsec@ietf.org>
Subject Re: [IPv6] [v6ops] Why folks are blocking IPv6 extension headers? (Episode 1000 and counting) (Linux DoS)
It depends on your position in the network.

A) Transit AS:
Should transparently pass all traffic and not look beyond the 40-byte IPv6 header.

With the exception of NH=0.
Let’s have that discussion if there ever is a HBH option with “transit AS applicability”.

B) Limited Domain

C) Modern application
With modern applications, it has become blurry where the application ends and the network starts.
Where the “application” is disaggregated, embeds a custom network stack for it’s purpose.
Has a set of IP addresses representing the “service”, but those addresses does in no way represent an interface on a host.
That “cluster” of services is only going to support the functions that the application needs.
An EH would essentially be a side channel here.

D) Enterprises
What Fernando says.

It’s somewhat ironic that 25 years in, this debate is still hypothetical.
“What if we ever got an EH that has Internet wide applicability”
(and for the sake of argument I’ve rebranded ESP to a tunnel encap).

O.

On 21 May 2023, at 23:28, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:

On 21-May-23 21:33, Fernando Gont wrote:
Hi, Tom,
On 18/5/23 15:27, Tom Herbert wrote:
[....]

So, I’m not really happy with the all or nothing approach the two of you
seem to be offering for IPv6 extension headers, is there something in
between? If not, then maybe that is what we need to be working towards.

FWIW, I[m not arguing for a blank "block all", but rather "just allow
the ones you really need" -- which is a no brainer.

Fernando,

I'm not sure how that's a no brainer, who decides "the ones you really
need"?
Typically. whoever runs the destination AS or network. Or the transit
AS, if the packets will affect the transit AS.

And there's the problem. The operator of a large network cannot possibly
know which extension headers every host on the network needs. It's
called permissionless innovation, and is supposed to be one of the main
success factors for the Internet.

If everyone independently makes that decision then we wind up
with an Internet that can't evolve and is perpetually stuck in the
status quo.
Well, yes, there's no big brother making decisions about mine or your
networks' policies.... hence everyone makes decisions independently.

From the point of view of hosts, there is an anonymous Big Brother, the
moment that any upstream operator blocks a wanted extension header.

(IN a way that's why QUIC runs on top of UDP ... although in the case of
QUIC, I bet it has more to do with NATs thatn with explicit firewalling)

It's to do with *any* barrier to IP layer transparency. This is a very
basic tussle in the architecture.

Brian

The list you need
is, maybe Frag and, say, IPsec at the global level? (from the pov of
most orgs).

(yeah... HbH and the like are mostly fine for the local link (e.g. MLD).

It might be productive if you suggested a more concrete direction
here. Maybe a proposed BCP suggesting the EHs that you believe should
be universally blocked and the rationalization for that and why the
problems with them can't be fixed.
Are your referring to the "transit AS" case, the "dest AS/network" case,
or both?
In any case, my comment was simply a two-liner email comment, as opposed
to full-fledged advice.
Thanks!
Regards,
_______________________________________________
v6ops mailing list
v6ops@ietf.org
https://www.ietf.org/mailman/listinfo/v6ops



--------------------------------------------------------------------
IETF IPv6 working group mailing list
ipv6@ietf.org
Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
--------------------------------------------------------------------