From int-area-bounces@lists.ietf.org Wed Jan 03 08:46:16 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H26RB-0005GP-TS; Wed, 03 Jan 2007 08:45:49 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1H26R9-00056O-Am
	for int-area@ietf.org; Wed, 03 Jan 2007 08:45:47 -0500
Received: from smtp4.smtp.bt.com ([217.32.164.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H26R7-0000Oa-PY
	for int-area@ietf.org; Wed, 03 Jan 2007 08:45:47 -0500
Received: from i2kc06-ukbr.domain1.systemhost.net ([193.113.197.70]) by
	smtp4.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 3 Jan 2007 13:45:40 +0000
Received: from cbibipnt05.iuser.iroot.adidom.com ([147.149.196.177]) by
	i2kc06-ukbr.domain1.systemhost.net with Microsoft
	SMTPSVC(6.0.3790.211); Wed, 3 Jan 2007 13:45:37 +0000
Received: From bagheera.jungle.bt.co.uk ([132.146.168.158]) by
	cbibipnt05.iuser.iroot.adidom.com (WebShield SMTP v4.5 MR1a
	P0803.399); id 1167831935499; Wed, 3 Jan 2007 13:45:35 +0000
Received: from mut.jungle.bt.co.uk ([10.215.130.159])
	by bagheera.jungle.bt.co.uk (8.13.5/8.12.8) with ESMTP id
	l03DjVSI006017; Wed, 3 Jan 2007 13:45:33 GMT
Message-Id: <5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
X-Sender: rbriscoe@pop3.jungle.bt.co.uk
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Wed, 03 Jan 2007 13:45:42 +0000
To: Matt Mathis <mathis@psc.edu>, John Heffner <jheffner@psc.edu>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
In-Reply-To: <A6F8775A-30E5-41D5-B6D0-E9A9FA945260@netlab.nec.de>
References: <E1GrhEn-0004XJ-NE@stiedprstage1.ietf.org>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: -1.36 () ALL_TRUSTED
X-Scanned-By: MIMEDefang 2.56 on 132.146.168.158
X-OriginalArrivalTime: 03 Jan 2007 13:45:37.0114 (UTC)
	FILETIME=[72EF3BA0:01C72F3D]
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 944ecb6e61f753561f559a497458fb4f
Cc: int-area@ietf.org, tsv-area@ietf.org
Subject: [Int-area] Re: [tsv-area] Fwd: I-D
 ACTION:draft-heffner-frag-harmful-03.txt 
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

Matt, John,

1/ During the lifetime of this draft its scope has become restricted to 
soley describing the problem. That's good (and it's a good solid draft), 
but the abstract or intro needs to explictly say what it is deliberately 
not setting out to say (not describing partial solutions, not proposing 
solutions).

2/ Given the new restricted scope, the title is wrong - it's snappy, but 
not appropriate for this draft any more. It should be "Field Wrapping 
Problems with IP Fragmentation" or some such.

"IPv4 Fragmentation Considered Very Harmful" attributes blame squarely on 
the fragmentation protocol (as opposed to re-assembly implementations - see 
later). This title effectively says "You SHOULD NOT fragment with a 16b ID 
field", which is beyond what the text dares to say, and it's beyond what an 
informational draft should say.

Even if this was a BCP rather than informational, I would say it would be 
wrong to deprecate 16b fragmentation anyway. There are good reasons why 
fragmentation is useful (e.g. in tunnels), so we need to try really hard to 
find robust ways to do it before writing it off as deprecated. Saying it's 
very harmful should only be a last resort if we /prove/ it cannot ever be 
done robustly.

As we know, one way to fragment with improved robustness is to use more 
bits for the ID field. But if 16b fragmentation is a problem now, 32b 
fragmentation will be a problem in the future (not so distant future as 
Matt pointed out on int-area 
<http://osdir.com/ml/int-area@lists.ietf.org/msg00545.html>). IP is 
sufficiently pivotal at the neck of the hour glass that anything we say 
about it should endure for decades. I would contend that the IETF shouldn't 
condone putting off a problem to a later date when we know it will return. 
The present title leads us towards that sort of solution, implying "32b ID 
fields aren't [ever] very harmful" - on a draft that isn't even meant to be 
discussing solutions.

Given hierarchical layering is here to stay (and always has been), it would 
be more fruitful to admit that we need to be able to do fragmentation 
robustly and so we cannot avoid choosing an ID field width that will
- either not be wide enough at some future time
- or will be overly wasteful today.

In this vein, it would be useful to focus everyone on designing better 
re-assembly /implementations/ around a 16b fragmentation /protocol/ (see a 
possible idea below). There is no proof yet that we have reached the end of 
our innovation potential on this.

A sketch idea for a more robust re-assembly implementation:
On receipt of each fragment, within the re-assembly implementation increase 
the precision of the ID field by adding a "received timestamp" of 
sufficient precision. Then on a first pass, match fragments only if the 
fragment IDs match AND the timestamps are within a certain narrow range of 
each other. Otherwise hold the fragment and, as a last resort later, widen 
the timestamp range that will cause a match - perhaps when the fragment is 
about to be expired from the buffer (...rest of implementation left as an 
exercise for the reader).

In summary, a 16bit fragment ID field should be innocent until proven 
guilty. As long as the culprit might be /implementations/, the title 
shouldn't presume the IPv4 fragmentation /protocol/ is guilty.


3/ The draft should say something about how the problem gets worse if the 
sender uses a pseudo-random number generator for the IPid field (as recent 
versions of OpenBSD and some versions of FreeBSD do). Then there is no 
longer a deterministic wrapping problem, but there is /always/ some small 
probability of a clash within the max packet lifetime. A good ref for this is:

S. Bellovin, ``A Technique for Counting NATted Hosts,'' Proceedings of the 
Second Internet Measurement Workshop, November 2002. 
http://www.cs.columbia.edu/~smb/papers/fnat.pdf



Bob

At 07:06 06/12/2006, Lars Eggert wrote:
>Hi,
>
>could the people who had commented on the -02 revision during IETF LC
>please take a look whether the latest revision addresses their issues?
>
>Begin forwarded message:
>>A New Internet-Draft is available from the on-line Internet-Drafts
>>directories.
>>
>>         Title           : IPv4 Fragmentation Considered Very Harmful
>>         Author(s)       : J. Heffner, et al.
>>         Filename        : draft-heffner-frag-harmful-03.txt
>>         Pages           : 9
>>         Date            : 2006-12-5
>
>Thanks,
>Lars
>
>
>

____________________________________________________________________________
Notice: This contribution is the personal view of the author and does not 
necessarily reflect the technical nor commercial direction of BT plc.
____________________________________________________________________________
Bob Briscoe,                           Networks Research Centre, BT Research
B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.    +44 1473 645196 



_______________________________________________
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 Jan 03 14:47:56 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2C4z-0000WD-BT; Wed, 03 Jan 2007 14:47:17 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2C4y-0000W5-Qp; Wed, 03 Jan 2007 14:47:16 -0500
Received: from slb-smtpout-01.boeing.com ([130.76.64.48]
	helo=slb-smtpout-01.ns.cs.boeing.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1H2C4x-0002XT-5j; Wed, 03 Jan 2007 14:47:16 -0500
Received: from slb-av-01.boeing.com (slb-av-01.boeing.com [129.172.13.4])
	by slb-smtpout-01.ns.cs.boeing.com (8.13.6/8.13.6/TEST_SMTPIN) with
	ESMTP id l03Jl6WZ016316
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 3 Jan 2007 11:47:11 -0800 (PST)
Received: from slb-av-01.boeing.com (localhost [127.0.0.1])
	by slb-av-01.boeing.com (8.13.6/8.13.6/DOWNSTREAM_RELAY) with ESMTP id
	l03Jl6gf013732; Wed, 3 Jan 2007 11:47:06 -0800 (PST)
Received: from XCH-NWBH-11.nw.nos.boeing.com (xch-nwbh-11.nw.nos.boeing.com
	[130.247.55.84])
	by slb-av-01.boeing.com (8.13.6/8.13.6/UPSTREAM_RELAY) with ESMTP id
	l03Jl0Va013538; Wed, 3 Jan 2007 11:47:05 -0800 (PST)
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.1830); 
	Wed, 3 Jan 2007 11:47:00 -0800
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: fragmentation and tunnels (was: RE: [Int-area] Re: [tsv-area] Fwd:
	I-DACTION:draft-heffner-frag-harmful-03.txt) 
Date: Wed, 3 Jan 2007 11:46:16 -0800
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A10177455F@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: fragmentation and tunnels (was: RE: [Int-area] Re: [tsv-area]
	Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
Thread-Index: AccvPadG+C34dOuiSBOJSz9KG1jFpgAFMamw
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Bob Briscoe" <rbriscoe@jungle.bt.co.uk>, "Matt Mathis" <mathis@psc.edu>, 
	"John Heffner" <jheffner@psc.edu>
X-OriginalArrivalTime: 03 Jan 2007 19:47:00.0233 (UTC)
	FILETIME=[EF149F90:01C72F6F]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 2b2ad76aced9b1d558e34a970a85c027
Cc: tsv-area@ietf.org, 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

Hello Bob,

Your message is very interesting, and I believe a fresh new
way of looking at the situation - especially for fragmentation
that occurs within tunnels. I appreciate what you are saying,
and look forward to further dialogue on it.

I have been looking at fragmentation over IP*-in-IPv4 tunnels
for some time, and 'draft-templin-linkadapt-03.txt' proposes
an Alternate Fragmentation (AF) scheme that occurs below the
transport layer segmentation (e.g., Packetization Layer Path
MTU Discovery) but above IPv4 fragmentation. It supports
segmentation/reassembly at the tunnel endpoints and uses a
dynamic segment size probing mechanism within the tunnel to
avoid in-the-network IPv4 fragmentation, yet remains compatible
with in-the-network fragmentation should it occur. Use of the
scheme is indicated by setting the reserved bit in the IPv4
header 'Flags' field (to be renamed as the 'AF' bit), thus
it obsoletes RFC3514 (an "April Fools Day" RFC).

This AF scheme codes the 'ip_id' field in the IPv4 header and
thus presents a shorter-than-16b ID (the current draft version
specifies only a 6b ID). The assumption (which I think is also
an assumption you are making) is that successful reassembly
will occur within a very short time window if it will occur
at all. This assumes that reassembly failure will normally
occur due to packet loss rather than gross reordering of
packets within the same flow.

There have been many studies on packet reordering within the
Internet, but I have not found one yet that can completely
characterize the *degree* of reordering, i.e., the expected
number of places by which a reordered packet is out-of-order.
Most of the studies I have seen seem to suggest that the
expected degree of reordering of packets within a short chain
of packets sent in rapid succession within the same flow is
typically very small, e.g., a reordering event such as
(1,2,4,5,3,6,...) may occur occasionally, while one such
as (1,2,4,5,...,64k,3,64k+1,...) most likely will not. Other
factors to consider are: 1) as you observe, lengthening the
ID field may be insufficient in the presence of gross
reordering, and 2) transports such as TCP are likely to
treat grossly reordered packets as loss anyway.

Benefits of this AF scheme in relation to IPv4 fragmentation
are:

  - avoidance of in-the-network fragmentation by dynamic
    segment size probing at the tunnel endpoints
  - authenticated probe response from the decapsulating
    tunnel endpoint to avoid false-positives from on- and
    off-path attackers
  - flow-control to avoid reassembly buffer overruns
  - reduced reassembly buffer memory requirements
  - avoidance of undetected reassembly errors via a
    trailing checksum that is dissimilar from the
    Internet checksum
  - larger MTUs for tunnels

Finally, this work has been around for some time now, and
I believe has been reviewed by many while few have commented.
Perhaps now is the time for discussion on a wider basis.

Thanks - Fred
fred.l.templin@boeing.com

PS: Errata in the current draft version:

   - the current draft only speaks to IPv6-in-IPv4 tunnels
   - the ICMP messaging in the current draft may be too
     IPv6-centric
   - network byte ordering issue in the ip_id coding ('A';
     'P' bits should be MSBs; not LSBs)
   - network byte order coding of trailing checksum needs
     to be clarified
   - draft title should be changed to something like
     "Alternate Fragmentation for IP-in-IP Tunnels"

   The intention is to fix these in a -04 version, along
   with any other change suggestions that may come.=20

> -----Original Message-----
> From: Bob Briscoe [mailto:rbriscoe@jungle.bt.co.uk]=20
> Sent: Wednesday, January 03, 2007 5:46 AM
> To: Matt Mathis; John Heffner
> Cc: int-area@ietf.org; tsv-area@ietf.org
> Subject: [Int-area] Re: [tsv-area] Fwd:=20
> I-DACTION:draft-heffner-frag-harmful-03.txt=20
>=20
> Matt, John,
>=20
> 1/ During the lifetime of this draft its scope has become=20
> restricted to=20
> soley describing the problem. That's good (and it's a good=20
> solid draft),=20
> but the abstract or intro needs to explictly say what it is=20
> deliberately=20
> not setting out to say (not describing partial solutions, not=20
> proposing=20
> solutions).
>=20
> 2/ Given the new restricted scope, the title is wrong - it's=20
> snappy, but=20
> not appropriate for this draft any more. It should be "Field Wrapping=20
> Problems with IP Fragmentation" or some such.
>=20
> "IPv4 Fragmentation Considered Very Harmful" attributes blame=20
> squarely on=20
> the fragmentation protocol (as opposed to re-assembly=20
> implementations - see=20
> later). This title effectively says "You SHOULD NOT fragment=20
> with a 16b ID=20
> field", which is beyond what the text dares to say, and it's=20
> beyond what an=20
> informational draft should say.
>=20
> Even if this was a BCP rather than informational, I would say=20
> it would be=20
> wrong to deprecate 16b fragmentation anyway. There are good=20
> reasons why=20
> fragmentation is useful (e.g. in tunnels), so we need to try=20
> really hard to=20
> find robust ways to do it before writing it off as=20
> deprecated. Saying it's=20
> very harmful should only be a last resort if we /prove/ it=20
> cannot ever be=20
> done robustly.
>=20
> As we know, one way to fragment with improved robustness is=20
> to use more=20
> bits for the ID field. But if 16b fragmentation is a problem now, 32b=20
> fragmentation will be a problem in the future (not so distant=20
> future as=20
> Matt pointed out on int-area=20
> <http://osdir.com/ml/int-area@lists.ietf.org/msg00545.html>). IP is=20
> sufficiently pivotal at the neck of the hour glass that=20
> anything we say=20
> about it should endure for decades. I would contend that the=20
> IETF shouldn't=20
> condone putting off a problem to a later date when we know it=20
> will return.=20
> The present title leads us towards that sort of solution,=20
> implying "32b ID=20
> fields aren't [ever] very harmful" - on a draft that isn't=20
> even meant to be=20
> discussing solutions.
>=20
> Given hierarchical layering is here to stay (and always has=20
> been), it would=20
> be more fruitful to admit that we need to be able to do fragmentation=20
> robustly and so we cannot avoid choosing an ID field width that will
> - either not be wide enough at some future time
> - or will be overly wasteful today.
>=20
> In this vein, it would be useful to focus everyone on=20
> designing better=20
> re-assembly /implementations/ around a 16b fragmentation=20
> /protocol/ (see a=20
> possible idea below). There is no proof yet that we have=20
> reached the end of=20
> our innovation potential on this.
>=20
> A sketch idea for a more robust re-assembly implementation:
> On receipt of each fragment, within the re-assembly=20
> implementation increase=20
> the precision of the ID field by adding a "received timestamp" of=20
> sufficient precision. Then on a first pass, match fragments=20
> only if the=20
> fragment IDs match AND the timestamps are within a certain=20
> narrow range of=20
> each other. Otherwise hold the fragment and, as a last resort=20
> later, widen=20
> the timestamp range that will cause a match - perhaps when=20
> the fragment is=20
> about to be expired from the buffer (...rest of=20
> implementation left as an=20
> exercise for the reader).
>=20
> In summary, a 16bit fragment ID field should be innocent until proven=20
> guilty. As long as the culprit might be /implementations/, the title=20
> shouldn't presume the IPv4 fragmentation /protocol/ is guilty.
>=20
>=20
> 3/ The draft should say something about how the problem gets=20
> worse if the=20
> sender uses a pseudo-random number generator for the IPid=20
> field (as recent=20
> versions of OpenBSD and some versions of FreeBSD do). Then=20
> there is no=20
> longer a deterministic wrapping problem, but there is=20
> /always/ some small=20
> probability of a clash within the max packet lifetime. A good=20
> ref for this is:
>=20
> S. Bellovin, ``A Technique for Counting NATted Hosts,''=20
> Proceedings of the=20
> Second Internet Measurement Workshop, November 2002.=20
> http://www.cs.columbia.edu/~smb/papers/fnat.pdf
>=20
>=20
>=20
> Bob
>=20
> At 07:06 06/12/2006, Lars Eggert wrote:
> >Hi,
> >
> >could the people who had commented on the -02 revision during IETF LC
> >please take a look whether the latest revision addresses=20
> their issues?
> >
> >Begin forwarded message:
> >>A New Internet-Draft is available from the on-line Internet-Drafts
> >>directories.
> >>
> >>         Title           : IPv4 Fragmentation Considered=20
> Very Harmful
> >>         Author(s)       : J. Heffner, et al.
> >>         Filename        : draft-heffner-frag-harmful-03.txt
> >>         Pages           : 9
> >>         Date            : 2006-12-5
> >
> >Thanks,
> >Lars
> >
> >
> >
>=20
> ______________________________________________________________
> ______________
> Notice: This contribution is the personal view of the author=20
> and does not=20
> necessarily reflect the technical nor commercial direction of BT plc.
> ______________________________________________________________
> ______________
> Bob Briscoe,                           Networks Research=20
> Centre, BT Research
> B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.   =20
> +44 1473 645196=20
>=20
>=20
>=20
> _______________________________________________
> Int-area mailing list
> Int-area@lists.ietf.org
> https://www1.ietf.org/mailman/listinfo/int-area
>=20

_______________________________________________
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 Jan 03 15:39:45 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2CtR-0005zU-BE; Wed, 03 Jan 2007 15:39:25 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2CtQ-0005xH-GW; Wed, 03 Jan 2007 15:39:24 -0500
Received: from mailer1.psc.edu ([128.182.58.100])
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1H2CtO-0003Kw-RR; Wed, 03 Jan 2007 15:39:24 -0500
Received: from [128.182.160.132] (ice.psc.edu [128.182.160.132])
	(authenticated bits=0)
	by mailer1.psc.edu (8.13.8/8.13.3) with ESMTP id l03KdB8k011681
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO);
	Wed, 3 Jan 2007 15:39:22 -0500 (EST)
Message-ID: <459C146F.9080104@psc.edu>
Date: Wed, 03 Jan 2007 15:39:11 -0500
From: John Heffner <jheffner@psc.edu>
User-Agent: Thunderbird 1.5.0.9 (Macintosh/20061207)
MIME-Version: 1.0
To: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
References: <E1GrhEn-0004XJ-NE@stiedprstage1.ietf.org>
	<5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
In-Reply-To: <5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 5d7a7e767f20255fce80fa0b77fb2433
Cc: int-area@ietf.org, tsv-area@ietf.org
Subject: [Int-area] Re: [tsv-area] Fwd: I-D
	ACTION:draft-heffner-frag-harmful-03.txt
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

Bob, thanks for the insightful comments.  Response inline...


Bob Briscoe wrote:
> Matt, John,
> 
> 1/ During the lifetime of this draft its scope has become restricted to 
> soley describing the problem. That's good (and it's a good solid draft), 
> but the abstract or intro needs to explictly say what it is deliberately 
> not setting out to say (not describing partial solutions, not proposing 
> solutions).
> 
> 2/ Given the new restricted scope, the title is wrong - it's snappy, but 
> not appropriate for this draft any more. It should be "Field Wrapping 
> Problems with IP Fragmentation" or some such.
> 
> "IPv4 Fragmentation Considered Very Harmful" attributes blame squarely 
> on the fragmentation protocol (as opposed to re-assembly implementations 
> - see later). This title effectively says "You SHOULD NOT fragment with 
> a 16b ID field", which is beyond what the text dares to say, and it's 
> beyond what an informational draft should say.

This is basically what the IESG review said and we agree.  The text in 
the abstract is not clear.  The intent is not to say the IPv4 
fragmentation should never be used, but that it is not safe for use 
under some conditions.  Basically, we feel that for some (esp. low-rate) 
applications such as DNSSEC it's probably fine, but for other purposes, 
especially bulk transport, it's not suitable.  Note, however, that even 
low-rate fragmenting applications can be exposed to problems if a 
high-rate non-fragmenting application is running at the same time.

I think the text of the document is adequately clear on this, but we 
will be rewording the abstract.

About the title: it was meant to indicate that this document is 
documenting an additional problem (which is in fact very harmful when it 
occurs), and is extension, not a substitute, for the landmark Kent/Mogul 
"Fragmentation considered harmful" paper.  It seems to have caused 
sufficient confusion and misinterpretation that it is probably worth 
reconsidering the title.


> Even if this was a BCP rather than informational, I would say it would 
> be wrong to deprecate 16b fragmentation anyway. There are good reasons 
> why fragmentation is useful (e.g. in tunnels), so we need to try really 
> hard to find robust ways to do it before writing it off as deprecated. 
> Saying it's very harmful should only be a last resort if we /prove/ it 
> cannot ever be done robustly.
> 
> As we know, one way to fragment with improved robustness is to use more 
> bits for the ID field. But if 16b fragmentation is a problem now, 32b 
> fragmentation will be a problem in the future (not so distant future as 
> Matt pointed out on int-area 
> <http://osdir.com/ml/int-area@lists.ietf.org/msg00545.html>). IP is 
> sufficiently pivotal at the neck of the hour glass that anything we say 
> about it should endure for decades. I would contend that the IETF 
> shouldn't condone putting off a problem to a later date when we know it 
> will return. The present title leads us towards that sort of solution, 
> implying "32b ID fields aren't [ever] very harmful" - on a draft that 
> isn't even meant to be discussing solutions.
> 
> Given hierarchical layering is here to stay (and always has been), it 
> would be more fruitful to admit that we need to be able to do 
> fragmentation robustly and so we cannot avoid choosing an ID field width 
> that will
> - either not be wide enough at some future time
> - or will be overly wasteful today.
> 
> In this vein, it would be useful to focus everyone on designing better 
> re-assembly /implementations/ around a 16b fragmentation /protocol/ (see 
> a possible idea below). There is no proof yet that we have reached the 
> end of our innovation potential on this.
> 
> A sketch idea for a more robust re-assembly implementation:
> On receipt of each fragment, within the re-assembly implementation 
> increase the precision of the ID field by adding a "received timestamp" 
> of sufficient precision. Then on a first pass, match fragments only if 
> the fragment IDs match AND the timestamps are within a certain narrow 
> range of each other. Otherwise hold the fragment and, as a last resort 
> later, widen the timestamp range that will cause a match - perhaps when 
> the fragment is about to be expired from the buffer (...rest of 
> implementation left as an exercise for the reader).
> 
> In summary, a 16bit fragment ID field should be innocent until proven 
> guilty. As long as the culprit might be /implementations/, the title 
> shouldn't presume the IPv4 fragmentation /protocol/ is guilty.

Originally we had thoughts of trying to prescribe an implementation fix. 
  There are certainly a lot of possible approaches.  Linux has just 
recently implemented a scheme where fragments time out not by wall clock 
time, but by the number of intermediate packets received, effectively 
having a tunable parameter on the amount of reordering tolerated.  This 
seems to work pretty well.

However, there really is a protocol problem that prevented us from 
trying to prescribe a solution.  The sender is responsible for not 
reusing IPIDs before the fragments time out, but the receiver is 
responsible for timing out fragments.  There is no way to the sender to 
know if a receiver has timed out the old fragments yet.

As an operations person, I might be able to deploy fragmentation with 
some confidence if I can ensure that all receivers I'm using are running 
recent Linux kernels with the workaround enabled.  But as an application 
developer, there's no way for me to be sure I won't ever run in to 
protocol trouble if I rely on fragmentation.


> 3/ The draft should say something about how the problem gets worse if 
> the sender uses a pseudo-random number generator for the IPid field (as 
> recent versions of OpenBSD and some versions of FreeBSD do). Then there 
> is no longer a deterministic wrapping problem, but there is /always/ 
> some small probability of a clash within the max packet lifetime. A good 
> ref for this is:
> 
> S. Bellovin, ``A Technique for Counting NATted Hosts,'' Proceedings of 
> the Second Internet Measurement Workshop, November 2002. 
> http://www.cs.columbia.edu/~smb/papers/fnat.pdf

Yes, we can add this.

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 Wed Jan 03 17:18:29 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2EQi-0000Hh-86; Wed, 03 Jan 2007 17:17:52 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2EQh-0000H4-5V; Wed, 03 Jan 2007 17:17:51 -0500
Received: from blv-smtpout-01.boeing.com ([130.76.32.69]
	helo=blv-smtpout-01.ns.cs.boeing.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1H2EQc-0006C2-Rk; Wed, 03 Jan 2007 17:17:51 -0500
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6])
	by blv-smtpout-01.ns.cs.boeing.com (8.13.6/8.13.6/TEST_SMTPIN) with
	ESMTP id l03MHgbN007209
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 3 Jan 2007 14:17:43 -0800 (PST)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.13.6/8.13.6/DOWNSTREAM_RELAY) with ESMTP id
	l03MHgl1021352; Wed, 3 Jan 2007 16:17:42 -0600 (CST)
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.13.6/8.13.6/UPSTREAM_RELAY) with ESMTP id
	l03MHEjv020143; Wed, 3 Jan 2007 16:17:42 -0600 (CST)
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.1830); 
	Wed, 3 Jan 2007 14:17:34 -0800
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] Re: [tsv-area] Fwd:
	I-DACTION:draft-heffner-frag-harmful-03.txt
Date: Wed, 3 Jan 2007 14:17:11 -0800
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A101774561@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <459C146F.9080104@psc.edu>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: [Int-area] Re: [tsv-area] Fwd:
	I-DACTION:draft-heffner-frag-harmful-03.txt
Thread-Index: Accvd14GW2FPPRt8QnGR3k/wFF4l6QACyzQQ
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "John Heffner" <jheffner@psc.edu>, "Bob Briscoe" <rbriscoe@jungle.bt.co.uk>
X-OriginalArrivalTime: 03 Jan 2007 22:17:34.0385 (UTC)
	FILETIME=[F7DAD210:01C72F84]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 1ac7cc0a4cd376402b85bc1961a86ac2
Cc: tsv-area@ietf.org, 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

> > S. Bellovin, ``A Technique for Counting NATted Hosts,''=20
> Proceedings of=20
> > the Second Internet Measurement Workshop, November 2002.=20
> > http://www.cs.columbia.edu/~smb/papers/fnat.pdf
>=20
> Yes, we can add this.

Maybe consider adding this too:

"Beyond Folklore: Observations on Fragmented Traffic"
http://www.caida.org/publications/papers/2002/Frag/frag.pdf

Fred
fred.l.templin@boeing.com

_______________________________________________
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 Jan 04 10:20:16 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2UNt-00051u-6a; Thu, 04 Jan 2007 10:20:01 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1H2UNq-00051H-RI
	for int-area@ietf.org; Thu, 04 Jan 2007 10:19:58 -0500
Received: from smtp2.smtp.bt.com ([217.32.164.150])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H2UNl-0004rX-JO
	for int-area@ietf.org; Thu, 04 Jan 2007 10:19:58 -0500
Received: from i2kc06-ukbr.domain1.systemhost.net ([193.113.197.70]) by
	smtp2.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 4 Jan 2007 15:19:52 +0000
Received: from cbibipnt05.iuser.iroot.adidom.com ([147.149.196.177]) by
	i2kc06-ukbr.domain1.systemhost.net with Microsoft
	SMTPSVC(6.0.3790.211); Thu, 4 Jan 2007 15:19:51 +0000
Received: From bagheera.jungle.bt.co.uk ([132.146.168.158]) by
	cbibipnt05.iuser.iroot.adidom.com (WebShield SMTP v4.5 MR1a
	P0803.399); id 1167923990861; Thu, 4 Jan 2007 15:19:50 +0000
Received: from mut.jungle.bt.co.uk ([10.86.0.227])
	by bagheera.jungle.bt.co.uk (8.13.5/8.12.8) with ESMTP id
	l04FJlfl029141; Thu, 4 Jan 2007 15:19:48 GMT
Message-Id: <5.2.1.1.2.20070104134833.02cfca90@pop3.jungle.bt.co.uk>
X-Sender: rbriscoe@pop3.jungle.bt.co.uk
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Thu, 04 Jan 2007 15:19:54 +0000
To: John Heffner <jheffner@psc.edu>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
In-Reply-To: <459C146F.9080104@psc.edu>
References: <5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
	<E1GrhEn-0004XJ-NE@stiedprstage1.ietf.org>
	<5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: -1.36 () ALL_TRUSTED
X-Scanned-By: MIMEDefang 2.56 on 132.146.168.158
X-OriginalArrivalTime: 04 Jan 2007 15:19:51.0947 (UTC)
	FILETIME=[C7E405B0:01C73013]
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 0fa76816851382eb71b0a882ccdc29ac
Cc: int-area@ietf.org, tsv-area@ietf.org
Subject: [Int-area] Re: [tsv-area] Fwd: I-D 
 ACTION:draft-heffner-frag-harmful-03.txt
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

John,

At 20:39 03/01/2007, John Heffner wrote:
>Originally we had thoughts of trying to prescribe an implementation fix.

I still think this is the way to go. ...Well, at least not actually 
prescribing the algorithm, but prescribing (or recommending) its desired 
behaviour.

>  There are certainly a lot of possible approaches.  Linux has just 
> recently implemented a scheme where fragments time out not by wall clock 
> time, but by the number of intermediate packets received, effectively 
> having a tunable parameter on the amount of reordering tolerated.  This 
> seems to work pretty well.

That's nice. I was only using wall-clock time because it was a strictly 
monotonically increasing number. Concatenating an increasing index would 
work just as well (in fact better), which is effectively the same as the 
Linux idea. And yes, I was imagining that the receiver would adapt the 
allowed gap between re-assembled packets to circumstances (ie tunable could 
mean per flow, rather than configured per machine).

Heuristically tuning this parameter per flow could potentially even handle 
the problem you mention where the sender is spreading PacketIDs over other 
faster flows. Tho, having heuristic adaptation in an IP stack is a bit 
scary - how many vulnerabilities might that open up?


>However, there really is a protocol problem that prevented us from trying 
>to prescribe a solution.  The sender is responsible for not reusing IPIDs 
>before the fragments time out, but the receiver is responsible for timing 
>out fragments.  There is no way to the sender to know if a receiver has 
>timed out the old fragments yet.

This is only a 'real protocol problem' if we define a correct re-assembly 
function as one that is exactly 100% reliable. Even if a well-known timeout 
had been standardised (whether 15mins, 1min, 1sec), re-assembly wouldn't 
have been guaranteed reliable. It would only be possible to guarantee that 
received packets were not re-using a number before a time agreed between 
sender & rcvr if we used loose clock synch (e.g. I did one like this myself 
in RFC4082).

I don't believe anyone wants IP to take that road. So strictly, we don't 
have a real protocol problem, if 100% is an unattainable goal anyway at 
reasonable complexity.

So, firstly we need to state up front that IP fragment re-assembly is not 
expected to be exactly 100% reliable. Then we can say a lot can be done 
through good implementation to get within a gnat's tittle of 100%.


>As an operations person, I might be able to deploy fragmentation with some 
>confidence if I can ensure that all receivers I'm using are running recent 
>Linux kernels with the workaround enabled.  But as an application 
>developer, there's no way for me to be sure I won't ever run in to 
>protocol trouble if I rely on fragmentation.

An app developer can always say "rcvr app requires at least Linux vX.Y, 
Windows 2052 etc".

The only property we (the IETF) need to ensure is that highly reliable 
reassembly doesn't rely on sender behaviour as well. Even with 
pseudo-random PacketID sequences, I think that's do-able by building on 
implementations like the Linux one above.


Bob


____________________________________________________________________________
Notice: This contribution is the personal view of the author and does not 
necessarily reflect the technical nor commercial direction of BT plc.
____________________________________________________________________________
Bob Briscoe,                           Networks Research Centre, BT Research
B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.    +44 1473 645196 



_______________________________________________
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 Jan 04 11:51:34 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2VoJ-0005qz-1x; Thu, 04 Jan 2007 11:51:23 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1H2VoH-0005mt-QN
	for int-area@ietf.org; Thu, 04 Jan 2007 11:51:21 -0500
Received: from smtp4.smtp.bt.com ([217.32.164.151])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H2VoD-0003cQ-2y
	for int-area@ietf.org; Thu, 04 Jan 2007 11:51:21 -0500
Received: from i2kc08-ukbr.domain1.systemhost.net ([193.113.197.71]) by
	smtp4.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Thu, 4 Jan 2007 16:51:16 +0000
Received: from cbibipnt08.iuser.iroot.adidom.com ([147.149.100.81]) by
	i2kc08-ukbr.domain1.systemhost.net with Microsoft
	SMTPSVC(6.0.3790.211); Thu, 4 Jan 2007 16:51:15 +0000
Received: From bagheera.jungle.bt.co.uk ([132.146.168.158]) by
	cbibipnt08.iuser.iroot.adidom.com (WebShield SMTP v4.5 MR1a
	P0803.399); id 1167929474393; Thu, 4 Jan 2007 16:51:14 +0000
Received: from mut.jungle.bt.co.uk ([10.86.0.227])
	by bagheera.jungle.bt.co.uk (8.13.5/8.12.8) with ESMTP id
	l04Gp83O032640; Thu, 4 Jan 2007 16:51:11 GMT
Message-Id: <5.2.1.1.2.20070104152257.030b6090@pop3.jungle.bt.co.uk>
X-Sender: rbriscoe@pop3.jungle.bt.co.uk
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Thu, 04 Jan 2007 16:51:19 +0000
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
Subject: Re: fragmentation and tunnels (was: RE: [Int-area] Re:
	[tsv-area] Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A10177455F@XCH-NW-7V2.nw.nos
	.boeing.com>
References: <5.2.1.1.2.20070103113937.046cf228@pop3.jungle.bt.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: -1.36 () ALL_TRUSTED
X-Scanned-By: MIMEDefang 2.56 on 132.146.168.158
X-OriginalArrivalTime: 04 Jan 2007 16:51:15.0465 (UTC)
	FILETIME=[8C527790:01C73020]
X-Spam-Score: 0.1 (/)
X-Scan-Signature: 6d95a152022472c7d6cdf886a0424dc6
Cc: tsv-area@ietf.org, 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

Fred,

At 19:46 03/01/2007, Templin, Fred L wrote:
>Hello Bob,
>
>Your message is very interesting, and I believe a fresh new
>way of looking at the situation - especially for fragmentation
>that occurs within tunnels. I appreciate what you are saying,
>and look forward to further dialogue on it.
>
>I have been looking at fragmentation over IP*-in-IPv4 tunnels
>for some time, and 'draft-templin-linkadapt-03.txt' proposes
>an Alternate Fragmentation (AF) scheme that occurs below the
>transport layer segmentation (e.g., Packetization Layer Path
>MTU Discovery) but above IPv4 fragmentation. It supports
>segmentation/reassembly at the tunnel endpoints and uses a
>dynamic segment size probing mechanism within the tunnel to
>avoid in-the-network IPv4 fragmentation, yet remains compatible
>with in-the-network fragmentation should it occur.

I've scanned it.

My initial reaction is that is seems somewhat over-specific in places. It 
would seem better if only the bare bones needed for tunnel fragmentation 
was in there, rather than tying together the fragmentation scheme with the 
checksumming and so forth. Also I suspect the references to specific link 
technologies will seem dated in a few years --- it needs to justify some of 
the min & max MTU choices for the long term. Also, it would be useful to 
say why existing v6 fragment header mechanisms aren't applicable.

>Use of the
>scheme is indicated by setting the reserved bit in the IPv4
>header 'Flags' field (to be renamed as the 'AF' bit), thus
>it obsoletes RFC3514 (an "April Fools Day" RFC).

This seems a rather specific use for this last reserved bit, given things 
in the IP header are meant to be generally useful to upper layers.

Couldn't use of the coding scheme be negotiated between tunnel endpoints 
for all tunnelled packets carrying a specific src-dest address pair?

I have to declare an interest in the reserved (evil) bit myself at this 
point. I've been presenting a draft myself in tsvwg 
<draft-briscoe-tsvwg-re-ecn-tcp-03.txt> that relies on using it. However, I 
like to think we have a strong justification for grabbing it, as the above 
draft is the culmination of a decade of work to fix the resource allocation 
and accountability problems with the current Internet architecture.

Are you aware of any other claims on that bit? I'm sure there are many.

>This AF scheme codes the 'ip_id' field in the IPv4 header and
>thus presents a shorter-than-16b ID (the current draft version
>specifies only a 6b ID). The assumption (which I think is also
>an assumption you are making) is that successful reassembly
>will occur within a very short time window if it will occur
>at all. This assumes that reassembly failure will normally
>occur due to packet loss rather than gross reordering of
>packets within the same flow.

I'm not quite making that assumption. I'm saying re-assembly over shorter 
gaps should take priority over longer gaps, so re-assembly over longer gaps 
should be deferred for a while.

>There have been many studies on packet reordering within the
>Internet, but I have not found one yet that can completely
>characterize the *degree* of reordering, i.e., the expected
>number of places by which a reordered packet is out-of-order.
>Most of the studies I have seen seem to suggest that the
>expected degree of reordering of packets within a short chain
>of packets sent in rapid succession within the same flow is
>typically very small, e.g., a reordering event such as
>(1,2,4,5,3,6,...) may occur occasionally, while one such
>as (1,2,4,5,...,64k,3,64k+1,...) most likely will not. Other
>factors to consider are: 1) as you observe, lengthening the
>ID field may be insufficient in the presence of gross
>reordering, and 2) transports such as TCP are likely to
>treat grossly reordered packets as loss anyway.

I guess it depends when you look. If you catch a re-route in progress into 
a shorter path, you might see something more like your second example if 
the re-route affects very fast flows. So, the typical case might not be the 
only case we have to allow for.

>Finally, this work has been around for some time now, and
>I believe has been reviewed by many while few have commented.
>Perhaps now is the time for discussion on a wider basis.

I guess one immediate problem springs to mind. Current re-assembly 
implementations have had to be hardened against frag, tear-drop etc 
attacks. In defining a new coding of the packetID field, it will have to be 
resistant to attack from malicious sources. A new coding would open up a 
new set of vulnerabilities that would all have to be dreamt up then 
patched. For instance, malicious sources could spoof tunnelled packets to 
the decap endpoint as if they were from the encap endpoint, but send 
sequences of fragments that don't fit together correctly, blowing its 
memory, causing it to hang, or whatever.


Bob


____________________________________________________________________________
Notice: This contribution is the personal view of the author and does not 
necessarily reflect the technical nor commercial direction of BT plc.
____________________________________________________________________________
Bob Briscoe,                           Networks Research Centre, BT Research
B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.    +44 1473 645196 



_______________________________________________
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 Jan 04 19:02:01 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2cWj-0004ua-RR; Thu, 04 Jan 2007 19:01:41 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H2cWh-0004tM-BW; Thu, 04 Jan 2007 19:01:39 -0500
Received: from slb-smtpout-01.boeing.com ([130.76.64.48]
	helo=slb-smtpout-01.ns.cs.boeing.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1H2cWf-0003g3-PZ; Thu, 04 Jan 2007 19:01:39 -0500
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6])
	by slb-smtpout-01.ns.cs.boeing.com (8.13.6/8.13.6/TEST_SMTPIN) with
	ESMTP id l0501ahZ023457
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Thu, 4 Jan 2007 16:01:36 -0800 (PST)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.13.6/8.13.6/DOWNSTREAM_RELAY) with ESMTP id
	l0501ZWs019018; Thu, 4 Jan 2007 18:01:35 -0600 (CST)
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.13.6/8.13.6/UPSTREAM_RELAY) with ESMTP id
	l0501Tnb018806; Thu, 4 Jan 2007 18:01:35 -0600 (CST)
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.1830); 
	Thu, 4 Jan 2007 16:01:21 -0800
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: fragmentation and tunnels (was: RE: [Int-area] Re: [tsv-area]
	Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
Date: Thu, 4 Jan 2007 16:01:03 -0800
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A10177456D@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <5.2.1.1.2.20070104152257.030b6090@pop3.jungle.bt.co.uk>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: fragmentation and tunnels (was: RE: [Int-area] Re: [tsv-area]
	Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
Thread-Index: AccwIJAI1jii5DsVQ7KFc9b5stf60AACEIvg
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Bob Briscoe" <rbriscoe@jungle.bt.co.uk>
X-OriginalArrivalTime: 05 Jan 2007 00:01:21.0732 (UTC)
	FILETIME=[A20E5040:01C7305C]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: a0534e6179a1e260079328e8b03c7901
Cc: tsv-area@ietf.org, 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 Bob,=20

> >I have been looking at fragmentation over IP*-in-IPv4 tunnels
> >for some time, and 'draft-templin-linkadapt-03.txt' proposes
> >an Alternate Fragmentation (AF) scheme that occurs below the
> >transport layer segmentation (e.g., Packetization Layer Path
> >MTU Discovery) but above IPv4 fragmentation. It supports
> >segmentation/reassembly at the tunnel endpoints and uses a
> >dynamic segment size probing mechanism within the tunnel to
> >avoid in-the-network IPv4 fragmentation, yet remains compatible
> >with in-the-network fragmentation should it occur.
>=20
> I've scanned it.

OK - thanks.

> My initial reaction is that is seems somewhat over-specific in places.
It=20
> would seem better if only the bare bones needed for tunnel
fragmentation=20
> was in there, rather than tying together the fragmentation scheme with
the=20
> checksumming and so forth.

The trailing checksum is there to detect packet splicing errors,
memory errors, driver bugs, bogus segments, etc. and discard
corrupted data that might not otherwise be detected by the
Internet checksum.=20

> Also I suspect the references to specific link=20
> technologies will seem dated in a few years

Maybe so, but to a certain extent I believe injecting a bit of
history here is useful in terms of leveraging past experience
moving forward. For example, the ATM cell size is coincidentally
similar to the minimum IPv4 MTU of 68 bytes [RFC791], and AAL5
is coincidentally similar to the segmentation/reassembly being
proposed in the document.

> --- it needs to justify some of=20
> the min & max MTU choices for the long term.

Well, for IPv6 we have a MinMTU of 1280 bytes for the long term
and I don't expect we will see that change soon. In terms of the
MaxMTU, my best-read of Jonathan Stone's thesis on "Checksums
in the Internet" was that the incidence of undetected errors
for 32b checksums becomes non-negligible for packet sizes larger
than about 9KB, which is coincidentally similar to the 9180 byte
MTU for IP over ATM. Future links that support even larger packet
sizes with strong error checking may allow for still larger
tunnel MTUs, but I'm not an expert on packet size interactions
with error detection mechanisms so would appreciate if others
who know more about it could comment.

> Also, it would be useful to=20
> say why existing v6 fragment header mechanisms aren't applicable.

IPv6 sees the tunnel as an ordinary link that needs to present
an assured MTU of 1280 bytes or larger. If the tunnel has to
segment IPv6 packets into smaller chunks in order to fulfill
the MTU it advertises to IPv6, then that is a L2 issue with
IPv4 being the L2 encapsulation protocol in question.

If the encapsulation were to include a full IPv6 header with
frag header in every segment, that would be 48 bytes of IPv6
header plus 20 bytes of IPv4 header leaving 0 bytes for ULP
data on links that support only the minimum IPv4 MTU of 68
bytes. It would also be inefficient in general even on links
with larger-than-68b MTUs, and something of a layer violation.

That said, it may be useful to include just the first 4 octets
of the IPv6 header in the encapsulation of non-initial segments.
That would give the 8b Traffic Class and 20b Flow Label which
could be used by the reassembler to further disambiguate flows.
=20
> >Use of the
> >scheme is indicated by setting the reserved bit in the IPv4
> >header 'Flags' field (to be renamed as the 'AF' bit), thus
> >it obsoletes RFC3514 (an "April Fools Day" RFC).
>=20
> This seems a rather specific use for this last reserved bit, given
things=20
> in the IP header are meant to be generally useful to upper layers.

Well, the bit occurs in the flags field associated with
fragmentation, so defining it to indicate an Alternate
Fragmentation (AF) scheme would seem like a natural fit.
=20
> Couldn't use of the coding scheme be negotiated between tunnel
endpoints=20
> for all tunnelled packets carrying a specific src-dest address pair?

This might work for persistent configured tunnels that are
established through some initial negotiation phase, but=20
might not be so practical for automatic tunnels or tunnels
that are short-lived and/or only carry a small number of
packets. It is also possible that this AF scheme may be used
by IPv4 packetization layers other than tunnels and may even
supplement or replace RFC791 IPv4 fragmentation.

> I have to declare an interest in the reserved (evil) bit myself at
this=20
> point. I've been presenting a draft myself in tsvwg=20
> <draft-briscoe-tsvwg-re-ecn-tcp-03.txt> that relies on using=20
> it. However, I like to think we have a strong justification for
grabbing it,=20
> as the above draft is the culmination of a decade of work to fix the=20
> resource allocation and accountability problems with the current
Internet architecture.

I know that RFC3514 had tounge-in-cheek when it used the term
"evil", but to be sure we are talking about precious real estate
here. I have been working on the tunnel MTU stuff since 2002
when the ngtrans wg closed and re-emerged as v6ops.

>From what I can tell one question comes down to whether we can
expect to see IPv6-in-IPv4 tunnels deployed on a wide scale and
on a long-term basis in the Internet? If so, we will need tunnel
MTU assurance that provides robustness and efficiency over
arbitrary Internet paths.

Another question comes to whether such an AF scheme could
supplement or replace RFC791 IPv4 fragmentation (along with
its myriad issues that are well documented) even for
non-tunnel applications.

> Are you aware of any other claims on that bit? I'm sure there=20
> are many.

I knew of one proposal several years back, but to my knowledge
no I-Ds were ever issued and I don't know of any other claims.
Maybe someone else knows of other proposals.

> >This AF scheme codes the 'ip_id' field in the IPv4 header and
> >thus presents a shorter-than-16b ID (the current draft version
> >specifies only a 6b ID). The assumption (which I think is also
> >an assumption you are making) is that successful reassembly
> >will occur within a very short time window if it will occur
> >at all. This assumes that reassembly failure will normally
> >occur due to packet loss rather than gross reordering of
> >packets within the same flow.
>=20
> I'm not quite making that assumption. I'm saying re-assembly=20
> over shorter gaps should take priority over longer gaps, so
> re-assembly over longer gaps should be deferred for a while.

That's fine, but my intuition is that applications and
transports are not very tolerant of grossly reordered packets
and some may prefer to receive partial data (e.g. using UDPlite)
over data that arrives too late.
=20
> >There have been many studies on packet reordering within the
> >Internet, but I have not found one yet that can completely
> >characterize the *degree* of reordering, i.e., the expected
> >number of places by which a reordered packet is out-of-order.
> >Most of the studies I have seen seem to suggest that the
> >expected degree of reordering of packets within a short chain
> >of packets sent in rapid succession within the same flow is
> >typically very small, e.g., a reordering event such as
> >(1,2,4,5,3,6,...) may occur occasionally, while one such
> >as (1,2,4,5,...,64k,3,64k+1,...) most likely will not. Other
> >factors to consider are: 1) as you observe, lengthening the
> >ID field may be insufficient in the presence of gross
> >reordering, and 2) transports such as TCP are likely to
> >treat grossly reordered packets as loss anyway.
>=20
> I guess it depends when you look. If you catch a re-route in=20
> progress into a shorter path, you might see something more like
> your second example if the re-route affects very fast flows. So,
> the typical case might not be the only case we have to allow for.

Route flaps happen all the time in the environments I care
about, and in many cases loss of one or a couple of packets
is unavoidable. Reliable transports already take care of this,
and mechanisms like UDPlite may be useful for applications
such as streaming media.
=20
> >Finally, this work has been around for some time now, and
> >I believe has been reviewed by many while few have commented.
> >Perhaps now is the time for discussion on a wider basis.
>=20
> I guess one immediate problem springs to mind. Current re-assembly=20
> implementations have had to be hardened against frag, tear-drop etc=20
> attacks. In defining a new coding of the packetID field, it will have
to be=20
> resistant to attack from malicious sources. A new coding would open up
a=20
> new set of vulnerabilities that would all have to be dreamt up then=20
> patched. For instance, malicious sources could spoof tunnelled packets
to=20
> the decap endpoint as if they were from the encap endpoint, but send=20
> sequences of fragments that don't fit together correctly, blowing its=20
> memory, causing it to hang, or whatever.

The spec gives very specific instructions on how packets are to
be segmented that are actually a lot less flexible than RFC791
IPv4 fragmentation. In particular, all segments except the final
segment must be the same size (such that only a small integer
segment ID and not an offset are necessary) and the final byte
of the ith segment is the one that immediately precedes the first
byte of the i+1th segment. This makes reassembly much easier, and
if an attacker injects a bogus segment it will either be recognized
immediately as a martian or be caught by the trailing checksum
during reassembly. I'm sure this requires a more careful analysis,
however.

Thanks - Fred
fred.l.templin@boeing.com

_______________________________________________
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 Jan 10 10:48:10 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H4fgA-0007uw-RD; Wed, 10 Jan 2007 10:47:54 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1H4fg8-0007t0-LE
	for int-area@ietf.org; Wed, 10 Jan 2007 10:47:52 -0500
Received: from smtp3.smtp.bt.com ([217.32.164.138])
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H4few-0001E2-T7
	for int-area@ietf.org; Wed, 10 Jan 2007 10:47:52 -0500
Received: from i2kc08-ukbr.domain1.systemhost.net ([193.113.197.71]) by
	smtp3.smtp.bt.com with Microsoft SMTPSVC(6.0.3790.1830); 
	Wed, 10 Jan 2007 15:44:45 +0000
Received: from cbibipnt08.iuser.iroot.adidom.com ([147.149.100.81]) by
	i2kc08-ukbr.domain1.systemhost.net with Microsoft
	SMTPSVC(6.0.3790.211); Wed, 10 Jan 2007 15:44:44 +0000
Received: From bagheera.jungle.bt.co.uk ([132.146.168.158]) by
	cbibipnt08.iuser.iroot.adidom.com (WebShield SMTP v4.5 MR1a
	P0803.399); id 1168443883581; Wed, 10 Jan 2007 15:44:43 +0000
Received: from mut.jungle.bt.co.uk ([10.215.131.59])
	by bagheera.jungle.bt.co.uk (8.13.5/8.12.8) with ESMTP id
	l0AFia0S028189; Wed, 10 Jan 2007 15:44:38 GMT
Message-Id: <5.2.1.1.2.20070110152233.01f1e3f8@pop3.jungle.bt.co.uk>
X-Sender: rbriscoe@pop3.jungle.bt.co.uk
X-Mailer: QUALCOMM Windows Eudora Version 5.2.1
Date: Wed, 10 Jan 2007 15:44:39 +0000
To: "Templin, Fred L" <Fred.L.Templin@boeing.com>
From: Bob Briscoe <rbriscoe@jungle.bt.co.uk>
Subject: RE: fragmentation and tunnels (was: RE: [Int-area] Re:
	[tsv-area] Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
In-Reply-To: <39C363776A4E8C4A94691D2BD9D1C9A10177456D@XCH-NW-7V2.nw.nos
	.boeing.com>
References: <5.2.1.1.2.20070104152257.030b6090@pop3.jungle.bt.co.uk>
Mime-Version: 1.0
Content-Type: text/plain; charset="us-ascii"; format=flowed
X-Spam-Score: -1.36 () ALL_TRUSTED
X-Scanned-By: MIMEDefang 2.56 on 132.146.168.158
X-OriginalArrivalTime: 10 Jan 2007 15:44:44.0501 (UTC)
	FILETIME=[40003050:01C734CE]
X-Spam-Score: 0.1 (/)
X-Scan-Signature: fb6060cb60c0cea16e3f7219e40a0a81
Cc: tsv-area@ietf.org, 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

Fred,

At 00:01 05/01/2007, Templin, Fred L wrote:
> > Couldn't use of the coding scheme be negotiated between tunnel
>endpoints
> > for all tunnelled packets carrying a specific src-dest address pair?
>
>This might work for persistent configured tunnels that are
>established through some initial negotiation phase, but
>might not be so practical for automatic tunnels or tunnels
>that are short-lived and/or only carry a small number of
>packets. It is also possible that this AF scheme may be used
>by IPv4 packetization layers other than tunnels and may even
>supplement or replace RFC791 IPv4 fragmentation.

If we're expecting to be able to fire a few tunnelled packets at a router 
and get it to decapsulate and re-assemble them to your spec, we either:
- have to know that all routers implement your spec (which we already know 
they don't)
- or somehow negotiate its capabilities with it first,
- or something else tells you it's capable (e.g. you are configured to 
already know).
The only case for using a per-packet flag would be if, within the same 
tunnel, some packets used your scheme and others didn't.

If you don't absolutely need to use the last available bit in the IPv4 
header, surely you are morely likely to get the proposal through without 
using it.

> From what I can tell one question comes down to whether we can
>expect to see IPv6-in-IPv4 tunnels deployed on a wide scale and
>on a long-term basis in the Internet? If so, we will need tunnel
>MTU assurance that provides robustness and efficiency over
>arbitrary Internet paths.

Yes, we'll need a robust solution, but initial capability negotiation is no 
less robust than per packet negotiation if you don't need per packet 
negotiation.

>Another question comes to whether such an AF scheme could
>supplement or replace RFC791 IPv4 fragmentation (along with
>its myriad issues that are well documented) even for
>non-tunnel applications.

Even if it replaces RFC791, there will still be a legacy.

> > I'm not quite making that assumption. I'm saying re-assembly
> > over shorter gaps should take priority over longer gaps, so
> > re-assembly over longer gaps should be deferred for a while.
>
>That's fine, but my intuition is that applications and
>transports are not very tolerant of grossly reordered packets
>and some may prefer to receive partial data (e.g. using UDPlite)
>over data that arrives too late.

Surely that can be implementation dependent. There's no need to mandate 
that long gaps are thrown away if its possible to solve the problem by 
merely deferring them behind short gaps.

Cheers


Bob


____________________________________________________________________________
Notice: This contribution is the personal view of the author and does not 
necessarily reflect the technical nor commercial direction of BT plc.
____________________________________________________________________________
Bob Briscoe,                           Networks Research Centre, BT Research
B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.    +44 1473 645196 



_______________________________________________
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 Jan 10 12:11:33 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H4gya-0001Ip-G7; Wed, 10 Jan 2007 12:11:00 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H4gyZ-0001Gl-7Q; Wed, 10 Jan 2007 12:10:59 -0500
Received: from blv-smtpout-01.boeing.com ([130.76.32.69]
	helo=blv-smtpout-01.ns.cs.boeing.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43)
	id 1H4gyL-0004Q8-Gy; Wed, 10 Jan 2007 12:10:59 -0500
Received: from stl-av-01.boeing.com (stl-av-01.boeing.com [192.76.190.6])
	by blv-smtpout-01.ns.cs.boeing.com (8.13.6/8.13.6/TEST_SMTPIN) with
	ESMTP id l0AHAhb2022437
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=FAIL);
	Wed, 10 Jan 2007 09:10:44 -0800 (PST)
Received: from stl-av-01.boeing.com (localhost [127.0.0.1])
	by stl-av-01.boeing.com (8.13.6/8.13.6/DOWNSTREAM_RELAY) with ESMTP id
	l0AHAhRH007284; Wed, 10 Jan 2007 11:10:43 -0600 (CST)
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.13.6/8.13.6/UPSTREAM_RELAY) with ESMTP id
	l0AHAeg1007080; Wed, 10 Jan 2007 11:10:43 -0600 (CST)
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.1830); 
	Wed, 10 Jan 2007 09:10:41 -0800
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: fragmentation and tunnels (was: RE: [Int-area] Re: [tsv-area]
	Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
Date: Wed, 10 Jan 2007 09:10:40 -0800
Message-ID: <39C363776A4E8C4A94691D2BD9D1C9A101774588@XCH-NW-7V2.nw.nos.boeing.com>
In-Reply-To: <5.2.1.1.2.20070110152233.01f1e3f8@pop3.jungle.bt.co.uk>
X-MS-Has-Attach: 
X-MS-TNEF-Correlator: 
Thread-Topic: fragmentation and tunnels (was: RE: [Int-area] Re: [tsv-area]
	Fwd: I-DACTION:draft-heffner-frag-harmful-03.txt) 
Thread-Index: Acc0znPAWAC+rTgOQ3KV3phpVs/aqgABkD5Q
From: "Templin, Fred L" <Fred.L.Templin@boeing.com>
To: "Bob Briscoe" <rbriscoe@jungle.bt.co.uk>
X-OriginalArrivalTime: 10 Jan 2007 17:10:41.0481 (UTC)
	FILETIME=[41CCE390:01C734DA]
X-Spam-Score: 0.0 (/)
X-Scan-Signature: 22bbb45ef41b733eb2d03ee71ece8243
Cc: tsv-area@ietf.org, 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 Bob,=20

> Fred,
>=20
> At 00:01 05/01/2007, Templin, Fred L wrote:
> > > Couldn't use of the coding scheme be negotiated between tunnel
> >endpoints
> > > for all tunnelled packets carrying a specific src-dest=20
> address pair?
> >
> >This might work for persistent configured tunnels that are
> >established through some initial negotiation phase, but
> >might not be so practical for automatic tunnels or tunnels
> >that are short-lived and/or only carry a small number of
> >packets. It is also possible that this AF scheme may be used
> >by IPv4 packetization layers other than tunnels and may even
> >supplement or replace RFC791 IPv4 fragmentation.
>=20
> If we're expecting to be able to fire a few tunnelled packets=20
> at a router=20
> and get it to decapsulate and re-assemble them to your spec,=20
> we either:
> - have to know that all routers implement your spec (which we=20
> already know=20
> they don't)
> - or somehow negotiate its capabilities with it first,
> - or something else tells you it's capable (e.g. you are=20
> configured to=20
> already know).
> The only case for using a per-packet flag would be if, within=20
> the same=20
> tunnel, some packets used your scheme and others didn't.

In terms of initial negotiations, the encapsulator can
send the first packet out according to the AF scheme with
the Probe ("P") bit set in at least one segment and cache
the original packet. If a probe response comes back, the
encapsulator discovers that the decapsulator implements
the scheme and can continue to use AF for subsequent
packets. Otherwise, the encapsulator can use an algorithm
such as:

  if(cached_packet_len <=3D 1280) {
    do not set the DF bit
    send packet
  } else {
    drop packet
    send ICMPv6 "packet too big" to source
  }

and can then send all subsequent packets under the assumption
that this decapsulator does not implement AF.
  =20
> If you don't absolutely need to use the last available bit in=20
> the IPv4=20
> header, surely you are morely likely to get the proposal=20
> through without=20
> using it.
>=20
> > From what I can tell one question comes down to whether we can
> >expect to see IPv6-in-IPv4 tunnels deployed on a wide scale and
> >on a long-term basis in the Internet? If so, we will need tunnel
> >MTU assurance that provides robustness and efficiency over
> >arbitrary Internet paths.
>=20
> Yes, we'll need a robust solution, but initial capability=20
> negotiation is no=20
> less robust than per packet negotiation if you don't need per packet=20
> negotiation.
>=20
> >Another question comes to whether such an AF scheme could
> >supplement or replace RFC791 IPv4 fragmentation (along with
> >its myriad issues that are well documented) even for
> >non-tunnel applications.
>=20
> Even if it replaces RFC791, there will still be a legacy.

"Replace" is something I ought not to have said, and I want
to apologize for this and any other presumptuous tones my
previous messages may have taken. We are talking about *the*
Internet Protocol here, and there should be no presumption
that we now somehow have a way of obsoleting a core function
of IP. A better term to have used than supplement/replace/avoid
etc. may have been "coexist".

> > > I'm not quite making that assumption. I'm saying re-assembly
> > > over shorter gaps should take priority over longer gaps, so
> > > re-assembly over longer gaps should be deferred for a while.
> >
> >That's fine, but my intuition is that applications and
> >transports are not very tolerant of grossly reordered packets
> >and some may prefer to receive partial data (e.g. using UDPlite)
> >over data that arrives too late.
>=20
> Surely that can be implementation dependent. There's no need=20
> to mandate=20
> that long gaps are thrown away if its possible to solve the=20
> problem by=20
> merely deferring them behind short gaps.

I also prefer successful reassembly, and don't mean to mandate
any particular behavior. But I also believe (without proof)
that deferred reassembly for grossly-reorderd packets within
the same flow may be little/no different than declaring the
packets as loss after a reasonable timeout window.

Thanks - Fred
fred.l.templin@boeing.com

> Cheers
>=20
>=20
> Bob
>=20
>=20
> ______________________________________________________________
> ______________
> Notice: This contribution is the personal view of the author=20
> and does not=20
> necessarily reflect the technical nor commercial direction of BT plc.
> ______________________________________________________________
> ______________
> Bob Briscoe,                           Networks Research=20
> Centre, BT Research
> B54/77 Adastral Park,Martlesham Heath,Ipswich,IP5 3RE,UK.   =20
> +44 1473 645196=20
>=20
>=20
>=20

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



From int-area-bounces@lists.ietf.org Tue Jan 23 14:39:33 2007
Received: from [127.0.0.1] (helo=stiedprmman1.va.neustar.com)
	by megatron.ietf.org with esmtp (Exim 4.43)
	id 1H9RTh-0005Oz-1o; Tue, 23 Jan 2007 14:38:45 -0500
Received: from [10.91.34.44] (helo=ietf-mx.ietf.org)
	by megatron.ietf.org with esmtp (Exim 4.43) id 1H9RTf-0005Ot-Rj
	for int-area@ietf.org; Tue, 23 Jan 2007 14:38:43 -0500
Received: from key1.docomolabs-usa.com ([216.98.102.225]
	helo=fridge.docomolabs-usa.com)
	by ietf-mx.ietf.org with esmtp (Exim 4.43) id 1H9RTd-0002eK-7C
	for int-area@ietf.org; Tue, 23 Jan 2007 14:38:43 -0500
Message-ID: <08f201c73f26$11e16600$086115ac@dcml.docomolabsusa.com>
From: "James Kempf" <kempf@docomolabs-usa.com>
To: <int-area@ietf.org>
Date: Tue, 23 Jan 2007 11:38:34 -0800
MIME-Version: 1.0
Content-Type: text/plain; format=flowed; charset="Windows-1252";
	reply-type=original
Content-Transfer-Encoding: 7bit
X-Spam-Score: 4.2 (++++)
X-Scan-Signature: 827a2a57ca7ab0837847220f447e8d56
Cc: 
Subject: [Int-area] Progressing draft-bagnulo-multiple-hash-cga
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've volunteered to be the draft shepherd for 
draft-bagnulo-multiple-hash-cga, which is an extension to RFC 3972 to allow 
CGAs to utilize multiple hash algorithms. This is in response to the a 
potential future attack that may evolve out of the recent cryptanalysis 
results on SHA-1. The latest version of the draft is here:

http://www.geocities.com/kempf42/draft-bagnulo-multiple-hash-cga-02.txt

This draft is not a product of a WG, but I thought I'd use the INT area list 
for any comment, since it is an INT area item. The draft was presented at 
the Monteral meeting, and comment was favorable.

Below is the proto-shepherd writeup for the draft. I would like to submit it 
and the draft to Russ Housley, who'll be taking it through the IESG, next 
Wednesday. So if you have any comments, please send them to the list by 
then. If it turns out that there's lots of comment and discussion, I can 
postpone the submission date, but I'm going on vacation for a while on Feb. 
3 and I'd like to get the draft in before that. If we need to postpone, I'll 
review the list traffic and make some recommendations when I get back after 
March 3.

            jak

---------------------------------------------------------
   (1.a)
    (1.a.i) Who is the Document Shepherd for this document?

          James Kempf, kempf@docomolabs-usa.com

    (1.a.ii) Has the Document Shepherd personally reviewed this version of 
the
          document and, in particular, does he or she believe this
          version is ready for forwarding to the IESG for publication?

   Yes.

   (1.b)
    (1.b.i) Has the document had adequate review both from key WG members
            and from key non-WG members?

          This document is not a product of a WG. It has been reviewed by
         Christian Vogt, Pekka Nikander, and Henrik Levkowetz.

    (1.b.ii) Does the Document Shepherd have any concerns about the depth
             or breadth of the reviews that
             have been performed?

          No.

   (1.c)  Does the Document Shepherd have concerns that the document
          needs more review from a particular or broader perspective,
          e.g., security, operational complexity, someone familiar with
          AAA, internationalization or XML?

          No.

   (1.d)  Does the Document Shepherd have any specific concerns or
          issues with this document that the Responsible Area Director
          and/or the IESG should be aware of?  For example, perhaps he
          or she is uncomfortable with certain parts of the document, or
          has concerns whether there really is a need for it.  In any
          event, if the WG has discussed those issues and has indicated
          that it still wishes to advance the document, detail those
          concerns here.

          No.

   (1.e)  How solid is the WG consensus behind this document?  Does it
          represent the strong concurrence of a few individuals, with
          others being silent, or does the WG as a whole understand and
          agree with it?

          This document is not a product of a WG.

   (1.f)  Has anyone threatened an appeal or otherwise indicated extreme
          discontent?  If so, please summarise the areas of conflict in
          separate email messages to the Responsible Area Director.  (It
          should be in a separate email because this questionnaire is
          entered into the ID Tracker.)

          No.

   (1.g)  Has the Document Shepherd personally verified that the
          document satisfies all ID nits?  (See
          http://www.ietf.org/ID-Checklist.html and
          http://tools.ietf.org/tools/idnits/).  Boilerplate checks are
          not enough; this check needs to be thorough.  Has the document
          met all formal review criteria it needs to, such as the MIB
          Doctor, media type and URI type reviews?

          Yes. Idnits shows no issues.

    (1.h)
     (1.h.i) Has the document split its references into normative and
             informative?

             Yes.

     (1.h.ii) Are there normative references to documents that
          are not ready for advancement or are otherwise in an unclear
          state?  If such normative references exist, what is the
          strategy for their completion?  Are there normative references
          that are downward references, as described in [RFC3967]?  If
          so, list these downward references to support the Area
          Director in the Last Call procedure for them [RFC3967].

   No.

   (1.i)  Has the Document Shepherd verified that the document IANA
          consideration section exists and is consistent with the body
          of the document?  If the document specifies protocol
          extensions, are reservations requested in appropriate IANA
          registries?  Are the IANA registries clearly identified?  If
          the document creates a new registry, does it define the
          proposed initial contents of the registry and an allocation
          procedure for future registrations?  Does it suggested a
          reasonable name for the new registry?  See
          [I-D.narten-iana-considerations-rfc2434bis].  If the document
          describes an Expert Review process has Shepherd conferred with
          the Responsible Area Director so that the IESG can appoint the
          needed Expert during the IESG Evaluation?

          There is an IANA Considerations section, it does request a
          new registry, and the proposal seems consistent with RFC2424bis.

   (1.j)  Has the Document Shepherd verified that sections of the
          document that are written in a formal language, such as XML
          code, BNF rules, MIB definitions, etc., validate correctly in
          an automated checker?

          There are none.

   (1.k)  The IESG approval announcement includes a Document
          Announcement Write-Up.  Please provide such a Document
          Announcement Writeup?  Recent examples can be found in the
          "Action" announcements for approved documents.  The approval
          announcement contains the following sections:

          Here is the document summary:

          Technical Summary
              This document analyzes the implications of recent attacks on
              commonly used hash functions on Cryptographically Generated
              Addresses (CGAs) and updates RFC 3972 to support
              multiple hash algorithms. An IANA registry is established
              to register hash functions for CGAs.


          Working Group Summary
              This document is not a product of a Working Group.

          Document Quality
        Since the protocol described in the document is designed
               to "future-proof" CGAs against attacks that have not
               yet occured, it has not yet been deployed. It depends on
               a new IANA registry being established and will require
        simple modifications to the SEND protocol.

          Personnel
       James Kempf (kempf@docomolabs-usa) is the PROTO-shephard
       Russ Housley (housley@vigilsec.com) is the responsible AD



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



