Re: Flow label [not draft-han-6man-in-band-signaling-for-transport-qos-00.txt]

Brian E Carpenter <brian.e.carpenter@gmail.com> Fri, 20 October 2017 21:45 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 3FFDA1343C3 for <ipv6@ietfa.amsl.com>; Fri, 20 Oct 2017 14:45:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 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, 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 80D1KsCVnKfK for <ipv6@ietfa.amsl.com>; Fri, 20 Oct 2017 14:45:43 -0700 (PDT)
Received: from mail-pf0-x231.google.com (mail-pf0-x231.google.com [IPv6:2607:f8b0:400e:c00::231]) (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 8B75C134451 for <ipv6@ietf.org>; Fri, 20 Oct 2017 14:45:42 -0700 (PDT)
Received: by mail-pf0-x231.google.com with SMTP id e64so12806097pfk.9 for <ipv6@ietf.org>; Fri, 20 Oct 2017 14:45:42 -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=EZcJt0PzdCpT0Mo+aogW/dJMZuiQvRwrdWrtAgrg7r8=; b=bb9FAD6m4ynPD6Bynu6xra9WqySfU6phGbM2/bO4fOnZpTC01RtndeRapeqKL5MJNj +sFc2/ZWYtJPsgsoJRTUj/0s3rGPxywrWSnzbBI6v66ci4yQ2vc1fA/OiKZx9zSWu0YG 6/ox7RqNZBaIcATpZrrINgXtugYloizJs3EKhMahn4bK08j3iK6YaanInBmLShM9SbcF 8j8hpTrNAakDQaydDq2gkIbuESgN6GeVYA4XoRjoveqNkUjOVeFPi0xLLqSIu35ADluB 8ch9LHN5L3WCqYJO/nvLFNzbZ/Ke7sn5014co06jZev2hBeY9K/mQlVVMmQplLZ9swcq WrzA==
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=EZcJt0PzdCpT0Mo+aogW/dJMZuiQvRwrdWrtAgrg7r8=; b=b1p0t7Xt47ODsYURIb3c9WoeVN6peQmqBVrxeay2lN6ExItvgUyFLjNy2UViU28HKG RulBZZJJvp4Y2cYU5n8RLBkPyPkbKNNGbhlbIzKsWB6gPVzoWLqSNnXmNwfp0SGX/cnA x1nMccjQjavkCE/+tq5/W8Ss1pVN7f/06B68nlABm8yi5GL7Xmd/EdPfIkZX7Dfjj7zh 5KE/c5425cnnJFoZAlOey4mp9TyVXLNM1OW4BREF1dk6SS1H9txNCUIMN+RRvzsuI5e0 xd9x6pGU0cSbNutzQUcUAv5LN5vJi1UJgP8OSiMLJiql91fWAyY91fmCb5dt6dIKStoS In+Q==
X-Gm-Message-State: AMCzsaWgQEiL+mxhwIKZVa14Cl+opdEj3SKqOOwDd1asXCti6pabUBV8 ayAirNfEcu3UFqv3ZNW2LTTJDg==
X-Google-Smtp-Source: ABhQp+QQhfuBVlyScA5c+Q5dAnwmFXJ/+2cYyL4skBOrdeAYuP5Wk9FakVH+K8J+h3NosNCjdPyGGA==
X-Received: by 10.99.126.81 with SMTP id o17mr5678365pgn.252.1508535941790; Fri, 20 Oct 2017 14:45:41 -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 70sm3066119pfv.97.2017.10.20.14.45.38 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 20 Oct 2017 14:45:40 -0700 (PDT)
Subject: Re: Flow label [not draft-han-6man-in-band-signaling-for-transport-qos-00.txt]
To: Ole Troan <otroan@employees.org>, Tom Herbert <tom@herbertland.com>
Cc: 6man WG <ipv6@ietf.org>
References: <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> <CALx6S34VRS4GumsFSqN8uDkv4TOLC8q+rOvyN=evUk83KPeHHg@mail.gmail.com> <20171019211637.GB878@faui40p.informatik.uni-erlangen.de> <296dd642b31741cc8ec4aa4b52913037@XCH15-06-11.nw.nos.boeing.com> <CALx6S36s_SoTqpPo=jXmrFC+pgUkEmF8UB_sx_0zGcK-G8JeTQ@mail.gmail.com> <20171019220935.GD878@faui40p.informatik.uni-erlangen.de> <33ff8930-d1af-ea54-7bb4-a6a9b289269e@gmail.com> <20171020144015.GA3093@faui40p.informatik.uni-erlangen.de> <8AE3421D-304B-42F9-B12A-361E21DFF069@employees.org> <CALx6S35nr8JapogAC5Gsi0iPxXhJa9NKOHhzUAnJtmqTwEGtgg@mail.gmail.com> <CDAEBFFD-3B70-41D3-BB41-FCF40ADA2115@employees.org> <CALx6S35Y7OVFFSiw4-ei84HEk0FjEXmS8TnNx8Uex9-0rAxdfg@mail.gmail.com> <6D75068F-9B19-4ECA-878F-5AC22A48AB1A@employees.org>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Organization: University of Auckland
Message-ID: <6d108baf-ac61-f584-e3c1-6f41e0b71fcf@gmail.com>
Date: Sat, 21 Oct 2017 10:45:48 +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: <6D75068F-9B19-4ECA-878F-5AC22A48AB1A@employees.org>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/y4OG21i-TP-_wokpqWaPZSVg2WU>
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 21:45:45 -0000

On 21/10/2017 08:04, Ole Troan wrote:
> Tom,
> 
>>>>>> Problem with flow label is same as with hop-by-hop option: burned because
>>>>>> nobody should dare use it for something useful with all the inconsistent
>>>>>> code out in the field.  Nothing against redefining it (with new encoding)
>>>>                                                          ^^^^^^^^^^^^^^^^^^^
>>>>> There is no encoding. It's 20 opaque bits (and always has been). Please
>>>>> read https://tools.ietf.org/html/rfc6437.
>>>>
>>>> Sorry, lame use of words. Meant to say "stronger definition of DO and DONTs
>>>> which may include new semantics". I never tried to analyze the state of
>>>> affairs on flow label as i did for router alert. Just taking it from what
>>>> i heard, last from Joel at the pechakucha.
>>>
>>> Right. If we take Joel's findings, then it appears the conclusion is that right now using a 4 tuple SA, DA, Prot, Flow for ECMP has a too high probability for failure. It would be very nice to have that fixed. Until then, we're forcing routers to parse transport headers.
>>>
>>> Ole,
>>>
>>> I cannot find this presentation. I did find a presentation to nanog about problems with flow labels, but that had more to do with the fact that the flow label does not have to be persistent for the life of a connection which breaks stateful firewalls that require consistent routing for a flow. I didn't see how this is a problem for ECMP itself. Is there a draft on this that details what the problems are?
>>
>> I believe Joel's presentation was for a load balancer application.
>>
>> Purely for ECMP it only has a consequence for reordering of packets. Which may be bad enough.
>> But sending packets of the same flow along different paths has problems with any network function that requires state. NAT64, virtual reassembly of fragments, ACLs and what not. Not that the network should do any of those of course.
>>
>> Ole,
>>
>> Right, but of course there's never been any requirement in IP that packets in a flow always follow the same path or are never received out of order. Even outside of using the flow label there are other ways that that for packets of a flow to take different paths or be OOO (fragmentation, UDP encapsulation, routing change, etc.). I don't see that there is a protocol problem with flow labels that would justify a general recommendation against their use. Maybe there should be a discussion in v6ops about this.
> 
> Absolutely. There is no protocol problem with flow labels.

When we did RFC6437, 6438 and 7098 we were perfectly aware of the deployment
issues. Fixing them is a long term play. There's background discussion in
https://tools.ietf.org/html/rfc6436

   Brian