Re: [6MAN] draft-ietf-6man-oversized-header-chain-02 (was Re: Re: draft-ietf-6man-ext-transmit-01)

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 10 June 2013 20:12 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 EC28721F9956 for <ipv6@ietfa.amsl.com>; Mon, 10 Jun 2013 13:12:07 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -102.599
X-Spam-Level:
X-Spam-Status: No, score=-102.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, USER_IN_WHITELIST=-100]
Received: from mail.ietf.org ([12.22.58.30]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 20Cxmo+cDPLL for <ipv6@ietfa.amsl.com>; Mon, 10 Jun 2013 13:12:07 -0700 (PDT)
Received: from mail-ie0-x229.google.com (mail-ie0-x229.google.com [IPv6:2607:f8b0:4001:c03::229]) by ietfa.amsl.com (Postfix) with ESMTP id 2D4EB21F96E4 for <ipv6@ietf.org>; Mon, 10 Jun 2013 13:12:07 -0700 (PDT)
Received: by mail-ie0-f169.google.com with SMTP id 10so3964258ied.28 for <ipv6@ietf.org>; Mon, 10 Jun 2013 13:12:06 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=message-id:date:from:organization:user-agent:mime-version:to:cc :subject:references:in-reply-to:content-type :content-transfer-encoding; bh=mjw0mZNuk2SzIv/8OAJj6Rg8JpKYCxareI6GjHvj6Mo=; b=iOX9p7FBqY5FGIuKLSu/O/JVVX3Lef44ySTkhIYBCdzguOV/KUiHtn3bXSGhOdirxZ ICX4GzHIAx1R97jn27jBbrCausoktJ52TRBZ4/ttgkX27+um1a3459TtamWbzharb+5s OnTSdo2NQqwQoDQUjXIZB+r0iFls9cwKcmWi3mX21Fo17aNJPBvBBJx7ukCpxYRj1CLL C9lt0cturFmcoYHZDZ8n39G5v/gRmhZQelSi7eiRNsPZDpKK9tkyLvb43snpRvqqBFt4 ZzpZzKFtEP3PzmIMwPvbXHrTwMcgWMtXZMmn0nTN0cqAIrzVmCBFJRDvsH/E+/Su2S7C eqCQ==
X-Received: by 10.50.152.37 with SMTP id uv5mr3393035igb.13.1370895126624; Mon, 10 Jun 2013 13:12:06 -0700 (PDT)
Received: from [192.168.1.2] (118-92-62-227.dsl.dyn.ihug.co.nz. [118.92.62.227]) by mx.google.com with ESMTPSA id z6sm9929552igw.8.2013.06.10.13.12.03 for <multiple recipients> (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Mon, 10 Jun 2013 13:12:06 -0700 (PDT)
Message-ID: <51B63314.9080502@gmail.com>
Date: Tue, 11 Jun 2013 08:12:04 +1200
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
User-Agent: Thunderbird 2.0.0.6 (Windows/20070728)
MIME-Version: 1.0
To: Warren Kumari <warren@kumari.net>
Subject: Re: [6MAN] draft-ietf-6man-oversized-header-chain-02 (was Re: Re: draft-ietf-6man-ext-transmit-01)
References: <51B0B581.7020203@globis.net> <1370535649.98609.YahooMailNeo@web2805.biz.mail.ne1.yahoo.com> <51B0EC7B.1090904@si6networks.com> <51B0EED6.6020200@bogus.com> <51B0F3E6.4010006@globis.net> <51B2F59A.3090003@bogus.com> <51B4865D.2000207@si6networks.com> <51B4B216.5050205@gmail.com> <51B55698.7050307@gmail.com> <510D1209-7F9E-42AA-B790-A418CBF2959D@kumari.net>
In-Reply-To: <510D1209-7F9E-42AA-B790-A418CBF2959D@kumari.net>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
Cc: ipv6@ietf.org
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.12
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: <http://www.ietf.org/mail-archive/web/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, 10 Jun 2013 20:12:08 -0000

Why wouldn't we add a sentence in -oversized-header-chain
following this:

> 6.  Updating RFC 2460
> 
>    If an IPv6 packet is fragmented, the first fragment of that IPv6
>    packet (i.e., the fragment having a Fragment Offset of 0) MUST
>    contain the entire IPv6 header chain.


 The entire IPv6 header including the header chain SHOULD NOT exceed
 256 octets.

(or whatever magic number we decide on).

We might need some words to justify that, but they can be found
in this thread.

Regards
   Brian Carpenter

On 11/06/2013 03:03, Warren Kumari wrote:
> On Jun 10, 2013, at 12:31 AM, Brian E Carpenter <brian.e.carpenter@gmail.com> wrote:
> 
>> On 10/06/2013 04:49, Tom Taylor wrote:
>>> On 09/06/2013 9:42 AM, Fernando Gont wrote:
>> ...
>>>> I guess having a L4-pointer would have helped quite a lot.
>>>>
>>>> Cheers,
>>>>
>>> Would it be practical to define a HBH option that has an L4 pointer and
>>> assign a fixed order to it?
>> http://tools.ietf.org/html/draft-zhang-6man-offset-option-01
>>
>> It didn't fly in this WG at the time.
> 
> The issue is that, in order to be able to see header X you need to push all the bits up to header X onto the forwarding engine. Having a header that says "The L4 header is at byte 142" simply pushes the L4 out by another 8 bytes, exacerbating the problem.
> 
> This issue is:
> 1: In order to make a decision on header X the forwarding / filtering engine needs to see header X
> 2: This require pushing at least <number of bytes from start of packet to end of header X> up to the forwarding engine in a  "cell".
> 3: Bandwidth into the forwarding engine is expensive / limited, and storage on the forwarding engine is expensive (this is not DRAM ;-))
> 4: As you don't know (until you've looked) how far into the packet header X is, you need to choose some number and ship that many bytes to the forwarding engine.
> 5: Having a header that points at the L4 info doesn't help -- by the time you can see it you've already sucked the bits onto the engine. 
> 6: Having additional logic that "prescreens" the packets looking for a pointer header *could* possibly work, but that is much of the forwarding engine logic - see #3.
> 
> Choosing the optimum cell size is the tricky bit. If you increase the cell size you vastly increase cost -- if your competitors don't do the same, you've priced yourself out of the market. 
> 
> We are planning on updating the long-headers draft / publishing another "implementers guide" draft that suggests 128 or 256 bytes (as a straw man). This will hopefully be something that major vendors will sign up for.
> 
> W
> 
> 
>>   Brian
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>>
> 
> --
> It's a mistake trying to cheer up camels. You might as well drop meringues into a black hole. -- Terry Prachett
> 
> 
> .
>