
From wcang@nav6.org  Fri May  1 20:52:12 2009
Return-Path: <wcang@nav6.org>
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 644973A69A8 for <rohc@core3.amsl.com>; Fri,  1 May 2009 20:52:12 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, OBSCURED_EMAIL=0.001]
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 kBm67OM1kGhr for <rohc@core3.amsl.com>; Fri,  1 May 2009 20:52:11 -0700 (PDT)
Received: from nav6.org (mail.nav6.org [219.93.2.80]) by core3.amsl.com (Postfix) with ESMTP id C1E533A6B16 for <rohc@ietf.org>; Fri,  1 May 2009 20:51:44 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by nav6.org (Postfix) with ESMTP id 0E5A81D600F4 for <rohc@ietf.org>; Sat,  2 May 2009 00:09:06 +0000 (UTC)
X-Virus-Scanned: amavisd-new at nav6.org
Received: from [10.207.161.199] (unknown [10.207.161.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by nav6.org (Postfix) with ESMTP id 6C3281D600EA for <rohc@ietf.org>; Sat,  2 May 2009 08:09:00 +0800 (MYT)
Message-ID: <49FBC390.5020408@nav6.org>
Date: Sat, 02 May 2009 11:52:48 +0800
From: Ang Way Chuang <wcang@nav6.org>
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
MIME-Version: 1.0
To: rohc@ietf.org
Content-Type: text/plain; charset=UTF-8; format=flowed
Content-Transfer-Encoding: 7bit
Subject: [rohc] Determining p value for WLSB of RTP SN.
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: Sat, 02 May 2009 03:52:12 -0000

Dear ROHC list subscribers,

According to section 5.7 of RFC 3095:
    SN: The compressed RTP Sequence Number.

        Compressed with W-LSB.  The interpretation intervals, see section
        4.5.1, are defined as follows:

             p = 1                   if bits(SN) <= 4
             p = 2^(bits(SN)-5) - 1  if bits(SN) >  4

    where bits(x) is the number of bits in the compressed header.

At first, when I read that the change in the value of p depends on
bits(SN), I was very perplexed. If the algorithm determines k <= 4 can
be used, but due to other factors packet type that is to be used only
have bits(SN) > 4, then we may have problem with the following situation:

Say, compressor receives reordered RTP, then:
vref_c = 32
val = 31
then k=1 is more than enough to cover val because the interpretation
interval is
[32 - 1, 32 + (2 - 1) - 1 ] = [31, 32]

But if the packet type only have bits(SN) = 5, then we are screwed:
[32 - (2^0 - 1), 32 + 2^5 - 1 - (2^0 - 1)] = [32, 63]

31 is not covered!!
Thus, the logic for getting k for SN becomes very hairy because it has
to take care of this situation. k > 5 are okay because whatever the
interpretation interval for these k bits are superset of interpretation
interval for k <= 4.

But when I look at all packet types for RTP, none of them has bits(SN)
== 5. Thus, I assume that whatever calculated k bit of SN are generally
safe to be expanded to the available bits(SN). Is my understanding on
this matter correct? Do tell me if I get it wrong or miss out something
important.

Thank you in advance.

Regards,
Ang Way Chuang



From callek@ludd.ltu.se  Sat May  2 10:53:40 2009
Return-Path: <callek@ludd.ltu.se>
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 55F2B3A6BAA for <rohc@core3.amsl.com>; Sat,  2 May 2009 10:53:40 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.248
X-Spam-Level: 
X-Spam-Status: No, score=-2.248 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_SE=0.35, OBSCURED_EMAIL=0.001]
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 Gco7MnYJ6q08 for <rohc@core3.amsl.com>; Sat,  2 May 2009 10:53:39 -0700 (PDT)
Received: from mother.ludd.ltu.se (mother.ludd.ltu.se [130.240.16.3]) by core3.amsl.com (Postfix) with ESMTP id 3FEBD3A69A0 for <rohc@ietf.org>; Sat,  2 May 2009 10:53:38 -0700 (PDT)
Received: from brother.ludd.ltu.se (callek@brother.ludd.ltu.se [130.240.16.78]) by mother.ludd.ltu.se (8.13.6+Sun/8.12.10) with ESMTP id n42Ht0bV011254; Sat, 2 May 2009 19:55:01 +0200 (MEST)
Date: Sat, 2 May 2009 19:55:00 +0200 (MEST)
From: Carl Knutsson <callek@ludd.ltu.se>
To: Ang Way Chuang <wcang@nav6.org>
In-Reply-To: <49FBC390.5020408@nav6.org>
Message-ID: <Pine.GSO.4.58.0905021809440.8301@brother.ludd.ltu.se>
References: <49FBC390.5020408@nav6.org>
MIME-Version: 1.0
Content-Type: TEXT/PLAIN; charset=US-ASCII
Cc: rohc@ietf.org
Subject: Re: [rohc] Determining p value for WLSB of RTP SN.
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: Sat, 02 May 2009 17:53:40 -0000

You are correct, the interpretation interval for k=5 doesn't cover
the whole interpretation interval for k=4.

This have been discussed before on the rohc list. Please search the
mailing list archive for more information about this issue.

Colorful language by the way..

/Calle

On Sat, 2 May 2009, Ang Way Chuang wrote:

> Dear ROHC list subscribers,
>
> According to section 5.7 of RFC 3095:
>     SN: The compressed RTP Sequence Number.
>
>         Compressed with W-LSB.  The interpretation intervals, see section
>         4.5.1, are defined as follows:
>
>              p = 1                   if bits(SN) <= 4
>              p = 2^(bits(SN)-5) - 1  if bits(SN) >  4
>
>     where bits(x) is the number of bits in the compressed header.
>
> At first, when I read that the change in the value of p depends on
> bits(SN), I was very perplexed. If the algorithm determines k <= 4 can
> be used, but due to other factors packet type that is to be used only
> have bits(SN) > 4, then we may have problem with the following situation:
>
> Say, compressor receives reordered RTP, then:
> vref_c = 32
> val = 31
> then k=1 is more than enough to cover val because the interpretation
> interval is
> [32 - 1, 32 + (2 - 1) - 1 ] = [31, 32]
>
> But if the packet type only have bits(SN) = 5, then we are screwed:
> [32 - (2^0 - 1), 32 + 2^5 - 1 - (2^0 - 1)] = [32, 63]
>
> 31 is not covered!!
> Thus, the logic for getting k for SN becomes very hairy because it has
> to take care of this situation. k > 5 are okay because whatever the
> interpretation interval for these k bits are superset of interpretation
> interval for k <= 4.
>
> But when I look at all packet types for RTP, none of them has bits(SN)
> == 5. Thus, I assume that whatever calculated k bit of SN are generally
> safe to be expanded to the available bits(SN). Is my understanding on
> this matter correct? Do tell me if I get it wrong or miss out something
> important.
>
> Thank you in advance.
>
> Regards,
> Ang Way Chuang
>
>
> _______________________________________________
> Rohc mailing list
> Rohc@ietf.org
> https://www.ietf.org/mailman/listinfo/rohc
>

From wcang@nav6.org  Sat May  2 19:44:29 2009
Return-Path: <wcang@nav6.org>
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 0FC333A6D0A for <rohc@core3.amsl.com>; Sat,  2 May 2009 19:44:29 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.598
X-Spam-Level: 
X-Spam-Status: No, score=-2.598 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, OBSCURED_EMAIL=0.001]
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 i69823Nb4gKT for <rohc@core3.amsl.com>; Sat,  2 May 2009 19:44:28 -0700 (PDT)
Received: from nav6.org (nav6.org [219.93.2.80]) by core3.amsl.com (Postfix) with ESMTP id 92D513A6837 for <rohc@ietf.org>; Sat,  2 May 2009 19:44:27 -0700 (PDT)
Received: from localhost (unknown [127.0.0.1]) by nav6.org (Postfix) with ESMTP id 6F9DD1D6009F; Sun,  3 May 2009 02:45:50 +0000 (UTC)
X-Virus-Scanned: amavisd-new at nav6.org
Received: from [10.207.161.199] (unknown [10.207.161.199]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by nav6.org (Postfix) with ESMTP id B7E8F1D6012E; Sun,  3 May 2009 10:45:40 +0800 (MYT)
Message-ID: <49FD0551.5060307@nav6.org>
Date: Sun, 03 May 2009 10:45:37 +0800
From: Ang Way Chuang <wcang@nav6.org>
User-Agent: Thunderbird 2.0.0.21 (X11/20090318)
MIME-Version: 1.0
To: Carl Knutsson <callek@ludd.ltu.se>
References: <49FBC390.5020408@nav6.org> <Pine.GSO.4.58.0905021809440.8301@brother.ludd.ltu.se>
In-Reply-To: <Pine.GSO.4.58.0905021809440.8301@brother.ludd.ltu.se>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: rohc@ietf.org
Subject: Re: [rohc] Determining p value for WLSB of RTP SN.
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: Sun, 03 May 2009 02:44:29 -0000

Carl Knutsson wrote:
> You are correct, the interpretation interval for k=5 doesn't cover
> the whole interpretation interval for k=4.

Thank you very much.

> 
> This have been discussed before on the rohc list. Please search the
> mailing list archive for more information about this issue.

I tried to search through the mailing list before posting here, but 
couldn't find any relevant entry. Guess I didn't use the right keyword 
to search.

> 
> Colorful language by the way..
> 

Eh... sorry about that :)

> /Calle
> 
> On Sat, 2 May 2009, Ang Way Chuang wrote:
> 
>> Dear ROHC list subscribers,
>>
>> According to section 5.7 of RFC 3095:
>>     SN: The compressed RTP Sequence Number.
>>
>>         Compressed with W-LSB.  The interpretation intervals, see section
>>         4.5.1, are defined as follows:
>>
>>              p = 1                   if bits(SN) <= 4
>>              p = 2^(bits(SN)-5) - 1  if bits(SN) >  4
>>
>>     where bits(x) is the number of bits in the compressed header.
>>
>> At first, when I read that the change in the value of p depends on
>> bits(SN), I was very perplexed. If the algorithm determines k <= 4 can
>> be used, but due to other factors packet type that is to be used only
>> have bits(SN) > 4, then we may have problem with the following situation:
>>
>> Say, compressor receives reordered RTP, then:
>> vref_c = 32
>> val = 31
>> then k=1 is more than enough to cover val because the interpretation
>> interval is
>> [32 - 1, 32 + (2 - 1) - 1 ] = [31, 32]
>>
>> But if the packet type only have bits(SN) = 5, then we are screwed:
>> [32 - (2^0 - 1), 32 + 2^5 - 1 - (2^0 - 1)] = [32, 63]
>>
>> 31 is not covered!!
>> Thus, the logic for getting k for SN becomes very hairy because it has
>> to take care of this situation. k > 5 are okay because whatever the
>> interpretation interval for these k bits are superset of interpretation
>> interval for k <= 4.
>>
>> But when I look at all packet types for RTP, none of them has bits(SN)
>> == 5. Thus, I assume that whatever calculated k bit of SN are generally
>> safe to be expanded to the available bits(SN). Is my understanding on
>> this matter correct? Do tell me if I get it wrong or miss out something
>> important.
>>
>> Thank you in advance.
>>
>> Regards,
>> Ang Way Chuang
>>
>>
>> _______________________________________________
>> Rohc mailing list
>> Rohc@ietf.org
>> https://www.ietf.org/mailman/listinfo/rohc
>>
> _______________________________________________
> Rohc mailing list
> Rohc@ietf.org
> https://www.ietf.org/mailman/listinfo/rohc
> 


From karthikbalaguru79@gmail.com  Mon May  4 05:52:28 2009
Return-Path: <karthikbalaguru79@gmail.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 721BA3A6CB2 for <rohc@core3.amsl.com>; Mon,  4 May 2009 05:52:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.391
X-Spam-Level: 
X-Spam-Status: No, score=-1.391 tagged_above=-999 required=5 tests=[AWL=-1.207, BAYES_40=-0.185, HTML_MESSAGE=0.001]
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 G2vq2AZs3zNu for <rohc@core3.amsl.com>; Mon,  4 May 2009 05:52:27 -0700 (PDT)
Received: from wf-out-1314.google.com (wf-out-1314.google.com [209.85.200.174]) by core3.amsl.com (Postfix) with ESMTP id 680C23A67C0 for <rohc@ietf.org>; Mon,  4 May 2009 05:52:27 -0700 (PDT)
Received: by wf-out-1314.google.com with SMTP id 29so3224971wff.31 for <rohc@ietf.org>; Mon, 04 May 2009 05:53:51 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=00SWHZUd/Oqjn4efakQ527D510pOfwvXocsmg8Db1XE=; b=l53to1xOOeysiEuX05OAwFnGKsLWMMMZ4LPNrV1kYxY0yUdYmWxItdZzMJaYFdIeFP SqFa5oJGQ4v+OdHLD385k3ts504Zfo9IJZVesL/MoHIlLYCrIw+V/UUq+xv7+SFBKbY3 mH8gcUNTi2jkUzh0AvHx9K9YGkuNakdv8Lneo=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=tXdLZ9UY7bxpVCF3go5Qem+piLonLXjSh1czOKqvaAGfp4wudTB7UgTYmWMSjEdwyL 1Zk2Ql1e9ybTzJOzTjqGne5U8LSePbE249kie3DdsbqfpRsF2Ih3qbejr++5QPzcYoSI Q4upYZRr6U0IgBHSVKWfezxJMO0tsB+W+oFtw=
MIME-Version: 1.0
Received: by 10.142.157.9 with SMTP id f9mr2154907wfe.25.1241441630929; Mon,  04 May 2009 05:53:50 -0700 (PDT)
Date: Mon, 4 May 2009 18:23:50 +0530
Message-ID: <53b627ea0905040553u13260f68w51e29a448cf365a5@mail.gmail.com>
From: Karthik Balaguru <karthikbalaguru79@gmail.com>
To: rohc@ietf.org
Content-Type: multipart/alternative; boundary=000e0cd2de466bc859046915a72f
Subject: [rohc] 0xE0 and 0x07 - CRC
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: Mon, 04 May 2009 12:52:28 -0000

--000e0cd2de466bc859046915a72f
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Hi,

Is it mandatory to use 0xE0 based CRC for 8-bit IR/IR-DYN CRC ?
If it is mandatory, why is '0xE0' opted instead of '0x07' ?

I got an online evaluation tool for 0x07 -
http://www.usstmba.cn/chenjq/www2/software/crc/CRC_Javascript/CRC8calculation0b.htm

Is there any online evaluation tool for 0xE0 ?

Thx in advans,
Karthik Balaguru

--000e0cd2de466bc859046915a72f
Content-Type: text/html; charset=ISO-8859-1
Content-Transfer-Encoding: quoted-printable

Hi,<br><br>Is it mandatory to use 0xE0 based CRC for 8-bit IR/IR-DYN CRC ?<=
br>If it is mandatory, why is &#39;0xE0&#39; opted instead of &#39;0x07&#39=
; ?<br><br>I got an online evaluation tool for 0x07 -<br><a href=3D"http://=
www.usstmba.cn/chenjq/www2/software/crc/CRC_Javascript/CRC8calculation0b.ht=
m">http://www.usstmba.cn/chenjq/www2/software/crc/CRC_Javascript/CRC8calcul=
ation0b.htm</a><br>
<br>Is there any online evaluation tool for 0xE0 ?<br><br>Thx in advans,<br=
>Karthik Balaguru

--000e0cd2de466bc859046915a72f--

From cabo@tzi.org  Mon May  4 07:08:34 2009
Return-Path: <cabo@tzi.org>
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 170BC3A6FFC for <rohc@core3.amsl.com>; Mon,  4 May 2009 07:08:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 YWvG3mPMqi0d for <rohc@core3.amsl.com>; Mon,  4 May 2009 07:08:33 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9:209:3dff:fe00:7136]) by core3.amsl.com (Postfix) with ESMTP id B3A5A3A6C5F for <rohc@ietf.org>; Mon,  4 May 2009 07:08:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id n44E9ksm024595; Mon, 4 May 2009 16:09:46 +0200 (CEST)
Received: from [192.168.217.107] (p5489F027.dip.t-dialin.net [84.137.240.39]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTP id 807CF1704D6; Mon,  4 May 2009 16:09:46 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
To: Karthik Balaguru <karthikbalaguru79@gmail.com>
In-Reply-To: <53b627ea0905040553u13260f68w51e29a448cf365a5@mail.gmail.com>
References: <53b627ea0905040553u13260f68w51e29a448cf365a5@mail.gmail.com>
Message-Id: <FB3F8F7B-DCE3-4E1D-B0B6-8CCA94F9FB20@tzi.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v930.3)
Date: Mon, 4 May 2009 16:09:45 +0200
X-Mailer: Apple Mail (2.930.3)
Cc: rohc@ietf.org
Subject: Re: [rohc] 0xE0 and 0x07 - CRC
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: Mon, 04 May 2009 14:08:34 -0000

On May 4, 2009, at 14:53, Karthik Balaguru wrote:

> Is it mandatory to use 0xE0 based CRC for 8-bit IR/IR-DYN CRC ?
> If it is mandatory, why is '0xE0' opted instead of '0x07' ?

Because that's what we agreed on after a lot of confusion during ROHC  
interop testing.
See RFC 4815, section 2 and appendix A.

> I got an online evaluation tool for 0x07 -
> http://www.usstmba.cn/chenjq/www2/software/crc/CRC_Javascript/CRC8calculation0b.htm
>
> Is there any online evaluation tool for 0xE0 ?

It's not online, but you can run it on your computer:
You could use the code I wrote during the first ROHC interop; it is in  
appendix A of RFC 4815.
(That code also should be easy to translate to $LANGUAGE.)

Gruesse, Carsten


From magnus.westerlund@ericsson.com  Thu May 14 09:07:38 2009
Return-Path: <magnus.westerlund@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 6D7593A7015 for <rohc@core3.amsl.com>; Thu, 14 May 2009 09:07:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.183
X-Spam-Level: 
X-Spam-Status: No, score=-6.183 tagged_above=-999 required=5 tests=[AWL=0.066,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 4WwIuvdOGTc5 for <rohc@core3.amsl.com>; Thu, 14 May 2009 09:07:37 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 367123A6F1E for <rohc@ietf.org>; Thu, 14 May 2009 09:07:37 -0700 (PDT)
X-AuditID: c1b4fb3e-b7b8fae000000a4a-5c-4a0c4219b7fe
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 99.B0.02634.9124C0A4; Thu, 14 May 2009 18:08:57 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 14 May 2009 18:08:57 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 14 May 2009 18:08:57 +0200
Message-ID: <4A0C4219.4080900@ericsson.com>
Date: Thu, 14 May 2009 18:08:57 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: rohc@ietf.org, draft-ietf-rohc-hcoipsec@tools.ietf.org
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 14 May 2009 16:08:57.0344 (UTC) FILETIME=[4926B000:01C9D4AE]
X-Brightmail-Tracker: AAAAAA==
Subject: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Thu, 14 May 2009 16:07:38 -0000

Hi,

I have now reviewed the three documents in the ROHC over IPsec solution.
I will comment here on some high level issues that may require document
updates, however not necessarily in this document. Please consider if
the fix is more appropriate in any of the other two documents.

1. I find there is a lack of discussion of how to handle Path MTU for
these ROHC inside of a IPsec SA. The issue to me is the variable size
compressed packet. That makes the actual MTU seen on the ingress of the
processing to jump up and down depending on what type of ROHC packet is
created for a particular packet. To me it appears that the MTU with ROHC
enabled in a IPsec SA is less than without ROHC when sending IR.

There must be some discussion about this issue. How it affects path MTU
discovery, what to do about it so that one don't get spurious IP
fragmentation or MTU losses for packets with DF bit set.

2. I understand that one the negotiation mechanism is sufficient to
ensure that the decompressor doesn't get a profile or more CID then it
can handle. However, wouldn't it be suitable to recommend at least some
basic set of functionality that is mandatory to support to ensure better
interoperability and minimal achieved functionality.

3. When I read this document I get the impression that it would be
suitable to be published as a proposed standard because it defines so
much how things shall interact. So can you please motivate why you think
Informational is more suitable?

4. Section 6.

The Next Header field of the security protocol header
   (e.g., ESP, AH) is populated with a "ROHC" identifier,

Considering that you are having so much other references, why not a
reference to where this one is defined? Also should it not say: ...
"ROHC" protocol number?


cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Thu May 14 09:07:42 2009
Return-Path: <magnus.westerlund@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 984F83A6F7E for <rohc@core3.amsl.com>; Thu, 14 May 2009 09:07:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.184
X-Spam-Level: 
X-Spam-Status: No, score=-6.184 tagged_above=-999 required=5 tests=[AWL=0.065,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 gR3-eNfY4o9I for <rohc@core3.amsl.com>; Thu, 14 May 2009 09:07:41 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 445AB3A6F1E for <rohc@ietf.org>; Thu, 14 May 2009 09:07:41 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bc6ae0000009e3-b9-4a0c421e19aa
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 6A.19.02531.E124C0A4; Thu, 14 May 2009 18:09:02 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 14 May 2009 18:09:01 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 14 May 2009 18:09:01 +0200
Message-ID: <4A0C421C.8000803@ericsson.com>
Date: Thu, 14 May 2009 18:09:00 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: draft-ietf-rohc-ipsec-extensions-hcoipsec@tools.ietf.org,  rohc@ietf.org
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 14 May 2009 16:09:01.0040 (UTC) FILETIME=[4B5AA700:01C9D4AE]
X-Brightmail-Tracker: AAAAAA==
Subject: [rohc] AD comments on draft-ietf-rohc-ipsec-extensions-hcoipsec-04
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: Thu, 14 May 2009 16:07:42 -0000

Hi

My comments on the IPsec extensions.

Section 3.1:

Shouldn't it be discussed when this protocol number is appropriate to be
used. To me it appears that some requirements need to be fulfilled
before one uses it on a particular layer. Running ROHC straight on top
of IPv6 for example seems like a bad idea in most case due to such
considerations as security and denial of service for the decompressor,
the multi-hop environment, and lack of clear logical channel.


Section 3.2.1:

I think the language in this section could be benefit from being written
in active tense saying what to do, rather than what happens. Especially
when we comes to bullets like:

      The decompressed packet is used with the integrity algorithm (and
      its respective key) to compute a ROHC ICV that is compared to the
      appended ICV (if these two values differ, the packet is dropped)

The second parenthesis seems to be a very hard requirement because
otherwise the ROHCoIPsec solution doesn't have a clear integrity
preserving property.

Section 3.2.1:

What ICV algorithms and key lengths must be supported in the
implementations? This is to ensure that there are at least one algorithm
 and key length that are supported by everyone.


Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Thu May 14 09:07:43 2009
Return-Path: <magnus.westerlund@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 45B913A6F7E for <rohc@core3.amsl.com>; Thu, 14 May 2009 09:07:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.184
X-Spam-Level: 
X-Spam-Status: No, score=-6.184 tagged_above=-999 required=5 tests=[AWL=0.065,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 rDhih5Ge-fKR for <rohc@core3.amsl.com>; Thu, 14 May 2009 09:07:42 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 21F1D3A6FB0 for <rohc@ietf.org>; Thu, 14 May 2009 09:07:41 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bc6ae0000009e3-be-4a0c4222ae29
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id DA.19.02531.2224C0A4; Thu, 14 May 2009 18:09:06 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 14 May 2009 18:09:06 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Thu, 14 May 2009 18:09:05 +0200
Message-ID: <4A0C4221.1090302@ericsson.com>
Date: Thu, 14 May 2009 18:09:05 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: rohc@ietf.org,  draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 14 May 2009 16:09:05.0690 (UTC) FILETIME=[4E202FA0:01C9D4AE]
X-Brightmail-Tracker: AAAAAA==
Subject: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Thu, 14 May 2009 16:07:43 -0000

Hi,

Here are some comments on this spec.

Section 2.1.2

Maximum Context Identifier (MAX_CID, AF = 1)
      The MAX_CID attribute is a mandatory attribute.  Exactly one
      MAX_CID attribute must be sent.  The MAX_CID field indicates the
      maximum value of a context Identifier supported by the ROHCoIPsec
      decompressor.  This attribute value is two octets in length.  The

Ertekin, et al.          Expires August 6, 2009                 [Page 5]
Internet-Draft   IKEv2 Extensions to Support ROHCoIPsec    February 2009

      range of values for MAX_CID must be at least 0 and at most 16383
      (the value 0 implies having one context).  The recipient of the
      MAX_CID Attribute must only use up to MAX_CID context identifiers
      for compression.

      Suggested value: 15

The suggested value seems to me to be highly variable depending on
particular usage. Therefore this value should be put in a context on
where it is suitable. Also, is this a minimal required or simply a
recommendation.


2. Section 2.1.2:

ROHC Profile (ROHC_PROFILE, AF = 1)
      The ROHC_PROFILE attribute is a mandatory attribute.  At least one
      ROHC_PROFILE attribute(s) must be sent.  A ROHC_PROFILE attribute
      contains a two-octet profile supported by the ROHCoIPsec
      decompressor.  The recipient of a ROHC_PROFILE attribute(s) must
      only use the profile(s) proposed for compression.

Unclear formulation regarding the usage of many attributes. To me one
could be clearer and say something like. One or more ROHC Profile
attributes provides a list of all supported profiles by the
decompressor. The order is arbitrary.


3. Section 2.1.2: Required to support algorithm? Can you please clarify
which algorithm are required to be supported for interoperability.

4. Section 2.1.2: "
      1.  The key for this Integrity Algorithm is computed using the
          same method as is used to compute IPsec's Integrity Algorithm
          key ([IKEV2], Section 2.17)."

If I interpret this text and read 2.17 I get the impression that you are
saying that one should use the same key as the one generated for the SA
within one is operating. Is that the correct interpretation?


5. Section 2.1.2: How and when is the ROHC ICV re-keyed? And if not,
please say so explicitly. If the key i changed, how is that coordinated
with the actual datapackets? SPI?


Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From cabo@tzi.org  Sat May 16 12:10:28 2009
Return-Path: <cabo@tzi.org>
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 91ADD3A6E7A for <rohc@core3.amsl.com>; Sat, 16 May 2009 12:10:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 sMFXrcIX+d8v for <rohc@core3.amsl.com>; Sat, 16 May 2009 12:10:27 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [134.102.201.18]) by core3.amsl.com (Postfix) with ESMTP id 683A83A7130 for <rohc@ietf.org>; Sat, 16 May 2009 12:10:27 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id n4GJBRjl013807; Sat, 16 May 2009 21:11:27 +0200 (CEST)
Received: from [192.168.217.107] (p5489B4FD.dip.t-dialin.net [84.137.180.253]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTP id CC0D11704D6; Sat, 16 May 2009 21:11:26 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
In-Reply-To: <4A0C4219.4080900@ericsson.com>
References: <4A0C4219.4080900@ericsson.com>
Message-Id: <3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Sat, 16 May 2009 21:11:20 +0200
X-Mailer: Apple Mail (2.935.3)
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Sat, 16 May 2009 19:10:28 -0000

On May 14, 2009, at 18:08, Magnus Westerlund wrote:

> 1. I find there is a lack of discussion of how to handle Path MTU for
> these ROHC inside of a IPsec SA. The issue to me is the variable size
> compressed packet. That makes the actual MTU seen on the ingress of  
> the
> processing to jump up and down depending on what type of ROHC packet  
> is
> created for a particular packet. To me it appears that the MTU with  
> ROHC
> enabled in a IPsec SA is less than without ROHC when sending IR.
>
> There must be some discussion about this issue. How it affects path  
> MTU
> discovery, what to do about it so that one don't get spurious IP
> fragmentation or MTU losses for packets with DF bit set.

Magnus,

thank you for the quite thorough review of the ROHCoIPsec documents.

Let me focus on this one comment right now as it is quite dear to my  
heart.
I definitely agree that the MTU variability caused by header  
compression merits discussion.
(I'm just now running into a different manifestation of it in 6lowpan.)

I'm just not sure the discussion should be done as part of ROHCoIPsec.
There are other applications of header compression in tunnels, e.g.  
4901, 4170.
As I mentioned, adaptation layers also might run into problems here;  
I'm not even sure basic ROHC (3095/5225) is immune to this problem if  
there are relevant MTU restrictions coming from L2 (normally, PPP has  
a larger MTU than Ethernet and so we just don't notice).

I'd prefer to have this discussion in a more general form.
This would probably involve (PL)PMTUD experts and HC experts, both  
from ROHC and maybe from INT WGs such as 6lowpan.
Clearly, there is enough related work about tunnels in TSVWG right now.

I would change my mind if there was something specific that ROHCoIPsec  
can do that does not apply to the other versions of this issue, but  
right now I'm lacking imagination what that could be.

Gruesse, Carsten


From kivinen@iki.fi  Mon May 18 05:45:03 2009
Return-Path: <kivinen@iki.fi>
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 E210A28C240 for <rohc@core3.amsl.com>; Mon, 18 May 2009 05:45:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level: 
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.043,  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 NFI3F86gq9ar for <rohc@core3.amsl.com>; Mon, 18 May 2009 05:44:58 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 3BFF428C28D for <rohc@ietf.org>; Mon, 18 May 2009 05:44:57 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.13.8) with ESMTP id n4ICkSjt006001 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 May 2009 15:46:28 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id n4ICkR89009299; Mon, 18 May 2009 15:46:27 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18961.22691.299070.123086@fireball.kivinen.iki.fi>
Date: Mon, 18 May 2009 15:46:27 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
In-Reply-To: <4A0C4221.1090302@ericsson.com>
References: <4A0C4221.1090302@ericsson.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 11 min
X-Total-Time: 13 min
Cc: rohc@ietf.org, draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org
Subject: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Mon, 18 May 2009 12:45:04 -0000

Magnus Westerlund writes:
> 3. Section 2.1.2: Required to support algorithm? Can you please clarify
> which algorithm are required to be supported for interoperability.

I would expect they would be same as in IKEv2 in general i.e. RFC
4307 (MUST for AUTH_HMAC_SHA1_96, SHOULD+ for AUTH_AES_XCBC_96, and
MAY for AUTH_HMAC_MD5_96). I think this probably should be explictly
mentioned.

> 4. Section 2.1.2: "
>       1.  The key for this Integrity Algorithm is computed using the
>           same method as is used to compute IPsec's Integrity Algorithm
>           key ([IKEV2], Section 2.17)."
> 
> If I interpret this text and read 2.17 I get the impression that you are
> saying that one should use the same key as the one generated for the SA
> within one is operating. Is that the correct interpretation?

Same keying material, different parts of it. Section 2.17 defines that
keying material is generated as follows:

      KEYMAT = prf+(SK_d, Ni | Nr)

(or slightly different way if Diffie-Hellman was done).

Then it says that this KEYMAT is split to different keys used for the
child SA and gives explicit rules how the key is split:
----------------------------------------------------------------------
   Keying material MUST be taken from the expanded KEYMAT in the
   following order:

      All keys for SAs carrying data from the initiator to the responder
      are taken before SAs going in the reverse direction.

      If multiple IPsec protocols are negotiated, keying material is
      taken in the order in which the protocol headers will appear in
      the encapsulated packet.

      If a single protocol has both encryption and authentication keys,
      the encryption key is taken from the first octets of KEYMAT and
      the authentication key is taken from the next octets.
----------------------------------------------------------------------

I.e. the KEYMAT used to generate the keys are same, but different
bytes are used for the different keys in for example following order:

	* initiator -> responder ESP encryption key
	* initiator -> responder ESP authentication key
	* initiator -> responder ROHC authentication key
	* responder -> initiator ESP encryption key
	* responder -> initiator ESP authentication key
	* responder -> initiator ROHC authentication key

> 5. Section 2.1.2: How and when is the ROHC ICV re-keyed? And if not,
> please say so explicitly. If the key i changed, how is that coordinated
> with the actual datapackets? SPI?

I would expect it to be same way as IPsec SA is generally rekeyed,
i.e. when the IPsec SA is rekeyed, it gets new SPI and new keying
material.
-- 
kivinen@iki.fi

From magnus.westerlund@ericsson.com  Mon May 18 06:04:10 2009
Return-Path: <magnus.westerlund@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 033B93A6F2C for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:04:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 a2mIglh+qa4M for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:04:09 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id A3DA53A6D0F for <rohc@ietf.org>; Mon, 18 May 2009 06:04:08 -0700 (PDT)
X-AuditID: c1b4fb3e-b7babae000000a46-3b-4a115d26e11e
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 94.56.02630.62D511A4; Mon, 18 May 2009 15:05:42 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.171]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:05:42 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:05:42 +0200
Message-ID: <4A115D25.4010703@ericsson.com>
Date: Mon, 18 May 2009 15:05:41 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Tero Kivinen <kivinen@iki.fi>
References: <4A0C4221.1090302@ericsson.com> <18961.22691.299070.123086@fireball.kivinen.iki.fi>
In-Reply-To: <18961.22691.299070.123086@fireball.kivinen.iki.fi>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 18 May 2009 13:05:42.0138 (UTC) FILETIME=[592665A0:01C9D7B9]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Mon, 18 May 2009 13:04:10 -0000

Hi Tero,

Thanks for the answers. See inline.

Tero Kivinen skrev:
> Magnus Westerlund writes:
>> 3. Section 2.1.2: Required to support algorithm? Can you please clarify
>> which algorithm are required to be supported for interoperability.
> 
> I would expect they would be same as in IKEv2 in general i.e. RFC
> 4307 (MUST for AUTH_HMAC_SHA1_96, SHOULD+ for AUTH_AES_XCBC_96, and
> MAY for AUTH_HMAC_MD5_96). I think this probably should be explictly
> mentioned.

Ok

> 
>> 4. Section 2.1.2: "
>>       1.  The key for this Integrity Algorithm is computed using the
>>           same method as is used to compute IPsec's Integrity Algorithm
>>           key ([IKEV2], Section 2.17)."
>>
>> If I interpret this text and read 2.17 I get the impression that you are
>> saying that one should use the same key as the one generated for the SA
>> within one is operating. Is that the correct interpretation?
> 
> Same keying material, different parts of it. Section 2.17 defines that
> keying material is generated as follows:
> 
>       KEYMAT = prf+(SK_d, Ni | Nr)
> 
> (or slightly different way if Diffie-Hellman was done).
> 
> Then it says that this KEYMAT is split to different keys used for the
> child SA and gives explicit rules how the key is split:
> ----------------------------------------------------------------------
>    Keying material MUST be taken from the expanded KEYMAT in the
>    following order:
> 
>       All keys for SAs carrying data from the initiator to the responder
>       are taken before SAs going in the reverse direction.
> 
>       If multiple IPsec protocols are negotiated, keying material is
>       taken in the order in which the protocol headers will appear in
>       the encapsulated packet.
> 
>       If a single protocol has both encryption and authentication keys,
>       the encryption key is taken from the first octets of KEYMAT and
>       the authentication key is taken from the next octets.
> ----------------------------------------------------------------------
> 
> I.e. the KEYMAT used to generate the keys are same, but different
> bytes are used for the different keys in for example following order:
> 
> 	* initiator -> responder ESP encryption key
> 	* initiator -> responder ESP authentication key
> 	* initiator -> responder ROHC authentication key
> 	* responder -> initiator ESP encryption key
> 	* responder -> initiator ESP authentication key
> 	* responder -> initiator ROHC authentication key
> 

Okay, that makes it clear. But as for one not experienced in the
technology I didn't understand when reading ROHCoIPsec text and the
above quotation from IKE how the KEYMAT is split. It wasn't clear to me
if the ROHC auth key is another IPsec protocol. That seems to most
logical fit but not explicit mentioned in the reference.

>> 5. Section 2.1.2: How and when is the ROHC ICV re-keyed? And if not,
>> please say so explicitly. If the key i changed, how is that coordinated
>> with the actual datapackets? SPI?
> 
> I would expect it to be same way as IPsec SA is generally rekeyed,
> i.e. when the IPsec SA is rekeyed, it gets new SPI and new keying
> material.

Okay, makes sense, but does that really work as ROHC is stating that it
is ignoring the SPI. There might be need for additional text on this to
make it clear.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From kivinen@iki.fi  Mon May 18 06:19:52 2009
Return-Path: <kivinen@iki.fi>
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 A3CA028C2D9 for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:19:52 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.556
X-Spam-Level: 
X-Spam-Status: No, score=-2.556 tagged_above=-999 required=5 tests=[AWL=0.043,  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 ttiMUbBNBM5T for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:19:46 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 570C23A6C42 for <rohc@ietf.org>; Mon, 18 May 2009 06:19:46 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.13.8) with ESMTP id n4IDLGVo019964 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 18 May 2009 16:21:16 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id n4IDLFoG006803; Mon, 18 May 2009 16:21:15 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18961.24779.514683.667123@fireball.kivinen.iki.fi>
Date: Mon, 18 May 2009 16:21:15 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
In-Reply-To: <4A115D25.4010703@ericsson.com>
References: <4A0C4221.1090302@ericsson.com> <18961.22691.299070.123086@fireball.kivinen.iki.fi> <4A115D25.4010703@ericsson.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 14 min
X-Total-Time: 14 min
Cc: rohc@ietf.org, draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Mon, 18 May 2009 13:19:52 -0000

Magnus Westerlund writes:
> Hi Tero,
> 
> Thanks for the answers. See inline.
> 
> Tero Kivinen skrev:
> > Magnus Westerlund writes:
> >> 3. Section 2.1.2: Required to support algorithm? Can you please clarify
> >> which algorithm are required to be supported for interoperability.
> > 
> > I would expect they would be same as in IKEv2 in general i.e. RFC
> > 4307 (MUST for AUTH_HMAC_SHA1_96, SHOULD+ for AUTH_AES_XCBC_96, and
> > MAY for AUTH_HMAC_MD5_96). I think this probably should be explictly
> > mentioned.
> 
> Ok

Actually now when I tought more about this, I think we should not
refer to the "RFC4307 Cryptographic Algorithms for Use in the Internet
Key Exchange Version 2 (IKEv2)".

ROHC is more like ESP than IKE, so it might be closer to refer to "RFC
4835 Cryptographic Algorithm Implementation Requirements for
Encapsulating Security Payload (ESP) and Authentication Header (AH)".

On the other hand that document talks strictly about ESP and AH, so
referencing that might be misleading.

So I suggest this document either to explictly mandate algorithms or
even create separate short documents for defining mandatory algorithms
(as is done for IKEv2 and ESP/AH).

> Okay, that makes it clear. But as for one not experienced in the
> technology I didn't understand when reading ROHCoIPsec text and the
> above quotation from IKE how the KEYMAT is split. It wasn't clear to me
> if the ROHC auth key is another IPsec protocol. That seems to most
> logical fit but not explicit mentioned in the reference.

I would expect it to be quite clear for someone who is actually
implementing the IKEv2 and then adding ROHC, as he has already done
the KEYMAT splitting and ROHC is just one more protocol added to the
IPsec processing just like AH, ESP, or IPcomp.

> >> 5. Section 2.1.2: How and when is the ROHC ICV re-keyed? And if not,
> >> please say so explicitly. If the key i changed, how is that coordinated
> >> with the actual datapackets? SPI?
> > 
> > I would expect it to be same way as IPsec SA is generally rekeyed,
> > i.e. when the IPsec SA is rekeyed, it gets new SPI and new keying
> > material.
> 
> Okay, makes sense, but does that really work as ROHC is stating that it
> is ignoring the SPI. There might be need for additional text on this to
> make it clear.

The decryption key for the ROHC ICV is coming from the SA anyways
which is found by the SPI, so I do not really see any problem there.
I.e. if you look the draft-ietf-rohc-hcoipsec-10 processing model
figure 2 at section 6.1 (page 7) you see that the first thing it does
is to do the block A where it finds the SAD entry by SPI and then
checks whether ROHC is enabled or disabled. If it is enabled then it
needs to give the ROHC ICV keying material to the ROHC module.

Also the draft-ietf-rohc-ipsec-exteions-hcoipsec-04 explictily
mentions that ROHC ICV algorithm and key are part of the SAD entry
(section 2.2 page 5).

It seems that the information is there but it is bit split over in
different documents so adding some more text to documents might help. 
-- 
kivinen@iki.fi

From magnus.westerlund@ericsson.com  Mon May 18 06:19:55 2009
Return-Path: <magnus.westerlund@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 D503628C268 for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:19:55 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 tz7zle7dMVqZ for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:19:55 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id E988A28C2D9 for <rohc@ietf.org>; Mon, 18 May 2009 06:19:52 -0700 (PDT)
X-AuditID: c1b4fb3e-b7babae000000a46-5e-4a1160d6bf57
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id 12.68.02630.6D0611A4; Mon, 18 May 2009 15:21:26 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:21:25 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:21:25 +0200
Message-ID: <4A1160D5.4000104@ericsson.com>
Date: Mon, 18 May 2009 15:21:25 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <4A0C4219.4080900@ericsson.com> <3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org>
In-Reply-To: <3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 18 May 2009 13:21:25.0379 (UTC) FILETIME=[8B5D8D30:01C9D7BB]
X-Brightmail-Tracker: AAAAAA==
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Mon, 18 May 2009 13:19:55 -0000

Carsten Bormann skrev:
> Magnus,
> 
> thank you for the quite thorough review of the ROHCoIPsec documents.
> 
> Let me focus on this one comment right now as it is quite dear to my heart.
> I definitely agree that the MTU variability caused by header compression
> merits discussion.
> (I'm just now running into a different manifestation of it in 6lowpan.)
> 
> I'm just not sure the discussion should be done as part of ROHCoIPsec.
> There are other applications of header compression in tunnels, e.g.
> 4901, 4170.
> As I mentioned, adaptation layers also might run into problems here; I'm
> not even sure basic ROHC (3095/5225) is immune to this problem if there
> are relevant MTU restrictions coming from L2 (normally, PPP has a larger
> MTU than Ethernet and so we just don't notice).
> 
> I'd prefer to have this discussion in a more general form.
> This would probably involve (PL)PMTUD experts and HC experts, both from
> ROHC and maybe from INT WGs such as 6lowpan.
> Clearly, there is enough related work about tunnels in TSVWG right now.
> 
> I would change my mind if there was something specific that ROHCoIPsec
> can do that does not apply to the other versions of this issue, but
> right now I'm lacking imagination what that could be.
> 

Carsten,

I agree that this is a generic issue that do occur for both header
compression and any tunnel technology that has a variable overhead.
However, ROHCoIPsec do have a few special issues that brings these
issues to the forefront.

- Turns of the usage of ROHC segmentation that could be used for dealing
with this issue. However, I think turning off segmentation is the right
choice but forces us to deal with the resulting PMTUD problem.

- That we have noticed it in this case. I don't find it acceptable to
punt on the issues just because it should have been dealt with earlier.

So yes general discussion is good as it is a generic issue. However,
this document set needs to both document it and have some consideration
on what to do with it.

I will try to start a discussion on this across some WG and area lists
and hold the discussion on TSV-area.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Mon May 18 06:38:38 2009
Return-Path: <magnus.westerlund@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 8949E3A6CFF for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:38:38 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.187
X-Spam-Level: 
X-Spam-Status: No, score=-6.187 tagged_above=-999 required=5 tests=[AWL=0.062,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 UHRIEGDF4Mhq for <rohc@core3.amsl.com>; Mon, 18 May 2009 06:38:33 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 31E5E3A6FBE for <rohc@ietf.org>; Mon, 18 May 2009 06:38:31 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bc6ae0000009e3-d4-4a116536f0bc
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id A1.55.02531.635611A4; Mon, 18 May 2009 15:40:06 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:40:06 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:40:06 +0200
Message-ID: <4A116535.6030502@ericsson.com>
Date: Mon, 18 May 2009 15:40:05 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Tero Kivinen <kivinen@iki.fi>
References: <4A0C4221.1090302@ericsson.com>	<18961.22691.299070.123086@fireball.kivinen.iki.fi>	<4A115D25.4010703@ericsson.com> <18961.24779.514683.667123@fireball.kivinen.iki.fi>
In-Reply-To: <18961.24779.514683.667123@fireball.kivinen.iki.fi>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 18 May 2009 13:40:06.0078 (UTC) FILETIME=[275AA5E0:01C9D7BE]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Mon, 18 May 2009 13:38:38 -0000

Tero Kivinen skrev:
> Magnus Westerlund writes:
>> Hi Tero,
>>
>> Thanks for the answers. See inline.
>>
>> Tero Kivinen skrev:
>>> Magnus Westerlund writes:
>>>> 3. Section 2.1.2: Required to support algorithm? Can you please clarify
>>>> which algorithm are required to be supported for interoperability.
>>> I would expect they would be same as in IKEv2 in general i.e. RFC
>>> 4307 (MUST for AUTH_HMAC_SHA1_96, SHOULD+ for AUTH_AES_XCBC_96, and
>>> MAY for AUTH_HMAC_MD5_96). I think this probably should be explictly
>>> mentioned.
>> Ok
> 
> Actually now when I tought more about this, I think we should not
> refer to the "RFC4307 Cryptographic Algorithms for Use in the Internet
> Key Exchange Version 2 (IKEv2)".
> 
> ROHC is more like ESP than IKE, so it might be closer to refer to "RFC
> 4835 Cryptographic Algorithm Implementation Requirements for
> Encapsulating Security Payload (ESP) and Authentication Header (AH)".
> 
> On the other hand that document talks strictly about ESP and AH, so
> referencing that might be misleading.
> 
> So I suggest this document either to explictly mandate algorithms or
> even create separate short documents for defining mandatory algorithms
> (as is done for IKEv2 and ESP/AH).

I don't have any real view on what the WG should do here. The argument
for a separate document is so that when the list of what algorithms to
support needs updating one doesn't have to push the main spec back to
proposed standard, only the algorithm specification one.


> 
>> Okay, that makes it clear. But as for one not experienced in the
>> technology I didn't understand when reading ROHCoIPsec text and the
>> above quotation from IKE how the KEYMAT is split. It wasn't clear to me
>> if the ROHC auth key is another IPsec protocol. That seems to most
>> logical fit but not explicit mentioned in the reference.
> 
> I would expect it to be quite clear for someone who is actually
> implementing the IKEv2 and then adding ROHC, as he has already done
> the KEYMAT splitting and ROHC is just one more protocol added to the
> IPsec processing just like AH, ESP, or IPcomp.

Okay, as long it is clear in which order the keying material should be
taken. To me it doesn't appear so. But if you say so I am fine with it.

> 
>>>> 5. Section 2.1.2: How and when is the ROHC ICV re-keyed? And if not,
>>>> please say so explicitly. If the key i changed, how is that coordinated
>>>> with the actual datapackets? SPI?
>>> I would expect it to be same way as IPsec SA is generally rekeyed,
>>> i.e. when the IPsec SA is rekeyed, it gets new SPI and new keying
>>> material.
>> Okay, makes sense, but does that really work as ROHC is stating that it
>> is ignoring the SPI. There might be need for additional text on this to
>> make it clear.
> 
> The decryption key for the ROHC ICV is coming from the SA anyways
> which is found by the SPI, so I do not really see any problem there.
> I.e. if you look the draft-ietf-rohc-hcoipsec-10 processing model
> figure 2 at section 6.1 (page 7) you see that the first thing it does
> is to do the block A where it finds the SAD entry by SPI and then
> checks whether ROHC is enabled or disabled. If it is enabled then it
> needs to give the ROHC ICV keying material to the ROHC module.
> 
> Also the draft-ietf-rohc-ipsec-exteions-hcoipsec-04 explictily
> mentions that ROHC ICV algorithm and key are part of the SAD entry
> (section 2.2 page 5).
> 
> It seems that the information is there but it is bit split over in
> different documents so adding some more text to documents might help. 

I see how this will work. Some informational text about rekeying would
be good. Might not belong in this document either, maybe belongs to the
framework doc.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From cabo@tzi.org  Mon May 18 17:42:49 2009
Return-Path: <cabo@tzi.org>
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 391A728C35B for <rohc@core3.amsl.com>; Mon, 18 May 2009 17:42:49 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 UQBU93Bo6wvO for <rohc@core3.amsl.com>; Mon, 18 May 2009 17:42:48 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9:209:3dff:fe00:7136]) by core3.amsl.com (Postfix) with ESMTP id 7A6AB28C36A for <rohc@ietf.org>; Mon, 18 May 2009 17:42:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id n4J0hcu9015640; Tue, 19 May 2009 02:43:38 +0200 (CEST)
Received: from [192.168.217.107] (p5489E1F8.dip.t-dialin.net [84.137.225.248]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTP id 17D0F1704D6; Tue, 19 May 2009 02:43:38 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
In-Reply-To: <4A1160D5.4000104@ericsson.com>
References: <4A0C4219.4080900@ericsson.com> <3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org> <4A1160D5.4000104@ericsson.com>
Message-Id: <7762200D-B1E1-41F4-BC2D-E1C795167D0C@tzi.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 02:43:35 +0200
X-Mailer: Apple Mail (2.935.3)
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Tue, 19 May 2009 00:42:49 -0000

On May 18, 2009, at 15:21, Magnus Westerlund wrote:

> some consideration
> on what to do with it.

So what would you want the compressor to do?
Run PLPMTUD (probes can be done by occasionally compressing badly*) on
the tunnel and reject (ICMP unreachable/Frag needed) all DF/IPv6
packets that would not fit with worst-case expansion?
Probably safe, but somewhat expensive.

Gruesse, Carsten

*) Yes, this needs way more text.
You would need to compress badly whenever compressing a packet that,  
badly compressed, would not fit the currently established safe PMTU.   
That unfortunately tends to shrink while compressing well, which ROHC  
tends to do :-)


From magnus.westerlund@ericsson.com  Mon May 18 06:32:25 2009
Return-Path: <magnus.westerlund@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 07AAB3A68FC; Mon, 18 May 2009 06:32:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 RYdbhcLhJLrz; Mon, 18 May 2009 06:32:18 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 0AB143A6D71; Mon, 18 May 2009 06:32:16 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bc6ae0000009e3-96-4a1163bfcb39
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 71.94.02531.FB3611A4; Mon, 18 May 2009 15:33:51 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:33:51 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Mon, 18 May 2009 15:33:51 +0200
Message-ID: <4A1163BF.5010300@ericsson.com>
Date: Mon, 18 May 2009 15:33:51 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: TSV Area <tsv-area@ietf.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 18 May 2009 13:33:51.0220 (UTC) FILETIME=[47EBDB40:01C9D7BD]
X-Brightmail-Tracker: AAAAAA==
X-Mailman-Approved-At: Mon, 18 May 2009 23:48:51 -0700
Subject: [rohc] Path MTU discovery when having varying MTU
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: Mon, 18 May 2009 13:32:25 -0000

This email is BCC to a number of list. Please respond to the TSV-area list.

In the AD review of the documents for defining Robust Header Compression
(ROHC) over IPsec: http://tools.ietf.org/wg/rohc/draft-ietf-rohc-hcoipsec/

I picked up on a issue that has been mentioned before but not really
been dealt with. Namely the varying MTU for packets entering this tunnel.

So this work is to enable so that ROHC can compress the inner IP,
transport, etc headers inside an IPsec tunnel to save bandwidth that
way. ROHC is a stateful compression technology which can result in that
the headers being compressed can be both slightly bigger as well as much
smaller. Thus the effective MTU for a particular packet inside an IPsec
tunnel with ROHC varies depending on which packet in a sequence it is.
This will create some issues for any path MTU discovery mechanism, where
a smaller packet may result in a ICMP TOO BIG while a slightly larger
packet doesn't.

So I am interested in what issues you see arising with this technology
and what you think should be done about it.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From carl.knutsson@effnet.com  Tue May 19 00:03:53 2009
Return-Path: <carl.knutsson@effnet.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 243883A67A1 for <rohc@core3.amsl.com>; Tue, 19 May 2009 00:03:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.544
X-Spam-Level: 
X-Spam-Status: No, score=-3.544 tagged_above=-999 required=5 tests=[AWL=0.055,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 Xo6gVuX4qKOO for <rohc@core3.amsl.com>; Tue, 19 May 2009 00:03:51 -0700 (PDT)
Received: from lists.levonline.com (lists.levonline.com [217.70.33.37]) by core3.amsl.com (Postfix) with ESMTP id 60FF33A6FE8 for <Rohc@ietf.org>; Tue, 19 May 2009 00:03:51 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by lists.levonline.com (Postfix) with ESMTP id 5B9B229C188 for <Rohc@ietf.org>; Tue, 19 May 2009 09:05:26 +0200 (CEST)
X-Virus-Scanned: By http://levonline.com - free virus scanning for all customers
Received: from lists.levonline.com ([127.0.0.1]) by localhost (lists.levonline.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id u6aUkOKXlWS0 for <Rohc@ietf.org>; Tue, 19 May 2009 09:05:25 +0200 (CEST)
Received: from truck1.fordonnet.levonline.com (gw-uu-virtual.levonline.com [217.70.32.2]) by lists.levonline.com (Postfix) with ESMTP id 2552629C1FD for <Rohc@ietf.org>; Tue, 19 May 2009 09:05:25 +0200 (CEST)
Received: from [192.168.101.28] (c-6a0471d5.04-205-6c756c1.cust.bredbandsbolaget.se [213.113.4.106]) (authenticated bits=0) by truck1.fordonnet.levonline.com (8.12.11.20060308/8.12.11) with ESMTP id n4J75NDO029101 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for <Rohc@ietf.org>; Tue, 19 May 2009 09:05:24 +0200
Message-ID: <4A125AE7.8090800@effnet.com>
Date: Tue, 19 May 2009 09:08:23 +0200
From: Carl Knutsson <carl.knutsson@effnet.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
MIME-Version: 1.0
To: Rohc@ietf.org
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
Subject: [rohc] [Fwd:  Path MTU discovery when having varying MTU]
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: Tue, 19 May 2009 07:03:53 -0000

FYI. Email from Magnus (AD) about the MTU issue in ROHCoIPSec.

/Calle

-------- Original Message --------
Subject: [rohc] Path MTU discovery when having varying MTU
Date: Mon, 18 May 2009 15:33:51 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
To: TSV Area <tsv-area@ietf.org>

This email is BCC to a number of list. Please respond to the TSV-area list.

In the AD review of the documents for defining Robust Header Compression
(ROHC) over IPsec: http://tools.ietf.org/wg/rohc/draft-ietf-rohc-hcoipsec/

I picked up on a issue that has been mentioned before but not really
been dealt with. Namely the varying MTU for packets entering this tunnel.

So this work is to enable so that ROHC can compress the inner IP,
transport, etc headers inside an IPsec tunnel to save bandwidth that
way. ROHC is a stateful compression technology which can result in that
the headers being compressed can be both slightly bigger as well as much
smaller. Thus the effective MTU for a particular packet inside an IPsec
tunnel with ROHC varies depending on which packet in a sequence it is.
This will create some issues for any path MTU discovery mechanism, where
a smaller packet may result in a ICMP TOO BIG while a slightly larger
packet doesn't.

So I am interested in what issues you see arising with this technology
and what you think should be done about it.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------
_______________________________________________
Rohc mailing list
Rohc@ietf.org
https://www.ietf.org/mailman/listinfo/rohc

From magnus.westerlund@ericsson.com  Tue May 19 01:41:16 2009
Return-Path: <magnus.westerlund@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 29CCD3A706B for <rohc@core3.amsl.com>; Tue, 19 May 2009 01:41:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.187
X-Spam-Level: 
X-Spam-Status: No, score=-6.187 tagged_above=-999 required=5 tests=[AWL=0.062,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 MV8t7hdNTLOG for <rohc@core3.amsl.com>; Tue, 19 May 2009 01:41:15 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 33C433A7074 for <rohc@ietf.org>; Tue, 19 May 2009 01:40:59 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bc6ae0000009e3-cf-4a1270fb5887
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id CB.9D.02531.BF0721A4; Tue, 19 May 2009 10:42:35 +0200 (CEST)
Received: from esealmw127.eemea.ericsson.se ([153.88.254.175]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 19 May 2009 10:42:34 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 19 May 2009 10:42:34 +0200
Message-ID: <4A1270FA.5090108@ericsson.com>
Date: Tue, 19 May 2009 10:42:34 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <4A0C4219.4080900@ericsson.com> <3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org> <4A1160D5.4000104@ericsson.com> <7762200D-B1E1-41F4-BC2D-E1C795167D0C@tzi.org>
In-Reply-To: <7762200D-B1E1-41F4-BC2D-E1C795167D0C@tzi.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 19 May 2009 08:42:34.0865 (UTC) FILETIME=[C19D7610:01C9D85D]
X-Brightmail-Tracker: AAAAAA==
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Tue, 19 May 2009 08:41:16 -0000

Carsten Bormann skrev:
> On May 18, 2009, at 15:21, Magnus Westerlund wrote:
> 
>> some consideration
>> on what to do with it.
> 
> So what would you want the compressor to do?
> Run PLPMTUD (probes can be done by occasionally compressing badly*) on
> the tunnel and reject (ICMP unreachable/Frag needed) all DF/IPv6
> packets that would not fit with worst-case expansion?
> Probably safe, but somewhat expensive.
> 
> Gruesse, Carsten
> 
> *) Yes, this needs way more text.
> You would need to compress badly whenever compressing a packet that,
> badly compressed, would not fit the currently established safe PMTU. 
> That unfortunately tends to shrink while compressing well, which ROHC
> tends to do :-)
> 
> 


Please join the discussion on the TSV-area list. It at least got the
attention of some TCP folk, but I think there needs to be some ROHC
input into this discussion also.

cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Tue May 19 02:06:50 2009
Return-Path: <magnus.westerlund@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 0C5EF3A6AED; Tue, 19 May 2009 02:06:50 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.188
X-Spam-Level: 
X-Spam-Status: No, score=-6.188 tagged_above=-999 required=5 tests=[AWL=0.061,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 eQBDZhRHDxnw; Tue, 19 May 2009 02:06:49 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 8C0973A68B1; Tue, 19 May 2009 02:06:48 -0700 (PDT)
X-AuditID: c1b4fb3c-b7bc6ae0000009e3-df-4a127707a3ee
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 8B.D1.02531.707721A4; Tue, 19 May 2009 11:08:23 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 19 May 2009 11:08:23 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 19 May 2009 11:08:23 +0200
Message-ID: <4A127707.7030606@ericsson.com>
Date: Tue, 19 May 2009 11:08:23 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Joe Touch <touch@ISI.EDU>, TSV Area <tsv-area@ietf.org>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu> <582582D8-65C2-449E-A116-359D0F280275@muada.com> <4A11CEC5.4010901@isi.edu> <F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com> <4A11D057.8020903@isi.edu> <83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com> <4A11D526.9090803@isi.edu>
In-Reply-To: <4A11D526.9090803@isi.edu>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 19 May 2009 09:08:23.0148 (UTC) FILETIME=[5C76B2C0:01C9D861]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, Iljitsch van Beijnum <iljitsch@muada.com>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 09:06:50 -0000

Hi (as an individual contributor)

So this is IPsec tunnel mode which is commonly used for VPN, which means
that one of parties are quite likely behind a NAT or at least a
firewall. Thus, relying on IP fragmentation is likely to mean, all
fragmented packets dropped on the floor by the middlebox. Especially
when using IP/UDP/ESP for NAT traversal.

Also, the segmentation mechanism that ROHC has is currently defined to
be turned off. The ROHC people can fill in the motivation for that. One
is clearly the need to keep state in the tunnel end-points for reassembly.

So options in this space seems to be:

For the next 3 options I assume that ingress will discard packet and
send ICMP back if the packet is larger than the ROHC MTU set and has DF
set.

1. Set an commonly supported ROHC MTU and rely on IP fragmentation to
handle the few packet that gets expanded beyond the underlying MTU.
However, middleboxes makes it unlikely that this will work and lossing
the packets that gets expanded means failure to establish ROHC state
needed for the rest of the packets => 100% losses

2. Set a commonly supported ROHC MTU for the tunnel and use ROHC
segmentation to handle the packets that gets expanded beyond PMTUD.
Increased loss rate for important state establishing packets. Not
certain that the ROHC segmentation mechanism can work over reordering
transports.

3. Set ROHC MTU value to safe enough value that also packet expansion
has room within the underlying MTU. Reduced the gain of ROHC as the byte
savings are offset by increased packet overhead.


4. On packet basis see if fits and any packet with DF set which after
ROHC processing doesn't fit underlying MTU will be discarded. Will
result in varying values for the supported MTU being sent back by ICMP.
Affects either implementation complexity by rolling back state or
reduces error robustness by discarding encoded packets.

Are there more options?

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From carl.knutsson@effnet.com  Tue May 19 02:36:15 2009
Return-Path: <carl.knutsson@effnet.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 11D783A6A27 for <rohc@core3.amsl.com>; Tue, 19 May 2009 02:36:15 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.414
X-Spam-Level: 
X-Spam-Status: No, score=-3.414 tagged_above=-999 required=5 tests=[AWL=0.185,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 pHvmXLKTPGoN for <rohc@core3.amsl.com>; Tue, 19 May 2009 02:36:13 -0700 (PDT)
Received: from lists.levonline.com (lists.levonline.com [217.70.33.37]) by core3.amsl.com (Postfix) with ESMTP id 90D273A682D for <rohc@ietf.org>; Tue, 19 May 2009 02:35:45 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by lists.levonline.com (Postfix) with ESMTP id 590FB29C21A; Tue, 19 May 2009 11:37:21 +0200 (CEST)
X-Virus-Scanned: By http://levonline.com - free virus scanning for all customers
Received: from lists.levonline.com ([127.0.0.1]) by localhost (lists.levonline.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id WZNKXJx-u9px; Tue, 19 May 2009 11:37:19 +0200 (CEST)
Received: from truck3.fordonnet.levonline.com (gw-uu-virtual.levonline.com [217.70.32.2]) by lists.levonline.com (Postfix) with ESMTP id 558F429C222; Tue, 19 May 2009 11:37:19 +0200 (CEST)
Received: from [192.168.101.28] (c-6a0471d5.04-205-6c756c1.cust.bredbandsbolaget.se [213.113.4.106]) (authenticated bits=0) by truck3.fordonnet.levonline.com (8.12.11.20060308/8.12.11) with ESMTP id n4J9bHLw001472 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 May 2009 11:37:18 +0200
Message-ID: <4A127E81.4090906@effnet.com>
Date: Tue, 19 May 2009 11:40:17 +0200
From: Carl Knutsson <carl.knutsson@effnet.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
MIME-Version: 1.0
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
References: <4A0C4219.4080900@ericsson.com>	<3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org> <4A1160D5.4000104@ericsson.com>
In-Reply-To: <4A1160D5.4000104@ericsson.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Tue, 19 May 2009 09:36:15 -0000

Magnus, Carsten, all

I raised the issue about the MTU variability during the last-call when
it was suggested to remove ROHC segmentation. ROHC segmentation was
presented as the solution the first time it was discussed on the list.
Unfortunately Chris's email didn't turn up on the rohc-list. I can't
find it in the archive. But at least my answer did. You can find the
whole conversation below.

ROHC segmentation doesn't handle reordering very good, so we all agreed
to remove it. The overhead depends on the implementation and the
negotiated profiles. The solution was to add the worst case to the PMTU.
At the time we found the solution acceptable. I am not sure about the WG
as a whole since they may have been left out of the loop. It is my
responsibility to make sure the information is sent to the list. I
didn't realise this until now. So starting this discussion in the WG
again is probably a good thing.

RTP profile can in worst-case add up to around 20 bytes. Header
compression works best for small packets. Large packets that doesn't fit
the MTU because of the overhead could be sent uncompressed or over a
channel without ROHC. The overhead for the uncompressed profile is only
a few bytes. This overhead is added to the PMTU field.

/Calle

---------- Forwarded message ----------
From: Christou, Christos [USA] <christou_chris@bah.com>
Date: Mon, Sep 29, 2008 at 5:45 PM
Subject: RE: [rohc] Comments on current RoHC over IPSec draft
To: Carl Knutsson <carlknut@gmail.com>, Kristofer Sandlund
<kristofer.sandlund@ericsson.com>
Cc: rohc@ietf.org, "Robert A. Stangarone Jr."
<stangarr@spawar.navy.mil>, rohc-owner@ietf.org,
Pasi.Eronen@nokia.com, Tero Kivinen <kivinen@iki.fi>, ipsec@ietf.org,
stangarr@nkiconsulting.com


Carl,

As we discussed, Emre and I are thinking not to include MRRU. First, the
IPsec process MUST implement PMTU. Here is what RFC 4301 states:

  "When an IPsec implementation receives an unauthenticated PMTU
  message, and it is configured to process (vs. ignore) such messages,
  it maps the message to the SA to which it corresponds.  This mapping
  is effected by extracting the header information from the payload of
  the PMTU message and applying the procedure described in Section 5.2.
  The PMTU determined by this message is used to update the SAD PMTU
  field, taking into account the size of the AH or ESP header that will
  be applied, any crypto synchronization data, and the overhead imposed
  by an additional IP header, in the case of a tunnel mode SA."

Therefore, in the case of RoHCoIPsec, we were thinking that this
requirement be simply amended to state that "the PMTU determined by this
message is used to update the SAD PMTU field, taking into account the
size of the AH or ESP header that will be applied, any crypto
synchronization data, the overhead imposed by an additional IP header
(in the case of tunnel mode SA), and the additional fields added by
RoHC."  If IPsec properly accounts for the additional fields that could
be added on by RoHC , then packets will not be processed by the RoHC
module that could exceed PMTU since the IPsec module would drop packets
that do not match the SPD PMTU policy (regardless of the profile).  As a
result, I am not sure how segmentation is applicable.

As you have pointed out, the overhead varies based on profiles. Although
it might not be as ideal, the overhead we would account for PMTU could
be profile dependent. In other words, there will be an entry in the SPD
for the profiles we would like to compress over particular SA's.
Therefore, depending on the profiles identified, we could account for
the maximum possible RoHC overhead in the PMTU calculation based on the
profiles listed in the SPD.

We will not include the MAX_HEADER parameter in our drafts.

We can update our IPsec and IKE extensions drafts accordingly...

Thanks,

Chris



-----Original Message-----
From: rohc-bounces@ietf.org [mailto:rohc-bounces@ietf.org] On Behalf Of
Carl Knutsson
Sent: Monday, September 22, 2008 6:49 AM
To: Kristofer Sandlund
Cc: rohc@ietf.org; Robert A. Stangarone Jr.; rohc-owner@ietf.org;
Pasi.Eronen@nokia.com; Tero Kivinen; ipsec@ietf.org; Christou, Christos
[USA]; stangarr@nkiconsulting.com
Subject: Re: [rohc] Comments on current RoHC over IPSec draft

Emre,

I believe MRRU should stay. I think we should have very good reasons
before we remove it. We should not make any assumptions about the link
layer. For some users it may more be convenient to use the ROHC
segmentation instead of fragmentation in other layers. Why would we not
allow it? Both the ROHCoIPSec draft and the framework already discusses
ROHC segmentation. The ROHCoIPSec drafts is quite clear about the
disadvantages with ROHC segmentation.

I agree with Robert that the MAX_HEADER parameter should be removed.
We have agreed on a set of negotiation parameters for the ROHC framework
(RFC 3095 and RFC 4995). All other parameters must be negotiated within
the protocol. If the MAX_HEADER parameter is really needed, it should be
included in the ROHC framework and not in ROHCoIPSec drafts. If it
becomes a problem for future ROHC profiles, it could be solved by
something similar to CONTEXT_MEMORY feedback option for v2.

/Calle

On Mon, Sep 22, 2008 at 9:46 AM, Kristofer Sandlund
<kristofer.sandlund@ericsson.com> wrote:
> >
> > Ertekin, Emre wrote on :
> >
>>> >>> MRRU - This parameter is unnecessary. The external interface of the
>>> >>> IPSec device should be able to determine the MTU of its link and
>>> >>> fragment as needed/necessary. None of the RoHCv2 PROFILES (found in
>>> >>> RFC 5225) allow for the use of MRRU, so why use it?
>> >>
>> >> Fair comment.  We'll remove this parameter.
> >
> > Hi,
> >
> > I haven't read the drafts in question nor the entire mail I'm replying

> > to, I'd just like to point out that the statement above is incorrect.
> > The following is a quote from 5225:
> >
> >   The compressor MUST NOT use ROHC segmentation (see Section 5.2.5 of
> >   [RFC4995]), i.e., the Maximum Reconstructed Reception Unit (MRRU)
> >   MUST be set to 0, if the configuration of the ROHC channel contains
> >   at least one ROHCv2 profile in the list of supported profiles (i.e.,
> >   the PROFILES parameter) and if the channel cannot guarantee in-order
> >   delivery of packets between compression endpoints.
> >
> > Therefore, it *is* allowed to use ROHC segmentation in v2, it is only
> > disallowed if you have a reordering channel with v2 profiles.
> > I'm not saying that ROHC segmentation is a very useful feature or that

> > you have to allow it, I'd just like to avoid you making decisions
> > based on an assumption that v2 *always* disallows segmentation.
> >
> > /k
> > _______________________________________________
> > Rohc mailing list
> > Rohc@ietf.org
> > https://www.ietf.org/mailman/listinfo/rohc
> >
_______________________________________________
Rohc mailing list
Rohc@ietf.org
https://www.ietf.org/mailman/listinfo/rohc







From kivinen@iki.fi  Tue May 19 03:03:36 2009
Return-Path: <kivinen@iki.fi>
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 A96BC3A6ACC for <rohc@core3.amsl.com>; Tue, 19 May 2009 03:03:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.557
X-Spam-Level: 
X-Spam-Status: No, score=-2.557 tagged_above=-999 required=5 tests=[AWL=0.042,  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 Bvtc1tlodFVD for <rohc@core3.amsl.com>; Tue, 19 May 2009 03:03:36 -0700 (PDT)
Received: from mail.kivinen.iki.fi (fireball.acr.fi [83.145.195.1]) by core3.amsl.com (Postfix) with ESMTP id 2ACF13A6991 for <rohc@ietf.org>; Tue, 19 May 2009 03:03:31 -0700 (PDT)
Received: from fireball.kivinen.iki.fi (localhost [127.0.0.1]) by mail.kivinen.iki.fi (8.14.3/8.13.8) with ESMTP id n4JA3jq0015279 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 May 2009 13:03:45 +0300 (EEST)
Received: (from kivinen@localhost) by fireball.kivinen.iki.fi (8.14.3/8.12.11) id n4JA3jFE021700; Tue, 19 May 2009 13:03:45 +0300 (EEST)
X-Authentication-Warning: fireball.kivinen.iki.fi: kivinen set sender to kivinen@iki.fi using -f
MIME-Version: 1.0
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit
Message-ID: <18962.33793.471059.709542@fireball.kivinen.iki.fi>
Date: Tue, 19 May 2009 13:03:45 +0300
From: Tero Kivinen <kivinen@iki.fi>
To: Carl Knutsson <carl.knutsson@effnet.com>
In-Reply-To: <4A127E81.4090906@effnet.com>
References: <4A0C4219.4080900@ericsson.com> <3423D3A6-5247-4119-BC8E-A4278F35EC68@tzi.org> <4A1160D5.4000104@ericsson.com> <4A127E81.4090906@effnet.com>
X-Mailer: VM 7.19 under Emacs 21.4.1
X-Edit-Time: 9 min
X-Total-Time: 8 min
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Tue, 19 May 2009 10:03:36 -0000

Carl Knutsson writes:
> RTP profile can in worst-case add up to around 20 bytes. Header
> compression works best for small packets. Large packets that doesn't fit
> the MTU because of the overhead could be sent uncompressed or over a
> channel without ROHC. The overhead for the uncompressed profile is only
> a few bytes. This overhead is added to the PMTU field.

With ROHC over IPsec there is already a way to express uncompressed
packets without any overhead (i.e. if next header is ROHC protocol
then packet is compressed with ROHC, if not then it is uncompressed),
so sending uncompressed packets does not add any more overhead than
what IPsec already adds.

The amount of overhead for IPsec is per SA, as it depends on the
protocol (ESP/AH) and about the algorithms selected for that SA, so
adding ROHC overhead there should be easy. The ROHC overhead should
take account the normal ROHC maximum header expansion and the ROHC ICV
length.
-- 
kivinen@iki.fi

From iljitsch@muada.com  Tue May 19 03:17:19 2009
Return-Path: <iljitsch@muada.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 D7D833A6FF1; Tue, 19 May 2009 03:17:19 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 e0HAfBLw1UCy; Tue, 19 May 2009 03:17:19 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id DB4B33A6F1C; Tue, 19 May 2009 03:17:18 -0700 (PDT)
Received: from claw.it.uc3m.es (claw.it.uc3m.es [163.117.139.52] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n4JAI8os012065 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 May 2009 12:18:08 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <E252A5F4-0457-4BC3-B0C4-4D5437934D66@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
In-Reply-To: <4A127707.7030606@ericsson.com>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 12:18:17 +0200
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu> <582582D8-65C2-449E-A116-359D0F280275@muada.com> <4A11CEC5.4010901@isi.edu> <F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com> <4A11D057.8020903@isi.edu> <83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com> <4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com>
X-Mailer: Apple Mail (2.935.3)
X-Mailman-Approved-At: Tue, 19 May 2009 03:54:23 -0700
Cc: rohc@ietf.org, TSV Area <tsv-area@ietf.org>, Joe Touch <touch@ISI.EDU>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 10:17:19 -0000

On 19 mei 2009, at 11:08, Magnus Westerlund wrote:

> So this is IPsec tunnel mode which is commonly used for VPN, which  
> means
> that one of parties are quite likely behind a NAT or at least a
> firewall. Thus, relying on IP fragmentation is likely to mean, all
> fragmented packets dropped on the floor by the middlebox.

Where do you get that?

I've never heard of fragmentation breaking consistently in  
middleboxes. This is from a system behind a NAT running peer-to-peer  
stuff for a while and communicating with some local systems. Since  
locally everything is ethernet and that communication is basically  
only TCP I don't think the fragments were local:

	94869703 total packets received
	112346 fragments received
	0 fragments dropped (dup or out of space)
	13 fragments dropped after timeout
	53614 packets reassembled ok

> Also, the segmentation mechanism that ROHC has is currently defined to
> be turned off. The ROHC people can fill in the motivation for that.  
> One
> is clearly the need to keep state in the tunnel end-points for  
> reassembly.

If you can do IPsec and header compression then reassembly for a small  
percentage of all packets isn't unreasonable.

From cabo@tzi.org  Tue May 19 03:58:25 2009
Return-Path: <cabo@tzi.org>
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 630953A6B9C; Tue, 19 May 2009 03:58:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 fyexvQN7oY3s; Tue, 19 May 2009 03:58:24 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9:209:3dff:fe00:7136]) by core3.amsl.com (Postfix) with ESMTP id 18CD23A6E14; Tue, 19 May 2009 03:58:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id n4JAxo52028344; Tue, 19 May 2009 12:59:50 +0200 (CEST)
Received: from [10.0.1.198] (reingewinn.informatik.uni-bremen.de [134.102.218.123]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTP id A76C21704D6; Tue, 19 May 2009 12:59:50 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
To: Magnus Westerlund <magnus.westerlund@ericsson.com>
In-Reply-To: <4A127707.7030606@ericsson.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu> <582582D8-65C2-449E-A116-359D0F280275@muada.com> <4A11CEC5.4010901@isi.edu> <F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com> <4A11D057.8020903@isi.edu> <83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com> <4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com>
Message-Id: <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org>
Content-Type: text/plain; charset=UTF-8; format=flowed; delsp=yes
Content-Transfer-Encoding: quoted-printable
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 12:59:50 +0200
X-Mailer: Apple Mail (2.935.3)
Cc: Iljitsch van Beijnum <iljitsch@muada.com>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>, Joe Touch <touch@ISI.EDU>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 10:58:25 -0000

> 2. Set a commonly supported ROHC MTU for the tunnel and use ROHC
> segmentation to handle the packets that gets expanded beyond PMTUD.
> [...] Not
> certain that the ROHC segmentation mechanism can work over reordering
> transports.

As Carl pointed out, ROHC segmentation is efficient only for non-=20
reordering links.
It is similar to AAL5, but does not use a length field.
Assuming the CRC is effective, it responds to undetected reordering =20
with dropping the (reassembled) packet(s) affected with a likelihood =20
of p =E2=89=88 1-2**-32 (and delivering a bad one with q =E2=89=88 =
2**-32).
I'm not happy about the security implications if it is not.

However, the IPsec sequence number might be good enough to reliably =20
detect reordering or even to resequence before ROHC reassembly.  I =20
think that might be the right thing to do, as ROHC segmentation is =20
much better than IP fragmentation on a non-reordering link.

So there *was* something specific that ROHC could bring to the table...

The remaining problem is that the compressor needs to know the tunnel =20=

MTU.

On ROHC, I wrote:

> So what would you want the compressor to do?
> Run PLPMTUD (probes can be done by occasionally compressing badly*) on
> the tunnel and reject (ICMP unreachable/Frag needed) all DF/IPv6
> packets that would not fit with worst-case expansion?
> Probably safe, but somewhat expensive.
> [...]
>
> *) Yes, this needs way more text.
> You would need to compress badly whenever compressing a packet that, =20=

> badly compressed, would not fit the currently established safe =20
> PMTU.  That unfortunately tends to shrink while compressing well, =20
> which ROHC tends to do :-)

So let's replace that with:

> Run PLPMTUD (probes can be done by occasionally compressing badly*) on
> the tunnel and ROHC-segment all DF/IPv6 packets that would not fit =20
> with worst-case expansion.
> *) This can be done by sending the packet on a separate CID with an =20=

> IR, with some impact on compression efficiency on the original CID.

Does that work?

Gruesse, Carsten


From carl.knutsson@effnet.com  Tue May 19 04:21:13 2009
Return-Path: <carl.knutsson@effnet.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 E6E003A70C4; Tue, 19 May 2009 04:21:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -3.426
X-Spam-Level: 
X-Spam-Status: No, score=-3.426 tagged_above=-999 required=5 tests=[AWL=0.173,  BAYES_00=-2.599, RCVD_IN_DNSWL_LOW=-1]
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 lbVcQDCyO9XN; Tue, 19 May 2009 04:21:13 -0700 (PDT)
Received: from lists.levonline.com (lists.levonline.com [217.70.33.37]) by core3.amsl.com (Postfix) with ESMTP id D39943A68BB; Tue, 19 May 2009 04:20:44 -0700 (PDT)
Received: from localhost (localhost.localdomain [127.0.0.1]) by lists.levonline.com (Postfix) with ESMTP id 8300A29C040; Tue, 19 May 2009 13:22:20 +0200 (CEST)
X-Virus-Scanned: By http://levonline.com - free virus scanning for all customers
Received: from lists.levonline.com ([127.0.0.1]) by localhost (lists.levonline.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id m1NmGLypJ95u; Tue, 19 May 2009 13:22:19 +0200 (CEST)
Received: from truck3.fordonnet.levonline.com (gw-uu-virtual.levonline.com [217.70.32.2]) by lists.levonline.com (Postfix) with ESMTP id BDAF129C0B3; Tue, 19 May 2009 13:22:18 +0200 (CEST)
Received: from [192.168.101.28] (c-6a0471d5.04-205-6c756c1.cust.bredbandsbolaget.se [213.113.4.106]) (authenticated bits=0) by truck3.fordonnet.levonline.com (8.12.11.20060308/8.12.11) with ESMTP id n4JBMFDj021606 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 19 May 2009 13:22:16 +0200
Message-ID: <4A12971D.8090404@effnet.com>
Date: Tue, 19 May 2009 13:25:17 +0200
From: Carl Knutsson <carl.knutsson@effnet.com>
User-Agent: Thunderbird 2.0.0.21 (X11/20090409)
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org>
In-Reply-To: <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, tero@levonline.com, Joe Touch <touch@ISI.EDU>, Iljitsch van Beijnum <iljitsch@muada.com>, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 11:21:14 -0000

Rohcers have to excuse me for double posting. I want pass on some
information from a parallel thread on the rohc list.

As Tero pointed out, there already is a way in ROHCoIPSec to send
packets uncompressed. The tunnel already keeps track of the MTU to
compensate for the IP, ESP AH headers. So adding ROHC overhead should
not a problem. Why not let the user decide whether or not to use ROHC
segmentation, IP fragmentation or sending large packets through the
uncompressed channel.

We could list pros and cons and give some guidelines.

/Calle

Tero Kivinen wrote:
> Carl Knutsson writes:
>> RTP profile can in worst-case add up to around 20 bytes. Header
>> compression works best for small packets. Large packets that doesn't fit
>> the MTU because of the overhead could be sent uncompressed or over a
>> channel without ROHC. The overhead for the uncompressed profile is only
>> a few bytes. This overhead is added to the PMTU field.
>
> With ROHC over IPsec there is already a way to express uncompressed
> packets without any overhead (i.e. if next header is ROHC protocol
> then packet is compressed with ROHC, if not then it is uncompressed),
> so sending uncompressed packets does not add any more overhead than
> what IPsec already adds.
>
> The amount of overhead for IPsec is per SA, as it depends on the
> protocol (ESP/AH) and about the algorithms selected for that SA, so
> adding ROHC overhead there should be easy. The ROHC overhead should
> take account the normal ROHC maximum header expansion and the ROHC ICV
> length.



Carsten Bormann wrote:
>> 2. Set a commonly supported ROHC MTU for the tunnel and use ROHC
>> segmentation to handle the packets that gets expanded beyond PMTUD.
>> [...] Not
>> certain that the ROHC segmentation mechanism can work over reordering
>> transports.
> 
> As Carl pointed out, ROHC segmentation is efficient only for
> non-reordering links.
> It is similar to AAL5, but does not use a length field.
> Assuming the CRC is effective, it responds to undetected reordering with
> dropping the (reassembled) packet(s) affected with a likelihood of p Ã¢â€°Ë†
> 1-2**-32 (and delivering a bad one with q Ã¢â€°Ë† 2**-32).
> I'm not happy about the security implications if it is not.
> 
> However, the IPsec sequence number might be good enough to reliably
> detect reordering or even to resequence before ROHC reassembly.  I think
> that might be the right thing to do, as ROHC segmentation is much better
> than IP fragmentation on a non-reordering link.
> 
> So there *was* something specific that ROHC could bring to the table...
> 
> The remaining problem is that the compressor needs to know the tunnel MTU.
> 
> On ROHC, I wrote:
> 
>> So what would you want the compressor to do?
>> Run PLPMTUD (probes can be done by occasionally compressing badly*) on
>> the tunnel and reject (ICMP unreachable/Frag needed) all DF/IPv6
>> packets that would not fit with worst-case expansion?
>> Probably safe, but somewhat expensive.
>> [...]
>>
>> *) Yes, this needs way more text.
>> You would need to compress badly whenever compressing a packet that,
>> badly compressed, would not fit the currently established safe PMTU. 
>> That unfortunately tends to shrink while compressing well, which ROHC
>> tends to do :-)
> 
> So let's replace that with:
> 
>> Run PLPMTUD (probes can be done by occasionally compressing badly*) on
>> the tunnel and ROHC-segment all DF/IPv6 packets that would not fit
>> with worst-case expansion.
>> *) This can be done by sending the packet on a separate CID with an
>> IR, with some impact on compression efficiency on the original CID.
> 
> Does that work?
> 
> Gruesse, Carsten
> 
> _______________________________________________
> Rohc mailing list
> Rohc@ietf.org
> https://www.ietf.org/mailman/listinfo/rohc


From magnus.westerlund@ericsson.com  Tue May 19 04:40:04 2009
Return-Path: <magnus.westerlund@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 8E6F13A6A11; Tue, 19 May 2009 04:40:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.188
X-Spam-Level: 
X-Spam-Status: No, score=-6.188 tagged_above=-999 required=5 tests=[AWL=0.061,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 fJpwEB5PHfDX; Tue, 19 May 2009 04:40:03 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 1D91E3A68BB; Tue, 19 May 2009 04:40:02 -0700 (PDT)
X-AuditID: c1b4fb3e-b7babae000000a46-dd-4a129ae0c08e
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id E1.85.02630.0EA921A4; Tue, 19 May 2009 13:41:20 +0200 (CEST)
Received: from esealmw128.eemea.ericsson.se ([153.88.254.172]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 19 May 2009 13:41:20 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 19 May 2009 13:41:19 +0200
Message-ID: <4A129ADF.6090002@ericsson.com>
Date: Tue, 19 May 2009 13:41:19 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu> <582582D8-65C2-449E-A116-359D0F280275@muada.com> <4A11CEC5.4010901@isi.edu> <F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com> <4A11D057.8020903@isi.edu> <83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com> <4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <E252A5F4-0457-4BC3-B0C4-4D5437934D66@muada.com>
In-Reply-To: <E252A5F4-0457-4BC3-B0C4-4D5437934D66@muada.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 19 May 2009 11:41:19.0777 (UTC) FILETIME=[BA292910:01C9D876]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, TSV Area <tsv-area@ietf.org>, Joe Touch <touch@ISI.EDU>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 11:40:04 -0000

Iljitsch van Beijnum skrev:
> On 19 mei 2009, at 11:08, Magnus Westerlund wrote:
> 
>> So this is IPsec tunnel mode which is commonly used for VPN, which means
>> that one of parties are quite likely behind a NAT or at least a
>> firewall. Thus, relying on IP fragmentation is likely to mean, all
>> fragmented packets dropped on the floor by the middlebox.
> 
> Where do you get that?

I am not saying that all middleboxes are broken. Only that there is talk
about middleboxes that doesn't handle fragmentation properly. I don't
have any numbers for how common this is. However, it definitely has been
raised in BEHAVE, for example when we discussed section 11 of RFC 4787.

> 
> I've never heard of fragmentation breaking consistently in middleboxes.
> This is from a system behind a NAT running peer-to-peer stuff for a
> while and communicating with some local systems. Since locally
> everything is ethernet and that communication is basically only TCP I
> don't think the fragments were local:
> 
>     94869703 total packets received
>     112346 fragments received
>     0 fragments dropped (dup or out of space)
>     13 fragments dropped after timeout
>     53614 packets reassembled ok
> 



>> Also, the segmentation mechanism that ROHC has is currently defined to
>> be turned off. The ROHC people can fill in the motivation for that. One
>> is clearly the need to keep state in the tunnel end-points for
>> reassembly.
> 
> If you can do IPsec and header compression then reassembly for a small
> percentage of all packets isn't unreasonable.
> 

No, I agree that this shouldn't be an issue. But it does introduce a
certain amount of buffering requirements on the reassembling side. I
think the ROHC people already have provided the real reason for their
choice.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From cabo@tzi.org  Tue May 19 04:40:04 2009
Return-Path: <cabo@tzi.org>
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 97BD13A68BB; Tue, 19 May 2009 04:40:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 thmynD51koHG; Tue, 19 May 2009 04:40:03 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [IPv6:2001:638:708:30c9:209:3dff:fe00:7136]) by core3.amsl.com (Postfix) with ESMTP id 66DB53A6B9C; Tue, 19 May 2009 04:40:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id n4JBfP0h010415; Tue, 19 May 2009 13:41:25 +0200 (CEST)
Received: from [10.0.1.198] (reingewinn.informatik.uni-bremen.de [134.102.218.123]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTP id 401A81704D6; Tue, 19 May 2009 13:41:25 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
To: Carl Knutsson <carl.knutsson@effnet.com>
In-Reply-To: <4A12971D.8090404@effnet.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com>
Message-Id: <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 13:41:24 +0200
X-Mailer: Apple Mail (2.935.3)
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, Joe Touch <touch@ISI.EDU>, tero@levonline.com, Iljitsch van Beijnum <iljitsch@muada.com>, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 11:40:04 -0000

On May 19, 2009, at 13:25, Carl Knutsson wrote:

> As Tero pointed out, there already is a way in ROHCoIPSec to send
> packets uncompressed.

True.  This would mean that the ROHCoIPsec path inherits the MTU of  
the tunnel minus IPsec overhead.
But one might want to do better than that, making use of the fact that  
for many packets IPsec tunneling overhead will be mostly cancelled out  
by the inner ROHC compression.

> The tunnel already keeps track of the MTU to
> compensate for the IP, ESP AH headers. So adding ROHC overhead should
> not a problem. Why not let the user decide whether or not to use ROHC
> segmentation, IP fragmentation or sending large packets through the
> uncompressed channel.

...where user is the person who configured the tunnel.
Sounds good to me.
As long as the signals that go to the end hosts allow them to do  
(PL)PMTUD predictably.

> We could list pros and cons and give some guidelines.

...which would pretty much elaborate on my previous sentence.

Gruesse, Carsten


From touch@ISI.EDU  Tue May 19 09:43:01 2009
Return-Path: <touch@ISI.EDU>
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 13AC33A6A2A; Tue, 19 May 2009 09:43:01 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.057
X-Spam-Level: 
X-Spam-Status: No, score=-2.057 tagged_above=-999 required=5 tests=[AWL=0.542,  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 FOrsZh-L+uoM; Tue, 19 May 2009 09:43:00 -0700 (PDT)
Received: from nitro.isi.edu (nitro.isi.edu [128.9.208.207]) by core3.amsl.com (Postfix) with ESMTP id 3CB103A67AD; Tue, 19 May 2009 09:43:00 -0700 (PDT)
Received: from [128.9.168.63] (bet.isi.edu [128.9.168.63]) by nitro.isi.edu (8.13.8/8.13.8) with ESMTP id n4JGgmMA004553; Tue, 19 May 2009 09:42:49 -0700 (PDT)
Message-ID: <4A12E188.2010107@isi.edu>
Date: Tue, 19 May 2009 09:42:48 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.19 (Windows/20081209)
MIME-Version: 1.0
To: Carsten Bormann <cabo@tzi.org>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org>
In-Reply-To: <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-MailScanner-ID: n4JGgmMA004553
X-ISI-4-69-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, tero@levonline.com, Iljitsch van Beijnum <iljitsch@muada.com>, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 16:43:01 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

One question:

I wonder whether ROHC should "skip compression" (if that's even
possible) on packets when compression would present a phantom MTU. I.e.,
IMO ROHC ought to be focused on reducing header overhead, which is
critical for small packets, but not on presenting a larger MTU than the
path can handle with a native (uncompressed) packet.

If that were the case, then all this MTU stuff would go away, AFAICT.

Joe


Carsten Bormann wrote:
> On May 19, 2009, at 13:25, Carl Knutsson wrote:
> 
>> As Tero pointed out, there already is a way in ROHCoIPSec to send
>> packets uncompressed.
> 
> True.  This would mean that the ROHCoIPsec path inherits the MTU of the
> tunnel minus IPsec overhead.
> But one might want to do better than that, making use of the fact that
> for many packets IPsec tunneling overhead will be mostly cancelled out
> by the inner ROHC compression.
> 
>> The tunnel already keeps track of the MTU to
>> compensate for the IP, ESP AH headers. So adding ROHC overhead should
>> not a problem. Why not let the user decide whether or not to use ROHC
>> segmentation, IP fragmentation or sending large packets through the
>> uncompressed channel.
> 
> ...where user is the person who configured the tunnel.
> Sounds good to me.
> As long as the signals that go to the end hosts allow them to do
> (PL)PMTUD predictably.
> 
>> We could list pros and cons and give some guidelines.
> 
> ...which would pretty much elaborate on my previous sentence.
> 
> Gruesse, Carsten
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKEuGIE5f5cImnZrsRAvbyAKDA/CEaTjtBP54tJDYGzELTC9eb3ACdHjNL
n5wBG75BCD964eg2/RJ29Jg=
=SMLa
-----END PGP SIGNATURE-----

From touch@ISI.EDU  Tue May 19 11:22:21 2009
Return-Path: <touch@ISI.EDU>
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 85ED73A6D5F; Tue, 19 May 2009 11:22:21 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.094
X-Spam-Level: 
X-Spam-Status: No, score=-2.094 tagged_above=-999 required=5 tests=[AWL=0.506,  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 cDhSZb26YSCo; Tue, 19 May 2009 11:22:20 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id F0D783A6C7E; Tue, 19 May 2009 11:22:19 -0700 (PDT)
Received: from [128.9.161.245] ([128.9.161.245]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4JIEgib019108; Tue, 19 May 2009 11:14:43 -0700 (PDT)
Message-ID: <4A12F711.2090106@isi.edu>
Date: Tue, 19 May 2009 11:14:41 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Joe Touch <touch@ISI.EDU>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu>
In-Reply-To: <4A12E188.2010107@isi.edu>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, tero@levonline.com, Iljitsch van Beijnum <iljitsch@muada.com>, TSV Area <tsv-area@ietf.org>, Carsten Bormann <cabo@tzi.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 18:22:21 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi, all,

Here's what I'm wondering:

- -----------------

Does ROHC allow through packets that are not ROHC-tagged?

If so, the following may be a way forward:

When ROHC gets a packet that would have fit without ROHC, but won't now
(i.e., a packet that needs to be sent with the full header to resync
state AND needs to be tagged with the stream ID to enable that sync), then:

	a) send the packet without ROHC

	b) send a copy of the packet with no payload
	with the ROHC tags

(b) is to resync the state
(a) is to get the payload with the full MTU through when it won't
otherwise fit

Note that (b) is needed because a source may be sending a large flow of
MTU-sized packets, and there would be no way to send resync state otherwise.

This has the net effect of doing "fragmentation" except that it doesn't
fragment - either piece can be lost, and no reassembly is needed.

Would this suffice?

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoS9xEACgkQE5f5cImnZrv6pwCgqxCtz8ipEaChzeQAjaAVbMZL
1koAoKfN+hUua46yBG/XqMMNg3+MnS7S
=Jtb2
-----END PGP SIGNATURE-----

From iljitsch@muada.com  Tue May 19 11:43:06 2009
Return-Path: <iljitsch@muada.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 D7A343A6FD6 for <rohc@core3.amsl.com>; Tue, 19 May 2009 11:43:06 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[AWL=0.000,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 5nQjGwfRvdjG for <rohc@core3.amsl.com>; Tue, 19 May 2009 11:43:06 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 717C03A6FAC for <rohc@ietf.org>; Tue, 19 May 2009 11:43:06 -0700 (PDT)
Received: from [192.168.2.4] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n4JIhwJA015148 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 May 2009 20:43:59 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Joe Touch <touch@ISI.EDU>
In-Reply-To: <4A12F711.2090106@isi.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 20:44:08 +0200
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, tero@levonline.com, TSV Area <tsv-area@ietf.org>, Carsten Bormann <cabo@tzi.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 18:43:06 -0000

On 19 mei 2009, at 20:14, Joe Touch wrote:

> Does ROHC allow through packets that are not ROHC-tagged?

> 	a) send the packet without ROHC

> 	b) send a copy of the packet with no payload
> 	with the ROHC tags

That doesn't help much, because the only thing you save here is the  
"hey set up state for what follows" indicator in ROHC. Being  
unfamiliar with ROHC I'll go out on a limb and assume this is only a  
byte or so.

Assuming that we can predict if and how well a certain flow will  
compress, we could also simply drop a) and send back a too big with  
the size that will compress to what fits inside the MTU and just send  
b) through the tunnel.

From touch@ISI.EDU  Tue May 19 11:51:43 2009
Return-Path: <touch@ISI.EDU>
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 AD6113A70E2; Tue, 19 May 2009 11:51:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.178
X-Spam-Level: 
X-Spam-Status: No, score=-2.178 tagged_above=-999 required=5 tests=[AWL=0.421,  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 MqD-v8eLu7xy; Tue, 19 May 2009 11:51:42 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id 96FE13A70BF; Tue, 19 May 2009 11:51:31 -0700 (PDT)
Received: from [128.9.168.63] (bet.isi.edu [128.9.168.63]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4JIpuVb028319; Tue, 19 May 2009 11:51:57 -0700 (PDT)
Message-ID: <4A12FFCC.6080404@isi.edu>
Date: Tue, 19 May 2009 11:51:56 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com>
In-Reply-To: <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, tero@levonline.com, TSV Area <tsv-area@ietf.org>, Carsten Bormann <cabo@tzi.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 18:51:43 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Iljitsch van Beijnum wrote:
> On 19 mei 2009, at 20:14, Joe Touch wrote:
> 
>> Does ROHC allow through packets that are not ROHC-tagged?
> 
>>     a) send the packet without ROHC
> 
>>     b) send a copy of the packet with no payload
>>     with the ROHC tags
> 
> That doesn't help much, because the only thing you save here is the "hey
> set up state for what follows" indicator in ROHC. Being unfamiliar with
> ROHC I'll go out on a limb and assume this is only a byte or so.

The tag is a byte, but we're refreshing the whole IP (and TCP) header
context for the subsequent packets.

> Assuming that we can predict if and how well a certain flow will
> compress, we could also simply drop a) and send back a too big with the
> size that will compress to what fits inside the MTU and just send b)
> through the tunnel.

I'm trying to avoid having ROHC interfere with the E2E MTU of a non-ROHC
path.

Your solution tells the endpoint that all packets have to be smaller,
even when subsequent packets with the large MTU would have headers that
compressed enough to make space for the ROHC header.

Joe

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKEv/ME5f5cImnZrsRAlvUAJ4lBzS/4Am3aU7E0KkiVjiF3daUpQCgjsTp
VSi9Bi0hfrGvPjvEBSi5oK8=
=x7X9
-----END PGP SIGNATURE-----

From iljitsch@muada.com  Tue May 19 12:03:35 2009
Return-Path: <iljitsch@muada.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 84E1828C38D; Tue, 19 May 2009 12:03:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 IgMeG9K6yD5Z; Tue, 19 May 2009 12:03:34 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id E1A1928C3C9; Tue, 19 May 2009 12:02:03 -0700 (PDT)
Received: from [192.168.2.4] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n4JJ38np015282 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 May 2009 21:03:09 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Joe Touch <touch@ISI.EDU>
In-Reply-To: <4A12FFCC.6080404@isi.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 21:03:18 +0200
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 19:03:35 -0000

On 19 mei 2009, at 20:51, Joe Touch wrote:

>> Assuming that we can predict if and how well a certain flow will
>> compress, we could also simply drop a) and send back a too big with  
>> the
>> size that will compress to what fits inside the MTU and just send b)
>> through the tunnel.

> Your solution tells the endpoint that all packets have to be smaller,
> even when subsequent packets with the large MTU would have headers  
> that
> compressed enough to make space for the ROHC header.

No, what I mean is that if you get a packet that is 1500 bytes, your  
IPsec is 50 and ROHC for this packet at this time is +1 but we know  
that subsequent packets will be -30, then we return an MTU of 1500 -  
50 - -30 = 1480. Next packet is 1480, we do ROHC and it's 1450 and  
then IPsec = 1500 and we're in business.

Interesting question about what we do with packets that conform to the  
compressable MTU. In this case, 1480. Too big is unnecessary because  
the source is already sending small enough, but we'd have to drop (the  
data) anyway. With TCP, fast retransmit will catch this. Are there any  
corner cases we should worry about?

From touch@ISI.EDU  Tue May 19 13:25:36 2009
Return-Path: <touch@ISI.EDU>
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 54F513A6FF0; Tue, 19 May 2009 13:25:36 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.2
X-Spam-Level: 
X-Spam-Status: No, score=-2.2 tagged_above=-999 required=5 tests=[AWL=0.399, 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 Yd247n-jmJsj; Tue, 19 May 2009 13:25:35 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id 468B43A70C4; Tue, 19 May 2009 13:25:35 -0700 (PDT)
Received: from [128.9.168.63] (bet.isi.edu [128.9.168.63]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4JKQf3X020171; Tue, 19 May 2009 13:26:42 -0700 (PDT)
Message-ID: <4A131601.9080804@isi.edu>
Date: Tue, 19 May 2009 13:26:41 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu> <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com>
In-Reply-To: <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 20:25:36 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Iljitsch van Beijnum wrote:
> On 19 mei 2009, at 20:51, Joe Touch wrote:
> 
>>> Assuming that we can predict if and how well a certain flow will
>>> compress, we could also simply drop a) and send back a too big with the
>>> size that will compress to what fits inside the MTU and just send b)
>>> through the tunnel.
> 
>> Your solution tells the endpoint that all packets have to be smaller,
>> even when subsequent packets with the large MTU would have headers that
>> compressed enough to make space for the ROHC header.
> 
> No, what I mean is that if you get a packet that is 1500 bytes, your
> IPsec is 50 and ROHC for this packet at this time is +1 but we know that
> subsequent packets will be -30, then we return an MTU of 1500 - 50 - -30
> = 1480. Next packet is 1480, we do ROHC and it's 1450 and then IPsec =
> 1500 and we're in business.

The problem is that when a 1480 packet arrives and you do ROHC, it's
1450 only most of the time; sometimes it's 1481 because it needs the
full original header and the ROHC stream ID. Those "big" packets are
required by ROHC to resync, and would be dropped after IPsec.

> Interesting question about what we do with packets that conform to the
> compressable MTU. In this case, 1480. Too big is unnecessary because the
> source is already sending small enough, but we'd have to drop (the data)
> anyway. With TCP, fast retransmit will catch this. Are there any corner
> cases we should worry about?

Even if TCP does fast retransmit, at some point the stream needs to get
through a payload of 1481, which will never get through. The result is
that ROHC will never resync, and *everything* will get thrown on the
floor...

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKExYBE5f5cImnZrsRAjzkAKC5f0FkIw7BwWLuLQ4i6msLgo7jUQCfQkfk
BPFI1cqw23Xpts7IziQGLXY=
=G1PP
-----END PGP SIGNATURE-----

From touch@ISI.EDU  Tue May 19 13:29:11 2009
Return-Path: <touch@ISI.EDU>
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 3F68B3A70D4; Tue, 19 May 2009 13:29:11 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.22
X-Spam-Level: 
X-Spam-Status: No, score=-2.22 tagged_above=-999 required=5 tests=[AWL=0.379,  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 0qgZidRIZLGX; Tue, 19 May 2009 13:29:10 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id 694513A6999; Tue, 19 May 2009 13:29:10 -0700 (PDT)
Received: from [128.9.168.63] (bet.isi.edu [128.9.168.63]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4JKL3sB019011; Tue, 19 May 2009 13:21:04 -0700 (PDT)
Message-ID: <4A1314AF.6050400@isi.edu>
Date: Tue, 19 May 2009 13:21:03 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
References: <4A1163BF.5010300@ericsson.com><4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu><4A127707.7030606@ericsson.com><275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org><4A12971D.8090404@effnet.com><4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org><4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <39C363776A4E8C4A94691D2BD9D1C9A105F43C93@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A105F43C93@XCH-NW-7V2.nw.nos.boeing.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: TSV Area <tsv-area@ietf.org>, rohc@ietf.org, tero@levonline.com
Subject: Re: [rohc] [tsv-area]   Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 20:29:11 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Templin, Fred L wrote:
> Did someone say "tunnel MTU"?
...
> Enter SEAL (draft-templin-seal). 

That works only when we deploy SEAL at the endpoints. Short of
incorporating SEAL into ROHC, there ought to be other solutions that are
less complex...

Joe

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKExSvE5f5cImnZrsRAiQSAKDBATVLnYQmbe6G4JtpRZ6Le/dcOwCgrdUr
ECNzldp+Hy+0rRb4svuBByA=
=c6J/
-----END PGP SIGNATURE-----

From iljitsch@muada.com  Tue May 19 13:55:09 2009
Return-Path: <iljitsch@muada.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 0342C3A699C; Tue, 19 May 2009 13:55:09 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 SnBhF6y7lsMO; Tue, 19 May 2009 13:55:08 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id E6AFA3A67A6; Tue, 19 May 2009 13:55:07 -0700 (PDT)
Received: from [192.168.2.4] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n4JKu3cj016201 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 May 2009 22:56:04 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <1B1292D8-E10B-4021-9F8A-8B0891AE1FB7@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Joe Touch <touch@ISI.EDU>
In-Reply-To: <4A131601.9080804@isi.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 22:56:13 +0200
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu> <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com> <4A131601.9080804@isi.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 20:55:09 -0000

On 19 mei 2009, at 22:26, Joe Touch wrote:

> The problem is that when a 1480 packet arrives and you do ROHC, it's
> 1450 only most of the time; sometimes it's 1481 because it needs the
> full original header and the ROHC stream ID. Those "big" packets are
> required by ROHC to resync, and would be dropped after IPsec.

In those cases the packet would be truncated so there's enough for  
ROHC to resync but obviously the receiver doesn't get the original  
packet so the sender will have to retransmit. This is not a problem if  
the retransmitted packet does compress so it fits.

So as long as we can accurately predict which packets will compress  
enough to fit upon retransmission it's safe to drop them if they do  
and we send a too big if they don't.

> Even if TCP does fast retransmit, at some point the stream needs to  
> get
> through a payload of 1481, which will never get through. The result is
> that ROHC will never resync, and *everything* will get thrown on the
> floor...

Didn't you just suggest to just send enough of the original packet to  
make ROHC do its thing? That piece of the packet should be small  
enough to always fit.

From touch@ISI.EDU  Tue May 19 14:18:16 2009
Return-Path: <touch@ISI.EDU>
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 A0D0528C157; Tue, 19 May 2009 14:18:16 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.238
X-Spam-Level: 
X-Spam-Status: No, score=-2.238 tagged_above=-999 required=5 tests=[AWL=0.361,  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 D-FqN3Wdmhvk; Tue, 19 May 2009 14:18:15 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id 8359A28C145; Tue, 19 May 2009 14:18:15 -0700 (PDT)
Received: from [128.9.168.63] (bet.isi.edu [128.9.168.63]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4JLEvEW003370; Tue, 19 May 2009 14:14:59 -0700 (PDT)
Message-ID: <4A132151.5000405@isi.edu>
Date: Tue, 19 May 2009 14:14:57 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu> <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com> <4A131601.9080804@isi.edu> <1B1292D8-E10B-4021-9F8A-8B0891AE1FB7@muada.com>
In-Reply-To: <1B1292D8-E10B-4021-9F8A-8B0891AE1FB7@muada.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 21:18:16 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Iljitsch van Beijnum wrote:
> On 19 mei 2009, at 22:26, Joe Touch wrote:
> 
>> The problem is that when a 1480 packet arrives and you do ROHC, it's
>> 1450 only most of the time; sometimes it's 1481 because it needs the
>> full original header and the ROHC stream ID. Those "big" packets are
>> required by ROHC to resync, and would be dropped after IPsec.
> 
> In those cases the packet would be truncated so there's enough for ROHC
> to resync but obviously the receiver doesn't get the original packet so
> the sender will have to retransmit. This is not a problem if the
> retransmitted packet does compress so it fits.

Ah - OK, that works. Not efficiently, but it works.

> So as long as we can accurately predict which packets will compress
> enough to fit upon retransmission it's safe to drop them if they do and
> we send a too big if they don't.
> 
>> Even if TCP does fast retransmit, at some point the stream needs to get
>> through a payload of 1481, which will never get through. The result is
>> that ROHC will never resync, and *everything* will get thrown on the
>> floor...
> 
> Didn't you just suggest to just send enough of the original packet to
> make ROHC do its thing? That piece of the packet should be small enough
> to always fit.

Yes, except that I also suggested sending the packet without any ROHC on
it too. That works only if ROHC is NOT used in the computation to
increase the MTU.

I.e., IMO ROHC ought NOT be used to increase the MTU. It ought to be
used primarily to reduce header overhead. It's a bit silly to do all
this work for 2%.

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.3 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFKEyFRE5f5cImnZrsRAiqSAJ4t5aAfbciiuByB89anJsz5N2IErACfVpH+
pSR36PrPMlwPIfkTftak2dg=
=ZjX5
-----END PGP SIGNATURE-----

From iljitsch@muada.com  Tue May 19 14:26:48 2009
Return-Path: <iljitsch@muada.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 56CD73A6EA8; Tue, 19 May 2009 14:26:48 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.599
X-Spam-Level: 
X-Spam-Status: No, score=-6.599 tagged_above=-999 required=5 tests=[BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 vPTrzLq7HHc9; Tue, 19 May 2009 14:26:47 -0700 (PDT)
Received: from sequoia.muada.com (sequoia.muada.com [83.149.65.1]) by core3.amsl.com (Postfix) with ESMTP id 594DF3A6DFF; Tue, 19 May 2009 14:26:47 -0700 (PDT)
Received: from [192.168.2.4] (static-167-138-7-89.ipcom.comunitel.net [89.7.138.167] (may be forged)) (authenticated bits=0) by sequoia.muada.com (8.13.3/8.13.3) with ESMTP id n4JLPXe8016335 (version=TLSv1/SSLv3 cipher=AES128-SHA bits=128 verify=NO); Tue, 19 May 2009 23:25:34 +0200 (CEST) (envelope-from iljitsch@muada.com)
Message-Id: <F4AE02D3-12D3-4D30-802B-5918A683CC82@muada.com>
From: Iljitsch van Beijnum <iljitsch@muada.com>
To: Joe Touch <touch@ISI.EDU>
In-Reply-To: <4A132151.5000405@isi.edu>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 19 May 2009 23:25:43 +0200
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu> <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com> <4A131601.9080804@isi.edu> <1B1292D8-E10B-4021-9F8A-8B0891AE1FB7@muada.com> <4A132151.5000405@isi.edu>
X-Mailer: Apple Mail (2.935.3)
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 21:26:48 -0000

On 19 mei 2009, at 23:14, Joe Touch wrote:

>> Didn't you just suggest to just send enough of the original packet to
>> make ROHC do its thing? That piece of the packet should be small  
>> enough
>> to always fit.

> Yes, except that I also suggested sending the packet without any  
> ROHC on
> it too.

Yes, but then you would still almost never have full-size packets so  
the ROHC only saves bandwidth, not packets. Basically this will buy  
you a 1 byte larger MTU, not worth the trouble because the IPsec  
header already exposes you to PMTUD blackholes anyway.

Ideally, the decapsulator can tell the encapsulator what to do because  
the decapsulator knows about whether it's behind a NAT with  
fragmentation issues. But then there would have to be signaling that  
carries this information.

From touch@ISI.EDU  Tue May 19 14:35:42 2009
Return-Path: <touch@ISI.EDU>
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 8D5D03A6FF0; Tue, 19 May 2009 14:35:42 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.254
X-Spam-Level: 
X-Spam-Status: No, score=-2.254 tagged_above=-999 required=5 tests=[AWL=0.345,  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 8xWML6lfewHd; Tue, 19 May 2009 14:35:41 -0700 (PDT)
Received: from vapor.isi.edu (vapor.isi.edu [128.9.64.64]) by core3.amsl.com (Postfix) with ESMTP id 9D6DE3A6FB6; Tue, 19 May 2009 14:35:41 -0700 (PDT)
Received: from [128.9.161.245] ([128.9.161.245]) by vapor.isi.edu (8.13.8/8.13.8) with ESMTP id n4JLaxCH008267; Tue, 19 May 2009 14:37:01 -0700 (PDT)
Message-ID: <4A13267A.2070402@isi.edu>
Date: Tue, 19 May 2009 14:36:58 -0700
From: Joe Touch <touch@ISI.EDU>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Iljitsch van Beijnum <iljitsch@muada.com>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu> <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com> <4A131601.9080804@isi.edu> <1B1292D8-E10B-4021-9F8A-8B0891AE1FB7@muada.com> <4A132151.5000405@isi.edu> <F4AE02D3-12D3-4D30-802B-5918A683CC82@muada.com>
In-Reply-To: <F4AE02D3-12D3-4D30-802B-5918A683CC82@muada.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit
X-ISI-4-43-8-MailScanner: Found to be clean
X-MailScanner-From: touch@isi.edu
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, Carsten Bormann <cabo@tzi.org>, rohc@ietf.org, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 21:35:42 -0000

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1



Iljitsch van Beijnum wrote:
> On 19 mei 2009, at 23:14, Joe Touch wrote:
> 
>>> Didn't you just suggest to just send enough of the original packet to
>>> make ROHC do its thing? That piece of the packet should be small enough
>>> to always fit.
> 
>> Yes, except that I also suggested sending the packet without any ROHC on
>> it too.
> 
> Yes, but then you would still almost never have full-size packets so the
> ROHC only saves bandwidth, not packets.

I wouldn't say only. The number of packets you save is still in the noise...

> Basically this will buy you a 1
> byte larger MTU, not worth the trouble because the IPsec header already
> exposes you to PMTUD blackholes anyway.

Using ROHC allows you 30 bytes more in the MTU if you try hard, but
causes this sort of hiccup on resync packets as a result. IMO, that's
more trouble than it's worth.

> Ideally, the decapsulator can tell the encapsulator what to do because
> the decapsulator knows about whether it's behind a NAT with
> fragmentation issues. But then there would have to be signaling that
> carries this information.

Yeah - that's what Fred was getting at with SEAL, which has that sort of
signalling.

Joe
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iEYEARECAAYFAkoTJnkACgkQE5f5cImnZrs4CQCffKV0CLgyitOBk7Eznplq6BYQ
5B0An3YCk6KEqkWMFWdgP+ziPso/wuMJ
=2UDf
-----END PGP SIGNATURE-----

From prvs=383151d1e=ertekin_emre@bah.com  Tue May 19 15:24:01 2009
Return-Path: <prvs=383151d1e=ertekin_emre@bah.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 9E9F23A6E4D for <rohc@core3.amsl.com>; Tue, 19 May 2009 15:24:01 -0700 (PDT)
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 7hZ8yztvafQl for <rohc@core3.amsl.com>; Tue, 19 May 2009 15:24:00 -0700 (PDT)
Received: from mclniron01-ext.bah.com (mclniron01-ext.bah.com [156.80.1.71]) by core3.amsl.com (Postfix) with ESMTP id A24F93A6C11 for <rohc@ietf.org>; Tue, 19 May 2009 15:24:00 -0700 (PDT)
x-SBRS: None
X-REMOTE-IP: 156.80.7.153
X-IronPort-AV: E=Sophos;i="4.41,217,1241409600"; d="scan'208";a="23094063"
Received: from mclnexbh03.resource.ds.bah.com ([156.80.7.153]) by mclniron01-int.bah.com with ESMTP; 19 May 2009 18:25:34 -0400
Received: from MCLNEXVS05.resource.ds.bah.com ([156.80.7.121]) by mclnexbh03.resource.ds.bah.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 May 2009 18:25:34 -0400
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 19 May 2009 18:25:25 -0400
Message-ID: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E16F@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <4A0C4219.4080900@ericsson.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: AD comments on draft-ietf-rohc-hcoipsec-10
Thread-Index: AcnUrkt3meRYzTI7S7uhk3ZBVhix6AD6Pprg
References: <4A0C4219.4080900@ericsson.com>
From: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
To: "Magnus Westerlund" <magnus.westerlund@ericsson.com>, <rohc@ietf.org>, <draft-ietf-rohc-hcoipsec@tools.ietf.org>
X-OriginalArrivalTime: 19 May 2009 22:25:34.0381 (UTC) FILETIME=[BA19A5D0:01C9D8D0]
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Tue, 19 May 2009 22:26:59 -0000

Hi Magnus,

Thanks for your comprehensive review of our documents.  Please find
below our response to your comments.

> Hi,
>=20
> I have now reviewed the three documents in the ROHC over IPsec
> solution.
> I will comment here on some high level issues that may require
document
> updates, however not necessarily in this document. Please consider if
> the fix is more appropriate in any of the other two documents.
>=20
> 1. I find there is a lack of discussion of how to handle Path MTU for
> these ROHC inside of a IPsec SA. The issue to me is the variable size
> compressed packet. That makes the actual MTU seen on the ingress of
the
> processing to jump up and down depending on what type of ROHC packet
is
> created for a particular packet. To me it appears that the MTU with
> ROHC
> enabled in a IPsec SA is less than without ROHC when sending IR.
>=20
> There must be some discussion about this issue. How it affects path
MTU
> discovery, what to do about it so that one don't get spurious IP
> fragmentation or MTU losses for packets with DF bit set.

Thanks for starting a thread on this on the tsv mailing list.  We will
provide our thoughts on the other email thread.
=20
> 2. I understand that one the negotiation mechanism is sufficient to
> ensure that the decompressor doesn't get a profile or more CID then it
> can handle. However, wouldn't it be suitable to recommend at least
some
> basic set of functionality that is mandatory to support to ensure
> better
> interoperability and minimal achieved functionality.

We could update the drafts to specify a "minimum mandatory set of
capabilities" that a compressor/decompressor must support.  However, the
motivation for not specifying this "minimum mandatory set of
capabilities" is that we wanted to remain consistent with traditional
hop-by-hop ROHC specs/implementations.  I took a look at RFCs 3095 and
3241, and these do not specify a minimum set of profiles, CIDs, etc., a
ROHC instance must support.  The ROHC/PPP only suggests values for these
parameters (similarly, we suggest values for these parameters in our
drafts).

Correct me if I a wrong, but I think that the only mandatory capability
is the uncompressed profile...and the utility of this profile is limited
in the context of ROHCoIPsec.

Presumably, with all the other pre-configurations (e.g., SPD) that are
required between two IPsec implementations to get an SA up, we can
mitigate the interoperability concerns that you allude to through this
pre-configuration process (e.g.,  simply synchronize ROHC parameters
between two IPsec implementations).  Therefore, I would like to leave
the drafts as-is, but I am open to further discussion.

> 3. When I read this document I get the impression that it would be
> suitable to be published as a proposed standard because it defines so
> much how things shall interact. So can you please motivate why you
> think
> Informational is more suitable?

Back when we started this draft, we intended it to be a informational
requirements document.  Over time, the requirements flavor changed, but
the general intent is still the same, i.e., to provide some
background/guidance for the IKEv2 and IPsec drafts. =20

> 4. Section 6.
>=20
> The Next Header field of the security protocol header
>    (e.g., ESP, AH) is populated with a "ROHC" identifier,
>=20
> Considering that you are having so much other references, why not a
> reference to where this one is defined? Also should it not say: ...
> "ROHC" protocol number?

Agree.  I will update the draft accordingly.

BR,
Emre


From prvs=383151d1e=ertekin_emre@bah.com  Tue May 19 15:23:58 2009
Return-Path: <prvs=383151d1e=ertekin_emre@bah.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 CEE373A6EB5 for <rohc@core3.amsl.com>; Tue, 19 May 2009 15:23:58 -0700 (PDT)
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 EaqioXddbbYl for <rohc@core3.amsl.com>; Tue, 19 May 2009 15:23:58 -0700 (PDT)
Received: from mclniron02-ext.bah.com (mclniron02-ext.bah.com [156.80.1.73]) by core3.amsl.com (Postfix) with ESMTP id D11273A6E4D for <rohc@ietf.org>; Tue, 19 May 2009 15:23:57 -0700 (PDT)
x-SBRS: None
X-REMOTE-IP: 156.80.7.153
X-IronPort-AV: E=Sophos;i="4.41,217,1241409600"; d="scan'208";a="19313263"
Received: from mclnexbh03.resource.ds.bah.com ([156.80.7.153]) by mclniron02-int.bah.com with ESMTP; 19 May 2009 18:25:34 -0400
Received: from MCLNEXVS05.resource.ds.bah.com ([156.80.7.121]) by mclnexbh03.resource.ds.bah.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 May 2009 18:25:34 -0400
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 19 May 2009 18:25:25 -0400
Message-ID: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E170@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <4A0C421C.8000803@ericsson.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: AD comments on draft-ietf-rohc-ipsec-extensions-hcoipsec-04
Thread-Index: AcnUrk3cUhtG2NpmRi2vccc21nGB1gD9YDAg
References: <4A0C421C.8000803@ericsson.com>
From: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
To: "Magnus Westerlund" <magnus.westerlund@ericsson.com>, <draft-ietf-rohc-ipsec-extensions-hcoipsec@tools.ietf.org>, <rohc@ietf.org>
X-OriginalArrivalTime: 19 May 2009 22:25:34.0600 (UTC) FILETIME=[BA3B1080:01C9D8D0]
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ipsec-extensions-hcoipsec-04
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: Tue, 19 May 2009 22:27:00 -0000

Hi Magnus,

Please find our responses to your comments on the IPsec extensions
draft.

> Section 3.1:
>=20
> Shouldn't it be discussed when this protocol number is appropriate to
> be
> used. To me it appears that some requirements need to be fulfilled
> before one uses it on a particular layer. Running ROHC straight on top
> of IPv6 for example seems like a bad idea in most case due to such
> considerations as security and denial of service for the decompressor,
> the multi-hop environment, and lack of clear logical channel.

This is good idea.  At the end of the section, we can add a paragraph
that describes usage considerations of the ROHC protocol number. =20

However, we would like to craft the paragraph such that it doesn't
preclude the ROHC protocol number use in other scenarios.  Rather, the
text will identify considerations that need to be accounted for if the
ROHC protocol number is used for some other purpose.

>=20
> Section 3.2.1:
>=20
> I think the language in this section could be benefit from being
> written
> in active tense saying what to do, rather than what happens.
Especially
> when we comes to bullets like:
>=20
>       The decompressed packet is used with the integrity algorithm
(and
>       its respective key) to compute a ROHC ICV that is compared to
the
>       appended ICV (if these two values differ, the packet is dropped)
>=20
> The second parenthesis seems to be a very hard requirement because
> otherwise the ROHCoIPsec solution doesn't have a clear integrity
> preserving property.

OK - I will clean up the text in this section (and section 3.3.) based
on your comment.

> Section 3.2.1:
>=20
> What ICV algorithms and key lengths must be supported in the
> implementations? This is to ensure that there are at least one
> algorithm
>  and key length that are supported by everyone.

This was discussed in a separate email thread.  I would recommend that
we remain consistent the AUTH algorithm requirements defined in RFC
4835: =20

	 Requirement    Algorithm
       -----------    ----------------
       MUST           HMAC-SHA1-96=20
       SHOULD+        AES-XCBC-MAC-96=20
       MAY            HMAC-MD5-96=20

Note, however, that this does not necessarily mean that HMAC-SHA1-96
must be negotiated for any particular ROHC-enabled SA.  What is actually
negotiated depends on depends on policy.  Specification of the above
provides a "common denominator" for the AUTH algorithm that is available
for use across all ROHCoIPsec implementations.

BR,
Emre


From prvs=383151d1e=ertekin_emre@bah.com  Tue May 19 15:23:59 2009
Return-Path: <prvs=383151d1e=ertekin_emre@bah.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 3026E3A6EB5 for <rohc@core3.amsl.com>; Tue, 19 May 2009 15:23:59 -0700 (PDT)
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 V8E66qvSRKNN for <rohc@core3.amsl.com>; Tue, 19 May 2009 15:23:58 -0700 (PDT)
Received: from mclniron02-ext.bah.com (mclniron02-ext.bah.com [156.80.1.73]) by core3.amsl.com (Postfix) with ESMTP id 2C8DE3A6C11 for <rohc@ietf.org>; Tue, 19 May 2009 15:23:58 -0700 (PDT)
x-SBRS: None
X-REMOTE-IP: 156.80.7.153
X-IronPort-AV: E=Sophos;i="4.41,217,1241409600"; d="scan'208";a="19313264"
Received: from mclnexbh03.resource.ds.bah.com ([156.80.7.153]) by mclniron02-int.bah.com with ESMTP; 19 May 2009 18:25:35 -0400
Received: from MCLNEXVS05.resource.ds.bah.com ([156.80.7.121]) by mclnexbh03.resource.ds.bah.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 May 2009 18:25:34 -0400
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 19 May 2009 18:25:26 -0400
Message-ID: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E171@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <4A0C4221.1090302@ericsson.com>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
Thread-Index: AcnUrlNO5Jv532/ASda0uLg/0S9mngEAWzoQ
References: <4A0C4221.1090302@ericsson.com>
From: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
To: "Magnus Westerlund" <magnus.westerlund@ericsson.com>, <rohc@ietf.org>, <draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org>
X-OriginalArrivalTime: 19 May 2009 22:25:34.0819 (UTC) FILETIME=[BA5C7B30:01C9D8D0]
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Tue, 19 May 2009 22:27:00 -0000

Hi Magnus,

Thanks for your comments to our IKEv2 Extensions to support ROHC draft.
I aggregated all discussions in the email exchanges, and summarize the
adjudications/way forward for each comment.  Please see below: =20
=20
> Section 2.1.2
>=20
> Maximum Context Identifier (MAX_CID, AF =3D 1)
>       The MAX_CID attribute is a mandatory attribute.  Exactly one
>       MAX_CID attribute must be sent.  The MAX_CID field indicates the
>       maximum value of a context Identifier supported by the
ROHCoIPsec
>       decompressor.  This attribute value is two octets in length.
The
>=20
> Ertekin, et al.          Expires August 6, 2009                 [Page
> 5]
> Internet-Draft   IKEv2 Extensions to Support ROHCoIPsec    February
> 2009
>=20
>       range of values for MAX_CID must be at least 0 and at most 16383
>       (the value 0 implies having one context).  The recipient of the
>       MAX_CID Attribute must only use up to MAX_CID context
identifiers
>       for compression.
>=20
>       Suggested value: 15
>=20
> The suggested value seems to me to be highly variable depending on
> particular usage. Therefore this value should be put in a context on
> where it is suitable. Also, is this a minimal required or simply a
> recommendation.

We recommended this value such that we ROHC can operate within the
boundary of small CIDs.  The value is useful for SAs that are only
carrying a few flows. =20

However, I agree with you that this value really depends on the usage
scenario.  For a ROHCoIPsec SA that is compressing traffic for a large
number of flows, a larger MAX_CID value might be more applicable.  We
will add clarifying text to indicate this.

This value wasn't intended to be a minimal required, just a
recommendation--similar to how hop-by-hop doesn't specify a minimal
required value for this channel parameter.

> 2. Section 2.1.2:
>=20
> ROHC Profile (ROHC_PROFILE, AF =3D 1)
>       The ROHC_PROFILE attribute is a mandatory attribute.  At least
> one
>       ROHC_PROFILE attribute(s) must be sent.  A ROHC_PROFILE
attribute
>       contains a two-octet profile supported by the ROHCoIPsec
>       decompressor.  The recipient of a ROHC_PROFILE attribute(s) must
>       only use the profile(s) proposed for compression.
>=20
> Unclear formulation regarding the usage of many attributes. To me one
> could be clearer and say something like. One or more ROHC Profile
> attributes provides a list of all supported profiles by the
> decompressor. The order is arbitrary.

OK - we will change the text accordingly.

>=20
> 3. Section 2.1.2: Required to support algorithm? Can you please
clarify
> which algorithm are required to be supported for interoperability.

As discussed in our email exchanges, perhaps we can remain consistent
with the AUTH algorithms defined in RFC 4835.

> 4. Section 2.1.2: "
>       1.  The key for this Integrity Algorithm is computed using the
>           same method as is used to compute IPsec's Integrity
Algorithm
>           key ([IKEV2], Section 2.17)."
>=20
> If I interpret this text and read 2.17 I get the impression that you
> are
> saying that one should use the same key as the one generated for the
SA
> within one is operating. Is that the correct interpretation?

This comment was addressed by Tero.  We will add some clarifying text,
but the changes will not be too significant.=20

> 5. Section 2.1.2: How and when is the ROHC ICV re-keyed? And if not,
> please say so explicitly. If the key i changed, how is that
coordinated
> with the actual datapackets? SPI?

Again, Tero adjudicated this comment.  We can add some clarifying text
that indicates that when the IPsec SA gets rekeyed, the rekeying
procedure will also rekey the ROHC ICV.  We can add such text to both
the IKEv2 extensions and IPsec extensions drafts.


BR,
Emre

From prvs=3849261c5=ertekin_emre@bah.com  Tue May 19 20:44:10 2009
Return-Path: <prvs=3849261c5=ertekin_emre@bah.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 761D33A6C0B; Tue, 19 May 2009 20:44:10 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.486
X-Spam-Level: 
X-Spam-Status: No, score=-2.486 tagged_above=-999 required=5 tests=[AWL=0.113,  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 IXYF8o9RaTDk; Tue, 19 May 2009 20:44:03 -0700 (PDT)
Received: from mclniron01-ext.bah.com (mclniron01-ext.bah.com [156.80.1.71]) by core3.amsl.com (Postfix) with ESMTP id 5F1833A657C; Tue, 19 May 2009 20:44:03 -0700 (PDT)
x-SBRS: None
X-REMOTE-IP: 156.80.7.151
X-IronPort-AV: E=Sophos;i="4.41,218,1241409600"; d="scan'208";a="23129595"
Received: from mclnexbh01.resource.ds.bah.com ([156.80.7.151]) by mclniron01-int.bah.com with ESMTP; 19 May 2009 23:45:28 -0400
Received: from MCLNEXVS05.resource.ds.bah.com ([156.80.7.121]) by mclnexbh01.resource.ds.bah.com with Microsoft SMTPSVC(6.0.3790.3959); Tue, 19 May 2009 23:45:20 -0400
x-mimeole: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 19 May 2009 23:45:08 -0400
Message-ID: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E211@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [rohc] [tsv-area] Path MTU discovery when having varying MTU
Thread-Index: AcnYdtiUmLqO0sl3Q2OSi3r51hH1swAeEu6Q
References: <4A1163BF.5010300@ericsson.com><4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu><4A127707.7030606@ericsson.com><275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org><4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org>
From: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
To: "Carsten Bormann" <cabo@tzi.org>, "Carl Knutsson" <carl.knutsson@effnet.com>
X-OriginalArrivalTime: 20 May 2009 03:45:20.0474 (UTC) FILETIME=[65E71BA0:01C9D8FD]
Cc: Magnus Westerlund <magnus.westerlund@ericsson.com>, rohc@ietf.org, tero@levonline.com, Joe Touch <touch@ISI.EDU>, Iljitsch van Beijnum <iljitsch@muada.com>, TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Wed, 20 May 2009 03:48:03 -0000

> > As Tero pointed out, there already is a way in ROHCoIPSec to send
> > packets uncompressed.
>=20
> True.  This would mean that the ROHCoIPsec path inherits the MTU of
> the tunnel minus IPsec overhead.
> But one might want to do better than that, making use of the fact that
> for many packets IPsec tunneling overhead will be mostly cancelled out
> by the inner ROHC compression.
>=20
> > The tunnel already keeps track of the MTU to
> > compensate for the IP, ESP AH headers. So adding ROHC overhead
should
> > not a problem. Why not let the user decide whether or not to use
ROHC
> > segmentation, IP fragmentation or sending large packets through the
> > uncompressed channel.
>=20
> ...where user is the person who configured the tunnel.
> Sounds good to me.
> As long as the signals that go to the end hosts allow them to do
> (PL)PMTUD predictably.
>=20
> > We could list pros and cons and give some guidelines.
>=20
> ...which would pretty much elaborate on my previous sentence.
>=20
> Gruesse, Carsten

I agree with the discussion here. =20

For the sake of these drafts, how about we add brief discussion on the
following potential solutions:
-- applying ROHC segmentation
-- IP fragmenting packets post ROHC/IPsec processing=20

Perhaps we simply document the benefits / considerations of these two
alternatives.  Also, now that ROHC segmentation is possible, we will
also need to change some of the current wording (which specifies that
segmentation is not used) in the IKEv2 and IPsec drafts.
=20
If we wanted to open it up further, we could also look at the following
alternatives (however, these will deviate a bit more from what is
currently in these drafts):
--as Joe mentioned, if the ROHC packet exceeds the size of the MTU, just
transmit the uncompressed packet.  However, the drawback here is that
ROHC is statefull compression algorithm... and we could run into
problems in terms of context state invalidation (e.g., if the copy of
the packet with no payload gets reordered or dropped in the unprotected
domain).
--inner fragmentation, where the packet is fragmented and then
subsequently handed to the ROHC-enabled SA for compression and IPsec
processing.  However, AFAIK, I do not think that current ROHC profiles
can compresses packets/packet fragments (e.g., MF is STATIC-KNOWN, and
is always assumed to be 0), so such a solution could be a bit difficult
as well.

BR,
Emre

From Fred.L.Templin@boeing.com  Tue May 19 12:17:37 2009
Return-Path: <Fred.L.Templin@boeing.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 BC2633A6971; Tue, 19 May 2009 12:17:37 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.166
X-Spam-Level: 
X-Spam-Status: No, score=-6.166 tagged_above=-999 required=5 tests=[AWL=0.433,  BAYES_00=-2.599, RCVD_IN_DNSWL_MED=-4]
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 0EkfccUcGwTv; Tue, 19 May 2009 12:17:36 -0700 (PDT)
Received: from stl-smtpout-01.boeing.com (stl-smtpout-01.boeing.com [130.76.96.56]) by core3.amsl.com (Postfix) with ESMTP id 1D13928C38B; Tue, 19 May 2009 12:15:50 -0700 (PDT)
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6]) by stl-smtpout-01.ns.cs.boeing.com (8.14.0/8.14.0/8.14.0/SMTPOUT) with ESMTP id n4JJARwn013853 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL); Tue, 19 May 2009 14:10:27 -0500 (CDT)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1]) by stl-av-01.boeing.com (8.14.0/8.14.0/DOWNSTREAM_RELAY) with ESMTP id n4JJAQ0E002776; Tue, 19 May 2009 14:10:27 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com [130.247.55.84]) by stl-av-01.boeing.com (8.14.0/8.14.0/UPSTREAM_RELAY) with ESMTP id n4JJAP0Z002735; Tue, 19 May 2009 14:10:26 -0500 (CDT)
Received: from XCH-NW-7V2.nw.nos.boeing.com ([130.247.54.35]) by XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.3959);  Tue, 19 May 2009 12:10:26 -0700
X-MimeOLE: Produced By Microsoft Exchange V6.5
Content-class: urn:content-classes:message
MIME-Version: 1.0
Content-Type: text/plain; charset="US-ASCII"
Content-Transfer-Encoding: quoted-printable
Date: Tue, 19 May 2009 12:10:25 -0700
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A105F43C93@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <4A12F711.2090106@isi.edu>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [tsv-area] [rohc]  Path MTU discovery when having varying MTU
Thread-Index: AcnYrvtR8r1MLVT4Sn62jSzsk6bSzAAAqJYA
References: <4A1163BF.5010300@ericsson.com><4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu><4A127707.7030606@ericsson.com><275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org><4A12971D.8090404@effnet.com><4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org><4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu>
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Joe Touch" <touch@ISI.EDU>
X-OriginalArrivalTime: 19 May 2009 19:10:26.0216 (UTC) FILETIME=[777D7280:01C9D8B5]
X-Mailman-Approved-At: Tue, 19 May 2009 23:47:56 -0700
Cc: TSV Area <tsv-area@ietf.org>, rohc@ietf.org, tero@levonline.com
Subject: Re: [rohc] [tsv-area]   Path MTU discovery when having varying MTU
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: Tue, 19 May 2009 19:17:37 -0000

Did someone say "tunnel MTU"?

The problem is that the tunnel is a link, and the link
needs to be consistent in its handling of packets of all
sizes in order for end-to-end mechanisms like RFC4821 to
work. Having the link sometimes able to pass, e.g., 1500
packets and other times not able to pass, e.g., 1480
packets is a recipe for confusion.

Someone said "use fragmentation", and we should take a
look at that. Someone else said "but not all middleboxes
pass fragments", and that may be true but I believe it
is highly likely that even those middleboxes will pass
*first* fragments (i.e., those with MF=3D1; Offest=3D0).

Enter SEAL (draft-templin-seal). SEAL is specifically
designed to ensure a solid MTU across the tunnel even
if there may be fluctuations in MTU sizes *within* the
tunnel. SEAL works by sensing outer IP fragmentation
within the tunnel then adjusting its sizing parameters
for SEAL segmentation accordingly.

So, let's say that we set a static MTU of 1500 on the
tunnel. Within the tunnel, the IPsec encapsulations
and rohc headers are added to inflate the size of the
packet beyond 1500. We now introduce the SEAL header
as a thin layer inserted as:

  IP(inner)/ESP/SEAL/UDP/IP(outer)

All SEAL is doing is inserting fields for controlling
a mid-layer segmentation and reassembly process that
occurs above the outer IP fragmentation layer but below
the inner IP fragmentation layer. Another name for it
is link adaptation.

When a packet is sent into the tunnel, and the path
MTU within the tunnel is not yet known, SEAL at the
tunnel egress will listen for any outer IP
fragmentation occurring within the tunnel and send a
report back to the tunnel ingress. The ingress will
automatically adjust its SEAL segment size to tune
out the outer IP fragmentation, and the inner IP
layer will continue to see a solid 1500 MTU.

This means that DF=3D0 in the outer IP header always.

Fred
fred.l.templin@boeing.com  =20

> -----Original Message-----
> From: Joe Touch [mailto:touch@ISI.EDU]
> Sent: Tuesday, May 19, 2009 11:15 AM
> To: Joe Touch
> Cc: rohc@ietf.org; Carl Knutsson; tero@levonline.com; TSV Area
> Subject: Re: [tsv-area] [rohc] Path MTU discovery when having varying
MTU
>=20
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>=20
> Hi, all,
>=20
> Here's what I'm wondering:
>=20
> - -----------------
>=20
> Does ROHC allow through packets that are not ROHC-tagged?
>=20
> If so, the following may be a way forward:
>=20
> When ROHC gets a packet that would have fit without ROHC, but won't
now
> (i.e., a packet that needs to be sent with the full header to resync
> state AND needs to be tagged with the stream ID to enable that sync),
then:
>=20
> 	a) send the packet without ROHC
>=20
> 	b) send a copy of the packet with no payload
> 	with the ROHC tags
>=20
> (b) is to resync the state
> (a) is to get the payload with the full MTU through when it won't
> otherwise fit
>=20
> Note that (b) is needed because a source may be sending a large flow
of
> MTU-sized packets, and there would be no way to send resync state
otherwise.
>=20
> This has the net effect of doing "fragmentation" except that it
doesn't
> fragment - either piece can be lost, and no reassembly is needed.
>=20
> Would this suffice?
>=20
> Joe
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
>=20
> iEYEARECAAYFAkoS9xEACgkQE5f5cImnZrv6pwCgqxCtz8ipEaChzeQAjaAVbMZL
> 1koAoKfN+hUua46yBG/XqMMNg3+MnS7S
> =3DJtb2
> -----END PGP SIGNATURE-----

From magnus.westerlund@ericsson.com  Tue May 26 01:42:25 2009
Return-Path: <magnus.westerlund@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 662E93A6E7D; Tue, 26 May 2009 01:42:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.185
X-Spam-Level: 
X-Spam-Status: No, score=-6.185 tagged_above=-999 required=5 tests=[AWL=0.064,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 O6oUND470SIh; Tue, 26 May 2009 01:42:24 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id EEC953A693D; Tue, 26 May 2009 01:42:23 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b94ae000000eff-77-4a1babcdf306
Received: from esealmw127.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 1D.39.03839.DCBAB1A4; Tue, 26 May 2009 10:43:57 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw127.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 10:43:56 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 10:43:56 +0200
Message-ID: <4A1BABCC.3080302@ericsson.com>
Date: Tue, 26 May 2009 10:43:56 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: Joe Touch <touch@ISI.EDU>
References: <4A1163BF.5010300@ericsson.com> <4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu> <4A127707.7030606@ericsson.com> <275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org> <4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <4A12E188.2010107@isi.edu> <4A12F711.2090106@isi.edu> <EFD3BD40-2589-40AF-9CE8-020B547656E6@muada.com> <4A12FFCC.6080404@isi.edu> <9C5E6F54-5DD6-4DD4-B3C3-658A1557F2E0@muada.com> <4A131601.9080804@isi.edu> <1B1292D8-E10B-4021-9F8A-8B0891AE1FB7@muada.com> <4A132151.5000405@isi.edu>
In-Reply-To: <4A132151.5000405@isi.edu>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 26 May 2009 08:43:56.0468 (UTC) FILETIME=[1B255740:01C9DDDE]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, TSV Area <tsv-area@ietf.org>, Carsten Bormann <cabo@tzi.org>, Iljitsch van Beijnum <iljitsch@muada.com>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 26 May 2009 08:42:25 -0000

Joe Touch skrev:
> 
> 
> Iljitsch van Beijnum wrote:
>> On 19 mei 2009, at 22:26, Joe Touch wrote:
> 
>>> The problem is that when a 1480 packet arrives and you do ROHC, it's
>>> 1450 only most of the time; sometimes it's 1481 because it needs the
>>> full original header and the ROHC stream ID. Those "big" packets are
>>> required by ROHC to resync, and would be dropped after IPsec.
>> In those cases the packet would be truncated so there's enough for ROHC
>> to resync but obviously the receiver doesn't get the original packet so
>> the sender will have to retransmit. This is not a problem if the
>> retransmitted packet does compress so it fits.
> 
> Ah - OK, that works. Not efficiently, but it works.
> 

For TCP yes, not for UDP or other protocols.

>> So as long as we can accurately predict which packets will compress
>> enough to fit upon retransmission it's safe to drop them if they do and
>> we send a too big if they don't.
> 
>>> Even if TCP does fast retransmit, at some point the stream needs to get
>>> through a payload of 1481, which will never get through. The result is
>>> that ROHC will never resync, and *everything* will get thrown on the
>>> floor...
>> Didn't you just suggest to just send enough of the original packet to
>> make ROHC do its thing? That piece of the packet should be small enough
>> to always fit.
> 
> Yes, except that I also suggested sending the packet without any ROHC on
> it too. That works only if ROHC is NOT used in the computation to
> increase the MTU.
> 
> I.e., IMO ROHC ought NOT be used to increase the MTU. It ought to be
> used primarily to reduce header overhead. It's a bit silly to do all
> this work for 2%.

I am starting to think the same, simply declare the MTU that you know
will always work. With an IPsec tunnel, you will anyway have a smaller
MTU than the regular link one, so descreasing it some bytes more should
not be an issue.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Tue May 26 01:50:03 2009
Return-Path: <magnus.westerlund@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 0B67328C1E4; Tue, 26 May 2009 01:50:03 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 9EBb0Fvjn3MJ; Tue, 26 May 2009 01:50:02 -0700 (PDT)
Received: from mailgw4.ericsson.se (mailgw4.ericsson.se [193.180.251.62]) by core3.amsl.com (Postfix) with ESMTP id 978A928C1DF; Tue, 26 May 2009 01:50:01 -0700 (PDT)
X-AuditID: c1b4fb3e-b7b8aae000007ae8-af-4a1bad9df0b7
Received: from esealmw126.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw4.ericsson.se (Symantec Mail Security) with SMTP id C1.0D.31464.D9DAB1A4; Tue, 26 May 2009 10:51:41 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.174]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 10:51:40 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 10:51:40 +0200
Message-ID: <4A1BAD9C.1010802@ericsson.com>
Date: Tue, 26 May 2009 10:51:40 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
References: <4A1163BF.5010300@ericsson.com><4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu><4A127707.7030606@ericsson.com><275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org><4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E211@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E211@MCLNEXVS05.resource.ds.bah.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 26 May 2009 08:51:40.0164 (UTC) FILETIME=[2F87BC40:01C9DDDF]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, tero@levonline.com, Joe Touch <touch@ISI.EDU>, Iljitsch van Beijnum <iljitsch@muada.com>, TSV Area <tsv-area@ietf.org>, Carsten Bormann <cabo@tzi.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 26 May 2009 08:50:03 -0000

> 
> I agree with the discussion here.  
> 
> For the sake of these drafts, how about we add brief discussion on the
> following potential solutions:
> -- applying ROHC segmentation
> -- IP fragmenting packets post ROHC/IPsec processing 
> 
> Perhaps we simply document the benefits / considerations of these two
> alternatives.  Also, now that ROHC segmentation is possible, we will
> also need to change some of the current wording (which specifies that
> segmentation is not used) in the IKEv2 and IPsec drafts.
>  

I think this has issues for a specification that is intended to
interoperate. One end point sends ROHC segmentation, the other end
doesn't implement it => packet losses for all packet that attempts to
use it. Relaying on IP fragmentation might work, but should probably
make it clear that the tunnel egress MUST implement IP defragmentation
to allow for this option.



> If we wanted to open it up further, we could also look at the following
> alternatives (however, these will deviate a bit more from what is
> currently in these drafts):
> --as Joe mentioned, if the ROHC packet exceeds the size of the MTU, just
> transmit the uncompressed packet.  However, the drawback here is that
> ROHC is statefull compression algorithm... and we could run into
> problems in terms of context state invalidation (e.g., if the copy of
> the packet with no payload gets reordered or dropped in the unprotected
> domain).
> --inner fragmentation, where the packet is fragmented and then
> subsequently handed to the ROHC-enabled SA for compression and IPsec
> processing.  However, AFAIK, I do not think that current ROHC profiles
> can compresses packets/packet fragments (e.g., MF is STATIC-KNOWN, and
> is always assumed to be 0), so such a solution could be a bit difficult
> as well.

My intention was not to redesign the world. Simply to take the issue
into consideration and make it clear what should be done.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Tue May 26 02:03:51 2009
Return-Path: <magnus.westerlund@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 25F8B3A697F for <rohc@core3.amsl.com>; Tue, 26 May 2009 02:03:51 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 sHlQilR9oAnk for <rohc@core3.amsl.com>; Tue, 26 May 2009 02:03:50 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id D43C53A6863 for <rohc@ietf.org>; Tue, 26 May 2009 02:03:49 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b94ae000000eff-c1-4a1bb0d9f203
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id D4.BC.03839.9D0BB1A4; Tue, 26 May 2009 11:05:30 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.170]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 11:05:29 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 11:05:29 +0200
Message-ID: <4A1BB0D9.2070909@ericsson.com>
Date: Tue, 26 May 2009 11:05:29 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
References: <4A0C4219.4080900@ericsson.com> <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E16F@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E16F@MCLNEXVS05.resource.ds.bah.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 26 May 2009 09:05:29.0169 (UTC) FILETIME=[1DA7DC10:01C9DDE1]
X-Brightmail-Tracker: AAAAAA==
Cc: draft-ietf-rohc-hcoipsec@tools.ietf.org, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-hcoipsec-10
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: Tue, 26 May 2009 09:03:51 -0000

Ertekin, Emre [USA] skrev:

>  
>> 2. I understand that one the negotiation mechanism is sufficient to
>> ensure that the decompressor doesn't get a profile or more CID then it
>> can handle. However, wouldn't it be suitable to recommend at least
> some
>> basic set of functionality that is mandatory to support to ensure
>> better
>> interoperability and minimal achieved functionality.
> 
> We could update the drafts to specify a "minimum mandatory set of
> capabilities" that a compressor/decompressor must support.  However, the
> motivation for not specifying this "minimum mandatory set of
> capabilities" is that we wanted to remain consistent with traditional
> hop-by-hop ROHC specs/implementations.  I took a look at RFCs 3095 and
> 3241, and these do not specify a minimum set of profiles, CIDs, etc., a
> ROHC instance must support.  The ROHC/PPP only suggests values for these
> parameters (similarly, we suggest values for these parameters in our
> drafts).
> 
> Correct me if I a wrong, but I think that the only mandatory capability
> is the uncompressed profile...and the utility of this profile is limited
> in the context of ROHCoIPsec.
> 
> Presumably, with all the other pre-configurations (e.g., SPD) that are
> required between two IPsec implementations to get an SA up, we can
> mitigate the interoperability concerns that you allude to through this
> pre-configuration process (e.g.,  simply synchronize ROHC parameters
> between two IPsec implementations).  Therefore, I would like to leave
> the drafts as-is, but I am open to further discussion.

Okay, I can see us continuing on this track.

> 
>> 3. When I read this document I get the impression that it would be
>> suitable to be published as a proposed standard because it defines so
>> much how things shall interact. So can you please motivate why you
>> think
>> Informational is more suitable?
> 
> Back when we started this draft, we intended it to be a informational
> requirements document.  Over time, the requirements flavor changed, but
> the general intent is still the same, i.e., to provide some
> background/guidance for the IKEv2 and IPsec drafts.  

I think I am primarily worried about the part in the document that
discusses the need for two SAs and how data is triaged between the ROHC
and non-ROHC one. This is in my eyes normative parts of the solution. It
is the text in Section 6.1 that sounds my alarm bells on this topic.

A lot may be obvious but isn't it part of the technical solution that
makes ROHC over IPsec work? I know we are in a grey area here.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Tue May 26 02:06:28 2009
Return-Path: <magnus.westerlund@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 D3CC43A7029 for <rohc@core3.amsl.com>; Tue, 26 May 2009 02:06:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.186
X-Spam-Level: 
X-Spam-Status: No, score=-6.186 tagged_above=-999 required=5 tests=[AWL=0.063,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 Xfk87UYGuU1A for <rohc@core3.amsl.com>; Tue, 26 May 2009 02:06:28 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 75E2C3A697F for <rohc@ietf.org>; Tue, 26 May 2009 02:06:27 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b94ae000000eff-45-4a1bb1733184
Received: from esealmw128.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 04.1D.03839.371BB1A4; Tue, 26 May 2009 11:08:03 +0200 (CEST)
Received: from esealmw126.eemea.ericsson.se ([153.88.254.170]) by esealmw128.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 11:08:03 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw126.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 11:08:02 +0200
Message-ID: <4A1BB173.7090008@ericsson.com>
Date: Tue, 26 May 2009 11:08:03 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
References: <4A0C421C.8000803@ericsson.com> <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E170@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E170@MCLNEXVS05.resource.ds.bah.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 26 May 2009 09:08:02.0945 (UTC) FILETIME=[79503710:01C9DDE1]
X-Brightmail-Tracker: AAAAAA==
Cc: draft-ietf-rohc-ipsec-extensions-hcoipsec@tools.ietf.org, rohc@ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ipsec-extensions-hcoipsec-04
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: Tue, 26 May 2009 09:06:28 -0000

Ertekin, Emre [USA] skrev:
> Hi Magnus,
> 
> Please find our responses to your comments on the IPsec extensions
> draft.
> 
>> Section 3.1:
>>
>> Shouldn't it be discussed when this protocol number is appropriate to
>> be
>> used. To me it appears that some requirements need to be fulfilled
>> before one uses it on a particular layer. Running ROHC straight on top
>> of IPv6 for example seems like a bad idea in most case due to such
>> considerations as security and denial of service for the decompressor,
>> the multi-hop environment, and lack of clear logical channel.
> 
> This is good idea.  At the end of the section, we can add a paragraph
> that describes usage considerations of the ROHC protocol number.  
> 
> However, we would like to craft the paragraph such that it doesn't
> preclude the ROHC protocol number use in other scenarios.  Rather, the
> text will identify considerations that need to be accounted for if the
> ROHC protocol number is used for some other purpose.

Yes, fully agreed. I simply want some explicit mention on when this may
be considered suitable.


>> Section 3.2.1:
>>
>> What ICV algorithms and key lengths must be supported in the
>> implementations? This is to ensure that there are at least one
>> algorithm
>>  and key length that are supported by everyone.
> 
> This was discussed in a separate email thread.  I would recommend that
> we remain consistent the AUTH algorithm requirements defined in RFC
> 4835:  
> 
> 	 Requirement    Algorithm
>        -----------    ----------------
>        MUST           HMAC-SHA1-96 
>        SHOULD+        AES-XCBC-MAC-96 
>        MAY            HMAC-MD5-96 
> 
> Note, however, that this does not necessarily mean that HMAC-SHA1-96
> must be negotiated for any particular ROHC-enabled SA.  What is actually
> negotiated depends on depends on policy.  Specification of the above
> provides a "common denominator" for the AUTH algorithm that is available
> for use across all ROHCoIPsec implementations.
> 

Understood, it is all about enabling interoperability points. If policy
doesn't allow them, that is another question.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From magnus.westerlund@ericsson.com  Tue May 26 02:08:25 2009
Return-Path: <magnus.westerlund@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 C7F7428C1C6 for <rohc@core3.amsl.com>; Tue, 26 May 2009 02:08:25 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.187
X-Spam-Level: 
X-Spam-Status: No, score=-6.187 tagged_above=-999 required=5 tests=[AWL=0.062,  BAYES_00=-2.599, HELO_EQ_SE=0.35, RCVD_IN_DNSWL_MED=-4]
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 ppIrvU--nAkM for <rohc@core3.amsl.com>; Tue, 26 May 2009 02:08:24 -0700 (PDT)
Received: from mailgw3.ericsson.se (mailgw3.ericsson.se [193.180.251.60]) by core3.amsl.com (Postfix) with ESMTP id 731ED3A6B09 for <rohc@ietf.org>; Tue, 26 May 2009 02:08:24 -0700 (PDT)
X-AuditID: c1b4fb3c-b7b94ae000000eff-26-4a1bb1ec540a
Received: from esealmw129.eemea.ericsson.se (Unknown_Domain [153.88.253.124]) by mailgw3.ericsson.se (Symantec Mail Security) with SMTP id 78.5D.03839.CE1BB1A4; Tue, 26 May 2009 11:10:04 +0200 (CEST)
Received: from esealmw129.eemea.ericsson.se ([153.88.254.177]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 11:09:55 +0200
Received: from [147.214.183.61] ([147.214.183.61]) by esealmw129.eemea.ericsson.se with Microsoft SMTPSVC(6.0.3790.1830);  Tue, 26 May 2009 11:09:54 +0200
Message-ID: <4A1BB1E3.5060102@ericsson.com>
Date: Tue, 26 May 2009 11:09:55 +0200
From: Magnus Westerlund <magnus.westerlund@ericsson.com>
User-Agent: Thunderbird 2.0.0.21 (Windows/20090302)
MIME-Version: 1.0
To: "Ertekin, Emre [USA]" <ertekin_emre@bah.com>
References: <4A0C4221.1090302@ericsson.com> <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E171@MCLNEXVS05.resource.ds.bah.com>
In-Reply-To: <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E171@MCLNEXVS05.resource.ds.bah.com>
X-Enigmail-Version: 0.95.7
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-OriginalArrivalTime: 26 May 2009 09:09:54.0980 (UTC) FILETIME=[BC176640:01C9DDE1]
X-Brightmail-Tracker: AAAAAA==
Cc: rohc@ietf.org, draft-ietf-rohc-ikev2-extensions-hcoipsec@tools.ietf.org
Subject: Re: [rohc] AD comments on draft-ietf-rohc-ikev2-extensions-hcoipsec-08
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: Tue, 26 May 2009 09:08:25 -0000

Ertekin, Emre [USA] skrev:
> Hi Magnus,
> 
> Thanks for your comments to our IKEv2 Extensions to support ROHC draft.
> I aggregated all discussions in the email exchanges, and summarize the
> adjudications/way forward for each comment.  Please see below:  
>  
>> Section 2.1.2
>>
>> Maximum Context Identifier (MAX_CID, AF = 1)
>>       The MAX_CID attribute is a mandatory attribute.  Exactly one
>>       MAX_CID attribute must be sent.  The MAX_CID field indicates the
>>       maximum value of a context Identifier supported by the
> ROHCoIPsec
>>       decompressor.  This attribute value is two octets in length.
> The
>> Ertekin, et al.          Expires August 6, 2009                 [Page
>> 5]
>> Internet-Draft   IKEv2 Extensions to Support ROHCoIPsec    February
>> 2009
>>
>>       range of values for MAX_CID must be at least 0 and at most 16383
>>       (the value 0 implies having one context).  The recipient of the
>>       MAX_CID Attribute must only use up to MAX_CID context
> identifiers
>>       for compression.
>>
>>       Suggested value: 15
>>
>> The suggested value seems to me to be highly variable depending on
>> particular usage. Therefore this value should be put in a context on
>> where it is suitable. Also, is this a minimal required or simply a
>> recommendation.
> 
> We recommended this value such that we ROHC can operate within the
> boundary of small CIDs.  The value is useful for SAs that are only
> carrying a few flows.  
> 
> However, I agree with you that this value really depends on the usage
> scenario.  For a ROHCoIPsec SA that is compressing traffic for a large
> number of flows, a larger MAX_CID value might be more applicable.  We
> will add clarifying text to indicate this.
> 
> This value wasn't intended to be a minimal required, just a
> recommendation--similar to how hop-by-hop doesn't specify a minimal
> required value for this channel parameter.
> 

Okay, no problem when you add the discussion about other values in other
usage scenarios.

For the rest it seems that they are being solved.

Cheers

Magnus Westerlund

IETF Transport Area Director & TSVWG Chair
----------------------------------------------------------------------
Multimedia Technologies, Ericsson Research EAB/TVM
----------------------------------------------------------------------
Ericsson AB                | Phone  +46 10 7148287
Färögatan 6                | Mobile +46 73 0949079
SE-164 80 Stockholm, Sweden| mailto: magnus.westerlund@ericsson.com
----------------------------------------------------------------------

From cabo@tzi.org  Tue May 26 04:00:23 2009
Return-Path: <cabo@tzi.org>
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 8BDF43A707F; Tue, 26 May 2009 04:00:23 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -6.249
X-Spam-Level: 
X-Spam-Status: No, score=-6.249 tagged_above=-999 required=5 tests=[AWL=-0.000, BAYES_00=-2.599, HELO_EQ_DE=0.35, RCVD_IN_DNSWL_MED=-4]
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 mQMzlf5INOxf; Tue, 26 May 2009 04:00:22 -0700 (PDT)
Received: from informatik.uni-bremen.de (mailhost.informatik.uni-bremen.de [134.102.201.18]) by core3.amsl.com (Postfix) with ESMTP id 8A7D53A7079; Tue, 26 May 2009 04:00:22 -0700 (PDT)
X-Virus-Scanned: amavisd-new at informatik.uni-bremen.de
Received: from smtp-fb3.informatik.uni-bremen.de (smtp-fb3.informatik.uni-bremen.de [134.102.224.120]) by informatik.uni-bremen.de (8.14.3/8.14.3) with ESMTP id n4QAQQOk029471; Tue, 26 May 2009 12:26:26 +0200 (CEST)
Received: from wlan-client-302.informatik.uni-bremen.de (wlan-client-302.informatik.uni-bremen.de [134.102.117.54]) (using TLSv1 with cipher AES128-SHA (128/128 bits)) (No client certificate requested) by smtp-fb3.informatik.uni-bremen.de (Postfix) with ESMTP id 3EAFE1704DB; Tue, 26 May 2009 12:26:26 +0200 (CEST)
From: Carsten Bormann <cabo@tzi.org>
To: rohc@ietf.org
In-Reply-To: <4A1BAD9C.1010802@ericsson.com>
References: <4A1163BF.5010300@ericsson.com><4A11CA6C.3050209@isi.edu>	<582582D8-65C2-449E-A116-359D0F280275@muada.com>	<4A11CEC5.4010901@isi.edu>	<F38BA1F9-0B9F-4E4F-96A5-5BF331C82E10@muada.com>	<4A11D057.8020903@isi.edu>	<83F5F11E-7559-4937-B0EB-DEF1F0CAC309@muada.com>	<4A11D526.9090803@isi.edu><4A127707.7030606@ericsson.com><275EDC4D-9D78-4320-AB74-FF4C281C3B6D@tzi.org><4A12971D.8090404@effnet.com> <4E87A756-FF63-412E-B8B3-0BF7D1013375@tzi.org> <37BDD2FAF2AEAE459C6C70FDC2892E4E04A1E211@MCLNEXVS05.resource.ds.bah.com> <4A1BAD9C.1010802@ericsson.com>
Message-Id: <67050B49-2980-429B-AB7C-FB783BA5EF0F@tzi.org>
Content-Type: text/plain; charset=US-ASCII; format=flowed; delsp=yes
Content-Transfer-Encoding: 7bit
Mime-Version: 1.0 (Apple Message framework v935.3)
Date: Tue, 26 May 2009 12:26:25 +0200
X-Mailer: Apple Mail (2.935.3)
Cc: TSV Area <tsv-area@ietf.org>
Subject: Re: [rohc] [tsv-area] Path MTU discovery when having varying MTU
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: Tue, 26 May 2009 11:00:23 -0000

On May 26, 2009, at 10:51, Magnus Westerlund wrote:

> One end point sends ROHC segmentation, the other end
> doesn't implement it

We did not really make segmentation optional in RFC3095/RFC4995, but  
setting MRRU to 0 effectively disallows the use of segmentation, so  
its use can indeed be negotiated.  Enabling the use of ROHC  
segmentation in HCoIPsec would entail supporting negotiation of the  
MRRU option in IKE-ROHC (which is currently hardwired at 0).

Of course, options and negotiation do not necessarily aid  
interoperability.  But then, "extending the MTU" would be an  
optimization, and implementations can always fall back on the worst- 
case MTU*) approach Joe suggested, if the tunnel MTU is large enough  
to support the minimum MTU.

Gruesse, Carsten

*) I haven't done the work yet to verify that there is a good way to  
compute this worst-case MTU.
But I think it feels right.

