Re: Comments on draft-herbert-ipv6-update-dest-ops

"C. M. Heard" <heard@pobox.com> Mon, 20 August 2018 03:11 UTC

Return-Path: <heard@pobox.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 585B51294D7 for <ipv6@ietfa.amsl.com>; Sun, 19 Aug 2018 20:11:13 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.701
X-Spam-Level:
X-Spam-Status: No, score=-2.701 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=pobox.com; domainkeys=pass (1024-bit key) header.from=heard@pobox.com header.d=pobox.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 eY6Y-hn8tuNY for <ipv6@ietfa.amsl.com>; Sun, 19 Aug 2018 20:11:12 -0700 (PDT)
Received: from pb-smtp2.pobox.com (pb-smtp2.pobox.com [64.147.108.71]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E3D39126CC7 for <ipv6@ietf.org>; Sun, 19 Aug 2018 20:11:11 -0700 (PDT)
Received: from pb-smtp2.pobox.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 82AF010690B for <ipv6@ietf.org>; Sun, 19 Aug 2018 23:11:09 -0400 (EDT)
DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=pobox.com; h=mime-version :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; s=sasl; bh=Yf51JDrC2MCY2b7hQZRPMFh62AE=; b=iVwui2 i4ADiK2Z3KU8su7kE2mUky7vg1BeO7zy6sFbW8hy0Plj46QsB1JYZq5tVs0oeSe3 HL3ThcXrAkStBJ5vFErxNVQU1Jpsq/aTEwQ01OJq40rcNsu8YVI7ne/Wfr/EfjK2 f1hpuCQVA4yHJ6ATTJeygM345vTr6DH77iV6I=
DomainKey-Signature: a=rsa-sha1; c=nofws; d=pobox.com; h=mime-version :in-reply-to:references:from:date:message-id:subject:to:cc :content-type; q=dns; s=sasl; b=TrHGMHMHA2d155kGBjaYBGGM5nEQsTh9 9Sgup6WAZYtNoXdmehwGGPEa7R83QgVzc1U0fgO5GxqfawxbdfYRXkT2HejHDHyG w1XHzmiqCmCVDl015UJCPFDc/fZS8sZnoyKUSfyfvQ0D/0u6peXC/lItT2+CNL5K kuk8tHvdlpI=
Received: from pb-smtp2.nyi.icgroup.com (unknown [127.0.0.1]) by pb-smtp2.pobox.com (Postfix) with ESMTP id 7BE0010690A for <ipv6@ietf.org>; Sun, 19 Aug 2018 23:11:09 -0400 (EDT)
Received: from mail-oi0-f47.google.com (unknown [209.85.218.47]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pb-smtp2.pobox.com (Postfix) with ESMTPSA id 13CB1106909 for <ipv6@ietf.org>; Sun, 19 Aug 2018 23:11:09 -0400 (EDT)
Received: by mail-oi0-f47.google.com with SMTP id b16-v6so23351905oic.9 for <ipv6@ietf.org>; Sun, 19 Aug 2018 20:11:09 -0700 (PDT)
X-Gm-Message-State: AOUpUlHZ/RY4kkbP6J0uctwk8ukrMod8lXPWU9DJ/zJqNDZ6dX3vHzZk vRNoe05hcmBmnGltF7u2kvz4aFcAX4H6ykrEcZE=
X-Google-Smtp-Source: AA+uWPwge9V4Fs+j5f9JwugLovhLG8wIdsRCpJiTEdARAv46e9myQCCU0ZbDu2wn7Cf3Y3GuqPIWf2Jj1GAz6Jj1kvk=
X-Received: by 2002:aca:6206:: with SMTP id w6-v6mr12867282oib.201.1534734668389; Sun, 19 Aug 2018 20:11:08 -0700 (PDT)
MIME-Version: 1.0
Received: by 2002:a4a:cb94:0:0:0:0:0 with HTTP; Sun, 19 Aug 2018 20:10:48 -0700 (PDT)
In-Reply-To: <CALx6S35q5EqZt26KSPTGHBXZpzaNYyFBO9UxVNsi4is1BxUHrQ@mail.gmail.com>
References: <CACL_3VF+EoKOEF-TkB3179UsmN_Yhaqt60jh_h2d2GLnE0EWDA@mail.gmail.com> <CALx6S356TVnbnZ_zp5+aK_x-DmMJUTidw0Wzbc3Tn=cscTd7VA@mail.gmail.com> <CACL_3VGUUs1FS4Qog6pzJ2WZyir2-keEVZTU6opzXQ4t0M-XUw@mail.gmail.com> <CALx6S35q5EqZt26KSPTGHBXZpzaNYyFBO9UxVNsi4is1BxUHrQ@mail.gmail.com>
From: "C. M. Heard" <heard@pobox.com>
Date: Sun, 19 Aug 2018 20:10:48 -0700
X-Gmail-Original-Message-ID: <CACL_3VGfMj6DjAWsxib6Hw_x=5X3CWASKU1oiGqvFdksDuFXDw@mail.gmail.com>
Message-ID: <CACL_3VGfMj6DjAWsxib6Hw_x=5X3CWASKU1oiGqvFdksDuFXDw@mail.gmail.com>
Subject: Re: Comments on draft-herbert-ipv6-update-dest-ops
To: Tom Herbert <tom@herbertland.com>
Cc: 6man <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
X-Pobox-Relay-ID: AF42E3C0-A426-11E8-A935-BFB3E64BB12D-06080547!pb-smtp2.pobox.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/UQ7cgLzClJgbaoRfVcmuRgNoD-0>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.27
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: Mon, 20 Aug 2018 03:11:13 -0000

On Sun, Aug 19, 2018 at 1:30 PM, Tom Herbert <tom@herbertland.com> wrote:
> On Sat, Aug 18, 2018 at 1:22 PM, C. M. Heard <heard@pobox.com> wrote:
>> On Sat, Aug 18, 2018 at 11:06 AM, Tom Herbert <tom@herbertland.com> wrote:
>>> On Sat, Aug 18, 2018 at 10:16 AM, C. M. Heard <heard@pobox.com> wrote:
>>>> First, the proposal makes processing of a Destination Options header that
>>>> precedes a routing header optional for the final destination node, to
>>>> which the stated rationale clearly does not apply.
>>
>> Would you care to address this objection?
>
> The allowance would have to cover all destination nodes including the
> last one because there is no way to to know a node is last in the
> routing list without processing the routing header which would violate
> RFC8200. I would note that this wouldn't impact DestOpts after a
> Routing header which must be processed only by the final destination.

True, but surely a node that can process a Destination Options header that
follows a Routing Header -- which an end node must be able to do -- also has
the capability to process a Destination Options header that precedes a
Routing Header. It should not matter whether or not it is the final
destination of the packet.

[ ... ]

>> Do you know how that
>> all works for the implementations(other than Linux) that are listed in
>> https://tools.ietf.org/html/draft-ietf-6man-segment-routing-header-14#section-8?
>
> Linux properly implements Destination Options (both before and after
> Routing header), including handling of unknown TLV types. It also now
> limits the number of TLVs per the recommendations of RFC6434bis (eight
> is default limit).
>
> I looked at FD.io VPP code. AFAICT they do NOT implement compliant
> support for Destination Options. It appears that the Routing header is
> being fished for using the function ip6_ext_header_find_t. That
> function will skip over Destination Options before the Routing header.
> There are only two inconsequential references to
> IP_PROTOCOL_IP6_DESTINATION_OPTIONS (nexthdr constant) in all the VPP
> code, and I can't find any evidence that Destination Options TLVs are
> ever parsed.
>
> I looked for information on P4 how implements this an couldn't find
> much of relevance. As I understand it, P4 does not natively support
> loops so parsing an unlimited list of TLVs might not be feasible,
> although maybe it's possible to parse a small number of them.
>
> For commercial implementations, like Cisco and Juniper, I'll let it up
> to the vendors to report whether or not they have proper support for
> Destination Options and how much they have tested that.

Thanks for providing that information.

Mike Heard