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

Tom Herbert <tom@herbertland.com> Mon, 22 May 2023 17:11 UTC

Return-Path: <tom@herbertland.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 68DCEC15155E for <v6ops@ietfa.amsl.com>; Mon, 22 May 2023 10:11:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.095
X-Spam-Level:
X-Spam-Status: No, score=-2.095 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, RCVD_IN_DNSWL_BLOCKED=0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland.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 MtVB4Sqdy5Gp for <v6ops@ietfa.amsl.com>; Mon, 22 May 2023 10:11:37 -0700 (PDT)
Received: from mail-pj1-x102c.google.com (mail-pj1-x102c.google.com [IPv6:2607:f8b0:4864:20::102c]) (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 E3423C13AE50 for <v6ops@ietf.org>; Mon, 22 May 2023 10:11:27 -0700 (PDT)
Received: by mail-pj1-x102c.google.com with SMTP id 98e67ed59e1d1-25332422531so2765536a91.0 for <v6ops@ietf.org>; Mon, 22 May 2023 10:11:27 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland.com; s=google; t=1684775487; x=1687367487; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=qtGoWcKmMXCGi2vWuDDmhXMlOLsadKcDwzBwe7xDgCw=; b=Q959fvD+OQ80NP7QreJj6Cjn4+k3+AZiDXJPu/rN/2yTEuRJY1uL0b5kGWHljeKIVM PLtvuIGbadWrx5aXElBSPp4WPK16+mKF/gyNFvHNSFx7qteOAamR1hg10c0yYOuaASNo ApwAZSoDobrzwrRKo0LWKprmz9muC+Qcg+gBlKgwtgkBMG5PfWhxkvaQT1GXLuRGn4Fz XpdNMlXxDcYjrNrkcmiwKwS7Asr/qnVCXZD++eL8S6G1YMJv9Ci32BwGlsZ2peH2kDTq BUvxi5diNmNSEEWzJX4O7DSSoSRqAsOqKwDOUtD9JrxQMiGmhGcW6ZH13wjaS6mmLzM4 LH6Q==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1684775487; x=1687367487; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=qtGoWcKmMXCGi2vWuDDmhXMlOLsadKcDwzBwe7xDgCw=; b=i923AJHQDppsECrK8sjirecsy605+8Udei7AbYjLTnc8X5U7FeCXXqZkVg3NN2swD5 X5nhSaFhSlR97wdIXp5HQIth8xlQvVmEoRqJ/BwKO8XviRLheyclJ23hj8a2fGsEW0pB NTLvOydFbNQbXi+FXCYV+8rOIm2+CNmC+cE6Kt1G/ecobzKegW2cyyXXLV94h9UvtDQn kszBrljXYFlFsAE72rXC9/+lWZTjOye2y/qAVFAPxSFfxxoSkW+sY+KQyQ/W9pOwrlRZ 3WWO1iEIxxhCkKVOWf1KjdQBMUbCbP+U2c2x2Hn7Sz/ipModusOWORUBwvZ2R/RITh1o 7SGA==
X-Gm-Message-State: AC+VfDwjJi1NPMhDurc8lM0WmlK5SRLjhsltkSAp0z2jFHx8DE2d+ppg HZ4K2eeR29ISE/N/TLhMLZXucwewel41JXo2A8UB2H6ZhyQyw3hBe00=
X-Google-Smtp-Source: ACHHUZ4wT3KifyRildgDzqRlxXW5d3ICW/DmkjwjpWF825YcNMmI63mrW1mIZYl3ocKc/fnQi/UWBmsAR7VoMXXntmo=
X-Received: by 2002:a17:90a:3e03:b0:253:6e6f:f5c5 with SMTP id j3-20020a17090a3e0300b002536e6ff5c5mr14819760pjc.7.1684775486988; Mon, 22 May 2023 10:11:26 -0700 (PDT)
MIME-Version: 1.0
References: <338409937.875780.1684768913874@mail.yahoo.com> <C90EF571-2754-4C12-B7D6-FEDD1D17CA19@employees.org> <193402587.928006.1684773327427@mail.yahoo.com>
In-Reply-To: <193402587.928006.1684773327427@mail.yahoo.com>
From: Tom Herbert <tom@herbertland.com>
Date: Mon, 22 May 2023 10:11:14 -0700
Message-ID: <CALx6S37EJ_zZEVd650=ch=_9ooyVht+3ZePu=shJ1ChcP9JSVA@mail.gmail.com>
To: "nalini.elkins@insidethestack.com" <nalini.elkins@insidethestack.com>
Cc: Ole Trøan <otroan@employees.org>, "opsec@ietf.org" <opsec@ietf.org>, 6man WG <ipv6@ietf.org>, IPv6 Operations <v6ops@ietf.org>, Fernando Gont <fernando@gont.com.ar>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/KiYNRsBL3XF9iyAmcKrvwLsFSik>
Subject: Re: [v6ops] [OPSEC] [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 17:11:41 -0000

On Mon, May 22, 2023 at 9:35 AM nalini.elkins@insidethestack.com
<nalini.elkins@insidethestack.com> wrote:
>
> Ole,
>
> >>> it might be time that we accept that this was a bad idea. Which deployment status has confirmed.
>
> >> Is it your intent to submit a draft deprecating IPv6 Extension Headers?
>
> > Do you want me to?
> > A couple of them seem to have found some use within limited domains. Those problems could likely have
> > been solved also with encapsulation and as it turns out the limited domains end up with additional
> > encapsulation too. Encapsulation is in my a view a better way to reason about these extensions than EHs.
>
> > If nothing else they have served as a way to extend the ip protocol name space.
>
> No, it just seemed to be the logical extension of your thinking.   Please correct me if I have misunderstood.
>
> I believe that EHs can provide a great deal of useful functionality and will do so even more in the future.   We, ourselves, are working with a team in India to investigate DNS resiliency using our PDM Destination Options Extension Header.
>
> I believe that we need to find out exactly what the situation is as far as EH's.  If there are bugs in network device code, then we need to fix them.  We have found a number already and are working with the relevant vendors.
>

Nalini,

Thanks for all your efforts! I'd also point out that work is also
underway to fix the protocol "bugs" with EH in
draft-ietf-6man-hbh-processing and draft-ietf-6man-eh-limits.

> Once bugs are fixed, then we need to consider carefully what BCP around EHs should be done, taking into account various common topologies as well as devices such as proxies and load balancers.  I mention those in particular as what we have found points to those devices in particular as posing problems rather than transit networks.

Agreed, IMO if a network provider disallows a protocol it should be
because there is an inherent risk or unfixable bug in the protocol
and, not because of a fixable implementation bug or because of an
"opt-in" model for IETF protocols. Of course, if IETF is publishing
protocols that are an inherent security risk then maybe they should be
deprecated! (I don't think that's generally the case for EH).

Tom

>
> Of course, our testing to date is absolute lack of transmission rather than lack of transmission based on EH length or type.  We felt that was the logical first step.
>
> Thanks,
>
> Nalini Elkins
> CEO and Founder
> Inside Products, Inc.
> www.insidethestack.com
> (831) 659-8360
>
>
>
>
>
>
> On Monday, May 22, 2023 at 09:21:33 AM PDT, Ole Trøan <otroan@employees.org> wrote:
>
>
>
>
>
>
> Hi Nalini,
>
> >> it might be time that we accept that this was a bad idea. Which deployment status has confirmed.
> >
> > Is it your intent to submit a draft deprecating IPv6 Extension Headers?
>
> Do you want me to?
> A couple of them seem to have found some use within limited domains. Those problems could likely have been solved also with encapsulation and as it turns out the limited domains end up with additional encapsulation too. Encapsulation is in my a view a better way to reason about these extensions than EHs.
>
> If nothing else they have served as a way to extend the ip protocol name space.
>
> O.