[IPv6]Re: Gorry Fairhurst's Discuss on draft-ietf-6man-eh-limits-19: (with DISCUSS and COMMENT)

Nick Hilliard <nick@foobar.org> Sat, 26 April 2025 10:07 UTC

Return-Path: <nick@foobar.org>
X-Original-To: ipv6@mail2.ietf.org
Delivered-To: ipv6@mail2.ietf.org
Received: from localhost (localhost [127.0.0.1]) by mail2.ietf.org (Postfix) with ESMTP id 38FAF2181434; Sat, 26 Apr 2025 03:07:39 -0700 (PDT)
X-Virus-Scanned: amavisd-new at ietf.org
X-Spam-Flag: NO
X-Spam-Score: -5.561
X-Spam-Level:
X-Spam-Status: No, score=-5.561 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-1.374, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_NONE=0.001, T_SPF_TEMPERROR=0.01] autolearn=ham autolearn_force=no
Received: from mail2.ietf.org ([166.84.6.31]) by localhost (mail2.ietf.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id jBGsgFvJyAkp; Sat, 26 Apr 2025 03:07:33 -0700 (PDT)
Received: from mail.netability.ie (mail.netability.ie [46.182.8.5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature ECDSA (P-256) server-digest SHA256) (No client certificate requested) by mail2.ietf.org (Postfix) with ESMTPS id C3F48218141C; Sat, 26 Apr 2025 03:07:30 -0700 (PDT)
Received: from crumpet.local (vpn.ibn.ie [46.182.8.8]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.netability.ie (Postfix) with ESMTPSA id BEB8FB086C; Sat, 26 Apr 2025 10:59:21 +0100 (IST)
To: Justin Iurman <justin.iurman@uliege.be>
References: <174480829122.1391391.10917197019780759762@dt-datatracker-64c5c9b5f9-hz6qg> <c1b1f2b6-7a49-9a5d-9cc8-05b30446737d@foobar.org> <DB9PR07MB7771A15167708FF55CE3DACCD6852@DB9PR07MB7771.eurprd07.prod.outlook.com> <CALx6S3680Qqxhb8kE_2eSqwgxfcL92Jxcu1=9WRwUbNziRQ2jA@mail.gmail.com> <DB9PR07MB77715001DD6B0F336F22CCD4D6842@DB9PR07MB7771.eurprd07.prod.outlook.com> <05a016eb-be3b-0196-393c-f618b1a34c7d@foobar.org> <2e608fa8-1101-4716-bb68-55406da617fb@uliege.be>
From: Nick Hilliard <nick@foobar.org>
Message-ID: <c230b699-3d7f-f52b-dbb2-4532f700af43@foobar.org>
Date: Sat, 26 Apr 2025 10:59:20 +0100
User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.16; rv:52.0) Gecko/20100101 PostboxApp/7.0.65
MIME-Version: 1.0
In-Reply-To: <2e608fa8-1101-4716-bb68-55406da617fb@uliege.be>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: en-US
Content-Transfer-Encoding: 8bit
Message-ID-Hash: 3UGKQCCTRM6JGA5JG6K3C4R7LUEHOD5B
X-Message-ID-Hash: 3UGKQCCTRM6JGA5JG6K3C4R7LUEHOD5B
X-MailFrom: nick@foobar.org
X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; emergency; loop; banned-address; member-moderation; header-match-ipv6.ietf.org-0; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header
CC: Tim Chown <Tim.Chown@jisc.ac.uk>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, The IESG <iesg@ietf.org>, "draft-ietf-6man-eh-limits@ietf.org" <draft-ietf-6man-eh-limits@ietf.org>, 6man Chairs <6man-chairs@ietf.org>, 6man <ipv6@ietf.org>, Suresh Krishnan <suresh.krishnan@gmail.com>
X-Mailman-Version: 3.3.9rc6
Precedence: list
Subject: [IPv6]Re: Gorry Fairhurst's Discuss on draft-ietf-6man-eh-limits-19: (with DISCUSS and COMMENT)
List-Id: "IPv6 Maintenance Working Group (6man)" <ipv6.ietf.org>
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/GCfjpRyDb-E6PBy_jESHVcdJjcE>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Owner: <mailto:ipv6-owner@ietf.org>
List-Post: <mailto:ipv6@ietf.org>
List-Subscribe: <mailto:ipv6-join@ietf.org>
List-Unsubscribe: <mailto:ipv6-leave@ietf.org>

Justin Iurman wrote on 25/04/2025 23:47:
> I appreciate the assertive tone of your response. I'm curious to hear 
> why you think it's out of scope for the IETF. And I'm not saying that 
> because I'm the author of the said paper.

it's because the ietf isn't a review channel for general papers and 
specifically because the topic of this email thread is the IETF AD 
review of draft-ietf-6man-eh-limits.

I'd be happy to discuss your article offline.

Nick

> About the conclusion: of course it's speculative. The reason is simple. 
> You can't conclude A or B (or whatever) and be 100% sure. For that, 
> you'd have to test and isolate every single node. Good luck with that. 
> What we discuss in the paper is a trend based on observations and 
> measurements.
> 
>> Some of the more eyebrow-raising quotes:
> 
> Some parts of this email are eyebrow-raising too ;-)
> 
>> "Important note: there is no intersection between the list of 
>> traversed ASes and the list of ASes that responded to the survey"
>>
>> "However, this could highlight some cases where old routers or bugs 
>> are the main cause of IPv6 EHs drops." Really?
> 
> Not sure what's the benefit of pasting some bits of the paper without 
> context.
> 
>> "Overall, routers from different vendors are expected to share the same 
>> kind of behavior with a default configuration, which therefore gives a 
>> trend and a big picture of what should be observed in the wild. 
>> Therefore, we assume our infrastructure being as representative as 
>> possible.". This assumption is both invalid and incorrect.
> 
> Are you saying we can't reasonably expect vendors to ship hardware that 
> is RFC-compliant regarding IPv6 (with vanilla configs)? Are you saying 
> they don't pass validation tests regarding IPv6?
> 
>> "As for the Juniper router, its results may not be entirely accurate, 
>> since we had to test a virtual image of the MX series with 
>> Containerlab [10] instead of physical hardware."
>>
>> "This kind of limit exists in old routers, where the parsing buffer 
>> size is quite small (usually 256 bytes max, sometimes even smaller, 
>> e.g., 64 or 128 bytes, for older routers [9])" - where reference [9] 
>> points to a document from 2006, i.e. around 19 years before the paper 
>> was published in March 2025. The authors need to provide more recent 
>> data because a single 19yo reference is a straw man argument.
> 
> Well, that's exactly the point of having such an old reference. We're 
> saying (very) old hardware had small buffer limits, but not recent one. 
> Having recent refs saying buffer limits are still that small is 
> impossible because they're not anymore, at least not that, 64-byte, small.
> 
>> "In order to determine the AS responsible for a drop, we chose to follow
>> this simple assumption: an AS will generally apply ingress filtering 
>> on IPv6 EHs [20]." - reference [20] points to RFC9098 which refers to 
>> iACLs.
>>
>> The lab test is obviously interesting, and it would be good to test a 
>> larger range of equipment. However, it does not model the real world 
>> in a meaningful fashion and given the limitations described in the 
>> text, the authors were not justified in arriving at the conclusions in 
>> section 8.
> 
> That's correct, and we're not pretending to model the real world. Not 
> sure someone can, actually. Again, we're discussing trends based on what 
> we saw. Good luck if you want to say for sure "it's because {your 
> opinion}".
> 
> Justin
> 
>> Nick
>>
>> And even that most
>>> drops are caused by a smaller number of ASNs, close to the point of 
>>> ingress to the ASN, for the ASNs tested in Table 4.
>>>
>>> To be fair, the paper does talk of “old” routers, e.g.:
>>>
>>> “For example, Ouellette [42] reports a router running a default 
>>> configura[1]tion with hardware limit (i.e., with a limited parsing 
>>> buffer size for the headers), which seems to drop a packet as soon as 
>>> the total size of IPv6 EHs reaches something between 160 and 192 
>>> bytes. This kind of limit exists in old routers, where the parsing 
>>> buffer size is quite small (usually 256 bytes max, sometimes even 
>>> smaller, e.g., 64 or 128 bytes, for older routers [9]).”
>>>
>>> But we must not set limits now based on yesterday’s hardware.
>>>
>>> So when you say "don't ossify it so low" it's a bit of an irony to 
>>> me. The Internet is currently ossified at zero, and we're trying to 
>>> move the needle to something greater than zero. The draft is trying 
>>> to provide reasonable and practical guidance. And yes, the draft is 
>>> giving the minimum limits of support for routers, at least for those 
>>> that require access to L4 headers. There is sufficient data that the 
>>> minimum limits proposed in the draft are supportable and could gain 
>>> nearly ubiquitous support across the Internet. OTOH, we could mandate 
>>> some arbitrarily high level of support, but good luck getting 
>>> ubiquitous support in deployment.
>>>
>>> It's not ossified at zero.  There is a problem, but please don’t be 
>>> overly dramatic.
>>>
>>> The above paper suggests most drops are down to policy, not hardware 
>>> limitations. We should look at more evidence like that.  Which is why 
>>> I’d strongly advise the ADs to return this draft to 6man while that 
>>> evidence is gathered, and the less controversial part – the 
>>> protection of nodes from attacks – is advanced with the rest removed 
>>> for potential resubmission in a new draft.
>>>
>>>
>>>
>>>     > I’d like to discuss whether the I-D could be constrained to 
>>> avoid this, and
>>>     > allow the minimum size to evolve.
>>>
>>>     Do you have suggestions on how to approach this?
>>>
>>> Isn't that the point of a BCP, to revisit manifest constants as 
>>> technology evolves (IMO this draft should be a BCP).
>>>
>>> If it’s proven BCP.  You’re just handwaving a “solution” without the 
>>> evidence to back it up. We need more data like the above.
>>>
>>>     I’d like to see the draft only cover what’s in 7.3 of RFC8504
>>>     section 5.3, on limits for processing to protect nodes against DoS
>>>     and other attacks.  This would put the draft in the same area as
>>>     draft-ietf-6man-deprecate-router-alert. The RFC then covering other
>>>     processing would remain RFC 9673 (on top of RFC 8200).  RFC 8504-bis
>>>     could then point to that work and remove its ‘interim’ text of 5.3
>>>     that I’ve personally considered a placeholder for this draft.
>>>
>>> DoS isn't the problem, nodes on the Internet are dropping packets 
>>> just because they contain extension headers. In lieu of practical 
>>> guidance, routers have taken it upon themselves to define ad hoc 
>>> level of support which has resulted in making EH essentially unusable 
>>> on the Internet. I believe the draft is useful to set some minimal 
>>> requirements so the EH becomes at least a possibility to use.
>>>
>>> The “routers” (router vendors I assume you mean) haven’t defined an 
>>> ad-hoc level of support.  The paper suggests otherwise. If you 
>>> believe they have, have you pointers to the evidence?
>>>
>>> But DoS could be a problem, and is one we should give guidance on 
>>> protecting against, just as we do with actions like we have taken on 
>>> router alerts. That was the point of section 5.3 of RFC8504. This 
>>> draft should be the expansion of that and stay away from setting 
>>> arbitrary, and very low, EH length limits.
>>>
>>> OTOH, if there's a better way than setting minimal requirements and 
>>> level of support to make EH usable I'm all ears, but to date no one 
>>> has yet proposed anything specific AFAICT.
>>>
>>> Minimal requirements for who?  The vendors, or the operators?
>>>
>>> We need more data like that presented in the above paper.  Until 
>>> then, we should only publish this draft as one that sets limits to 
>>> enable the protection of nodes as per 5.3 of RFC8504, so we can then 
>>> remove that section from 8504-bis and point at this RFC-to-be from 
>>> there.
>>>
>>> Then a new draft needs to be discussed about handling of EHs by 
>>> length. Which seems to be more a policy issue than hardware one.  We 
>>> already have RFC 9673.
>>>
>>> And the new draft should not have the word “limits” in its title if 
>>> we want to encourage a minimum level of conformance, particularly 
>>> with policy.  Which also suggests that the new draft might be better 
>>> homed in v6ops.
>>>
>>> Tim
>>>
>>> Tom
>>>
>>>     Tim
>>>
>>>
>>>
>>>     Nick
>>>
>>>     --------------------------------------------------------------------
>>>     IETF IPv6 working group mailing list
>>>     ipv6@ietf.org <mailto:ipv6@ietf.org>
>>>     List Info: https://mailman3.ietf.org/mailman3/lists/ipv6@ietf.org/
>>>     --------------------------------------------------------------------
>>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> List Info: https://mailman3.ietf.org/mailman3/lists/ipv6@ietf.org/
>> --------------------------------------------------------------------