Re: Removal of destination options that precede a routing header

Jim Guichard <jguichard1966@gmail.com> Tue, 26 May 2020 14:28 UTC

Return-Path: <jguichard1966@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 4E4873A1065 for <ipv6@ietfa.amsl.com>; Tue, 26 May 2020 07:28:04 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.847
X-Spam-Level:
X-Spam-Status: No, score=-1.847 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_ENVFROM_END_DIGIT=0.25, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=gmail.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 v_U6v1vSejdK for <ipv6@ietfa.amsl.com>; Tue, 26 May 2020 07:28:01 -0700 (PDT)
Received: from mail-qv1-xf2e.google.com (mail-qv1-xf2e.google.com [IPv6:2607:f8b0:4864:20::f2e]) (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 44FAE3A1011 for <6man@ietf.org>; Tue, 26 May 2020 07:27:53 -0700 (PDT)
Received: by mail-qv1-xf2e.google.com with SMTP id r3so9526947qve.1 for <6man@ietf.org>; Tue, 26 May 2020 07:27:53 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=ji8ikQdd5uaMWjDM7ptDwI/muNNVB8mzlrFTXYGI9Ew=; b=gCLEJybHT4dJcsWd8B4Zf2PHy5sLEseCU9Qle2HIYffisCg5/8vaWxY7x0YN2OenDI nBpj1F4det5O/Y9iyrWgSnj4g1TkUyFd1YkqSUC1IBt7b8ZqStGKUeOmxjk+QE9BrjB9 RDR8FS9wEW7gNlkDXmSQGNhgbTHM6Eh7X5zieGuItVPowqnC+ATH+rOGLDeLKnegABLD 5gD38bMih4W6oGBZGsS9/yyIK0detZMAJSK0E68GSrdV8QgMKVxmYFu8UhFW/ZTzym5N 26pCOdIkDBBu4Lvano1c7378lLFEYZReYeIKfSZBfqgFSvxed9LP4A9DESo/FP0ikohe HI6A==
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=ji8ikQdd5uaMWjDM7ptDwI/muNNVB8mzlrFTXYGI9Ew=; b=gx1nkp5XSxKxH+DHfjWjRLybM1Dn5RT0kynVBOBQ+Kcq9WuBqioHSDSHzfxR81LdYO 45TKjaVkmF9BPCufJPeS+u1o4V3DsIF4SfX5/4q1fhuKmtnnQmTTLMffHfIIzWq5MWYU k+42deOXnc6TCm2lDrfsuwk8ecH/cQVJSL5FMqd07jUgEOyivVP6+QNPo5j5HyQF1/yd 7x6e9nuhC0Ky9AQ5QfVv8W1moN1W31ckOaLmbGPCxIgS8hlfAslEpOKbgKZ3iqI1hQQt M1UlDVGv+FpI1cDcwTs8dzsCfa2nGxYUboxY7Az96nRxo97TxKU+VfvhF9IyTCyPkyGn q1Ng==
X-Gm-Message-State: AOAM533NnS4PhHi4d6o1CS25QH8nncfewOOco/ofDU80XwXHbPcpw3pF zNMjGElf8SRv2ZUKFA0o+iFDG8gAtWac5mXfTXM1UQ==
X-Google-Smtp-Source: ABdhPJwBY6WMo/mV6W2szs5utdinkjpa4uSso58xPtlA8X2EwkqGvF2Wc+kdEGxxoiJGySihHF41y9E9h07lRE63MRU=
X-Received: by 2002:a0c:a955:: with SMTP id z21mr20750417qva.87.1590503271061; Tue, 26 May 2020 07:27:51 -0700 (PDT)
MIME-Version: 1.0
References: <DM6PR13MB306686E9F1A444C05BB5EF56D2B00@DM6PR13MB3066.namprd13.prod.outlook.com> <27AD0B48-3DDD-4EE6-9325-B897727BB30C@steffann.nl>
In-Reply-To: <27AD0B48-3DDD-4EE6-9325-B897727BB30C@steffann.nl>
From: Jim Guichard <jguichard1966@gmail.com>
Date: Tue, 26 May 2020 10:27:40 -0400
Message-ID: <CAJn5=Kfhd+OvPP7JrNAyZesBehoMuW2C7c6WhtWCBjaiciVzMw@mail.gmail.com>
Subject: Re: Removal of destination options that precede a routing header
To: Sander Steffann <sander@steffann.nl>
Cc: 6man <6man@ietf.org>, James Guichard <james.n.guichard@futurewei.com>
Content-Type: multipart/alternative; boundary="0000000000007c5d7305a68de6eb"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/Sj0NgPJSDymak8zi-DFdT5P32BA>
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: Tue, 26 May 2020 14:28:11 -0000

I’m not so sure about that as the original packet is encapsulated in an
outer IPv6 header.

On Tue, May 26, 2020 at 10:24 AM Sander Steffann <sander@steffann.nl> wrote:

> Hi,
>
> > Note 3 is for destination options after a routing header. As such the
> destination option is processed after the routing header and therefore the
> router is able to determine from the SRH that it is the final destination
> as segments left = 0. Presumably an implementation would at this point
> remove the routing header and the destination options and send the packet
> on its merry way.
>
> The header aren't removed. When there are no segments left the destination
> address is that of the final destination, which will get the full packet as
> sent by the sender with all the headers intact.
>
> Cheers,
> Sander
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>