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

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 20 October 2017 00:20 UTC

Return-Path: <brian.e.carpenter@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 5745C1330B1 for <ipv6@ietfa.amsl.com>; Thu, 19 Oct 2017 17:20:41 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2
X-Spam-Level:
X-Spam-Status: No, score=-2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_PASS=-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 s79EGuKXurIq for <ipv6@ietfa.amsl.com>; Thu, 19 Oct 2017 17:20:37 -0700 (PDT)
Received: from mail-pf0-x22a.google.com (mail-pf0-x22a.google.com [IPv6:2607:f8b0:400e:c00::22a]) (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 E0D4B132C32 for <ipv6@ietf.org>; Thu, 19 Oct 2017 17:20:36 -0700 (PDT)
Received: by mail-pf0-x22a.google.com with SMTP id b6so8403227pfh.7 for <ipv6@ietf.org>; Thu, 19 Oct 2017 17:20:36 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:organization:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=An8t5nQwlXl4UuWfaEfqaWVfb/lGy3LgYv4U3Sk+kB4=; b=gt+pWGB5mr4GG1bQpB7+jCiX4thbKL+y5Ylc0dLRy01lX0/Man/TDWXyq4Vkg6xb8L aL1OUFKCtcJcsWw65gbj3I8b86q/FiNko+uMnpwdFIn/fg722Ahp+Gk+ybZx/nrO3xTR M+x6yLX0Bgd8X8yOSsF2eRedLBH2H2UMLlIRgS9j74GEviEjYngJwA1bc6FpihAt4QKK qDI6F9dSbsaRg7L6mqEKyLZRjTIHY2oOV7QVwEAI5iT3wJ2TY4KPwSw3sbBDPUf+LfhM f73Dxred2ZceqrL2rr4qd7H3DnA+0D4GTxExxpxvpREfucFdzQUjxN0aW/CORcuYdudC xnYA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:cc:references:from:organization :message-id:date:user-agent:mime-version:in-reply-to :content-language:content-transfer-encoding; bh=An8t5nQwlXl4UuWfaEfqaWVfb/lGy3LgYv4U3Sk+kB4=; b=HiA/jisIlowzgXWlvo0maHKFt+hmZm6KwbFNLxSQMi39qZ//jzO6EIfWYUi1gGPBtq 5SrHC5FHMwzIhcc0lkkmnJXWmrxxOvgUXOqwssIb81ycc49kBoc751CIwu5AK+t7EPG7 9QRUeS9ybRVYkS2wciytq9LW3z52wx00fsL5mJavVIMCT8ZCu4GI4czI+/kknS3U9V5C W2hF07kfayLrtScGSLFlVxNIyCL5QC5KJwlooCldchKKnS+TTipN+/EoJh63zKTNj0EM wQodYW3EdatX5TOV/9Y4701wjyblFqQ41q0e/F2kPoYKZCd5PkYYNTbRhJarROI0yJM5 5bdA==
X-Gm-Message-State: AMCzsaXg+pM053r0+9um4noL7lPtGlgzlNOvb5NHpNzcmUBPL5jFxMTL 7ewu/AT/sLi1WsM8kVP0Y8iw6g==
X-Google-Smtp-Source: ABhQp+RVr5IUY8N8YqMevDJ9fIJdIeln1aVEn09vTl4JttM1TUbSb6uNek3HBrheKn3bTICE35GNdw==
X-Received: by 10.101.65.75 with SMTP id x11mr2779075pgp.388.1508458836113; Thu, 19 Oct 2017 17:20:36 -0700 (PDT)
Received: from ?IPv6:2406:e007:6d3c:1:28cc:dc4c:9703:6781? ([2406:e007:6d3c:1:28cc:dc4c:9703:6781]) by smtp.gmail.com with ESMTPSA id t18sm3347819pfi.98.2017.10.19.17.20.33 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 19 Oct 2017 17:20:35 -0700 (PDT)
Subject: Hop-by-hop [not draft-han-6man-in-band-signaling-for-transport-qos-00.txt]
To: Toerless Eckert <tte@cs.fau.de>
Cc: Tom Herbert <tom@herbertland.com>, 6man WG <ipv6@ietf.org>
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>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <e4f7ea8b-ce0e-d829-7b1e-b53c3a890355@gmail.com>
Date: Fri, 20 Oct 2017 13:20:40 +1300
User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0
MIME-Version: 1.0
In-Reply-To: <20171019212353.GC878@faui40p.informatik.uni-erlangen.de>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/VG6nGw9Dsbuvy6Ff3vfPm98qjt8>
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:20:41 -0000

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.

   Brian

> 
> Cheers
>     Toerless
> 
>> But (excuse me repeating myself), whether X is worth doing is not
>> really a question for 6man. In this case, it belongs where QoS is
>> discussed, which is TSVWG.
>>
>>     Brian
>>
>>> One simple way to do this is to define hop-by-hop-fixed that does say exactly this
>>> and then hopefully allow all existing hop-by-hop TLV to live underneath that
>>> fixed hop-by-hop-fixed option. But i would certainly suggest to review processing
>>> complexity and extensibility before such a conclusion.
>>>
>>> Personally i prefer inband UDP layer signaling, not because i do not like IPv6
>>> option headers but because there is just no ubiquitous API to allow apps
>>> independent of OS enhancements to set arbitrary options headers, especially ones
>>> that are not yet defined (allow apps to fully defined the whole header bit by bit).
>>> Lets say from a javascript app in a browser. And i am more interested in ease of
>>> adoption than in architectural cleanlyness. But of course its perfectly valid to
>>> do the architectural clean appraoch and then prove me wrong and get that option
>>> adopted more ;-))
>>>
>>> Cheers
>>>     Toerless
>>>
>>> On Tue, Oct 17, 2017 at 09:54:52AM -0700, Tom Herbert wrote:
>>>> On one hand, IETF defined extension headers as the extensibility
>>>> mechanism of IPv6, but yet on the other hand the message seems to be
>>>> to not use them because deployed devices don't correctly support the
>>>> protocol. The upshot is that we see proposals in other WGs of stuffing
>>>> network layer information into transport protocols (options or
>>>> payloads) with the full expectation that intermediate nodes will parse
>>>> into the transport layer, process the embedded information, and
>>>> possibly even overwrite transport layer information. IMO that is an
>>>> architectural abomination and further abandonment of the end to end
>>>> model!
>>>>
>>>>> While the 6man working group can certainly help the authors with those considerations, I believe the work would have to be owned somewhere else.
>>>>> And it might be a little too early to go into the details of packet formats etc.
>>>>>
>>>> Agreed, but I do think the 6man working group has a vested interest to
>>>> make sure that network layer information stays in the network layer.
>>>> At some point the information needed is going to be so complex that it
>>>> won't be able to be conveyed in any fields of the IP header.
>>>>
>>>> Tom
>>>>
>>>>> Best regards,
>>>>> Ole
>>>>
>>>> --------------------------------------------------------------------
>>>> IETF IPv6 working group mailing list
>>>> ipv6@ietf.org
>>>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>>>> --------------------------------------------------------------------
>>>
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
>