Re: Proposal for changing how IPv6 Hop-by-Hop Options are processed

Jen Linkova <furry13@gmail.com> Fri, 04 December 2020 01:59 UTC

Return-Path: <furry13@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 45D6C3A1203 for <ipv6@ietfa.amsl.com>; Thu, 3 Dec 2020 17:59:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.848
X-Spam-Level:
X-Spam-Status: No, score=-1.848 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, 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 deqQAxFaxnUO for <ipv6@ietfa.amsl.com>; Thu, 3 Dec 2020 17:59:14 -0800 (PST)
Received: from mail-qk1-x730.google.com (mail-qk1-x730.google.com [IPv6:2607:f8b0:4864:20::730]) (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 9313A3A0489 for <ipv6@ietf.org>; Thu, 3 Dec 2020 17:59:14 -0800 (PST)
Received: by mail-qk1-x730.google.com with SMTP id q22so4193451qkq.6 for <ipv6@ietf.org>; Thu, 03 Dec 2020 17:59:14 -0800 (PST)
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=/fZpcRRhx2cZFrBB8TlaJoDG3uwi+vh3RgsEZEroxVk=; b=rzMDCtpCgRBbKXpRCLeXhAbbSSBdlUF0Q0WbpIBfo7X35RPnhWvG7VPF9A8EevfFmK +2M/ZxuoOAwiHeXMsq5qZU1vBkBNFwbTfavvBAyYnUy0W6VR71VF3Np4o0wyQsUo0p9z iaJqzYz2PGWYmiHLbUt+nX/sgCK39ioTkBFMwe319jtIiH4dhj5u1iaVGQkOKrhrAti5 csbuMfYkqkP9fquqz7jStQuFyzMLAQ6BQcmZ/esoiDoDB+TVCEvj2gRrizxs80gg0DT1 yykM16beOBuGObyybV9xEWBX7VjiKd1j9Z25IYk4IS21mFasT9JasHEfwE6rK+BVQNJT Rn2g==
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=/fZpcRRhx2cZFrBB8TlaJoDG3uwi+vh3RgsEZEroxVk=; b=ak74BCzOs3DxCjbInP6zFTI8SVbnlukZKBISj0jsh8JswQqwWOQt5Y76dRtyjPldmg INGGBJ4kxxdKy/QnTktsw1pa0XcObhBqCAHtX6yoXuMp6BMDRQH3Ih5mqaVVxkYLyooW CuqGv4v95G1EL7gLqMeR+iAvzmRgXg6+hb3YhtKkcdYxWAt6SIl9wIyr7CY6LSx0jLIb iXwvuWu0SHKONkBv781EfhLg2gsvtXA8GkO/3hr7DRaxdHAxxI62zcgfAMgjhpQxO383 XNdLUJO8bIyBus3TeOF2WdsrQLNTqXIiX7Nr6xFrDd/e/+PPkVMHs2Qk6fEPQ1NFmmna OsDA==
X-Gm-Message-State: AOAM5313nlI9ocF3NV+xPpKmEAiy4e+fSLvwKJBbzDnJp2JARV2jflMK 2WBPXjdXlJbG5OLlKWOz93hsMjeMy92WOSGQCAg=
X-Google-Smtp-Source: ABdhPJxX6vHq1jUXH/7iwTKK5pJWbBNL6qvJQgKIe3jvh9htj/ol0mXkarU6VwG5H5/zE04GPEbN0A3K9/xsfjy0mc8=
X-Received: by 2002:a05:620a:57b:: with SMTP id p27mr6248779qkp.417.1607047153315; Thu, 03 Dec 2020 17:59:13 -0800 (PST)
MIME-Version: 1.0
References: <160703668657.9405.8891046478566468162@ietfa.amsl.com> <C573A554-9221-49C2-94AB-E552F1BA69E4@gmail.com>
In-Reply-To: <C573A554-9221-49C2-94AB-E552F1BA69E4@gmail.com>
From: Jen Linkova <furry13@gmail.com>
Date: Fri, 04 Dec 2020 12:59:01 +1100
Message-ID: <CAFU7BAQRckLvBio7JL+Eby16Z5J1cDWmT_QrsUKLVCE8UdcP-g@mail.gmail.com>
Subject: Re: Proposal for changing how IPv6 Hop-by-Hop Options are processed
To: Bob Hinden <bob.hinden@gmail.com>
Cc: IPv6 List <ipv6@ietf.org>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/3u4hdjmH-Hh1eMkmly2UVDxXSDg>
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: Fri, 04 Dec 2020 01:59:16 -0000

Hi Bob, Gory,

Thanks for writing this and for all your effort to make HbH deployable/useful!
A few comments:
1) If we summarize RFC8200 position on HbH, it basically says smth like:
'a node MAY process HbH or MAY not - depends on the configuration and
the default config is NOT to process'.
Your draft suggests to change it to:
-  MUST process in the fast path.
- MUST NOT process in the slow path.
I feel like the second MUST NOT ("If the IPv6 node can not process the
Hop-by-Hop Option header in the fast path it MUST skip over this
option and continue processing the header normally.") a bit too
restrictive. Is there reason not to use SHOULD here? What if my router
can not process a new HbH option in the fast path yet but I want to
apply a policier to it and get it processed in the control plane?

2) I'm a bit concerned about 'only and only one option per HbH header
only'. Aren't' we limiting the use cases drastically by doing this?
Wouldn't it mean that the first HbH option (let's say the MTU one)
which gets deployed would prevent any other options from being used?
I understand the problem with chaining multiple options and I have a
very dumb qiestion to people who understands the routers hw internals
better that I do: would it help if we have an 'Table of content'
option? Which would list codes for all options present in that header
so a single lookup would be enough to know if there are any options
here we are interested in or do not want to process at all. What if we
have such an option and always put it first? am I crazy?

On Fri, Dec 4, 2020 at 10:16 AM Bob Hinden <bob.hinden@gmail.com> wrote:
>
> Hi,
>
> Gorry and I put together a draft that proposes to change how IPv6 Hop-by-Hop Options are processed.  Links to the draft below.
>
> Abstract:
>
>   This document specifies procedures for how IPv6 Hop-by-Hop options
>   are processed.  It modifies the procedures specified in the IPv6
>   Protocol Specification (RFC8200) to make processing in routers more
>   practical with the goal of making IPv6 Hop-by-Hop options useful to
>   deploy in the Internet.  When published, this document updates
>   RFC8200.
>
> A very short summary is that there can only be one Hop-by-Hop option in a Hop-by-Hop Option header, and that Hop-by-Hop Options must be process in the fast path.
>
> Please read and comment on the draft (that is, not on just this email).   We think this might make Hop-by-Hop options practical to use in the Internet.
>
> Bob & Gorry
>
>
> > Begin forwarded message:
> >
> > From: internet-drafts@ietf.org
> > Subject: New Version Notification for draft-hinden-6man-hbh-processing-00.txt
> > Date: December 3, 2020 at 3:04:46 PM PST
> > To: "Robert M. Hinden" <bob.hinden@gmail.com>, "Godred Fairhurst" <gorry@erg.abdn.ac.uk>, "Robert Hinden" <bob.hinden@gmail.com>, "Gorry Fairhurst" <gorry@erg.abdn.ac.uk>
> >
> >
> > A new version of I-D, draft-hinden-6man-hbh-processing-00.txt
> > has been successfully submitted by Robert M. Hinden and posted to the
> > IETF repository.
> >
> > Name:         draft-hinden-6man-hbh-processing
> > Revision:     00
> > Title:                IPv6 Hop-by-Hop Options Processing Procedures
> > Document date:        2020-12-03
> > Group:                Individual Submission
> > Pages:                11
> > URL:            https://www.ietf.org/archive/id/draft-hinden-6man-hbh-processing-00.txt
> > Status:         https://datatracker.ietf.org/doc/draft-hinden-6man-hbh-processing/
> > Html:           https://www.ietf.org/archive/id/draft-hinden-6man-hbh-processing-00.html
> > Htmlized:       https://tools.ietf.org/html/draft-hinden-6man-hbh-processing-00
> >
> >
> > Abstract:
> >   This document specifies procedures for how IPv6 Hop-by-Hop options
> >   are processed.  It modifies the procedures specified in the IPv6
> >   Protocol Specification (RFC8200) to make processing in routers more
> >   practical with the goal of making IPv6 Hop-by-Hop options useful to
> >   deploy in the Internet.  When published, this document updates
> >   RFC8200.
> >
> >
> >
> >
> > Please note that it may take a couple of minutes from the time of submission
> > until the htmlized version and diff are available at tools.ietf.org.
> >
> > The IETF Secretariat
> >
> >
>
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------



-- 
SY, Jen Linkova aka Furry