From int-area-bounces@lists.ietf.org Mon Apr 03 16:12:50 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQVPl-0001GX-I9; Mon, 03 Apr 2006 16:12:41 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQVPj-0001ET-SF; Mon, 03 Apr 2006 16:12:39 -0400
Received: from mailer1.psc.edu ([128.182.58.100])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FQVPi-0002z2-JN; Mon, 03 Apr 2006 16:12:39 -0400
Received: from [128.182.160.77] (tibook.psc.edu [128.182.160.77])
	(authenticated bits=0)
	by mailer1.psc.edu (8.13.5.20060308/8.13.3) with ESMTP id
	k33KCYKn005513
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 3 Apr 2006 16:12:36 -0400 (EDT)
Message-ID: <443181B1.9030107@psc.edu>
Date: Mon, 03 Apr 2006 16:12:33 -0400
From: John Heffner <jheffner@psc.edu>
User-Agent: Thunderbird 1.5 (Macintosh/20051201)
MIME-Version: 1.0
To: tsvwg@ietf.org, int-area@ietf.org
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 79899194edc4f33a41f49410777972f8
Cc: 
Subject: [Int-area] Seeking comments on draft-heffner-frag-harmful-00
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

We're moving this doc through the AD-sponsored informational track. 
Though it's not a working group item, we'd like to solicit feedback 
(from both tsvwg and int-area).  Please note that the purpose of this 
document is only to describe a known problem, not a solution.

Abstract:
    IPv4 fragmentation is not sufficiently robust for general use in
    today's Internet.  The 16-bit IP identification field is not large
    enough to prevent frequent incorrectly assembled IP fragments, and
    the TCP and UDP checksums are insufficient to prevent the resulting
    corrupted datagrams from being delivered to higher protocol layers.
    This note describes some easily reproduced experiments demonstrating
    the problem, and discusses some of the operational implications of
    these observations.

Currently available at:
http://www.ietf.org/internet-drafts/draft-heffner-frag-harmful-00.txt

Thanks,
   -John

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Mon Apr 03 18:09:15 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQXEX-00064E-E9; Mon, 03 Apr 2006 18:09:13 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQXEW-000641-0X; Mon, 03 Apr 2006 18:09:12 -0400
Received: from mailer1.psc.edu ([128.182.58.100])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FQXEV-000858-Ni; Mon, 03 Apr 2006 18:09:11 -0400
Received: from [128.182.160.77] (tibook.psc.edu [128.182.160.77])
	(authenticated bits=0)
	by mailer1.psc.edu (8.13.5.20060308/8.13.3) with ESMTP id
	k33M99Y5007894
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 3 Apr 2006 18:09:09 -0400 (EDT)
Message-ID: <44319D02.1050306@psc.edu>
Date: Mon, 03 Apr 2006 18:09:06 -0400
From: John Heffner <jheffner@psc.edu>
User-Agent: Thunderbird 1.5 (Macintosh/20051201)
MIME-Version: 1.0
To: Rick Jones <rick.jones2@hp.com>
References: <443181B1.9030107@psc.edu> <44318761.6090500@hp.com>
In-Reply-To: <44318761.6090500@hp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7aafa0432175920a4b3e118e16c5cb64
Cc: int-area@ietf.org, tsvwg@ietf.org
Subject: [Int-area] Re: [Tsvwg] Seeking comments on
	draft-heffner-frag-harmful-00
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

Rick Jones wrote:
>> The case of particular concern occurs when the first fragment of a
>> datagram is lost in the network.  The remaining fragments will be
>> stored in the fragment reassembly buffer.  When the sender wraps the
>> ID field, the first fragment of the new datagram will be mis-
>> associated with the rest of the old datagram.  Assuming the fragments
>> are delivered in order, the rest of the new datagram will be now be
>> incomplete (since it is missing the first fragment), so they will be
>> saved in the fragment reassembly buffer, forming a cycle that repeats
>> every 65536 datagrams.  It is possible to have a number of
>> simultaneous cycles, bounded by the size of the fragment reassembly
>> buffer.
> 
> Does it really matter if it is the first fragment?  I would think that 
> cycling is possible so long as (any of) the lost fragments are simply 
> not the last fragment when one assumes the fragments are flowing in-order.

It could matter.  If it's a middle fragment, you'll receive some 
duplicate earlier ones before the datagram can be completed.  If the OS 
has a consistency check here (that the data is the same), it could toss 
the whole thing when it fails.  I'm not aware of any implementation that 
does this, but if you're just talking about the first fragment, it's 
more clear that it's a problem.


> Also, to ass-u-me that fragments flow through the network in-order is 
> probably not a good thing?  Load-balanced link aggregates may send 
> fragments of one datagram across more than one link in the aggregate, 
> and I know of at least one NIC, albeit old and likely unused today, that 
> would send the first fragment last as part of accumulating an offloaded 
> Checksum (HP-PB FDDI NIC).

However, data is often delivered in order, so it serves as a good 
example. :)  Assuming in-order delivery is partially for the sake of 
clarity.  Any order (reverse, first-packet-last) that's always repeated 
has the same property.  A randomized delivery order is not as bad as the 
worst case.


> A while back, over in the "netdev" mailing list, the we were discussing 
> ways to minimize the risk of frankengrams springing to life based on 
> ass-u-me-ing :) that if one saw N or more datagrams beyond the one(s) 
> being reassembled, the likelihood of those datagrams successfully 
> reassembling was epsilon. While the specifics of that may be more 
> "linux-centric" than an RFC should be, I suspect the discussion might 
> provide a starting point for a useful, additional section in the RFC 
> discussing ways transport stacks might minimize the likelihood of 
> Frankengrams.

It would be a good place to start for a *future* draft on the subject. 
We decided it is out of scope for this one.

Thanks,
   -John

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Mon Apr 03 18:44:57 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQXn5-0003gX-9W; Mon, 03 Apr 2006 18:44:55 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQXn4-0003gH-9P; Mon, 03 Apr 2006 18:44:54 -0400
Received: from mailer1.psc.edu ([128.182.58.100])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FQXn3-0001uy-2K; Mon, 03 Apr 2006 18:44:54 -0400
Received: from [128.182.160.77] (tibook.psc.edu [128.182.160.77])
	(authenticated bits=0)
	by mailer1.psc.edu (8.13.5.20060308/8.13.3) with ESMTP id
	k33MipEW015028
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 3 Apr 2006 18:44:51 -0400 (EDT)
Message-ID: <4431A560.2000504@psc.edu>
Date: Mon, 03 Apr 2006 18:44:48 -0400
From: John Heffner <jheffner@psc.edu>
User-Agent: Thunderbird 1.5 (Macintosh/20051201)
MIME-Version: 1.0
To: Rick Jones <rick.jones2@hp.com>
References: <443181B1.9030107@psc.edu> <44318761.6090500@hp.com>
	<44319D02.1050306@psc.edu> <4431A0A0.4040806@hp.com>
In-Reply-To: <4431A0A0.4040806@hp.com>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7baded97d9887f7a0c7e8a33c2e3ea1b
Cc: int-area@ietf.org, tsvwg@ietf.org
Subject: [Int-area] Re: [Tsvwg] Seeking comments on
	draft-heffner-frag-harmful-00
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

Rick Jones wrote:
> But it is still bad, and I worry (fear, uncertainty and doubt, oh my) 
> that someone reading the draft will say "oh, good, my  stack does things 
> in a different order so it must not be so bad"
> 
> Maybe just some "while we use in-order as an example the problem is 
> still present and bad with other packet orderings" text.

Will try to make this a little more clear.  Thanks for the input.


>>> A while back, over in the "netdev" mailing list, the we were 
>>> discussing ways to minimize the risk of frankengrams springing to 
>>> life based on ass-u-me-ing :) that if one saw N or more datagrams 
>>> beyond the one(s) being reassembled, the likelihood of those 
>>> datagrams successfully reassembling was epsilon. While the specifics 
>>> of that may be more "linux-centric" than an RFC should be, I suspect 
>>> the discussion might provide a starting point for a useful, 
>>> additional section in the RFC discussing ways transport stacks might 
>>> minimize the likelihood of Frankengrams.
>>
>>
>> It would be a good place to start for a *future* draft on the subject. 
>> We decided it is out of scope for this one.
> 
> Maybe it is drifting a bit, but isn't it rather like announcing a 
> vulnerabilty without announcing how to mitigate it?

I'd say it's more like when a bridge is out, first putting up a warning 
sign, then worrying about how to fix it. ;)

Seriously, we considered writing a section like this.  But on careful 
thought, it was not obvious how to mitigate the problem robustly.  The 
Linux solution works pretty well under specific conditions, but writing 
a BCP on how to safely use fragmentation for high bandwidth apps could 
get thorny.  The safest thing to do is just not use fragmentation for 
these apps, or if you absolutely must, at least add protection (like IPsec).

Thanks,
   -John

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Mon Apr 03 20:49:37 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQZjk-0002ZK-16; Mon, 03 Apr 2006 20:49:36 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQZji-0002Z7-N7; Mon, 03 Apr 2006 20:49:34 -0400
Received: from mailer1.psc.edu ([128.182.58.100])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FQZjh-0007Yo-EL; Mon, 03 Apr 2006 20:49:34 -0400
Received: from [192.168.1.4] (ipl-67-013.pppoe.stargate.net [206.210.67.13])
	(authenticated bits=0)
	by mailer1.psc.edu (8.13.5.20060308/8.13.3) with ESMTP id
	k340nVc8003749
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Mon, 3 Apr 2006 20:49:32 -0400 (EDT)
Message-ID: <4431C29B.409@psc.edu>
Date: Mon, 03 Apr 2006 20:49:31 -0400
From: John Heffner <jheffner@psc.edu>
User-Agent: Mozilla Thunderbird 1.0.7 (Macintosh/20050923)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Erblichs <erblichs@earthlink.net>
References: <443181B1.9030107@psc.edu> <44319974.50A86DBE@earthlink.net>
In-Reply-To: <44319974.50A86DBE@earthlink.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 25620135586de10c627e3628c432b04a
Cc: int-area@ietf.org, tsvwg@ietf.org
Subject: [Int-area] Re: [Tsvwg] Seeking comments on
	draft-heffner-frag-harmful-00
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

Erblichs wrote:
> John Heffner,
> 
> 	Interesting..
> 
> 	A few Short comments.. Possible fixes in #1, #4, #5, and #6.
> 
> 	1) Does your 26 Mbps flow rate in section 2, almost imply that
> 	a connection should be multiplexed so that each sub connection
> 	has a bps rate of 26Mbps to remove this issue in IPv4 if
> 	fragmentation is an issue?

The problem occurs independently of flows.  It only depends on src,dst 
address pair.


> 	2) How does xmit of say a 9k jumbo segments effect this?
> 	 Wasn't their work into accepting 9k size segments a few
> 	 years back?

Using 9k frames instead of 1500 as in the examples scale the rate at 
which the problem can occur up by a factor of six.


> 	3) Does the use of say a 3/4 multiplier for the actual transmit
> 	size decrease the linklyhood of a fragment? Could we have tacked
> 	an additional header that caused the fragmentation, that this
> 	would fix?

There are many ways fragments can be created, not just from an extra 
tunnel header.  For example, it's natural to want to send 
disk-block-sized datagrams.  If the block size is >PMTU, then you end up 
fragmenting.


> 	4) If a fragment does occur and out-of-order segments are
> 	seen should a algor like the fast-xmit used be implimented
> 	to drop the partial set of recv'd fragments. TCP will force the
> 	entire set to be rexmit'ed, right?

What you're describing is like what Linux does now.  It works pretty 
well under most realistic conditions.  Aside from some theoretical 
corner cases, a couple practical issues:

1) The sender has no way of knowing that the receiver is implementing this.

2) NATs.


> 	5) Some datagrams being delivered to a system are comprised
> 	   of distinct objects which if modified are detected.
> 	    
>           - compressed files.
> 
> 	   I assume that the distinct items being created is not in the
> 	   scope of this memo, but decrease the chance of a TCP checksum
> 	   being accepted at a higher layer.
> 
> 	   However, if the above is true, would it be wise on some object
> 	   types to do a non-lossy compression before xmit knowing that the
> 	   expand would detect any abnormalities????

You could...  Cryptographic hashes would be better yet.


> 	6) It sounds like some type of SACK ack that states
> 	   fragmented segment dropped, redo your path MTU and decrease
> 	   segment size; is NEEDED.

When MTU discovery is working, and the DF bit is not ignored, it should 
be adequate.

Thanks,
   -John

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Mon Apr 03 21:04:58 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQZya-0002TL-Nx; Mon, 03 Apr 2006 21:04:56 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FQZyZ-0002TD-3j; Mon, 03 Apr 2006 21:04:55 -0400
Received: from sj-iport-2-in.cisco.com ([171.71.176.71]
	helo=sj-iport-2.cisco.com) by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FQZyW-00085F-Qe; Mon, 03 Apr 2006 21:04:55 -0400
Received: from sj-core-5.cisco.com ([171.71.177.238])
	by sj-iport-2.cisco.com with ESMTP; 03 Apr 2006 18:04:52 -0700
X-IronPort-AV: i="4.03,160,1141632000"; 
	d="scan'208"; a="318766646:sNHT32119420"
Received: from imail.cisco.com (sjc12-sbr-sw3-3f5.cisco.com [172.19.96.182])
	by sj-core-5.cisco.com (8.12.10/8.12.6) with ESMTP id k3414p7T013947;
	Mon, 3 Apr 2006 18:04:51 -0700 (PDT)
Received: from [10.32.244.220] (stealth-10-32-244-220.cisco.com
	[10.32.244.220])
	by imail.cisco.com (8.12.11/8.12.10) with ESMTP id k34153ss013203;
	Mon, 3 Apr 2006 18:05:03 -0700
In-Reply-To: <4431ABBD.5000801@hp.com>
References: <443181B1.9030107@psc.edu>
	<44318761.6090500@hp.com>	<44319D02.1050306@psc.edu>
	<4431A0A0.4040806@hp.com> <4431A560.2000504@psc.edu>
	<4431ABBD.5000801@hp.com>
Mime-Version: 1.0 (Apple Message framework v749.3)
Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed
Message-Id: <3A1F3E27-462B-40A7-8E0B-EE997C1219A2@cisco.com>
Content-Transfer-Encoding: 7bit
From: Fred Baker <fred@cisco.com>
Date: Mon, 3 Apr 2006 18:04:50 -0700
To: Rick Jones <rick.jones2@hp.com>
X-Mailer: Apple Mail (2.749.3)
DKIM-Signature: a=rsa-sha1; q=dns; l=464; t=1144112703; x=1144976703;
	c=relaxed/simple; s=oregon;
	h=To:Content-Type:From:Subject:Content-Transfer-Encoding:MIME-Version;
	d=cisco.com; i=fred@cisco.com; z=From:Fred=20Baker=20<fred@cisco.com>
	|Subject:Re=3A=20[Tsvwg]=20Seeking=20comments=20on=20draft-heffner-frag-harmful-0
	0 |To:Rick=20Jones=20<rick.jones2@hp.com>;
	X=v=3Dcisco.com=3B=20h=3DmxKEPPrY+KDvfQYwsESJPrmGvec=3D;
	b=UZW/Rn6O6mQoSagprCcdvbdlKQJd4bwcg4NuVm+JoiTyJNCbfhrhs5rdw+f9FKRawk2jldtK
	+nMpZJ0xSCzYIWO+hfN3Ux0RlauvvCWvUvk5llql01HtJ4na2Ql6o1hN;
Authentication-Results: imail.cisco.com; header.From=fred@cisco.com;
	dkim=pass ( sig from cisco.com verified; ); 
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 7a6398bf8aaeabc7a7bb696b6b0a2aad
Cc: int-area@ietf.org, tsvwg@ietf.org
Subject: [Int-area] Re: [Tsvwg] Seeking comments on
	draft-heffner-frag-harmful-00
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org


On Apr 3, 2006, at 4:11 PM, Rick Jones wrote:

> And since you've basically told the script kiddies "Hey, here is  
> something else for you to try..."

I could be completely misinformed, but I thought fragmentation  
attacks weren't news? Saying there are issues in an RFC isn't  
anywhere near as bad as naming the vendor in the discussion of the  
vulnerability...

http://www-src.lip6.fr/homepages/Fabrice.Legond-Aubry/www.ouah.org/ 
fragma.html

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Wed Apr 19 00:13:11 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FW43k-0007lH-M6; Wed, 19 Apr 2006 00:12:56 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FW43i-0007l9-SK; Wed, 19 Apr 2006 00:12:54 -0400
Received: from kahuna.telstra.net ([203.50.0.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1FW43e-0002Ic-0W; Wed, 19 Apr 2006 00:12:54 -0400
Received: from gihm3.apnic.net (protege.telstra.net [203.50.0.194] (may be
	forged))
	by kahuna.telstra.net (8.12.11/8.12.11) with ESMTP id k3J4CjDH042344;
	Wed, 19 Apr 2006 14:12:45 +1000 (EST) (envelope-from gih@apnic.net)
Message-Id: <6.2.0.14.2.20060419140221.02cf0900@kahuna.telstra.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Wed, 19 Apr 2006 14:12:36 +1000
To: Julien Laganier <julien.IETF@laposte.net>,
	Internet Area <int-area@ietf.org>
From: Geoff Huston <gih@apnic.net>
Subject: Re: [Int-area] Fwd: I-D ACTION:draft-laganier-ipv6-khi-01.txt
In-Reply-To: <200603161624.16174.julien.IETF@laposte.net>
References: <200603161624.16174.julien.IETF@laposte.net>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.1 (/)
X-Scan-Signature: b22590c27682ace61775ee7b453b40d3
Cc: HIP <hipsec@ietf.org>
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

At 01:24 AM 17/03/2006, Julien Laganier wrote:
>[ Cross-posted to HIP WG and IPv6 WG.  ]
>[ Please reply _only_ to the INT area. ]
>
>Folks,
>
>draft-laganier-ipv6-khi-01.txt has been updated based on feedback
>received from IETFers.
>
>The HIP base specification currently has a hard dependency on this
>draft and therefore it would be desirable to have it published as an
>RFC as soon as possible, since the HIP base specification is now
>quite mature. This draft intent is to make it possible for existing
>applications running on a HIP node to use both HIP and IPv6 at the
>same time, in the hope that it will foster the HIP experiment.
>
>Your opinions on moving forward with this draft are more than
>welcomed.

I provided the following comments to Jari as AD, and he suggested that I 
forward the comments to the Internet Area mail list.

I have read this draft, and have the following comments:

1. I find the following text to be very unclear:

    "...they are expected to be
    routable at an overlay level.  Consequently, while they are
    considered as non-routable addresses from the IPv6 layer point of
    view, all existing IPv6 applications are expected to be able to use
    them in a manner compatible with current IPv6 addresses."

I _think_ what the authors are saying here is that in order to preserve the 
syntax and some subset of the semantics at the application layer of 
'conventional' IP address use, they want to preserve the some of the 
characteristics of a 128 bit identifier. But perhaps this could be better 
expressed in the document. "routeable at an overlay level" doesn't make a 
huge amount of sense to me.


2. "globally unique in a statistical sense"

I _wish_ authors would not use such imprecise terms. It is essentially 
meaningless in that "uniqueness" is an absolute term, rather than a 
statement of statistical probability. Either they are unique or they are 
not. In this case it would appear that they are not unique.


3. I find hard to follow:

"As these identifiers are expected to be used alongside with IPv6
    addresses at both applications and APIs, co-ordination is desired to
    make sure that an ORCHID is not inappropriately taken for a vanilla
    IPv6 address and vice versa.  In practice, allocation of a separate
    prefix for ORCHIDs seems to suffice, making them compatible with IPv6
    addresses at the upper layers while simultaneously making it trivial
    to prevent their usage at the IP layer."

This seems unnecessary and inappropriate. It seems to add an element of 
fuzziness and confusion to the entire case being made. You _can't_ have it 
both ways and it seems to me that stealing unicast addresses at the 
forwarding plane to use as an application layer identity realm without any 
unicast semantics is not terribly sensible.

4. I'm not sure that I can agree with:

" A specific danger would be realised if the IETF community later decided
    to use the ORCHID prefix for some different purpose.  In that case,
    hosts using the ORCHID prefix would be, for practical purposes,
    unable to use the prefix for the other, new purpose.  That would lead
    to partial balkanisation of the Internet, similar to what has
    happened as a result of historical hijackings of non-RFC1918 IPv4
    addresses for private use."

This appears to be factually incorrect - if indeed these are truly 
application level identifiers then the similarity to RFC1918 address use is 
not a sustainable proposition.

5. General Comments

Identifier realms are generally expensive and hard to construct in useful 
and meaningful ways. The temptation to steal from existing identifier 
realms and reuse the tokens in another context is always present, and, 
invariably dangerous and often ill-advised (one only needs to refer to RR 
type proliferation in the DNS as an example of such overloading of identity 
in ways that are often unhelpful).  In reading this draft I remain 
unconvinced that stealing bits from the forwarding plane identity realm (ip 
unicast addresses) is a Good Idea.

The essential problem here remains the same problem in any form of compound 
layered identity realm that disambiguates the "who" from the "where" and 
"how": How to obtain from the "who" identity a useful mapping to a current 
valid "where" and to do so in a robust and valid manner. The draft appears 
to be curiously silent on this essential problem, and as such the draft 
appears not to head anywhere productive in its present form in furthering 
our understanding of the implications of this form of disambiguation of 
identity. I suspect that the essential attributes of any decent solution in 
this form of identity realm lie in structured rather than unstructured 
opportunistic identity spaces - the structure aids in the mechanism of 
unique solutions of a mapping question (what unicast forwarding address 
should I map to when all I have at the moment this identifier value of the 
remote party with whom I wish to communicate with?) i.e. "uniqueness" is a 
tough, expensive and useful concept. You can dilute uniquess by heading 
into unstructured opportunistic token realms but you lose determinism and 
efficiency when attempting to manipulate such identities as a precursor to 
communication. I don't think this draft proposes any novel way around this 
aspect of identity realms.

I suspect that the architecture behind shim6 is about as cheap as you can 
get in this area of attempting to pull arapt identity from location - don't 
invent a new identity realm but use any initial "where" locator as a 
surrogate host-to-host identity token and allow  local context dynamic 
mappings to hang off this initial association. If you want more robust and 
persistent identity realms then you end up in another question - in the 
long run any other identity realm starts to look so much like the DNS that 
the question becomes "whjy not use the DNS anyway". *(Maybe the IAB should 
have published draft-iab-identities rather than letting it die (see section 
4.5 in particular) as I suspect that much of what else could be said here 
is already said there.)


    Geoff






_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Wed Apr 19 11:54:02 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWF0B-0008Cu-Sz; Wed, 19 Apr 2006 11:53:59 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWF0A-0008Cd-FN
	for int-area@ietf.org; Wed, 19 Apr 2006 11:53:58 -0400
Received: from stl-smtpout-01.boeing.com ([130.76.96.56])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWF07-0001Te-SU
	for int-area@ietf.org; Wed, 19 Apr 2006 11:53:58 -0400
Received: from stl-av-01.boeing.com ([192.76.190.6])
	by stl-smtpout-01.boeing.com (8.9.2.MG.10092003/8.8.5-M2) with ESMTP id
	KAA00404; Wed, 19 Apr 2006 10:53:47 -0500 (CDT)
Received: from XCH-NWBH-11.nw.nos.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.11.3/8.11.3/MBS-AV-LDAP-01) with ESMTP id
	k3JFrlN23433; Wed, 19 Apr 2006 10:53:47 -0500 (CDT)
Received: from XCH-NW-5V1.nw.nos.boeing.com ([130.247.55.44]) by
	XCH-NWBH-11.nw.nos.boeing.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 19 Apr 2006 08:53:44 -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
Subject: RE: [Int-area] Fwd: I-D ACTION:draft-laganier-ipv6-khi-01.txt
Date: Wed, 19 Apr 2006 08:53:44 -0700
Message-ID: <77F357662F8BFA4CA7074B0410171B6D01A2F064@XCH-NW-5V1.nw.nos.boeing.com>
In-Reply-To: <6.2.0.14.2.20060419140221.02cf0900@kahuna.telstra.net>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Int-area] Fwd: I-D ACTION:draft-laganier-ipv6-khi-01.txt
Thread-Index: AcZjZ5UyNepLxUfvTbGzVyZ2eI+1EgAVfS1Q
From: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>
To: "Geoff Huston" <gih@apnic.net>,
	"Julien Laganier" <julien.IETF@laposte.net>,
	"Internet Area" <int-area@ietf.org>
X-OriginalArrivalTime: 19 Apr 2006 15:53:44.0906 (UTC)
	FILETIME=[7039F2A0:01C663C9]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 6907f330301e69261fa73bed91449a20
Cc: 
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

I have a few comments in response to Geoff's and this draft in general.

> -----Original Message-----
> From: Geoff Huston [mailto:gih@apnic.net]=20
> Sent: Tuesday, April 18, 2006 9:13 PM
> To: Julien Laganier; Internet Area
> Cc: HIP
> Subject: Re: [Int-area] Fwd: I-D ACTION:draft-laganier-ipv6-khi-01.txt
>=20
> At 01:24 AM 17/03/2006, Julien Laganier wrote:
> >[ Cross-posted to HIP WG and IPv6 WG.  ]
> >[ Please reply _only_ to the INT area. ]
> >
> >Folks,
> >
> >draft-laganier-ipv6-khi-01.txt has been updated based on feedback
> >received from IETFers.
> >
> >The HIP base specification currently has a hard dependency on this
> >draft and therefore it would be desirable to have it published as an
> >RFC as soon as possible, since the HIP base specification is now
> >quite mature. This draft intent is to make it possible for existing
> >applications running on a HIP node to use both HIP and IPv6 at the
> >same time, in the hope that it will foster the HIP experiment.
> >
> >Your opinions on moving forward with this draft are more than
> >welcomed.
>=20
> I provided the following comments to Jari as AD, and he=20
> suggested that I=20
> forward the comments to the Internet Area mail list.
>=20
> I have read this draft, and have the following comments:
>=20
> 1. I find the following text to be very unclear:
>=20
>     "...they are expected to be
>     routable at an overlay level.  Consequently, while they are
>     considered as non-routable addresses from the IPv6 layer point of
>     view, all existing IPv6 applications are expected to be=20
> able to use
>     them in a manner compatible with current IPv6 addresses."
>=20
> I _think_ what the authors are saying here is that in order=20
> to preserve the=20
> syntax and some subset of the semantics at the application layer of=20
> 'conventional' IP address use, they want to preserve the some of the=20
> characteristics of a 128 bit identifier. But perhaps this=20
> could be better=20
> expressed in the document. "routeable at an overlay level"=20
> doesn't make a=20
> huge amount of sense to me.


"  To make
   them more like vanilla IPv6 addresses, they are expected to be
   routable at an overlay level."

I think that this sentence has some problems and leads to confusion. =20

Suggest "Systems using ORCHIDs must map them to routable addresses;
the details of such mapping are outside of the scope of this document."


>=20
>=20
> 2. "globally unique in a statistical sense"
>=20
> I _wish_ authors would not use such imprecise terms. It is=20
> essentially=20
> meaningless in that "uniqueness" is an absolute term, rather than a=20
> statement of statistical probability. Either they are unique=20
> or they are=20
> not. In this case it would appear that they are not unique.

I think that "statistically unique" is commonly used in cryptography and
is well understood.  Whether it is precise enough or not-- if one cares
to determine the precision, one can calculate the probabilities
involved.  I don't know of a better term for what is described.

>=20
>=20
> 3. I find hard to follow:
>=20
> "As these identifiers are expected to be used alongside with IPv6
>     addresses at both applications and APIs, co-ordination is=20
> desired to
>     make sure that an ORCHID is not inappropriately taken for=20
> a vanilla
>     IPv6 address and vice versa.  In practice, allocation of=20
> a separate
>     prefix for ORCHIDs seems to suffice, making them=20
> compatible with IPv6
>     addresses at the upper layers while simultaneously making=20
> it trivial
>     to prevent their usage at the IP layer."
>=20
> This seems unnecessary and inappropriate. It seems to add an=20
> element of=20
> fuzziness and confusion to the entire case being made. You=20
> _can't_ have it=20
> both ways and it seems to me that stealing unicast addresses at the=20
> forwarding plane to use as an application layer identity=20
> realm without any=20
> unicast semantics is not terribly sensible.

I think we can have it both ways, and we need to consider ways like this
if we ever want to experiment with different architectures.  It is
sensible in that it allows applications to run on legacy APIs but use
the modified stack. =20

>=20
> 4. I'm not sure that I can agree with:
>=20
> " A specific danger would be realised if the IETF community=20
> later decided
>     to use the ORCHID prefix for some different purpose.  In=20
> that case,
>     hosts using the ORCHID prefix would be, for practical purposes,
>     unable to use the prefix for the other, new purpose. =20
> That would lead
>     to partial balkanisation of the Internet, similar to what has
>     happened as a result of historical hijackings of non-RFC1918 IPv4
>     addresses for private use."
>=20
> This appears to be factually incorrect - if indeed these are truly=20
> application level identifiers then the similarity to RFC1918=20
> address use is=20
> not a sustainable proposition.

I don't think the sky-is-falling tone of the quoted text is accurate,
and would be fine if it were removed entirely.

>=20
> 5. General Comments
>=20
> Identifier realms are generally expensive and hard to=20
> construct in useful=20
> and meaningful ways. The temptation to steal from existing identifier=20
> realms and reuse the tokens in another context is always=20
> present, and,=20
> invariably dangerous and often ill-advised (one only needs to=20
> refer to RR=20
> type proliferation in the DNS as an example of such=20
> overloading of identity=20
> in ways that are often unhelpful).  In reading this draft I remain=20
> unconvinced that stealing bits from the forwarding plane=20
> identity realm (ip=20
> unicast addresses) is a Good Idea.

I think that the draft somewhat concedes this point (see paragraph 5 of
1.1).  However, the drawbacks are possibly more than offset by the
benefit of supporting legacy applications during a transition period.

>=20
> The essential problem here remains the same problem in any=20
> form of compound=20
> layered identity realm that disambiguates the "who" from the=20
> "where" and=20
> "how": How to obtain from the "who" identity a useful mapping=20
> to a current=20
> valid "where" and to do so in a robust and valid manner. The=20
> draft appears=20
> to be curiously silent on this essential problem, and as such=20
> the draft=20
> appears not to head anywhere productive in its present form=20
> in furthering=20
> our understanding of the implications of this form of=20
> disambiguation of=20
> identity. I suspect that the essential attributes of any=20
> decent solution in=20
> this form of identity realm lie in structured rather than=20
> unstructured=20
> opportunistic identity spaces - the structure aids in the=20
> mechanism of=20
> unique solutions of a mapping question (what unicast=20
> forwarding address=20
> should I map to when all I have at the moment this identifier=20
> value of the=20
> remote party with whom I wish to communicate with?) i.e.=20
> "uniqueness" is a=20
> tough, expensive and useful concept. You can dilute uniquess=20
> by heading=20
> into unstructured opportunistic token realms but you lose=20
> determinism and=20
> efficiency when attempting to manipulate such identities as a=20
> precursor to=20
> communication. I don't think this draft proposes any novel=20
> way around this=20
> aspect of identity realms.

IMO, the above issue (whether identities should be unstructured) is
outside the scope of the ORCHID draft.   HIP is using largely
unstructured identities and needs a specification of how to construct
the few bits of structure that the identities have.

>=20
> I suspect that the architecture behind shim6 is about as=20
> cheap as you can=20
> get in this area of attempting to pull arapt identity from=20
> location - don't=20
> invent a new identity realm but use any initial "where" locator as a=20
> surrogate host-to-host identity token and allow  local=20
> context dynamic=20
> mappings to hang off this initial association. If you want=20
> more robust and=20
> persistent identity realms then you end up in another=20
> question - in the=20
> long run any other identity realm starts to look so much like=20
> the DNS that=20
> the question becomes "whjy not use the DNS anyway". *(Maybe=20
> the IAB should=20
> have published draft-iab-identities rather than letting it=20
> die (see section=20
> 4.5 in particular) as I suspect that much of what else could=20
> be said here=20
> is already said there.)

I am not disagreeing with your perspective; shim6 may be as far as one
wants to take this id/locator split architecture, and the jury is still
out.  But I think it is worthwhile considering whether there is benefit
to going further, and I'm happy that the IETF and IRTF are experimenting
with HIP for that.

>=20
>=20
>     Geoff


There are a few things contained in this draft:
i) specification of how ORCHIDs are constructed
ii) discussion about how ORCHIDs might be used
iii) request for IANA allocation for Context ID
iv) request for IANA allocation of an IPv6 prefix for ORCHIDs

I would like to recommend that regardless of the outcome of this
discussion that we end up on the path to an RFC that handles "i)",
because this is the piece needed for the HIP RFCs.  I don't so much care
about "ii)" since it can be handled (perhaps better) elsewhere.  "iii)"
seems non-controversial.

Regarding iv), to me, this hinges on whether IANA wants to coordinate
the 128-bit quantities used in the AF_INET6 sin6_addr field at the API
by recognizing that some experimental systems expand the semantics of
that field and use higher-order bits to distinguish between currently
used IPv6 addresses and other quantities.  The allocation seems to me to
be a good idea to more formally recognize this, but not a requirement
for these experiments to continue.

Tom

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Wed Apr 19 14:47:55 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWHiP-0003qX-Qs; Wed, 19 Apr 2006 14:47:49 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWHiO-0003qS-Mw
	for int-area@ietf.org; Wed, 19 Apr 2006 14:47:48 -0400
Received: from kahuna.telstra.net ([203.50.0.6])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWHiM-0000pB-13
	for int-area@ietf.org; Wed, 19 Apr 2006 14:47:48 -0400
Received: from gihm3.apnic.net (dhcp10.potaroo.net [203.10.60.10])
	by kahuna.telstra.net (8.12.11/8.12.11) with ESMTP id k3JIlPPt013856;
	Thu, 20 Apr 2006 04:47:26 +1000 (EST) (envelope-from gih@apnic.net)
Message-Id: <6.2.0.14.2.20060420043934.031710c0@kahuna.telstra.net>
X-Mailer: QUALCOMM Windows Eudora Version 6.2.0.14
Date: Thu, 20 Apr 2006 04:47:16 +1000
To: "Henderson, Thomas R" <thomas.r.henderson@boeing.com>,
	"Julien Laganier" <julien.IETF@laposte.net>,
	"Internet Area" <int-area@ietf.org>
From: Geoff Huston <gih@apnic.net>
Subject: RE: [Int-area] Fwd: I-D ACTION:draft-laganier-ipv6-khi-01.txt
In-Reply-To: <77F357662F8BFA4CA7074B0410171B6D01A2F064@XCH-NW-5V1.nw.nos
	.boeing.com>
References: <6.2.0.14.2.20060419140221.02cf0900@kahuna.telstra.net>
	<77F357662F8BFA4CA7074B0410171B6D01A2F064@XCH-NW-5V1.nw.nos.boeing.com>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: 0.1 (/)
X-Scan-Signature: cab78e1e39c4b328567edb48482b6a69
Cc: 
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org


>   But I think it is worthwhile considering whether there is benefit
>to going further, and I'm happy that the IETF and IRTF are experimenting
>with HIP for that.

I too believe that this is a valuable experiment - the bit I find difficult 
to understand
is why this draft proposes to use a considerable chunk of unicast address 
space for a
use that will never include header fields in packets on the wire.


>There are a few things contained in this draft:
>i) specification of how ORCHIDs are constructed
>ii) discussion about how ORCHIDs might be used
>iii) request for IANA allocation for Context ID
>iv) request for IANA allocation of an IPv6 prefix for ORCHIDs
>
>I would like to recommend that regardless of the outcome of this
>discussion that we end up on the path to an RFC that handles "i)",
>because this is the piece needed for the HIP RFCs.  I don't so much care
>about "ii)" since it can be handled (perhaps better) elsewhere.  "iii)"
>seems non-controversial.
>
>Regarding iv), to me, this hinges on whether IANA wants to coordinate
>the 128-bit quantities used in the AF_INET6 sin6_addr field at the API
>by recognizing that some experimental systems expand the semantics of
>that field and use higher-order bits to distinguish between currently
>used IPv6 addresses and other quantities.  The allocation seems to me to
>be a good idea to more formally recognize this, but not a requirement
>for these experiments to continue.


This is an excellent  summation - thanks!

Indeed we agree that whether or not the IETF comes to some consensus that (iv)
is a Good Idea, these HIP experiments can continue. I just don't understand
why these upper level ORCHIDs must be drawn from the same unicast token
space as forwarding identifiers that are used in packets on the wire.

regards,

    Geoff



_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Thu Apr 20 14:07:04 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWdYL-0002E0-Jk; Thu, 20 Apr 2006 14:06:53 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWdYK-0002Dq-Mj
	for int-area@ietf.org; Thu, 20 Apr 2006 14:06:52 -0400
Received: from mx.laposte.net ([81.255.54.11])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWdYK-0005XF-CV
	for int-area@ietf.org; Thu, 20 Apr 2006 14:06:52 -0400
Received: from [10.48.4.185] (216.98.102.246) by mx.laposte.net (7.2.060.1)
	(authenticated as julien.laganier)
	id 4447A77500015984; Thu, 20 Apr 2006 20:06:04 +0200
From: Julien Laganier <julien.IETF@laposte.net>
To: Geoff Huston <gih@apnic.net>
Subject: Re: [Int-area] Fwd: I-D ACTION:draft-laganier-ipv6-khi-01.txt
Date: Thu, 20 Apr 2006 20:05:31 +0200
User-Agent: KMail/1.8.2
References: <6.2.0.14.2.20060419140221.02cf0900@kahuna.telstra.net>
	<77F357662F8BFA4CA7074B0410171B6D01A2F064@XCH-NW-5V1.nw.nos.boeing.com>
	<6.2.0.14.2.20060420043934.031710c0@kahuna.telstra.net>
In-Reply-To: <6.2.0.14.2.20060420043934.031710c0@kahuna.telstra.net>
MIME-Version: 1.0
Content-Type: text/plain;
  charset="iso-8859-1"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline
Message-Id: <200604202005.31443.julien.IETF@laposte.net>
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 0fa76816851382eb71b0a882ccdc29ac
Cc: Internet Area <int-area@ietf.org>
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

Hi Geoff,

Thanks for your thorough review of our document, this is helpful. 

Replying to your comment in which you said you "just don't understand 
why these upper level ORCHIDs must be drawn from the same unicast 
token space as forwarding identifiers that are used in packets on the 
wire."

As Tom noted, doing so would allow to "coordinate 128-bit quantities 
used in the AF_INET6 sin6_addr field at the API by recognizing that 
some experimental systems expand the semantics of that field and use 
higher-order bits to distinguish between currently used IPv6 
addresses and other quantities.  The allocation seems to me to be a 
good idea to more formally recognize this, but not a requirement for 
these experiments to continue."

I agree with Tom that such an allocation is not a requirement per se. 
However, doing so would allow to use on a single system most of the 
*unmodified* IPv6 applications, both with HIP and without HIP. 

I think it is especially valuable for the HIP experiment because it 
would lower the barrier to participate in the experiment. Possibly 
anyone could participate in the experiment on a day-to-day basis 
while using a single IPv6 system (There's HIP implementations for 
BSD, Linux, MacOS X and Windows). People would not be required to 
set-up and use a specialized system which can only talk to 
HIP-enabled nodes. IMHO doing so would foster the HIP experiment by 
widening the potential participant base.

Regards,

--julien

On Wednesday 19 April 2006 20:47, Geoff Huston wrote:
> >   But I think it is worthwhile considering whether there is
> > benefit to going further, and I'm happy that the IETF and IRTF
> > are experimenting with HIP for that.
>
> I too believe that this is a valuable experiment - the bit I find
> difficult to understand
> is why this draft proposes to use a considerable chunk of unicast
> address space for a
> use that will never include header fields in packets on the wire.
>
> >There are a few things contained in this draft:
> >i) specification of how ORCHIDs are constructed
> >ii) discussion about how ORCHIDs might be used
> >iii) request for IANA allocation for Context ID
> >iv) request for IANA allocation of an IPv6 prefix for ORCHIDs
> >
> >I would like to recommend that regardless of the outcome of this
> >discussion that we end up on the path to an RFC that handles "i)",
> >because this is the piece needed for the HIP RFCs.  I don't so
> > much care about "ii)" since it can be handled (perhaps better)
> > elsewhere.  "iii)" seems non-controversial.
> >
> >Regarding iv), to me, this hinges on whether IANA wants to
> > coordinate the 128-bit quantities used in the AF_INET6 sin6_addr
> > field at the API by recognizing that some experimental systems
> > expand the semantics of that field and use higher-order bits to
> > distinguish between currently used IPv6 addresses and other
> > quantities.  The allocation seems to me to be a good idea to more
> > formally recognize this, but not a requirement for these
> > experiments to continue.
>
> This is an excellent  summation - thanks!
>
> Indeed we agree that whether or not the IETF comes to some
> consensus that (iv) is a Good Idea, these HIP experiments can
> continue. I just don't understand why these upper level ORCHIDs
> must be drawn from the same unicast token space as forwarding
> identifiers that are used in packets on the wire.
>
> regards,
>
>     Geoff

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area



From int-area-bounces@lists.ietf.org Thu Apr 20 16:44:55 2006
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1FWg1B-00088C-PH; Thu, 20 Apr 2006 16:44:49 -0400
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1FWg1A-000887-8b
	for int-area@ietf.org; Thu, 20 Apr 2006 16:44:48 -0400
Received: from kremlin.juniper.net ([207.17.137.120])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1FWg18-0005Ok-VL
	for int-area@ietf.org; Thu, 20 Apr 2006 16:44:48 -0400
Received: from unknown (HELO proton.jnpr.net) ([10.10.2.37])
	by kremlin.juniper.net with ESMTP; 20 Apr 2006 13:44:45 -0700
X-BrightmailFiltered: true
X-Brightmail-Tracker: AAAAAA==
X-IronPort-AV: i="4.04,141,1144047600"; 
	d="txt'?scan'208"; a="541291618:sNHT43233072"
Received: from [172.25.42.210] ([172.25.42.210] RDNS failed) by
	proton.jnpr.net with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 20 Apr 2006 16:44:43 -0400
Message-ID: <4447F2B8.3060808@juniper.net>
Date: Thu, 20 Apr 2006 16:44:40 -0400
From: Ron Bonica <rbonica@juniper.net>
User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Internet Area <int-area@ietf.org>
X-Enigmail-Version: 0.93.0.0
Content-Type: multipart/mixed; boundary="------------030705040002060802050800"
X-OriginalArrivalTime: 20 Apr 2006 20:44:43.0885 (UTC)
	FILETIME=[410079D0:01C664BB]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 36fb8971d71ebf57e085db19461624e6
Cc: 
Subject: [Int-area] draft-bonica-internet-icmp-04
X-BeenThere: int-area@lists.ietf.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.lists.ietf.org>
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=unsubscribe>
List-Archive: <http://www1.ietf.org/pipermail/int-area>
List-Post: <mailto:int-area@lists.ietf.org>
List-Help: <mailto:int-area-request@lists.ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/int-area>,
	<mailto:int-area-request@lists.ietf.org?subject=subscribe>
Errors-To: int-area-bounces@lists.ietf.org

This is a multi-part message in MIME format.
--------------030705040002060802050800
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 7bit

Folks,

I believe that the attached draft reflects all of the comments that I
have received and is ready for publication.

                              Ron

--------------030705040002060802050800
Content-Type: text/plain;
 name="draft-bonica-internet-icmp-04.txt"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="draft-bonica-internet-icmp-04.txt"




Internet                                                       R. Bonica
Internet-Draft                                                    D. Gan
Expires: October 22, 2006                               Juniper Networks
                                                             P. Nikander
                                           Ericsson Research Nomadic Lab
                                                               D. Tappan
                                                            C. Pignataro
                                                     Cisco Systems, Inc.
                                                          April 20, 2006


             Modifying ICMP to Support Multi-part Messages
                     draft-bonica-internet-icmp-04

Status of this Memo

   By submitting this Internet-Draft, each author represents that any
   applicable patent or other IPR claims of which he or she is aware
   have been or will be disclosed, and any of which he or she becomes
   aware will be disclosed, in accordance with Section 6 of BCP 79.

   Internet-Drafts are working documents of the Internet Engineering
   Task Force (IETF), its areas, and its working groups.  Note that
   other groups may also distribute working documents as Internet-
   Drafts.

   Internet-Drafts are draft documents valid for a maximum of six months
   and may be updated, replaced, or obsoleted by other documents at any
   time.  It is inappropriate to use Internet-Drafts as reference
   material or to cite them other than as "work in progress."

   The list of current Internet-Drafts can be accessed at
   http://www.ietf.org/ietf/1id-abstracts.txt.

   The list of Internet-Draft Shadow Directories can be accessed at
   http://www.ietf.org/shadow.html.

   This Internet-Draft will expire on October 22, 2006.

Copyright Notice

   Copyright (C) The Internet Society (2006).

Abstract

   This document redefines selected ICMPv4 messages to support multi-
   part operation.  A multi-part ICMP message carries all of the
   information that ICMP messages carried previously, as well as



Bonica, et al.          Expires October 22, 2006                [Page 1]

Internet-Draft          Multi-part ICMP Messages              April 2006


   additional information that applications may require.

   Multi-part messages are supported by an ICMP extension structure.
   The extension structure is situated at the end of the ICMP message.
   It includes an extension header followed by one or more extension
   objects.  Each extension object contains an object header and object
   payload.  All object headers share a common format.

   This document further redefines a subset of the above mentioned ICMP
   messages by specifying a length attribute.  Many of the ICMP messages
   to which an extension structure can be appended include and "original
   datagram" field.  The "original datagram" field contains the initial
   octets of the datagram to which the ICMP message is a response.
   Although the original datagram field is of variable length, the ICMP
   message does not include a field that specifies its length.
   Therefore, in order to facilitate message parsing, this draft
   allocates eight previously reserved bits to reflect the length of the
   "original datagram" field.

   The proposed modifications change the requirements for ICMPv4
   compliance.  The impact of these changes on compliant implementations
   is discussed, and new requirements for future implementations are
   presented.




























Bonica, et al.          Expires October 22, 2006                [Page 2]

Internet-Draft          Multi-part ICMP Messages              April 2006


Table of Contents

   1.  Conventions Used In This Document  . . . . . . . . . . . . . .  4
   2.  Introduction . . . . . . . . . . . . . . . . . . . . . . . . .  4
   3.  Summary of Changes to ICMP . . . . . . . . . . . . . . . . . .  5
   4.  ICMP Extensibility . . . . . . . . . . . . . . . . . . . . . .  5
     4.1.  Destination Unreachable  . . . . . . . . . . . . . . . . .  7
     4.2.  Source Quench  . . . . . . . . . . . . . . . . . . . . . .  8
     4.3.  Time Exceeded  . . . . . . . . . . . . . . . . . . . . . .  9
     4.4.  Parameter Problem  . . . . . . . . . . . . . . . . . . . .  9
     4.5.  ICMP Messages That Cannot Be Extended  . . . . . . . . . . 10
   5.  Backwards Compatibility  . . . . . . . . . . . . . . . . . . . 10
     5.1.  Classic Application Receives ICMP Message With
           Extensions . . . . . . . . . . . . . . . . . . . . . . . . 12
     5.2.  Non-compliant Application Receives ICMP Message With
           No Extensions  . . . . . . . . . . . . . . . . . . . . . . 12
     5.3.  Non-compliant Application Receives ICMP Message With
           Compliant Extensions . . . . . . . . . . . . . . . . . . . 13
     5.4.  Compliant Application Receives ICMP Message with No
           Extensions . . . . . . . . . . . . . . . . . . . . . . . . 13
     5.5.  Compliant Application Receives ICMP Message with
           Non-compliant Extensions . . . . . . . . . . . . . . . . . 13
   6.  The ICMP Extension Structure . . . . . . . . . . . . . . . . . 14
   7.  ICMP Extension Objects . . . . . . . . . . . . . . . . . . . . 14
   8.  Security Considerations  . . . . . . . . . . . . . . . . . . . 15
   9.  IANA Considerations  . . . . . . . . . . . . . . . . . . . . . 15
   10. Acknowledgments  . . . . . . . . . . . . . . . . . . . . . . . 16
   11. References . . . . . . . . . . . . . . . . . . . . . . . . . . 16
     11.1. Normative References . . . . . . . . . . . . . . . . . . . 16
     11.2. Informative References . . . . . . . . . . . . . . . . . . 16
   Authors' Addresses . . . . . . . . . . . . . . . . . . . . . . . . 18
   Intellectual Property and Copyright Statements . . . . . . . . . . 19



















Bonica, et al.          Expires October 22, 2006                [Page 3]

Internet-Draft          Multi-part ICMP Messages              April 2006


1.   Conventions Used In This Document

   The key words "MUST", "MUST NOT", "REQUIRED", "SHALL", "SHALL NOT",
   "SHOULD", "SHOULD NOT", "RECOMMENDED", "MAY", and "OPTIONAL" in this
   document are to be interpreted as described in RFC2119 [1].


2.  Introduction

   This document redefines selected ICMP [2] messages to include an
   extension structure and a length attribute.  In this document, the
   term ICMP refers exclusively to ICMPv4.  Unless explicitly noted,
   ICMPv6 is NOT discussed in this memo.

   The extension structure supports multi-part ICMP operation.  Protocol
   designers can make an ICMP message carry additional information by
   encoding that information in an extension.

   This document also addresses a fundamental problem in ICMP
   extensibility.  Many of the ICMP messages addressed by this memo
   include an "original datagram" field.  The "original datagram" field
   contains the initial octets of the datagram to which the ICMP message
   is a response.  Although the "original datagram" field is of variable
   length, the ICMP message does not include a field that specifies its
   length.

   Application software infers the length of the "original datagram"
   field from the total length of the ICMP message.  If an extension
   structure were appended to the message without adding a length
   attribute for the "original datagram" field, the message would become
   unparsable.  Specifically, application software would not be able to
   determine where the "original datagram" field ends and where the
   extension structure begins.  Therefore, this document proposes a
   length attribute as well as an extension structure that is appended
   to the ICMP message.

   The current memo also addresses backwards compatibility with existing
   ICMP implementations that either do not implement the extensions
   defined herein or implement them without adding the required length
   attributes.  In particular, this draft addresses backwards
   compatibility with certain, widely deployed, MPLS-aware ICMP
   implementations that send the extensions defined herein without
   adding the required length attribute.

   The current memo does not define any ICMP extension objects.  It
   defines only the extension header and a common header that all
   extension objects share.  Reference [5] provides a sample application
   of the ICMP Extension Object.



Bonica, et al.          Expires October 22, 2006                [Page 4]

Internet-Draft          Multi-part ICMP Messages              April 2006


3.  Summary of Changes to ICMP

   The following is a summary of changes to ICMP that are proposed by
   this memo:

      - An ICMP Extension Structure MAY be appended to any ICMP message
      except for those excluded below.

      - The ICMP Extension Structure MUST NOT be appended to the
      Redirect, Echo Request, Echo Reply and Domain Name Reply messages.

      - When ICMP Extensions are appended to a message that includes an
      "original datagram" field, the ICMP message MUST specify a length
      attribute for the "original datagram" field.

      - When ICMP Extensions are appended to a message that includes an
      "original datagram" field, the "original datagram" field MUST
      include at least 128 octets.  If the original datagram did not
      contain 128 octets, the "original datagram" field MUST be zero
      padded to 128 octets.

      - When ICMP Extensions are appended to a message that includes an
      "original datagram" field, the "original datagram" field MUST be
      zero padded to the nearest 32-bit boundary.


4.  ICMP Extensibility

   RFC 792 defines the following ICMP message types:

      - Destination Unreachable

      - Time Exceeded

      - Parameter Problem

      - Source Quench

      - Redirect

      - Echo Request/Reply

      - Timestamp/Timestamp Reply

      - Information Request/Information Reply

   RFC 1191 [3] adds a "Next-Hop MTU" field to the Destination
   Unreachable message.  Subsequent RFCs define the following messages:



Bonica, et al.          Expires October 22, 2006                [Page 5]

Internet-Draft          Multi-part ICMP Messages              April 2006


      - Address Mask Request/Reply [6]

      - Router Solicitation/Advertisement [7]

      - Traceroute [8]

      - Domain Name Request/Reply [9]

      - Security Failure [10]

      - Experimental Mobility [11]

   Many ICMP messages are extensible as currently defined.  Protocol
   designers can extend ICMP messages by simply appending fields or data
   structures to them.

   The following ICMP messages are not extensible as currently defined:

      - Destination Unreachable

      - Source Quench

      - Time Exceeded

      - Parameter Problem

      - Redirect

      - Echo Request

      - Echo Reply

      - Domain Name Reply

   These ICMP messages contain an "original datagram" field which
   represents a portion of the original datagram to which the ICMP
   messages is a response.  As originally defined, this field includes
   the IP header plus the next eight octets of the original datagram.
   RFC 1812 [4] extends this field to contain as many octets as
   possible, without exceeding a limit of 576 octets for the entire ICMP
   message.

   Unfortunately, the "original datagram" field lacks a length
   attribute.  Application software infers the length of this field from
   the total length of the ICMP message.  If an extension structure were
   appended to the message without adding a length attribute for the
   "original datagram" field, the message would become unparsable.
   Specifically, application software would not be able to determine



Bonica, et al.          Expires October 22, 2006                [Page 6]

Internet-Draft          Multi-part ICMP Messages              April 2006


   where the "original datagram" field ends and where the extension
   structure begins.

   In order to solve this problem, this memo introduces an 8-bit length
   attribute to the following ICMP messages.

      - Destination Unreachable

      - Source Quench

      - Time Exceeded

      - Parameter Problem

   The length attribute MUST be specified when the ICMP Extension
   Structure is appended to the above mentioned ICMP messages.

   The length attribute represents the length of the "original datagram"
   field, measured in 32-bit words.  When the length attribute is
   specified, the "original datagram" field MUST be zero padded to the
   nearest 32-bit boundary.  Space for the length attribute is claimed
   from reserved octets, whose value was previously required to be zero.
   Because the sixth octet of each of the impacted ICMP messages was
   reserved for future use, this octet was selected as the location of
   the length attribute.

   In order the achieve backwards compatibility, when the ICMP Extension
   Structure is appended to an ICMP message and that ICMP message
   contains an "original datagram" field, the "original datagram" field
   MUST contain at least 128 octets.  If the original datagram did not
   contain 128 octets, the "original datagram" field MUST be zero padded
   to 128 octets.  (See Section 5.1 for rationale.)

   The following sub-sections depict length attribute as it has been
   introduced to selected ICMP messages.

4.1.  Destination Unreachable

   Figure 1 depicts the Destination Unreachable Message.












Bonica, et al.          Expires October 22, 2006                [Page 7]

Internet-Draft          Multi-part ICMP Messages              April 2006


       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Type      |     Code      |          Checksum             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     unused    |    Length     |         Next-Hop MTU          |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |      Internet Header + leading octets of original datagram    |
      |                                                               |
      |                           //                                  |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure 1: Destination Unreachable

   The syntax and semantics of all fields are unchanged from RFC 792 and
   RFC 1191.  However, a length attribute is added to the second word.
   The length attribute represents length of the padded "original
   datagram" field, measured in 32-bit words.

4.2.  Source Quench

   Figure 2 depicts the Source Quench Message.



       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Type      |     Code      |          Checksum             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     unused    |    Length     |         unused                |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |      Internet Header + leading octets of original datagram    |
      |                                                               |
      |                           //                                  |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure 2: Source Quench

   The syntax and semantics of all fields are unchanged from RFC 792,
   except for a length attribute which is added to the second word.  The
   length attribute represents length of the padded "original datagram"
   field, measured in 32-bit words.






Bonica, et al.          Expires October 22, 2006                [Page 8]

Internet-Draft          Multi-part ICMP Messages              April 2006


4.3.  Time Exceeded

   Figure 3 depicts the Time Exceeded Message.



       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Type      |     Code      |          Checksum             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     unused    |    Length     |          unused               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |      Internet Header + leading octets of original datagram    |
      |                                                               |
      |                           //                                  |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure 3: Time Exceeded

   The syntax and semantics of all fields are unchanged from RFC 792,
   except for a length attribute which is added to the second word.  The
   length attribute represents length of the padded "original datagram"
   field, measured in 32-bit words.

4.4.  Parameter Problem

   Figure 4 depicts the Parameter Problem Message.



       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |     Type      |     Code      |          Checksum             |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |    Pointer    |    Length     |          unused               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |      Internet Header + leading octets of original datagram    |
      |                                                               |
      |                           //                                  |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure 4: Parameter Problem

   The syntax and semantics of all fields are unchanged from RFC 792,



Bonica, et al.          Expires October 22, 2006                [Page 9]

Internet-Draft          Multi-part ICMP Messages              April 2006


   except for a length attribute which is added to the second word.  The
   length attribute represents length of the padded "original datagram"
   field, measured in 32-bit words.

4.5.  ICMP Messages That Cannot Be Extended

   Due to a lack of reserved octets from which to allocate space, a
   length attribute could not be added to the following ICMP messages:

      - Redirect

      - Echo Request

      - Echo Reply

      - Domain Name Reply

   Therefore, the ICMP Extension Structure described in this memo cannot
   be used in conjunction with the above mentioned ICMP messages.


5.  Backwards Compatibility

   ICMP messages can be categorized as follows:

      - Messages that do not include any ICMP extensions

      - Messages that include non-compliant ICMP extensions

      - Messages that includes compliant ICMP extensions

   Any ICMP implementation can send a message that does not include
   extensions.  ICMP implementations produced prior to 1999 are not
   known to send ICMP extensions.

   Some ICMP implementations, produced between 1999 and the present, may
   send a non-compliant version of ICMP extensions described in this
   memo.  Specifically, these implementations may append the ICMP
   Extension Structure to the Time Exceeded and Destination Unreachable
   messages.  When they do this, they send exactly 128 octets
   representing the original datagram, zero padding if required.  They
   also calculate checksums as described in this document.  However,
   they do not specify a length attribute to be associated with the
   "original datagram" field.

   It is assumed that ICMP implementations produced in the future will
   send ICMP extensions that are compliant with this specification.




Bonica, et al.          Expires October 22, 2006               [Page 10]

Internet-Draft          Multi-part ICMP Messages              April 2006


   Likewise, applications that consume ICMP messages can be categorized
   as follows:

      - Classic applications

      - Non-compliant applications

      - Compliant applications

   Classic applications do not parse extensions defined in this memo.
   They are insensitive to the length attribute that is associated with
   the "original datagram" field.

   Non-compliant implementations parse the extensions defined in this
   memo, but only in conjunction with the Time Expired and Destination
   Unreachable messages.  They require the "original datagram" field to
   contain exactly 128 octets and are insensitive to the length
   attribute that is associated with the "original datagram" field.
   Non-compliant applications were produced between 1999 and the
   present.

   Compliant applications comply fully with the specifications of this
   document.

   In order to demonstrate backwards compatibility, Table 1 describes
   how members of each application category would parse each category of
   ICMP message.

   +----------------+----------------+----------------+----------------+
   |                |  No Extensions |  Non-compliant |    Compliant   |
   |                |                |   Extensions   |   Extensions   |
   +----------------+----------------+----------------+----------------+
   | Classic        |        -       |   Section 5.1  |   Section 5.1  |
   | Application    |                |                |                |
   |                |                |                |                |
   | Non-compliant  |   Section 5.2  |        -       |   Section 5.3  |
   | Application    |                |                |                |
   |                |                |                |                |
   | Compliant      |   Section 5.4  |   Section 5.5  |        -       |
   | Application    |                |                |                |
   +----------------+----------------+----------------+----------------+

                                  Table 1

   In the table above, cells that contain a dash represent the nominal
   case and require no explanation.  In the following sections, we
   assume that the ICMP message type is "Time Exceeded".




Bonica, et al.          Expires October 22, 2006               [Page 11]

Internet-Draft          Multi-part ICMP Messages              April 2006


5.1.  Classic Application Receives ICMP Message With Extensions

   When a classic application receives an ICMP message that includes
   extensions, it will incorrectly interpret those extensions as being
   part of the "original datagram" field.  Fortunately, the extensions
   are guaranteed to begin at least 128 octets beyond the beginning of
   the "original datagram" field.  So, only those ICMP applications that
   process the 129th octet of the "original datagram" field will be
   adversely effected.  To date, no such applications have been
   identified.

5.2.  Non-compliant Application Receives ICMP Message With No Extensions

   When a non-compliant application receives a message that contains no
   extensions, the application examines the total length of the ICMP
   message.  If the total ICMP message length is less than the length of
   its IP header plus 144 octets, the application correctly determines
   that the message does not contain any extensions.

   The 144 octet sum is derived from 8 octets for the first two words of
   the ICMP Time Exceeded message, 128 octets for the "original
   datagram" field, 4 octets for the ICMP Extension Header and 4 octets
   for a single ICMP Object header.  All of these octets would be
   required if extensions were present.

   If the ICMP payload contains 144 octets or more, the application must
   examine the 137th octet to determine whether it represents a valid
   ICMP Extension Header.  In order to represent a valid Extension
   Header, it must contain a valid version number and checksum.  If it
   does not contain a valid version number and checksum, the application
   correctly determines that the message does not contain any
   extensions.

   Non-compliant applications assume that the ICMP Extension Structure
   begins on the 137th octet of the Time Exceeded message, after a 128
   octet field representing the padded "original datagram" message.

   It is possible that a non-compliant application will parse an ICMP
   message incorrectly under the following conditions:

      - the message does not contain extensions

      - the original datagram field contains 144 octets or more

      - selected octets of the original datagram field represent the
      correct values for an extension header version number and checksum

   Although this is possible, it is very unlikely.



Bonica, et al.          Expires October 22, 2006               [Page 12]

Internet-Draft          Multi-part ICMP Messages              April 2006


5.3.  Non-compliant Application Receives ICMP Message With Compliant
      Extensions

   When a non-compliant application receives a message that contains
   compliant ICMP extensions, it will parse those extensions correctly
   only if the "original datagram" field contains exactly 128 octets.
   This is because non-compliant applications are insensitive to the
   length attribute that is associated with the "original datagram"
   field.  (They assume its value to be 128.)

   Provided that the entire ICMP messages does not exceed 576 octets,
   there is no upper limit upon the length of the "original datagram"
   field.  However, each vendor will decide how many octets to include.
   Those wishing to be backward compatible with non-compliant TRACEROUTE
   implementations will include exactly 128 octets.  Those not requiring
   compatibility with non-compliant TRACEROUTE applications may include
   more octets.

5.4.  Compliant Application Receives ICMP Message with No Extensions

   When a compliant application receives an ICMP message, it examines
   the length attribute that is associated with the "original datagram"
   field.  If the length attribute is zero, the compliant application
   MUST determine that the message contains no extensions.

5.5.  Compliant Application Receives ICMP Message with Non-compliant
      Extensions

   When a compliant application receives an ICMP message, it examines
   the length attribute that is associated with the "original datagram"
   field.  If the length attribute is zero, the compliant application
   MUST determine that the message contains no extensions.  In this
   case, that determination will be incorrect because the non-compliant
   ICMP message contains extensions but does not specify a length
   attribute.

   For this reason, vendors may choose to implement TRACEROUTE in a
   manner that is not compliant.  Specifically, when a non-compliant
   TRACEROUTE application receives an ICMP message that contains 144
   octets or more in its payload and does not specify a length
   attribute, it will parse for a valid extension header beginning at
   octet 137.  If the application detects a valid version and checksum,
   it will treat the following octets as an extension structure.

   Vendors should not implement or distribute any non-compliant
   implementations other than TRACEROUTE.  As non-compliant ICMP
   implementations are upgraded to compliant implementations, the need
   for non-compliant TRACEROUTE applications should be eliminated.



Bonica, et al.          Expires October 22, 2006               [Page 13]

Internet-Draft          Multi-part ICMP Messages              April 2006


6.  The ICMP Extension Structure

   This memo proposes an optional ICMP Extension Structure that can be
   appended to any ICMP message, except for those that are disqualified
   in Section 4.5 of this document.

   The Extension Structure contains exactly one Extension Header
   followed by one or more objects.  Having received an ICMP message
   with extensions, application software MAY process selected objects
   while ignoring others.  The presence of an unrecognized object does
   not imply that an ICMP message is malformed.

   As stated in RFC 792, the total length of the ICMP message, including
   extensions, MUST NOT exceed 576 octets.  Figure 5 depicts the ICMP
   Extension Header.



       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |Version|      (Reserved)       |           Checksum            |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure 5: ICMP Extension Header

   The fields of the ICMP Extension Header are as follows:

   Version: 4 bits

      ICMP extension version number.  This is version 2.

   Reserved: 12 bits

      Must be set to 0.

   Checksum: 16 bits

      The one's complement of the one's complement sum of the data
      structure, with the checksum field replaced by zero for the
      purpose of computing the checksum.  An all-zero value means that
      no checksum was transmitted.


7.  ICMP Extension Objects

   Each extension object contains one or more 32-bit words, representing
   an object header and payload.  All object headers share a common



Bonica, et al.          Expires October 22, 2006               [Page 14]

Internet-Draft          Multi-part ICMP Messages              April 2006


   format.  Figure 6 depicts the Object Header and payload.


       0                   1                   2                   3
       0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1 2 3 4 5 6 7 8 9 0 1
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |             Length            |   Class-Num   |   C-Type      |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
      |                                                               |
      |                   // (Object payload) //                      |
      |                                                               |
      +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+

   Figure 6: Object Header and Payload

   An object header has the following fields:

   Length: 16 bits

      Length of the object, measured in octets, including the object
      header and object payload.

   Class-Num: 8 bits

      Identifies object class.

   C-Type: 8 bits

      Identifies object sub-type.


8.  Security Considerations

   Upon receipt of an ICMP message, application software must check it
   for syntactic correctness.  The extension checksum must be verified.
   Improperly specified length attributes and other syntax problems may
   result in buffer overruns.

   This memo does not define the conditions under which a router sends
   an ICMP message.  Therefore, it does not expose routers to any new
   denial of service attacks.  Routers may need to limit the rate at
   which ICMP messages are sent.


9.  IANA Considerations

   The ICMP Extension Object header contains two 8-bit fields: The
   Class-Num identifies the object class, and the C-Type identifies the



Bonica, et al.          Expires October 22, 2006               [Page 15]

Internet-Draft          Multi-part ICMP Messages              April 2006


   class sub-type.  Sub-type values are defined relative to a specific
   object class value, and are defined per-class.

   IANA should establish a registry of ICMP extension objects classes
   and class sub-types.  There are no values assigned within this
   document to maintain.  Object classes 0xF7 - 0xFF are reserved for
   private use.  Object class values are assignable on a first-come-
   first-serve.  The policy for assigning sub-type values should be
   defined in the document defining new class values.


10.  Acknowledgments

   Thanks to Joe Touch for his comments regarding this draft.


11.  References

11.1.  Normative References

   [1]  Bradner, S., "Key words for use in RFCs to Indicate Requirement
        Levels", BCP 14, RFC 2119, March 1997.

   [2]  Postel, J., "Internet Control Message Protocol", STD 5, RFC 792,
        September 1981.

   [3]  Mogul, J. and S. Deering, "Path MTU discovery", RFC 1191,
        November 1990.

   [4]  Baker, F., "Requirements for IP Version 4 Routers", RFC 1812,
        June 1995.

11.2.  Informative References

   [5]   Atlas, A., "ICMP Extensions for Unnumbered Interfaces",
         draft-atlas-icmp-unnumbered-01 (work in progress), March 2006.

   [6]   Mogul, J. and J. Postel, "Internet Standard Subnetting
         Procedure", STD 5, RFC 950, August 1985.

   [7]   Deering, S., "ICMP Router Discovery Messages", RFC 1256,
         September 1991.

   [8]   Malkin, G., "Traceroute Using an IP Option", RFC 1393,
         January 1993.

   [9]   Simpson, W., "ICMP Domain Name Messages", RFC 1788, April 1995.




Bonica, et al.          Expires October 22, 2006               [Page 16]

Internet-Draft          Multi-part ICMP Messages              April 2006


   [10]  Karn, P. and W. Simpson, "ICMP Security Failures Messages",
         RFC 2521, March 1999.

   [11]  Kempf, J., "Instructions for Seamoby and Experimental Mobility
         Protocol IANA Allocations", RFC 4065, July 2005.














































Bonica, et al.          Expires October 22, 2006               [Page 17]

Internet-Draft          Multi-part ICMP Messages              April 2006


Authors' Addresses

   Ronald P. Bonica
   Juniper Networks
   2251 Corporate Park Drive
   Herndon, VA  20171
   US

   Email: rbonica@juniper.net


   Der-Hwa Gan
   Juniper Networks
   1194 N. Mathilda Ave.
   Sunnyvale, CA  94089
   US

   Email: dhg@juniper.net


   Pekka Nikander
   Ericsson Research Nomadic Lab
   JORVAS  FIN-02420
   Finland

   Email: pekka.nikander@nomadiclab.com


   Daniel C. Tappan
   Cisco Systems, Inc.
   250 Apollo Drive
   Chelmsford, MA  01824
   US

   Email: tappan@cisco.com


   Carlos Pignataro
   Cisco Systems, Inc.
   7025 Kit Creek Road
   Research Triangle Park, N.C.  27709
   US

   Email: cpignata@cisco.com







Bonica, et al.          Expires October 22, 2006               [Page 18]

Internet-Draft          Multi-part ICMP Messages              April 2006


Intellectual Property Statement

   The IETF takes no position regarding the validity or scope of any
   Intellectual Property Rights or other rights that might be claimed to
   pertain to the implementation or use of the technology described in
   this document or the extent to which any license under such rights
   might or might not be available; nor does it represent that it has
   made any independent effort to identify any such rights.  Information
   on the procedures with respect to rights in RFC documents can be
   found in BCP 78 and BCP 79.

   Copies of IPR disclosures made to the IETF Secretariat and any
   assurances of licenses to be made available, or the result of an
   attempt made to obtain a general license or permission for the use of
   such proprietary rights by implementers or users of this
   specification can be obtained from the IETF on-line IPR repository at
   http://www.ietf.org/ipr.

   The IETF invites any interested party to bring to its attention any
   copyrights, patents or patent applications, or other proprietary
   rights that may cover technology that may be required to implement
   this standard.  Please address the information to the IETF at
   ietf-ipr@ietf.org.


Disclaimer of Validity

   This document and the information contained herein are provided on an
   "AS IS" basis and THE CONTRIBUTOR, THE ORGANIZATION HE/SHE REPRESENTS
   OR IS SPONSORED BY (IF ANY), THE INTERNET SOCIETY AND THE INTERNET
   ENGINEERING TASK FORCE DISCLAIM ALL WARRANTIES, EXPRESS OR IMPLIED,
   INCLUDING BUT NOT LIMITED TO ANY WARRANTY THAT THE USE OF THE
   INFORMATION HEREIN WILL NOT INFRINGE ANY RIGHTS OR ANY IMPLIED
   WARRANTIES OF MERCHANTABILITY OR FITNESS FOR A PARTICULAR PURPOSE.


Copyright Statement

   Copyright (C) The Internet Society (2006).  This document is subject
   to the rights, licenses and restrictions contained in BCP 78, and
   except as set forth therein, the authors retain all their rights.


Acknowledgment

   Funding for the RFC Editor function is currently provided by the
   Internet Society.




Bonica, et al.          Expires October 22, 2006               [Page 19]



--------------030705040002060802050800
Content-Type: text/plain; charset="us-ascii"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
Content-Disposition: inline

_______________________________________________
Int-area mailing list
Int-area@lists.ietf.org
https://www1.ietf.org/mailman/listinfo/int-area

--------------030705040002060802050800--




