Re: Which use cases are using direct EH insertion?

Tim Chown <Tim.Chown@jisc.ac.uk> Tue, 26 July 2016 15:56 UTC

Return-Path: <tim.chown@jisc.ac.uk>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id C93C712DBCE for <ipv6@ietfa.amsl.com>; Tue, 26 Jul 2016 08:56:28 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.111
X-Spam-Level:
X-Spam-Status: No, score=-4.111 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, T_DKIM_INVALID=0.01] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=fail (1024-bit key) reason="fail (message has been altered)" header.d=jisc365.onmicrosoft.com
Received: from mail.ietf.org ([4.31.198.44]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id OYdWNB9d074d for <ipv6@ietfa.amsl.com>; Tue, 26 Jul 2016 08:56:14 -0700 (PDT)
Received: from eu-smtp-delivery-189.mimecast.com (eu-smtp-delivery-189.mimecast.com [207.82.80.189]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 2917212DCF9 for <ipv6@ietf.org>; Tue, 26 Jul 2016 08:36:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=jisc365.onmicrosoft.com; s=selector1-jisc-ac-uk; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=77lO3ms4ptHzpCA8JgfTIxgiJhq5rLy6OYX+1XjhOXI=; b=aHsd/LJ2Pg8cWl1E+Dv8qoaxix9uTALSYSg+WGw/TUnWC8NiHPWI78mrJBjPB2O5dv+YfouG/NQfhnipWrhEwM26lPbFNQy9LBR09Q6AD9JVRv2hgCHmlcpf1JquDm94U0tQop4pgQIJf315wmMGx/b157VlajX9wrquBfr19Ic=
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (mail-he1eur01lp0207.outbound.protection.outlook.com [213.199.154.207]) (Using TLS) by eu-smtp-1.mimecast.com with ESMTP id uk-mta-26-qGqyqRt0MsCxiliyJekogw-1; Tue, 26 Jul 2016 16:36:22 +0100
Received: from AMSPR07MB455.eurprd07.prod.outlook.com (10.242.106.148) by AMSPR07MB454.eurprd07.prod.outlook.com (10.242.106.145) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P384) id 15.1.544.10; Tue, 26 Jul 2016 15:36:20 +0000
Received: from AMSPR07MB455.eurprd07.prod.outlook.com ([10.242.106.148]) by AMSPR07MB455.eurprd07.prod.outlook.com ([10.242.106.148]) with mapi id 15.01.0539.023; Tue, 26 Jul 2016 15:36:20 +0000
From: Tim Chown <Tim.Chown@jisc.ac.uk>
To: Mark Smith <markzzzsmith@gmail.com>
Subject: Re: Which use cases are using direct EH insertion?
Thread-Topic: Which use cases are using direct EH insertion?
Thread-Index: AQHR5yizPrgcIvGDPEKIMG4oXEEYxqAqsd4AgAATuYCAABNsAA==
Date: Tue, 26 Jul 2016 15:36:20 +0000
Message-ID: <D9AAB8F9-8A23-4F84-9C20-F0C88EF72D06@jisc.ac.uk>
References: <201607220911.u6M9Bco9077775@givry.fdupont.fr> <948512bb-c741-0509-8442-2d230c5bca49@gmail.com> <F63100FA-C083-4DFE-91ED-8BAE601135C9@employees.org> <b1214a88-937b-57cf-1558-27e5d7e58f6a@gmail.com> <A66B9E3A-7AF8-41F5-8E07-8EB8A464F16C@cisco.com> <C30B0322-23A3-443D-BDEF-60E35949DF9A@employees.org> <18213e8b-117a-a443-36fd-df96d56e14de@gmail.com> <m1bRySw-0000CuC@stereo.hq.phicoh.net> <D09E0D69-95DD-4046-8C04-6A4DF0BD25FC@jisc.ac.uk> <505CFBC0-F53F-4614-B634-92D0E9A322B6@employees.org> <CAO42Z2yQ1ZGb=dGizZEZvyKVCqxC8qHw22-anYX+QNh4iMWP1g@mail.gmail.com>
In-Reply-To: <CAO42Z2yQ1ZGb=dGizZEZvyKVCqxC8qHw22-anYX+QNh4iMWP1g@mail.gmail.com>
Accept-Language: en-GB, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-mailer: Apple Mail (2.3124)
x-ms-exchange-messagesentrepresentingtype: 1
x-originating-ip: [2001:a88:d510:1101:829:f3ee:fc02:77e0]
x-ms-office365-filtering-correlation-id: 28fd0e0e-4c03-4c53-6655-08d3b56a9784
x-microsoft-exchange-diagnostics: 1; AMSPR07MB454; 20:y2fjKyIpWW0CtqhJZn1fIAxdvrqc4o9EhsVg3xiaVSygZPt8citriOjaHbZnheTGZXMnPiUesPJ3IVVNZgvrxuFFIuXhaoOFu5tHwcF/e6PHy/ATSys+JJxB3NNLAhbg+jI7S5zBPE7V/p8GBUaU45eXMD2yUo2kC0jT/RGOSZc=
x-microsoft-antispam: UriScan:;BCL:0;PCL:0;RULEID:;SRVR:AMSPR07MB454;
x-microsoft-antispam-prvs: <AMSPR07MB454546D05FB073B578FB764D60E0@AMSPR07MB454.eurprd07.prod.outlook.com>
x-exchange-antispam-report-test: UriScan:(158342451672863)(17755550239193);
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(601004)(2401047)(8121501046)(5005006)(10201501046)(3002001); SRVR:AMSPR07MB454; BCL:0; PCL:0; RULEID:; SRVR:AMSPR07MB454;
x-forefront-prvs: 00159D1518
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(6009001)(7916002)(85644002)(189002)(24454002)(199003)(57306001)(8936002)(122556002)(81156014)(81166006)(50986999)(82746002)(50226002)(101416001)(19580395003)(19580405001)(36756003)(3280700002)(10400500002)(76176999)(7736002)(97736004)(106356001)(189998001)(2906002)(1411001)(93886004)(7846002)(8676002)(305945005)(106116001)(92566002)(77096005)(4326007)(110136002)(83716003)(74482002)(2900100001)(33656002)(68736007)(2950100001)(15975445007)(102836003)(86362001)(5002640100001)(11100500001)(586003)(87936001)(105586002)(561944003)(6116002)(3660700001)(3826002)(104396002); DIR:OUT; SFP:1101; SCL:1; SRVR:AMSPR07MB454; H:AMSPR07MB455.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-ID: <66D2CB4BC684CC449A864BEC4974A89F@eurprd07.prod.outlook.com>
MIME-Version: 1.0
X-OriginatorOrg: jisc.ac.uk
X-MS-Exchange-CrossTenant-originalarrivaltime: 26 Jul 2016 15:36:20.1028 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 48f9394d-8a14-4d27-82a6-f35f12361205
X-MS-Exchange-Transport-CrossTenantHeadersStamped: AMSPR07MB454
X-MC-Unique: qGqyqRt0MsCxiliyJekogw-1
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: base64
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Qc18U8EIYLzKJBLPuZuRf-nMkq8>
Cc: 6man WG <ipv6@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: "IPv6 Maintenance Working Group \(6man\)" <ipv6.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ipv6>, <mailto:ipv6-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ipv6/>
List-Post: <mailto:ipv6@ietf.org>
List-Help: <mailto:ipv6-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ipv6>, <mailto:ipv6-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 26 Jul 2016 15:56:29 -0000

Hi Mark,

> On 26 Jul 2016, at 15:28, Mark Smith <markzzzsmith@gmail.com> wrote:
> 
> On 26 July 2016 at 23:17,  <otroan@employees.org> wrote:
>> Tim,
>> 
>>> I’m still not clear as to where in any current IETF RFC/I-D there is text stating that a new EH should be inserted into an existing packet traversing a path, rather than encapsulated.
>>> 
>>> For the Type 4 RH used for Segment Routing, in draft-ietf-6man-segment-routing-header-01 it says in Section 2:
>>> 
>>> " While the source routing model defined in [RFC2460] doesn't mandate
>>>  which node is allowed to insert (or modify) the SRH, it is assumed in
>>>  this document that the SRH is inserted in the packet by its source.
>>>  For example:
>>> 
>>>  o  At the node originating the packet (host, server).
>>> 
>>>  o  At the ingress node of an SR domain where the ingress node
>>>     receives an IPv6 packet and encapsulates it into an outer IPv6
>>>     header followed by a Segment Routing header.”
>>> 
>>> and then in Section 2.2.1:
>>> 
>>> "The outer header with the SRH is no different from any other
>>>  tunneling encapsulation mechanism and allows a network operator to
>>>  implement traffic engineering mechanisms so to efficiently steer
>>>  traffic across his infrastructure."
>>> 
>>> So that implies encapsulation.
>>> 
>>> For the Type 3 RH used in RPL, in RFC6554 it says in Section 2:
>>> 
>>> “There are two cases that determine how to include an SRH when a RPL
>>>  router requires the use of an SRH to deliver a datagram to its
>>>  destination.
>>> 
>>>  1.  If the SRH specifies the complete path from source to
>>>      destination, the router places the SRH directly in the datagram
>>>      itself.
>>> 
> 
> This one sounds to me like it is saying routers insert the SRH into an
> existing packet, as routers don't originate packets, hosts do (or the
> host component of a router i.e., the control plane.).

I think this is the point that Michael was reviewing in draft-richardson-roll-useofrplinfo-2460bis-01, looking at a variety of flow scenarios, on the assumption it’s all encap with no direct insertion, i.e. his draft says "This document assumes the rule that a Header cannot be inserted or removed on the fly inside an IPv6 packet that is being routed.”  
 
>>>  2.  If the SRH only specifies a subset of the path from source to
>>>      destination, the router uses IPv6-in-IPv6 tunneling [RFC2473] and
>>>      places the SRH in the outer IPv6 header.  Use of tunneling
>>>      ensures that the datagram is delivered unmodified and that ICMP
>>>      errors return to the source of the SRH rather than the source of
>>>      the original datagram.”
>>> 
>>> Which also implies encapsulation.
>>> 
>>> So who is actually doing direct EH insertion into packets today? Am I misinterpreting the above documents, or are there use cases that are not being standardised in IETF documents?
>> 
>> Indeed, which is leaves me unconvinced that any changes are needed with regards to the perceived ambiguity.
>> Any proposal of header injection would have to stand on its own feet.
>> 
>> Cheers,
>> Ole

Best wishes,
Tim

>> 
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>> 
>