Re: Hop-by-hop [not draft-han-6man-in-band-signaling-for-transport-qos-00.txt]

Tom Herbert <tom@herbertland.com> Fri, 20 October 2017 00:40 UTC

Return-Path: <tom@herbertland.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 BC2381320B5 for <ipv6@ietfa.amsl.com>; Thu, 19 Oct 2017 17:40:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.899
X-Spam-Level:
X-Spam-Status: No, score=-1.899 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (2048-bit key) header.d=herbertland-com.20150623.gappssmtp.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 YsJwxszP3eJ0 for <ipv6@ietfa.amsl.com>; Thu, 19 Oct 2017 17:40:31 -0700 (PDT)
Received: from mail-qt0-x22c.google.com (mail-qt0-x22c.google.com [IPv6:2607:f8b0:400d:c0d::22c]) (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 BC434132D54 for <ipv6@ietf.org>; Thu, 19 Oct 2017 17:40:30 -0700 (PDT)
Received: by mail-qt0-x22c.google.com with SMTP id 31so16665805qtz.9 for <ipv6@ietf.org>; Thu, 19 Oct 2017 17:40:30 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=XE/hYUH3z6mMHkWBbgIEVpfD3oUHqx1J+eEipSb+v8E=; b=mkV+R5y5oL0kmBvDHO/N+Q1Qa+N8iUzLeEgKjA45seteUdQIcX/pE6z/JzaK64ZdxP uBbuG4CdrwnSrqFzC+GkkDFGhsZ/NTbhDw7Z9NRIGn8YxIV0/1OMFPy8Cp59SoTNfDgw VL306fbUtih1bdvxlAbfjbE+vCynr3SpTth852emqpWVq7386bQzOJOGVsuIljj/NP87 y0AzDmmSScwdgpb2Sdb8LiSoROCKEk5j5xFmF+aLVS6xYp6snlvQwft8R3fy2oidbgwe 91FYrU8dxGvhqh0scmnpkM0gnnnboS2b+LannSUetHSxRtXpiy2C9D2ERyQZ3v+Krtd3 K6nw==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=XE/hYUH3z6mMHkWBbgIEVpfD3oUHqx1J+eEipSb+v8E=; b=heYju5ONEhX0QIn6JwhDipBeJjXKq/pNbvtcfNh1ZbK7qRGr3oUWitXmMPiux1FhS+ FKX1UYOln8TFX4hKY5d1meZcbMP1l7jVHAVXukpxqLQpP52+Nnb9EwnwpU+Ocs79G23u AkDbqe5e2jy6WkjXlMMRdbLm7Vkhvirl6Dwo9sb8e/o87OGxPAJcUrzKX669LZaaz2rT IY8uSN5tsZYlRUC2U6y+e6GGnX4kjy6WZwRkTkNaC3bao2K2kNyHs0KTOZfhCdpBTnnC xGHxuBx+zD0DTIUrOp0Y2JIuuOpRuIFW/k+LEcP+CTLlnQSkv87N+sVvbf+6RsUkuTXH H32w==
X-Gm-Message-State: AMCzsaUJZLgW81afDXXC3wmb1N2LRXI7D7uadJ4AacgdySJBKTVVR6yX UwgnGZctQP2eZZxfuLthbHI7XfCnuDrA+VtQoI0l3Q==
X-Google-Smtp-Source: ABhQp+QqaAo2kDHItdhDDjEV9vXb2cL/L70eQvkUoG4FXQZ8hIbL4ilTKeDuZYI2JJLbqwDqzOAQNShKyycK1PFTAtw=
X-Received: by 10.200.53.89 with SMTP id z25mr5053705qtb.58.1508460029739; Thu, 19 Oct 2017 17:40:29 -0700 (PDT)
MIME-Version: 1.0
Received: by 10.237.54.4 with HTTP; Thu, 19 Oct 2017 17:40:29 -0700 (PDT)
In-Reply-To: <e4f7ea8b-ce0e-d829-7b1e-b53c3a890355@gmail.com>
References: <150774513036.24791.2138264254901122467@ietfa.amsl.com> <cc11634a-b5a2-88b9-f36f-82b3fd9d8d70@gmail.com> <1D30AF33624CDD4A99E8C395069A2A162CD734B2@sjceml521-mbx.china.huawei.com> <a4da4b26-6402-ad0d-a5f5-5bddc192b8f7@gmail.com> <4E40E3EF-B0E5-490E-BFF2-0511D97E9E80@employees.org> <CALx6S341v1zd2Q9bts8-zrKxU59kieJTJJ=nHQ5w4oQZg=t_cA@mail.gmail.com> <17525287-DDA8-4930-B90B-F9228DF69A90@employees.org> <CALx6S37wLvuJ9tUGjYmzm63eq_bxq0jXSEgfCtH_2i74SvrbLA@mail.gmail.com> <20171017181646.GD31973@faui40p.informatik.uni-erlangen.de> <e7da5913-1fd9-a476-e654-44cb5cfdc10c@gmail.com> <20171019212353.GC878@faui40p.informatik.uni-erlangen.de> <e4f7ea8b-ce0e-d829-7b1e-b53c3a890355@gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Thu, 19 Oct 2017 17:40:29 -0700
Message-ID: <CALx6S34aHs-nm3ovZyuH0pyLrB_igAZA++KKft-4-+QxbSR1BQ@mail.gmail.com>
Subject: Re: Hop-by-hop [not draft-han-6man-in-band-signaling-for-transport-qos-00.txt]
To: Brian E Carpenter <brian.e.carpenter@gmail.com>
Cc: Toerless Eckert <tte@cs.fau.de>, 6man WG <ipv6@ietf.org>
Content-Type: multipart/alternative; boundary="001a113edd803b14be055befb85c"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/s7bbOax5q9ULBgywjwSy3INf4V4>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.22
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, 20 Oct 2017 00:40:33 -0000

On Thu, Oct 19, 2017 at 5:20 PM, Brian E Carpenter <
brian.e.carpenter@gmail.com> wrote:

> On 20/10/2017 10:23, Toerless Eckert wrote:
> > On Wed, Oct 18, 2017 at 08:57:35AM +1300, Brian E Carpenter wrote:
> >>> Instead of punting them because of presence of
> >>> RSVP-router-alert option. And of course you can blame IP multicast:
> every router
> >>> started to punt router-alert because of MLD (and of course us
> multicast folks
> >>> missed the chance to fix this in MLDv2 because it only tried to
> duplicate IGMPv3),
> >>> but no RFC told developers to punt because of router-alert + value in
> the router alert.
> >>> AFAIK, the same applies to hop-by-hop option in general. Alas, even
> rfc7045 did not discuss
> >>> this issue.
> >>>
> >>> IMHO we need a mechanism that specifies: devices MUST NOT punt/slow
> down packets
> >>> because of the presence of this mechanism, but only because of
> presence of
> >>> (mechanism,value) where value is intended to be supported by device.
> If the device
> >>> can not do this, then it MUST IGNORE this mechanism and forward
> packets with the mechanism
> >>> as if the option was not present.
> >>
> >> That's pretty much what RFC7045/RC8200 say, except that they
> >> say it as a warning.
> >
> > It does not analyze the fact that the existing hop-by-hop option (and
> options
> > carried via it like router alert) are burned because existing router
> imple entations
> > punt packets with hop-by-hop options even though they do ultimately not
> > need to process the packets (hop by hop option they don't do or
> router-alert
> > protocol they don't do).
>
> We discussed that before agreeing on the words in 7045, which were +-
> adopted
> in 8200.
>
> > And IMHO the existing hop-by-hop option is burned because the
> architecture
> > RFCs did not well enough express in MUST statements that you must never
> > speed down packets because of hop-by-hop/router-alert unless you really
> know
> > you will support/do-something with that option. And that you achieve
> this eg.:
> > by filtering/punting based on option/protocol. And that you can NOT do
> anything else.
>
> The protocol design really shouldn't talk about implementation choices
> in routers and the fact that FPGA people hate the IPv6 extension header
> design like the plague, which has led to broken implementations. In 1994
> there weren't any 'fast path' router designs, iirc, and the design simply
> didn't consider this problem to be a problem. So the assumption was that
> the forwarder CPU would pass on the whole header, and would only branch
> off the main code path if it saw a HbH header. I know we're 20 years
> later, but logically that hasn't changed. The problem is that many vendors
> didn't implement it; they sacrificed correctness for speed.
>
> > This is also the root cause why in our analysis a hacky extraction by
> > eg: STUN signature inside UDP is a lot safer for existing networks than
> relying
> > on any hop-by-hop option. Badly standardized, badly implemented.
>
> We agree on badly implemented ;-). IPv4 Options are badly implemented, too.
>
> >> As Ole said - within a domain where hop-by-hop option X is
> >> supported, you can reasonably expect that all routers process X.
> >
> > Ask an enterprise operator with 10 different router models from 3
> vendors ;-)
>
> If they want to use X they need to buy routers that support X.
>
> Or at least buy routers that ignore X instead of unilaterally dropping
packets that contain X (be liberal in what you receive!).