Re: [rohc] IPv6 fragmentation header in RFC 3095.

Kristofer Sandlund <kristofer.sandlund@ericsson.com> Fri, 26 February 2010 07:31 UTC

Return-Path: <kristofer.sandlund@ericsson.com>
X-Original-To: rohc@core3.amsl.com
Delivered-To: rohc@core3.amsl.com
Received: from localhost (localhost [127.0.0.1]) by core3.amsl.com (Postfix) with ESMTP id 74EE428C51D for <rohc@core3.amsl.com>; Thu, 25 Feb 2010 23:31:01 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.599
X-Spam-Level:
X-Spam-Status: No, score=-2.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599]
Received: from mail.ietf.org ([64.170.98.32]) by localhost (core3.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 57uEGffxt1Sy for <rohc@core3.amsl.com>; Thu, 25 Feb 2010 23:31:00 -0800 (PST)
Received: from mailgw9.se.ericsson.net (mailgw9.se.ericsson.net [193.180.251.57]) by core3.amsl.com (Postfix) with ESMTP id 0CC2228C513 for <rohc@ietf.org>; Thu, 25 Feb 2010 23:30:59 -0800 (PST)
X-AuditID: c1b4fb39-b7c2dae000007b99-bf-4b8779376bd2
Received: from esessmw0256.eemea.ericsson.se (Unknown_Domain [153.88.253.125]) by mailgw9.se.ericsson.net (Symantec Brightmail Gateway) with SMTP id 62.B2.31641.739778B4; Fri, 26 Feb 2010 08:33:11 +0100 (CET)
Received: from ESESSCMS0359.eemea.ericsson.se ([169.254.1.67]) by esessmw0256.eemea.ericsson.se ([10.2.3.125]) with mapi; Fri, 26 Feb 2010 08:33:11 +0100
From: Kristofer Sandlund <kristofer.sandlund@ericsson.com>
To: Carl Knutsson <carl.knutsson@effnet.com>, "rohc@ietf.org" <rohc@ietf.org>
Date: Fri, 26 Feb 2010 08:33:10 +0100
Thread-Topic: [rohc] IPv6 fragmentation header in RFC 3095.
Thread-Index: Acq2HS7dtWdjyMQOS16L8XgctkLeagAl4gYg
Message-ID: <199969AEB84E9B4C883B12FC75A349E601E2BD93@ESESSCMS0359.eemea.ericsson.se>
References: <4B867618.2070503@effnet.com>
In-Reply-To: <4B867618.2070503@effnet.com>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
acceptlanguage: en-US
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
X-Brightmail-Tracker: AAAAAA==
Subject: Re: [rohc] IPv6 fragmentation header in RFC 3095.
X-BeenThere: rohc@ietf.org
X-Mailman-Version: 2.1.9
Precedence: list
List-Id: Robust Header Compression <rohc.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=unsubscribe>
List-Archive: <http://www.ietf.org/mail-archive/web/rohc>
List-Post: <mailto:rohc@ietf.org>
List-Help: <mailto:rohc-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/rohc>, <mailto:rohc-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 26 Feb 2010 07:31:01 -0000

Hi Calle,

I mostly agree, but I *think* we partially closed that hole with RFC4815:

5.4.  Headers Compressed with List Compression

   In RFC 3095-Section 5.8, it states that headers that can be part of
   extension header chains "include" AH [14], ESP NULL [13], minimal
   encapsulation (MINE) [15], GRE [16][17], and IPv6 [9] extensions.
   This list of headers that can be compressed is correct, but the word
   "include" should not be there, since only the header types listed can
   actually be handled.  It should further be noted that for the Minimal
   Encapsulation (MINE) header, there is no explicit discussion of how
   to compress it, as the header is sent either uncompressed or fully
   compressed away.

So, IMO the option of compressing "future IPv6 extension headers" seems closed as the refrence [9] is to RFC2460 only.

W.r.t. the v6 fragmentation header, the only place it is mentioned is in 4.5.5 of RFC3095 (the IP-ID offset encoding section), which says:

   There is no
   explicit support in ROHC for the IPv6 fragmentation header, so there
   is never a need to discuss IP IDs outside the context of IPv4.

So that probably tells us that the plan was to exclude the frag header from ROHC, but it must have been forgotten along the way.

Therefore, it seems appropriate to add an errata to completely ban compression of the IPv6 fragmentation header as it obviously doesn't work for some length fields with INFERRED classification. And as you also state, it would be silly to compress it even if it did work for all profiles.

BR,
  Kristofer

Carl Knutsson wrote:
> Hi all,
> 
> I have assumed that ROHC (RFC 3095) didn't support compression of
> fragments at all. If I read the RFC today it is clear that all IPv6
> extension headers are supported by RFC 3095, including the IPv6
> Fragment header. As the RFC is written, all future IPv6 extension
> headers should also be supported by an RFC 3095 implementation.
> 
> As it turns out, the list compression of IPv6 fragmentation is broken
> for the RTP and UDP profiles. It is impossible to infer the UDP length
> field from a single fragment. It is probably broken for the
> UDP and RTP
> lite profiles as well (haven't checked).
> 
> There is also an issue regarding how to handle list compression of a
> header chain with both IPv6 fragmentation and ESP null. The ESP null
> trailer is compressed using RFC 3095 list compression. There
> is at least
> a need for additional instructions on how to handle this.
> 
> The IPv6 Fragment header issue clearly shows the weakness of the
> generic IPv6 extension header support. Since no IPv6 extension headers
> are explicitly specified, it means that an implementation must support
> any and all future IPv6 extension headers that the IETF community may
> come up with, without requiring a ROHC profile version bump. The issue
> with the IPv6 Fragment header shows that we cannot guarantee that list
> compression of future IPv6 extension headers will work as described
> in RFC 3095. 
> 
> I suggest that we file an errata to RFC 3095 that:
> 
> 1) forbids list compression of the IPv6 Fragment header.
> 2) explicitly list all IPv6 extension headers that can be
> compressed by
> RFC 3095.
> 
> I also want to add that the gains of compressing IPv6
> fragment, even for
> ROHC-IP, is quite small in most cases due the optimistic approach and
> changing nature of the identification field. Most of these
> packets will
> be sent as an UOR-2-Ext3 with a compressed list containing a full
> copy of the IPv6 Fragment header. 
> 
> cheers,
> 
> /Carl Knutsson
> _______________________________________________
> Rohc mailing list
> Rohc@ietf.org
> https://www.ietf.org/mailman/listinfo/rohc