Re: SRH insertion vs SRH insertion + encapsulation

Robert Raszuk <robert@raszuk.net> Sat, 07 September 2019 12:40 UTC

Return-Path: <robert@raszuk.net>
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 8BF3B120DCE for <ipv6@ietfa.amsl.com>; Sat, 7 Sep 2019 05:40:53 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.998
X-Spam-Level:
X-Spam-Status: No, score=-1.998 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=unavailable autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=raszuk.net
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 W1kUcFEEk4XM for <ipv6@ietfa.amsl.com>; Sat, 7 Sep 2019 05:40:49 -0700 (PDT)
Received: from mail-qk1-x72f.google.com (mail-qk1-x72f.google.com [IPv6:2607:f8b0:4864:20::72f]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 08241120058 for <6man@ietf.org>; Sat, 7 Sep 2019 05:40:49 -0700 (PDT)
Received: by mail-qk1-x72f.google.com with SMTP id z67so8377979qkb.12 for <6man@ietf.org>; Sat, 07 Sep 2019 05:40:48 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=raszuk.net; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=45zHskMtukK/M1pztZTbekCPfIKUVbB19J+vO1/oY/8=; b=DK6Vgi9Aw3sGM/lOIqq21ekn6CWHKOSswoBVq1xFo84u90IGR78wgE+KWHE4dZxitd wP7HUgG79qsoQBNbMcWYcMJno6HnpAUbMlVjsrp2oSOUWf1bVM16D3+ynSRJrRiU6tEM sGpPbyQjwJOcmsG3eWGoi6WoaWkhcIFoT76rWqXmk48GuNlFw0J9Gn5NCa6TFdMs0Pm6 TEzaD1XjfPpxx+T1UCQ6VZopCic6Z1F8+m+gAoGv0K82P6Djpvt4F0OyjYwoJmRhxn7P bSco73Ur2vgaMx5STJyG6yjXKnv7RAoW2De64FoKSmGv1jnhjWTUwvfwTnQPZLDmYMl7 w7tQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=45zHskMtukK/M1pztZTbekCPfIKUVbB19J+vO1/oY/8=; b=JqeyOKG0QfjcPQuwI1rAi4UztIbESWZ+3CHgP/cUGZjz3li7UrBxY1SEovhf51PK7B PYdjV4gZtCdHUrEX6wPG1KZqBTjYNtGA7v1iG5+nqgEyQn8yBs9CSlyLZO3a8SkxjwgI WFKpN/wPbe0Ql0+XyqSOe4HAe6W0fQE8k8HkzMH+/h7vKdxdkWrfxnZzEbRX0J9/wgR/ OezYPJz+EbHmgcUdY2MtKeQAPgpP5KENJ9nnMrwEH0p+PF/dLg5bpwFabW/+VdSmKD3H BVIiw4IO3YiX4g3W2rvLAfM1SPONjjdCpaI9JQ7UZ3QvW2WGDvREV4ixbg2xTOnhNHjP aA9w==
X-Gm-Message-State: APjAAAVHAO6ufnglDMPbwvie7Y1LsY255yv8im6Jgsi+PrsB2Utb3ogx YuPf8h1yN9zhIZOvIXXu1yfnwNP7BYWxzFfFoMsnxQ==
X-Google-Smtp-Source: APXvYqxMPtIDPhYpQJcDfqCg0cpd2+cQdNImwo2/OHhBpVynHuPQoV8koyTz7ZYS1cvFu3G4cr2Ehr593p2t+SicZJo=
X-Received: by 2002:a37:a7c5:: with SMTP id q188mr11660609qke.445.1567860048021; Sat, 07 Sep 2019 05:40:48 -0700 (PDT)
MIME-Version: 1.0
References: <CAOj+MMETQa=OfovZak35VfnY+T6qzU9BxAhmFMXz1b7kSppyQg@mail.gmail.com> <CAO42Z2xMWN92m7iiLiEW2AFCx0iCMGAa_BvsRwzCzb_BnuzWhA@mail.gmail.com>
In-Reply-To: <CAO42Z2xMWN92m7iiLiEW2AFCx0iCMGAa_BvsRwzCzb_BnuzWhA@mail.gmail.com>
From: Robert Raszuk <robert@raszuk.net>
Date: Sat, 07 Sep 2019 14:40:38 +0200
Message-ID: <CAOj+MMGOKUjRFFq8Y977OV47x6qtCvSUixQh-7sgwAQidrtdPw@mail.gmail.com>
Subject: Re: SRH insertion vs SRH insertion + encapsulation
To: Mark Smith <markzzzsmith@gmail.com>
Cc: "6man@ietf.org" <6man@ietf.org>, draft-voyer-6man-extension-header-insertion <draft-voyer-6man-extension-header-insertion@ietf.org>
Content-Type: multipart/alternative; boundary="000000000000385aea0591f5dda0"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/PZp6PKyCaeCXyt_mUme9p15lrhY>
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: Sat, 07 Sep 2019 12:40:54 -0000

Hi,

Mark, Fernando, Tom - many thx indeed.

For me word "insertion" was not a reserved word. I think I now start to
understand the rationale on how and why you reacted like you did.
Especially if you say that "insertion" by definition is/must be anonymous.

So if this is what drives all of the opposition to place SRH into a IPv6
header without encapsulation then I think there easy ways to fix it.

I will then talk to some other others about options they are willing to
incorporate into relevant documents.

Many thx,
R.



Yes, however I don't consider there to be any "insertion" happening at
> all in that scenario, and I don't think anybody else in the IPv6 6man
> WG would either.
>
> "EH insertion" is splitting apart an existing IPv6 packet after the
> IPv6 header and before the payload, inserting the EH, creating or
> modifying an existing EH chain, leaving the packet's original source
> and destination address as they were.
>
> This is why EH insertion is anonymous - the source address in the
> packet is not the identity of the device that inserted the EH. The EH
> insertion being anonymous is what causes all the problems - breaking
> PMTUD, IPsec, ICMP in general, causing problems if the EH isn't
> removed when it should be, and making troubleshooting much harder.
>
> Encapsulation in another new IPv6 packet creates the option to add,
> not insert, new supplementary information via EHs.
>
> From RFC 2473, "Generic Packet Tunneling in IPv6 Specification"
>
>                             +----------------------------------//-----+
>                             | Original |                              |
>                             |          |   Original Packet Payload    |
>                             | Header   |                              |
>                             +----------------------------------//-----+
>                              <            Original Packet            >
>                                               |
>                                               v
>        <Tunnel IPv6 Headers> <       Original Packet                 >
>
>       +---------+ - - - - - +-------------------------//--------------+
>       | IPv6    | IPv6      |                                         |
>       |         | Extension |        Original Packet                  |
>       | Header  | Headers   |                                         |
>       +---------+ - - - - - +-------------------------//--------------+
>        <                          Tunnel IPv6 Packet                 >
>
>                        Fig.3 Encapsulating a Packet
>
> SRH, OAM etc. EHs that are added to the original packet would go in
> the "IPv6 Extension Headers" area shown in the lower packet of that
> diagram, after the new outer tunnel header.
>
> Encapsulation/Decapsulation is an addition/subtraction operation of
> new, non-original sender information. It preserves the original packet
> as it was when it was originally sent.
>
> It provides a new source address field to identify the device that
> performed the encapsulation and that added the supplementary
> information via the added EHs.
>
> It provides a new destination address field to unambiguously identify
> which device the added EH information is intended to be processed by.
> There is no need for these EH processing devices to be looking beyond
> the IPv6 fixed header to determine if there are any EHs for them to
> process - if it is for them, it is a simple and IPv6 standard packet
> DA to device DA match operation which answers that question. If it is
> not for them, the forward it via their FIB.
>
> Yes encapsulation adds overhead, however that overhead makes
> everything compliant with existing decades old methods, models, tools,
> operations and troubleshooting techniques.
>
> Regards,
> Mark.
>
>
> >and if any document would like to take that path fwd there is no
> objections from 6man in regards to violation or not of any former 6man or
> IPv6 consensus.
> >
> > - - -
> >
> > So on the very topic let me summarize the observations made in various
> emails:
> >
> > #1
> >
> > The draft in question doesn't comment on the most basic question: why do
> > you want to do EH-insertion as opposed to encap/decap into a new packet?
> >
> > I asked this question a number of times, and nobody answered.. Rumor on
> > the corridors had it that it had to do with one specific vendors having
> > issues (of some sort) with implementing this with doing encap/decap. --
> >
> > Looks to me like FUD at best - just suffice to read (with understanding)
> >
> > draft-matsushima-spring-srv6-deployment-status-01
> >
> > - - -
> >
> > #2
> >
> > EH insertion will increase the MTU of the packet.
> >
> > It sure will but as already stated this is done within a given domain so
> someone who is doing insertion better makes sure it is not causing packet
> drops. Otherwise his customers may be pretty unhappy.
> >
> > If you do EH insertion + encapsulation to my basic math skills it looks
> like you are creating even bigger packet. So you are more likely to face
> MTU bottleneck issues.
> >
> > - - -
> >
> > # 3
> >
> > I also have a nit about that draft. The very first line of the
> > abstract is "The network operator and vendor community has clearly
> > indicated that IPv6 header insertion is useful and required."
> >
> > I agree - such statements should not be in the IETF standards track
> document.  Such document should be judged on its technical merits not on a
> basis of crusade.
> >
> > - - -
> >
> > # 4
> >
> > The draft doesn't say why insertion is considered necessary. There is no
> justification presented.
> >
> > Well I can understand why one may say so if he does not follow years of
> FRR/LFA/R-LFA and now TI-LFA discussions. In a nut shell one technique of
> provide fast connectivity restoration is based on the fact of local repair
> with local bypass of the broken fragment of the network in a loop free
> manner. That requires some form of controlled packet steering around the
> failure.
> >
> > There are many techniques to achieve such steering SR is an elegant one
> for this specific application. The less bits you add to the packet the
> better. Usually you are fine with just one SID or in number of topologies
> you actually do not need any SID so just placing original dst address into
> SRH and applying new dst address may be all what is required.
> >
> > I understand that for some FRR techniques do not matter .. some may use
> completely different end to end techniques (I like those btw :) but for
> some it has been a necessity to provide best service to their customers.
> >
> > - - -
> >
> > #5
> >
> > There is no statement that says, "When using IPv6 tunnelling with 128
> bit SIDs, the per packet overhead can become too high."
> >
> > The proposal to use insertion without encap saves you up front 320 bits.
> I think the less bits you put in *each* packet the better. As described in
> #4 - in vast majority of TI-LFA you only need one external anchor to safely
> bypass the failure so in fact no need for any SIDs as the original dst will
> be either in inner header or in inserted SRH. So your repair efficiency as
> far as extra packet size already  is more then 2 times less when doing SRH
> insertion vs SRH or CRH insertion with encapsulation.
> >
> > - - -
> >
> > # 6
> >
> > EH insertion is entirely anonymous. If something breaks, you have no
> > idea of which device inserted the EH.
> >
> > If inserted SRH contains the routable identified of the network element
> which inserted the header does this address this point ?
> >
> >
> > - - -
> >
> > # 7
> >
> > EH insertion sounds to me like it is breaking a fundamental principle
> > of trying to avoid sending something unexpected and that the receiver
> > will be confused by.
> >
> > If EH is removed within the domain it has been inserted end receiver
> never sees it.
> >
> > = = =
> >
> > I think I see why in general you all consider that EH insertion alone
> would be a bad thing. But I think here we are not talking about any
> insertion to be allowed. We are discussing a fixed and well defined
> extension which could be made sure that all valid hooks to address
> potential concerns are embedded in its encoding yet still maintaining
> forwarding efficiency.
> >
> >
> > I think now it is up to 6man WG and chairs how they choose to continue
> this dialogue.
> >
> > Many thx,
> > R.
> >
> >
> >
> > --------------------------------------------------------------------
> > IETF IPv6 working group mailing list
> > ipv6@ietf.org
> > Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> > --------------------------------------------------------------------
>