[pmtud] encapsulation PMTU-friendly proposal

Michael Richardson <mcr@sandelman.ottawa.on.ca> Fri, 14 November 2003 23:11 UTC

Received: from optimus.ietf.org ([132.151.1.19]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA04060 for <pmtud-archive@odin.ietf.org>; Fri, 14 Nov 2003 18:11:18 -0500 (EST)
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AKn5j-0001Tg-G4 for pmtud-archive@odin.ietf.org; Fri, 14 Nov 2003 18:11:03 -0500
Received: (from exim@localhost) by www1.ietf.org (8.12.8/8.12.8/Submit) id hAENB3no005670 for pmtud-archive@odin.ietf.org; Fri, 14 Nov 2003 18:11:03 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AKn5j-0001TA-2g for pmtud-web-archive@optimus.ietf.org; Fri, 14 Nov 2003 18:11:03 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA03981 for <pmtud-web-archive@ietf.org>; Fri, 14 Nov 2003 18:10:47 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AKn5g-00065d-00 for pmtud-web-archive@ietf.org; Fri, 14 Nov 2003 18:11:00 -0500
Received: from [132.151.1.19] (helo=optimus.ietf.org) by ietf-mx with esmtp (Exim 4.12) id 1AKn5f-00065W-00 for pmtud-web-archive@ietf.org; Fri, 14 Nov 2003 18:10:59 -0500
Received: from localhost.localdomain ([127.0.0.1] helo=www1.ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AKn5h-0001R4-78; Fri, 14 Nov 2003 18:11:01 -0500
Received: from odin.ietf.org ([132.151.1.176] helo=ietf.org) by optimus.ietf.org with esmtp (Exim 4.20) id 1AKn5F-0001QQ-FB for pmtud@optimus.ietf.org; Fri, 14 Nov 2003 18:10:33 -0500
Received: from ietf-mx (ietf-mx.ietf.org [132.151.6.1]) by ietf.org (8.9.1a/8.9.1a) with ESMTP id SAA03920 for <pmtud@ietf.org>; Fri, 14 Nov 2003 18:10:17 -0500 (EST)
Received: from ietf-mx ([132.151.6.1]) by ietf-mx with esmtp (Exim 4.12) id 1AKn5C-00064x-00 for pmtud@ietf.org; Fri, 14 Nov 2003 18:10:30 -0500
Received: from noxmail.sandelman.ottawa.on.ca ([205.150.200.166]) by ietf-mx with esmtp (Exim 4.12) id 1AKn5B-00064u-00 for pmtud@ietf.org; Fri, 14 Nov 2003 18:10:29 -0500
Received: from sandelman.ottawa.on.ca ([2002:cd96:c8ed::1]) by noxmail.sandelman.ottawa.on.ca (8.11.6p3/8.11.6) with ESMTP id hAENARx16432 (using TLSv1/SSLv3 with cipher EDH-RSA-DES-CBC3-SHA (168 bits) verified OK) for <pmtud@ietf.org>; Fri, 14 Nov 2003 18:10:28 -0500 (EST)
Received: from marajade.sandelman.ottawa.on.ca (marajade [127.0.0.1]) by sandelman.ottawa.on.ca (8.12.3/8.12.3/Debian-6.6) with ESMTP id hAENA6ZI003183 (version=TLSv1/SSLv3 cipher=EDH-RSA-DES-CBC3-SHA bits=168 verify=NO) for <pmtud@ietf.org>; Fri, 14 Nov 2003 18:10:06 -0500
Received: from marajade.sandelman.ottawa.on.ca (mcr@localhost) by marajade.sandelman.ottawa.on.ca (8.12.3/8.12.3/Debian-6.6) with ESMTP id hAEKDfls001375; Fri, 14 Nov 2003 15:14:41 -0500
To: pmtud <pmtud@ietf.org>, ipsec@lists.tislabs.com
Mime-Version: 1.0 (generated by tm-edit 1.8)
Content-Type: text/plain; charset="US-ASCII"
Message-ID: <1374.1068840821@marajade.sandelman.ottawa.on.ca>
From: Michael Richardson <mcr@sandelman.ottawa.on.ca>
Subject: [pmtud] encapsulation PMTU-friendly proposal
Sender: pmtud-admin@ietf.org
Errors-To: pmtud-admin@ietf.org
X-BeenThere: pmtud@ietf.org
X-Mailman-Version: 2.0.12
Precedence: bulk
List-Unsubscribe: <https://www1.ietf.org/mailman/listinfo/pmtud>, <mailto:pmtud-request@ietf.org?subject=unsubscribe>
List-Id: Path Maximum Transmission Unit Discovery <pmtud.ietf.org>
List-Post: <mailto:pmtud@ietf.org>
List-Help: <mailto:pmtud-request@ietf.org?subject=help>
List-Subscribe: <https://www1.ietf.org/mailman/listinfo/pmtud>, <mailto:pmtud-request@ietf.org?subject=subscribe>
List-Archive: <https://www1.ietf.org/mail-archive/working-groups/pmtud/>
Date: Fri, 14 Nov 2003 15:13:41 -0500

-----BEGIN PGP SIGNED MESSAGE-----


draft-richardson-ipsec-fragment-00.txt, at an ID mirror near you soon.

2. Heuristic

   Summary: If the system is keeping per flow state, preferentially
   error packets that suddenly reach a new high-water mark for each
   particular flow, because they arelikely to be probes, or classic
   PMTUD.

   For systems that have per-flow [Host to Host] (Ed.  per-microflow -
   5-tuple?) tracking, step 1 is included.  Otherwise, it is skipped.

2.1 Step 0 - selection

   Is the datagram is too big for the tunnel, and has the DF bit set? If
   not, encapsulate as normal.

2.2 Step 1 - tracking

   Keep track of the largest datagram size received.  When there is a
   new high water mark, do standard ICMP Need Fragment processing.  If
   this is the first time the datagram was too big, then goto step 4.
   If not, then drop datagram.

2.3 Step 2 - size check

   Is the amount that the packet is too big exactly due to the tunnel
   overhead? (In particular, this would never apply when the media on
   both sides is dissimilar).  If not, do standard ICMP processing, and
   drop the datagram.

2.4 Step 3 - error throttling

   Does error rate limiting permit an ICMP error message be sent at this
   time? (rate limited to about 1 packet per second) If so, then do
   standard ICMP Need Fragment processing, and drop the datagram.

2.5 Step 4 - send

   Fragment the datagram prior to encapsulation.  Divide the datagram
   into two equal pieces and encapsulate each one seperately.  No
   attempt to send an ICMP is made.

3. Example

   A 1500 packet to which a 20 byte IP and 28 byte ESP header is added,
   trying to fit on a 1500 byte network is fragmented anyway.

   A 9000 byte packet with a 20 byte IP and 28 byte ESP header trying to
   fit on a 1500 byte network is dropped.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (GNU/Linux)
Comment: Finger me for keys

iQCVAwUBP7U3b4qHRg3pndX9AQG/gwQArcPtj1VbBHx0HcVXtqh3RsbmHnBKTjwu
mpoyW+EjOlZkFUGLsX/U67nOF9H3sVSVODGJXXyqortCEgtCEMUVrynrGA7XL3Qc
Fp7XtcMH6yZBajy3t+0SE7EJE0B1CSKiXn9zVquT30qd5MePZnPvh4+MWtcsRyRE
BXjDC5Hv1JA=
=Tivw
-----END PGP SIGNATURE-----

_______________________________________________
pmtud mailing list
pmtud@ietf.org
https://www1.ietf.org/mailman/listinfo/pmtud