Re: I-D Action: draft-herbert-6man-eh-limits-00.txt

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 28 June 2021 23:23 UTC

Return-Path: <brian.e.carpenter@gmail.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 1F9FC3A1B0E for <ipv6@ietfa.amsl.com>; Mon, 28 Jun 2021 16:23:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.436
X-Spam-Level:
X-Spam-Status: No, score=-2.436 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, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.338, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 9Px_ypuoyyBZ for <ipv6@ietfa.amsl.com>; Mon, 28 Jun 2021 16:23:05 -0700 (PDT)
Received: from mail-pg1-x52b.google.com (mail-pg1-x52b.google.com [IPv6:2607:f8b0:4864:20::52b]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id B18933A1B0D for <ipv6@ietf.org>; Mon, 28 Jun 2021 16:23:05 -0700 (PDT)
Received: by mail-pg1-x52b.google.com with SMTP id h4so16831553pgp.5 for <ipv6@ietf.org>; Mon, 28 Jun 2021 16:23:05 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-language:content-transfer-encoding; bh=svDFjJhT2YKmze8O2uRcr+Q7ayO40Ksm6myn9lEUSyI=; b=JS2ptNYN4KDOb5anMEvjD0n8h47NKs6vwRbXeHANQmpTk9BLFK+VMPohL8YZvxP3n1 wyjRpumTCnmXy+zrqJqtvz2nuoYxPKZM0zoIQxIPw6ej/1IcdTASI5Z1cnkaIwR016pk ybtF9D/5FcRkbC24pNJM/MJFn3yZSSweiPAfh0jQ6IVffoLusFjt/sf89doSzPZKo0hq o2SlB3i2RlHlpLRtj7XEgZgrbw2zM/tEJxnnkAoHd9nZ3ozhtx1pJti0fBve4FZyU99R HyCqIOTZAR8MABEc36zesIkYNM6lgNZt9BXn+DV93RXlUEyCXVa8KDe6nRr5yyuZSi+2 xE5w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=svDFjJhT2YKmze8O2uRcr+Q7ayO40Ksm6myn9lEUSyI=; b=CHmAzIv1EHnIaw6/W5Si/DWa467kt92EY+ej4h9vum6mEla+Poqp0JJBLPVGpwh6gb DPuDioJCdlA/rNiXFazDU/Es1N4hGN0xoxobYzQKr4perauVIKEQgjisIhpXj/mK9YTn x4N7G2buChQPdEBQsf8nBTKSRq4bdKpRnFrKOZOIq8cGq/Yv0KVtEB/5uloEFvnLmAVB il61kCnkrgoXxAgOC1R/888CkXmzEro3ByLK2pIyv2qcMROw5Ig344txqCTRySoNBNwN b2ryIAKMKu2hzS0EH5w6cTo/s+6pq15/QpNJ6HIR/HgBianmbp/5ibp2lHwPk/hGJ2mq Ln2g==
X-Gm-Message-State: AOAM530tRRHMQFQ5lY/eNDZKQhO499D15bZ+zobK1rBKgThlJDDKPKaB kstfMWdxEuCstL3CLRzYN3u6TYxSUcX9pA==
X-Google-Smtp-Source: ABdhPJwwUkIcwBF/tg4iPXSTeoFcSARpWqlQfipi4XiM8nNspl2JIEagL0ov+M0htSwVdgZyvO57Pw==
X-Received: by 2002:a63:284:: with SMTP id 126mr19590557pgc.347.1624922583827; Mon, 28 Jun 2021 16:23:03 -0700 (PDT)
Received: from ?IPv6:2406:e003:100d:901:80b2:5c79:2266:e431? ([2406:e003:100d:901:80b2:5c79:2266:e431]) by smtp.gmail.com with ESMTPSA id j20sm14757969pfc.85.2021.06.28.16.23.02 for <ipv6@ietf.org> (version=TLS1_3 cipher=TLS_AES_128_GCM_SHA256 bits=128/128); Mon, 28 Jun 2021 16:23:03 -0700 (PDT)
Subject: Re: I-D Action: draft-herbert-6man-eh-limits-00.txt
To: 6man <ipv6@ietf.org>
References: <162441011024.16699.3109899403536421779@ietfa.amsl.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <380f8ddb-2b12-c7b2-b141-f6eaba06968a@gmail.com>
Date: Tue, 29 Jun 2021 11:22:59 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.10.0
MIME-Version: 1.0
In-Reply-To: <162441011024.16699.3109899403536421779@ietfa.amsl.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/RDhKC6Cx8snUW46BXVLRqgYlOyQ>
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: Mon, 28 Jun 2021 23:23:10 -0000

I think the basic proposal is to limit extension headers to a total of 64 bytes, if outside a limited domain (TL;DR: see page 9 of the draft).

Now, I'm well aware that shim6 (RFC5533) is not used; the main reason being that the Internet is largely opaque to its extension headers. Nevertheless, shim6 is a fully worked out use case for extension headers that would need to cross the open Internet.

I wrote in 2016 as part of the RFC2460bis discussion that "I was surprised a while back to discover that a legal shim6 extension header could in fact exceed a kilobyte, specifically it is only limited to 1240 bytes by the standard." More to the point, a typical "large" shim6 extension header would be 40 bytes between dual-homed hosts. If hosts were more-than-dual-homed and therefore needed to exchange more addresses, the extension header would increase by 16 bytes per extra address.

So, if we prescribed a 64 byte limit, we would also limit what extension headers can achieve.

Regards
   Brian

On 23-Jun-21 13:01, internet-drafts@ietf.org wrote:
> 
> A New Internet-Draft is available from the on-line Internet-Drafts directories.
> 
> 
>         Title           : Limits on Sending and Processing IPv6 Extension Headers
>         Author          : Tom Herbert
> 	Filename        : draft-herbert-6man-eh-limits-00.txt
> 	Pages           : 18
> 	Date            : 2021-06-22
> 
> Abstract:
>    This specification defines various limits that may be applied to
>    receiving, sending, and otherwise processing packets that contain
>    IPv6 extension headers.  The need for such limits is pragmatic to
>    facilitate interoperability amongst hosts and routers in the presence
>    of extension headers and thereby increasing the feasibility of
>    deployment of extension headers.
> 
> 
> The IETF datatracker status page for this draft is:
> https://datatracker.ietf.org/doc/draft-herbert-6man-eh-limits/
> 
> There is also an htmlized version available at:
> https://datatracker.ietf.org/doc/html/draft-herbert-6man-eh-limits-00
> 
> 
> Internet-Drafts are also available by anonymous FTP at:
> ftp://ftp.ietf.org/internet-drafts/
> 
> 
> _______________________________________________
> I-D-Announce mailing list
> I-D-Announce@ietf.org
> https://www.ietf.org/mailman/listinfo/i-d-announce
> Internet-Draft directories: http://www.ietf.org/shadow.html
> or ftp://ftp.ietf.org/ietf/1shadow-sites.txt
>