Re: Fwd: New Version Notification for draft-hinden-6man-hbh-processing-01.txt

Fernando Gont <fernando.gont@edgeuno.com> Thu, 10 June 2021 09:18 UTC

Return-Path: <fernando.gont@edgeuno.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 8F2F03A3B4B for <ipv6@ietfa.amsl.com>; Thu, 10 Jun 2021 02:18:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.902
X-Spam-Level:
X-Spam-Status: No, score=-1.902 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, RCVD_IN_MSPIKE_H2=-0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=edgeuno.onmicrosoft.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 XciEgJ3VPc05 for <ipv6@ietfa.amsl.com>; Thu, 10 Jun 2021 02:18:25 -0700 (PDT)
Received: from NAM02-DM3-obe.outbound.protection.outlook.com (mail-dm3nam07on2125.outbound.protection.outlook.com [40.107.95.125]) (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 591AA3A3B48 for <ipv6@ietf.org>; Thu, 10 Jun 2021 02:18:25 -0700 (PDT)
ARC-Seal: i=1; a=rsa-sha256; s=arcselector9901; d=microsoft.com; cv=none; b=jLYPfxhEXU+rwp4HgsdfojA+jYUIiSOy/HypcKEEtQcAmzhv3ZBabG8YFPVAqgG9k4sWt4xd7kcwYr3KMIXupTKv0CJJTSLb/V0gela6y5+To2eFgKVAIvqleHo5Khn1oXryhOvaOHmv1gusgnz1Eyg+rN47zf/VjHD/SEGRpCJCGwWJ7tSR6/gGopHCT2STV0F1F29fuXJPsSujy+dtoF9O1h8X4Pj5CEX9SHJC3qOdCVz5HXgm38xMX5q0hreFO+3UXM0WEk6gjtDSIUTYmu9uxWbxV9JGTJ4rZSugXnGeQRgq9DYrIUygiidVlEwVIp2CS3cItjLRQekKQ8jKEA==
ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=microsoft.com; s=arcselector9901; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mCejIcaqr1iVz1x7hTHVvYKFm+21iBM6DoSvEaVyjtk=; b=Hx5zL93kp+1Vg0DpZq9LYcmmCHuDpa2ooVQK35lxi778hMf36kC3pDXisdWf8u14yjw9XvkPOz3aCpVqmpyZXkzq5Ahqv6sSGSWrTGzIS+GMA0lL6YGbPeBjJ3iB63GQfiTqoo9p1/8BcfoIeK/QFOM1m+NmQW+/cqxL4tO9/rsZNtXDn1AupLUcLXVt9hqXyBWv5r0Mh8bDLzu/LQ7S07/3FWcKZuJu4q/Ajvz4gYDdZUqIXH8dIXEpilReF1rETQ8Q0vQYvpLXki4NP4bG9ofM0Zuz1neqIJkihqsd83xIB3c6d1+zJbH/x5RlxmoMopuuysRwfAf+yhap6zGfeQ==
ARC-Authentication-Results: i=1; mx.microsoft.com 1; spf=pass smtp.mailfrom=edgeuno.com; dmarc=pass action=none header.from=edgeuno.com; dkim=pass header.d=edgeuno.com; arc=none
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=edgeuno.onmicrosoft.com; s=selector1-edgeuno-onmicrosoft-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version:X-MS-Exchange-SenderADCheck; bh=mCejIcaqr1iVz1x7hTHVvYKFm+21iBM6DoSvEaVyjtk=; b=XOUOmS0dQltvx9US4st31JHc/lM++xnAtkQh2nQHL7soYe0xIIJAkzok3eTopqRHrkLeMYgvjrGNkc4+8PS9HYPQ5JhdFTHbYIMPJd/cnbda/jRbbP8Xns+Fx2zV3I+x8C5AOOYpsNWsYu206eDhWiPK/+MhyHFEoGbHxbRU7cM=
Received: from SJ0PR05MB7514.namprd05.prod.outlook.com (2603:10b6:a03:2eb::6) by BY3PR05MB8337.namprd05.prod.outlook.com (2603:10b6:a03:3c0::17) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384) id 15.20.4242.11; Thu, 10 Jun 2021 09:18:21 +0000
Received: from SJ0PR05MB7514.namprd05.prod.outlook.com ([fe80::59c9:fcf7:eeea:1148]) by SJ0PR05MB7514.namprd05.prod.outlook.com ([fe80::59c9:fcf7:eeea:1148%8]) with mapi id 15.20.4219.021; Thu, 10 Jun 2021 09:18:21 +0000
From: Fernando Gont <fernando.gont@edgeuno.com>
To: "gorry@erg.abdn.ac.uk" <gorry@erg.abdn.ac.uk>, "bob.hinden@gmail.com" <bob.hinden@gmail.com>, "ipv6@ietf.org" <ipv6@ietf.org>
Subject: Re: Fwd: New Version Notification for draft-hinden-6man-hbh-processing-01.txt
Thread-Topic: Fwd: New Version Notification for draft-hinden-6man-hbh-processing-01.txt
Thread-Index: AQHXV92UuElJStBockeSEVwUcDaVkqsM6CiAgAAGuACAABR/gA==
Date: Thu, 10 Jun 2021 09:18:21 +0000
Message-ID: <acde5351eee710c3abdc2a5707771e51b15d6f20.camel@edgeuno.com>
References: <162265842779.4095.2393609365780372735@ietfa.amsl.com> <E5A31CCD-104D-4B92-9730-4FCFBF191F46@gmail.com> <17adf4b21d428d051e390574e976e3f61aee33c0.camel@edgeuno.com> <c995799c-194e-6432-a54d-3b5f557730e1@erg.abdn.ac.uk>
In-Reply-To: <c995799c-194e-6432-a54d-3b5f557730e1@erg.abdn.ac.uk>
Accept-Language: es-AR, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
user-agent: Evolution 3.36.5-0ubuntu1
authentication-results: erg.abdn.ac.uk; dkim=none (message not signed) header.d=none; erg.abdn.ac.uk; dmarc=none action=none header.from=edgeuno.com;
x-originating-ip: [186.19.8.47]
x-ms-publictraffictype: Email
x-ms-office365-filtering-correlation-id: 544fab4a-473f-4d10-445d-08d92bf0b14a
x-ms-traffictypediagnostic: BY3PR05MB8337:
x-microsoft-antispam-prvs: <BY3PR05MB8337E0E01C2A2CC7E5C00068E5359@BY3PR05MB8337.namprd05.prod.outlook.com>
x-ms-oob-tlc-oobclassifiers: OLM:10000;
x-ms-exchange-senderadcheck: 1
x-microsoft-antispam: BCL:0;
x-microsoft-antispam-message-info: 6UtyExs+/DC4xg7Pqk9Jvax872rqmV9ns5Wd2sD2NUiySnnMcn04h2Mm52Psw3zesrzJVYdPtUs/b1I8K37QgMKT3OBc8y6bHa5SB+R4BgshoiygEiBwTksQuVHNXws1vvlACqqQjy/ux2jBMAnnXetF1R1iZiUEpcy6vHty2oXoQabINEyYLoUgDtalqfI1qjQ/1UmHE2S7OrfTXVwawK//Ky18kELeZTOsf9qEFlBqaJzp79Nws1kQ3QiQS3/ngykazOvv4f/HcBYHdd2A0Gi3xuwVS5s3/0p7HxgBPGkzL2W095bJSd5Nob1AtjTdgNpy1MstSoOwo/8wHu9XWyHqF8ljmYDUDOwndlchdTV8CdZLQM8R84FLcKbhCFm8IWC7uF/9ZtQHplA5FZmx4rcME1PnUWFRuSCNUEecdzlctRbsFyOac5S95LwajJ9ZC8e0kaXF6taNI9K/mFryvMPdRKtpyz2He/i5m9CNp8vgvtALOV98ybtu/pN0x5oWb0GS5OtNUQksLkyVpaufDFeVnNnEeY9e09UkKo/sM6z4ScpA8KZuuHaYHHrC8fpmmi/ttqBxS1X6olzigsqYSSneJwbjhUMQfl724YIQeK8=
x-forefront-antispam-report: CIP:255.255.255.255; CTRY:; LANG:en; SCL:1; SRV:; IPV:NLI; SFV:NSPM; H:SJ0PR05MB7514.namprd05.prod.outlook.com; PTR:; CAT:NONE; SFS:(366004)(396003)(39840400004)(376002)(136003)(346002)(2906002)(478600001)(8676002)(110136005)(36756003)(8936002)(86362001)(83380400001)(44832011)(2616005)(15650500001)(66574015)(122000001)(71200400001)(38100700002)(66556008)(66476007)(76116006)(5660300002)(91956017)(66946007)(6486002)(6512007)(6506007)(186003)(296002)(26005)(316002)(64756008)(66446008); DIR:OUT; SFP:1102;
x-ms-exchange-antispam-messagedata-chunkcount: 1
x-ms-exchange-antispam-messagedata-0: b/30KmsFrYkUps2BHxJad2JTmHAr4HAhYN5okCaQxv46BWj3i0T538wCYyp7YUdKWn5l0MsZFcFcEHTp9jspEP9IiVWwT7DEyuVDRkhaHzYtAQ2KzRNe2sCr21Jfl9iITl6HhwbnPyyn9Y6nJ3ioFRmknFTjw/tSGvlpFCg2RhFUd6BAw2UeIeLeLSAwO31dFCws0VjknUmiFGPFVXX6/3wCZ1Yq0+W1vydZ9sFDtZMDUHzZcLU0ZkZFpn0/1WoE0x6Ddmwy35pus3jZ58yEnDhU4lp0aQGluj8isNJtmkf3rpEaJUd9x78Qf4eNH55QgU2CBmWPUzk/qQLiepK3MSe/HERH6tj30u8ZPozqqez2rU0pet3n6bNa9SpZpLn62VmrJBb8mEQV+C1RhJtqIOArgMLJaFWxspbZ/CFviYZ8ozNOOVaWAOJOSVIwMj4f8X2Dls5X7EvZemlVd/523ecETjt3IQAV68+Upa5DHavhVFlwc0cgGCgFQQ2lguGNi7oNGTbtNHdSzTwTGwQ3CtS3hEgbl7yPGtptEcnUy2ILq0vtubE8JrH6Z6wJCRsd249EA801lo/uthg+eFQ1+MkjF/kuJCa1DdKjENo5p+qQCl3hZFIHT2Y8LHr90zMSFT4zLhfwN0+f2KTVE/Y54EUCohiEzJ36g/Xg8mud1/bmvjja3bHCoIXicuxjGQeK41Ju4npHwD4YPTIGV4gEScrNEIR9t5adnn3I72pW7NmGunkieYPZ3rO9B1MzsKzXVMh/w4d+BuojACKmR9TvPzGLzqMG/wgh4LFVrW0I+NPIWbhIB65bSpoIj1mO9SzdVI4yM8Np7vA8NvJ4iShAb5HXvB7a8Q69+OSkCWHTbeMwY4gIJmTDwT1U1R8Et1KjM+4a931mjFwYSrVsFtoEXiHH3/wnZ0h1nmTndx9ZV6G5/qYUQ+BVSXZ5KklmcwlkqBClumf8OBIkECDX0YL1y1afGfUTa1miAJL9+1HENv/1b37+xT4kU4e6KEvt5hvqTf8xX4w8SvOjqr7mmterpLZKZFla7b6aGnR1JHgD9jIGMKwg3XvqA1ApNOCWGNVh1dn8ehwUfnpBK1pmrw5DTUeOfLKXeWdsZLGI833dpB4Ha73ZLsQ1v6TWBE7SGoYcfDh9HOgGeQvcBfrRzCDf/wL9ZV6UAxC3uPEQHUDMyAmfh8eiq6xlEprLMecA3OLd9s847iaTvi2H6Cq75y0eHLbKNzcAu147ir3K1BIQdpD7u0ZGeuftswnGU6mug6zH7QpIR74jZo+aDamySalAUj5cgb6zmyaCXeIrbk8zx5cSmDu747rAp5+SfMzU3RyN
x-ms-exchange-transport-forked: True
Content-Type: text/plain; charset="utf-8"
Content-ID: <0996EF83A5DD8243AC811C95EF121168@namprd05.prod.outlook.com>
Content-Transfer-Encoding: base64
MIME-Version: 1.0
X-OriginatorOrg: edgeuno.com
X-MS-Exchange-CrossTenant-AuthAs: Internal
X-MS-Exchange-CrossTenant-AuthSource: SJ0PR05MB7514.namprd05.prod.outlook.com
X-MS-Exchange-CrossTenant-Network-Message-Id: 544fab4a-473f-4d10-445d-08d92bf0b14a
X-MS-Exchange-CrossTenant-originalarrivaltime: 10 Jun 2021 09:18:21.5289 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 20879dba-fabf-45da-8300-60b8ce560217
X-MS-Exchange-CrossTenant-mailboxtype: HOSTED
X-MS-Exchange-CrossTenant-userprincipalname: qlE+26F1nUOpj6KyePUzjdZ1okJJyeEa00gLs7MvUm5As7nSZTy+lIsrwxNQXD1fN38rB7FqLGzKW+wdro/wP8zCv8JuJ+KsLPmK1pjfv0I=
X-MS-Exchange-Transport-CrossTenantHeadersStamped: BY3PR05MB8337
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/HAN8a-nPg1uSst_SXZLMqKmCT94>
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: Thu, 10 Jun 2021 09:18:28 -0000

Hi, Gorry,


On Thu, 2021-06-10 at 09:04 +0100, Gorry Fairhurst wrote:
> * Section 4, page 4:
> > 
> > >   The changes meant that an implementation complied with the IPv6
> > >   specification even if it did not process hop-by-hop options,
> > > and
> > > that
> > >   it was expected that routers would add configuration
> > > information to
> > >   control which hop-by-hop options they would process.
> > 
> > The way I interpret RFC8200 is that a router is configured whether
> > it
> > needs to process the HbH header in the first place, rather than
> > whether
> > to process specific options.
> > 
> I see, I don't see RFC8200 as saying whether this has to be a global 
> "switch"
> 
> to disable processing, or whether it allows configuration that can
> result
> 
> in disabling. This ID intends to update and clarify that aspect.

Fair enough. From my pov, I might live with simply skupping the HbH,
but wouldn't have my boxes parse its contents. -- i.e., either ignore
the whole thing, or drop. :-)



> > * Section 4, page 5:
> > 
> > >     There has been research that discussed the general problem
> > > with
> > >     dropping packets containing IPv6 extension headers, including
> > > the
> > >     Hop-by-Hop Options header.  For example [Hendriks] states
> > > that
> > >     "dropping all packets with Extension Headers, is a bad
> > > practice"
> > 
> > Given the number of vulnerabilities associated with the processing
> > of
> > IPv6 EHs, and that it's a feature that is largely unused, the
> > converse
> > is probably true.
> > 
> I thought you'd say so. However, this is a proposal to simplify the
> method
> 
> and to enable them to be used. I don't agree that this is generally 
> unsupported
> 

FWIW, my point is that a claim such as "dropping all packets with EHs
is abad practice" is kind of flawed/bogus statement.  -- it kind of
implicitly assumed that it's the result of an arbitrary decision. ..
when in many cases it's actually the other wat around.




> and I suggest yoy
> 
> > * Section 4, page 5:
> > 
> > This discussion misses an important point/aspect: the lgnth of the
> > IPv6
> > header chain. e.g., asking nodes to support a single HbH option if
> > such
> > option is, say, 256 bytes, will still be unfeasible.
> > 
> Are you saying the first option (HBH has to be first), is not within
> the
> 
> first 256 bytes? I don't understand.


What I mean is: one of the problematic aspects is the overall IPv6
header chain length. No matter the restriction on the number of HbH
instances or number of HbH options, if the overall IPv6 header chain
length is too long, you;ll be in trouble.

THe definition of too long depends on the implementation, and can be
anything from 8 to, say, 512, in powers of 2.  -- see RFC7872 for hint
of the impact of the IPv6 header chain length on the drop rate.





> > * Section 5.1, page 6:
> > > [RFC8200] also requires
> > >     that a Hop-by-Hop Options header can only appear once in a
> > > packet.
> > 
> > This doesn't seem accurate. RFC8200 states:
> > 
> >    IPv6 nodes must accept and attempt to process extension headers
> > in
> >    any order and occurring any number of times in the same packet,
> >    except for the Hop-by-Hop Options header, which is restricted to
> >    appear immediately after an IPv6 header only.  Nonetheless, it
> > is
> >    strongly advised that sources of IPv6 packets adhere to the
> > above
> >    recommended order until and unless subsequent specifications
> > revise
> >    that recommendation.
> > 
> > i.e., there's a recommendation to send only one HbH, but still
> > required
> > to process all received. (cursed by the robustness principle, if
> > you
> > wish :-) )
> > 
> The proposed ID targets PS to change this.

What I mean is that the I-D argues that RFC8200 states that there can
only be one instance of HbH. However, it actually simply *recommends*
to have a single instance, but requires that any number of HbH
instances are accepted and processed (hence my reference to the
robustness principle)



> > * Section 5.3, page 8:
> > 
> > >        The Router Alert Option is a problem since it's function
> > > is to
> > > do
> > >        what this specification is proposing to eliminate, that
> > > is,
> > >        process the packet in the Slow Path.  One approach would
> > > be to
> > >        deprecate it as it's usage appears to be limited and
> > > packets
> > >        containing Hop-by-Hop options are frequently dropped.
> > 
> > Nore: This option is employed for MLD packets, which result from ND
> > using multicast. In such scenarios (MLD is link-local) packets
> > survive
> > -- cause they don't need to be forwarded in the first place.
> > Whether
> > using RAO for MLD (or whether MLD itself) is a good idea, is a
> > different question... ;-)
> Sure, isn't a Router Alert also used hop-by-hop with MPLS, RSVP for
> QoS, 
> and other methods?

Yep. What I'm saying is that it is actually used. So.. how/why would
you deprecate it?




> > 
> > * Section 8, page 10:
> > 
> > >     *  Limited the default number of Hop-by-Hop options that that
> > > can
> > > be
> > >        in a packet to a single Hop-by-Hop option.
> > 
> > If you are pursuing that path, you should also limite the overall
> > IPv6
> > header chain length. That;s probably even more important than
> > limiting
> > the number of EHs or number of HbH options.
> > 
> Why does that impact the ability to process a HBH-O in a router?


It doesn't. It affects the ability of the router to obtain layer-4
information from the packet. And when that happens, as per draft-ietf-
v6ops-ipv6-ehs-packet-drops, packets get dropped. That leads to
unreliability of HbHs, which affects their possible usage.

Thanks!

Regards,
-- 
Fernando Gont
Director of Information Security
EdgeUno, Inc.
PGP Fingerprint: DFBD 63E3 B248 AE79 C598 AF23 EBAE DA03 0644 1531