Re: What is necessity for SRH, and other EH, insertion/removal?

Alexandre Petrescu <alexandre.petrescu@gmail.com> Thu, 19 December 2019 13:05 UTC

Return-Path: <alexandre.petrescu@gmail.com>
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 EDF77120143 for <ipv6@ietfa.amsl.com>; Thu, 19 Dec 2019 05:05:31 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.631
X-Spam-Level:
X-Spam-Status: No, score=-2.631 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FREEMAIL_FROM=0.001, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
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 WafoCyfPV6dY for <ipv6@ietfa.amsl.com>; Thu, 19 Dec 2019 05:05:30 -0800 (PST)
Received: from cirse-smtp-out.extra.cea.fr (cirse-smtp-out.extra.cea.fr [132.167.192.148]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 4358B12012C for <ipv6@ietf.org>; Thu, 19 Dec 2019 05:05:30 -0800 (PST)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by cirse-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id xBJD5Sih042134 for <ipv6@ietf.org>; Thu, 19 Dec 2019 14:05:28 +0100
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id B087820423A for <ipv6@ietf.org>; Thu, 19 Dec 2019 14:05:28 +0100 (CET)
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id A6D132033A9 for <ipv6@ietf.org>; Thu, 19 Dec 2019 14:05:28 +0100 (CET)
Received: from [10.8.35.150] (is154594.intra.cea.fr [10.8.35.150]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id xBJD5S7i026596 for <ipv6@ietf.org>; Thu, 19 Dec 2019 14:05:28 +0100
Subject: Re: What is necessity for SRH, and other EH, insertion/removal?
To: ipv6@ietf.org
References: <CALx6S34vG=L_5nw_FzxHBUy+7tbWH4dhOh8xodOfKf2oOdrarg@mail.gmail.com> <CALx6S36g6gDJNp=unQJaGoGoMxnRpbqGni=JHvPFJ3ovmuzO4A@mail.gmail.com>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <077155a7-cd14-6b9e-eab9-0da00c234406@gmail.com>
Date: Thu, 19 Dec 2019 14:05:28 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:68.0) Gecko/20100101 Thunderbird/68.3.0
MIME-Version: 1.0
In-Reply-To: <CALx6S36g6gDJNp=unQJaGoGoMxnRpbqGni=JHvPFJ3ovmuzO4A@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/QsPiRyYXDjpSTnUy108OfZ8Vkm0>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Thu, 19 Dec 2019 13:05:32 -0000


Le 18/12/2019 à 23:07, Tom Herbert a écrit :
> On Sat, Dec 7, 2019 at 9:17 AM Tom Herbert <tom@herbertland.com>
> wrote:
>> 
>> Pulling this out into a separate thread. Pertinent questions are:
>> 
>> Why is extension header insertion and removal at necessary?
>> 
>> Why isn't the proposed alternative of IPIP encapsulation
>> sufficient? (where the encapsulating headers contain the extension
>> headers that would otherwise be inserted)
>> 
> I believe that inband network telemetry (INT and IOAM ) might
> provide the best motivation for extension header insertion. One of
> the goals is to allow network operators to perform telemetry on
> packets as they traverse their network. A telemetry header, INT or
> IOAM, is put into packets on ingress to the domain and removed at
> egress, and intermediate nodes modify the packet with measurement
> data.
> 
> Key requirements are that not all packets for a flow need to be 
> measured, and measured packets need to follow the same path as those 
> not measured  in order for the measurements to reflect what is 
> happening for the flow. IPIP encapsulation would change the hash
> that ECMP uses so encapsulated packets might traverse a different
> path-- therefore it's not sufficient in this case.

Why would ECMP (Equal-cost multi-path routing) be influenced by an
addition of an IP header (IPIP encapsulation) but not influenced by the
insertion of an extension header?

> Extension header insertion would maintain the routing in ECMP
> (although the fact that extension headers aren't supported in IPv4
> creates another problem).

ECMP distinguishes between IP headers being extension headers vs base
headers?  IF yes, it should be modified to work with base headers
addition as well (encapsulation IPIP).

> Some of the inband telemetry implementations are already addressing 
> this by inserting the inband telemetry headers directly into the UDP 
> or TCP payload of existing packets and removing the inserted payload 
> bytes at the egress point. Since only transport payload is being 
> modified, the packets will be routed the same way as other modified 
> packets for a flow. The obvious problem with this approach is that 
> payload is being changed by intermediate nodes such that if the end 
> host were to ever receive the modified packet this could result in 
> silent data corruption of users' data. So this protocol mechanism is 
> fundamentally not robust and probably dangerous. I think this
> actually makes extension header insertion, where the worst case
> scenario is probably unexplained packet loss, look palatable!

Inserting data in the packets and then measuring them - isn't it an
interference with the phenomenon to be measured?

Alex

> 
> Tom
> 
>> Please note, I'm asking for the technical justification of the 
>> protocol design, saying that it's necessary because it's already
>> being deployed isn't useful in this regard.
>> 
>> Tom
> 
> -------------------------------------------------------------------- 
> IETF IPv6 working group mailing list ipv6@ietf.org Administrative
> Requests: https://www.ietf.org/mailman/listinfo/ipv6 
> --------------------------------------------------------------------
>