Re: [internet-drafts@ietf.org: New Version Notification for draft-jones-6man-historic-rfc2675-00.txt]

Tom Jones <tj@enoti.me> Thu, 09 May 2019 06:36 UTC

Return-Path: <tj@enoti.me>
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 85086120114 for <ipv6@ietfa.amsl.com>; Wed, 8 May 2019 23:36:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.601
X-Spam-Level:
X-Spam-Status: No, score=-2.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=messagingengine.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 4B9hSzt65aq5 for <ipv6@ietfa.amsl.com>; Wed, 8 May 2019 23:36:07 -0700 (PDT)
Received: from out5-smtp.messagingengine.com (out5-smtp.messagingengine.com [66.111.4.29]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 11356120049 for <ipv6@ietf.org>; Wed, 8 May 2019 23:36:06 -0700 (PDT)
Received: from compute3.internal (compute3.nyi.internal [10.202.2.43]) by mailout.nyi.internal (Postfix) with ESMTP id A87F120E7B; Thu, 9 May 2019 02:36:05 -0400 (EDT)
Received: from mailfrontend1 ([10.202.2.162]) by compute3.internal (MEProxy); Thu, 09 May 2019 02:36:05 -0400
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm2; bh=Gp22GjyCrDlWdRMdrzEBe4tcmwfHimCFQwJ1g3y5f 34=; b=WzPNyW7T+OZw+zR7UXLHLRQ821s1NBZIGzQIe8wREx3enlG5tNm/2O8gE RwrgL3mplcScTTeXmiWQhvegT3uklfTcXdh72Z8tPlbPgHJF3BdNnks8zgA3IX+Q RXuj0epCvggZD1wFgqwdoy9ZojASvJoD8XD24yFotgSwPxmdq/tImoHFmHhmgHJF s7ZXhhRSzfjZDDoYnqHtNktHOPFIzzbMiT+hMTk8dAtIb8tQLEjlzHMCum0BD0c3 Txa5CFZCQIqvHUZdXu55azT0+zNCtI0ODs5jp10sUgA6jyDKgrIIWZHMOvjF3xdi L8yrCz9qm1RnqjiaP7WyUeVkn5Z9A==
X-ME-Sender: <xms:VcrTXCiTd6SyPbgXfxseaCy3Srfm6Sh9-Dn1C-uZv3L2KrauWKgZfw>
X-ME-Proxy-Cause: gggruggvucftvghtrhhoucdtuddrgeduuddrkeeggddutdelucetufdoteggodetrfdotf fvucfrrhhofhhilhgvmecuhfgrshhtofgrihhlpdfqfgfvpdfurfetoffkrfgpnffqhgen uceurghilhhouhhtmecufedttdenucesvcftvggtihhpihgvnhhtshculddquddttddmne cujfgurhepfffhvffukfhfgggtugfgjggfsehtkeertddtreejnecuhfhrohhmpefvohhm ucflohhnvghsuceothhjsegvnhhothhirdhmvgeqnecuffhomhgrihhnpehfrhgvvggssh gurdhorhhgnecukfhppedufeelrdehledrudehgedrgeefnecurfgrrhgrmhepmhgrihhl fhhrohhmpehtjhesvghnohhtihdrmhgvnecuvehluhhsthgvrhfuihiivgeptd
X-ME-Proxy: <xmx:VcrTXIMmPvaiSWXrGvvR5S9HHmwAQ1il5DzhLhJh0LaqRoLTsRIxDA> <xmx:VcrTXK8VjKr5ZpB2wlbWv2j5wnEXalO7s_w0jwkBzK5KKBOFyZe9Fw> <xmx:VcrTXBfGN7u6jDrJZr7kG-3t7x_qxau-PO9mdsVMTRDInjhS7LPR-A> <xmx:VcrTXItRWxGatdFpHg5m0uVUZkliV-HxEn3Lbzze0YSjFikKqkCDig>
Received: from profitmargin (unknown [139.59.154.43]) by mail.messagingengine.com (Postfix) with ESMTPA id 941A680059; Thu, 9 May 2019 02:36:04 -0400 (EDT)
Date: Thu, 09 May 2019 06:36:02 +0000
From: Tom Jones <tj@enoti.me>
To: Loganaden Velvindron <loganaden@gmail.com>
Cc: 神明達哉 <jinmei@wide.ad.jp>, 6man WG <ipv6@ietf.org>
Subject: Re: [internet-drafts@ietf.org: New Version Notification for draft-jones-6man-historic-rfc2675-00.txt]
Message-ID: <20190509063602.GB39281@profitmargin>
References: <20190508125743.GA19360@tom-desk.erg.abdn.ac.uk> <19A018DE-280E-4400-95AC-7A3697ABE4B8@employees.org> <CAJE_bqd8PP0j63gr9yqW1+7TpZZsQMeviFHGEB1ZTXFgMLbh0g@mail.gmail.com> <CAOp4FwReRs2krw0GUU8hMBxbvWh6rdv62FD=Z0Se0kFZs1jZ9w@mail.gmail.com>
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Disposition: inline
Content-Transfer-Encoding: 8bit
In-Reply-To: <CAOp4FwReRs2krw0GUU8hMBxbvWh6rdv62FD=Z0Se0kFZs1jZ9w@mail.gmail.com>
User-Agent: Mutt/1.9.4 (2018-02-28)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/rVZaPUAFf4Tb8DwaTcfRbBSJV2U>
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, 09 May 2019 06:36:10 -0000

On Wed, May 08, 2019 at 09:34:36PM +0400, Loganaden Velvindron wrote:
> Comment in-line.
> 
> On Wed, May 8, 2019 at 9:08 PM 神明達哉 <jinmei@wide.ad.jp> wrote:
> >
> > At Wed, 8 May 2019 18:07:51 +0200,
> > Ole Troan <otroan@employees.org> wrote:
> >
> > > > We have put this together to change the status of RFC2675 to Historic
> > > > and would like to request discussion in the working group.
> > >
> > > IPv6 jumbograms was intended for some super computer inter connect with a massive MTU.
> > > I don't know of any use of it, but is it harmful if the specification is left there in place?
> > >
> > > I don't expect any implementation supporting it unless they also support data-link layers with an MTU > 64K.
> >
> > FWIW, (most if not all) BSD variants have been supporting jumbograms
> > for many years (admittedly I don't know if it's still working as
> 
> Indeed, according to this
> https://www.freebsd.org/doc/en/books/developers-handbook/ipv6.html#ipv6-jumbo
> 
> You need to re-compile the kernel to get support for it. So it's not
> shipped by default.
> 
> I think that it's worth mentioning it that in the draft.
> 

Ah, I will raise my hand and admit I hadn't seen large MTU support in
FreeBSDs loopback interface.

I have a diff for FreeBSD that removes Jumbogram support:
https://reviews.freebsd.org/D19960

As far as I can tell Jumbogram support is always built into the kernel,
interface support is probably not. 

I think more telling is the text at the bottom of that section:

	"TCP/UDP over jumbogram is not supported at this moment. This is because
	we have no medium (other than loopback) to test this. Contact us if you
	need this.

	IPsec does not work on jumbograms. This is due to some specification
	twists in supporting AH with jumbograms (AH header size influences
	payload length, and this makes it real hard to authenticate inbound
	packet with jumbo payload option as well as AH).

	There are fundamental issues in *BSD support for jumbograms. We would
	like to address those, but we need more time to finalize these. To name
	a few:

	mbuf pkthdr.len field is typed as "int" in 4.4BSD, so it will not hold
	jumbogram with len > 2G on 32bit architecture CPUs. If we would like to
	support jumbogram properly, the field must be expanded to hold 4G + IPv6
	header + link-layer header. Therefore, it must be expanded to at least
	int64_t (u_int32_t is NOT enough).

	We mistakingly use "int" to hold packet length in many places. We need
	to convert them into larger integral type. It needs a great care, as we
	may experience overflow during packet length computation.

	We mistakingly check for ip6_plen field of IPv6 header for packet
	payload length in various places. We should be checking mbuf pkthdr.len
	instead. ip6_input() will perform sanity check on jumbo payload option
	on input, and we can safely use mbuf pkthdr.len afterwards.

	TCP code needs a careful update in bunch of places, of course."

I am not sure how accurate these comments still are. It is not a great
story for Jumbogram support. If we cannot do TCP, UDP or IPSEC there is
a lot of work to do to make support more than a tick in a box.

- Tom