Re: [v6ops] Operational Implications of IPv6 Packets with Extension Headers - Load Balancer

Brian E Carpenter <brian.e.carpenter@gmail.com> Mon, 27 July 2020 21:01 UTC

Return-Path: <brian.e.carpenter@gmail.com>
X-Original-To: v6ops@ietfa.amsl.com
Delivered-To: v6ops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id D7DF23A0475; Mon, 27 Jul 2020 14:01:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.099
X-Spam-Level:
X-Spam-Status: No, score=-2.099 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_FROM=0.001, NICE_REPLY_A=-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 s8oB6tD_53OW; Mon, 27 Jul 2020 14:01:24 -0700 (PDT)
Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) (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 28BFC3A044E; Mon, 27 Jul 2020 14:01:24 -0700 (PDT)
Received: by mail-pf1-x443.google.com with SMTP id 74so1503588pfx.13; Mon, 27 Jul 2020 14:01:24 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:cc:references:from:message-id:date:user-agent :mime-version:in-reply-to:content-language:content-transfer-encoding; bh=M0ZkQaq91+SjFOwp/9LTVOJhEA03k0egab4MeQ+TrsM=; b=GLksJB42onbSJd2tUlgtHCMZWqHlxaN4E6HaAW+wCodl7VYXHNYKmQpQTPotsoUGz6 vQyjwF/h5SWz/HNKEzBNBRTTA4t+mOupUn1ThfCGQaScYUmJ4xIkOs8yb6OUkvZThQnn UogcuWTuFF4XlTVSo3GXmJcxXdgvxgk/PMsw8X/lVY85RtQcqIoEbFf5RqCdVXuI/468 L+xbi4TyesUU/iEOFMsLrsWhwIaSGLt/2F39nMXJM1R9Ga3Wmgpf6uuYQPzK5ibPM+cL rweT52RheWh2MfN/fitIS5/bVKMDTqfYefTvephZ2Z1whkKV7pizhDOJUMugaobxF3GC 4swQ==
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:message-id:date :user-agent:mime-version:in-reply-to:content-language :content-transfer-encoding; bh=M0ZkQaq91+SjFOwp/9LTVOJhEA03k0egab4MeQ+TrsM=; b=H5rMagdauDOQEcGgwUFyhd6FvrXFl5hWMo5a+IFM5/MiWe03cRl1cvCDFRd4kMMCxI QQOUDbPftLnOUw5TsBN++sTvOsuImFjFgiXi6HJ1L5w4d7avovoeWNg3kmb0OTgMcaof U8+H+4QH1gZll+VOpnCqgtegSvJqrU6GxHOFz42j2Jk65XeNxQUq07KOttmvrn4xDEIb hcv/l38FwQSpHU6DVuINVxqUlFGbwVoPfXSCKb4qXLH/MtxQpOQo0J8L5fmm8SdtkTVW 0aKJtiAyIp/75W3XIp8klYMJEuyKRxWxuoEhEVqfbGRTU7YVhSjcIUm2YeYUYGwkzIzt nckg==
X-Gm-Message-State: AOAM532mXN9hfBcz5ztPG5BavgvsQPAKXsjnHD9N1wrUEFkiGL+8uyuu XyfjChMs0905gfcpZ65GYc/Yl9jO
X-Google-Smtp-Source: ABdhPJxpvpCacN6Ghki4kXFCSzpmfvfJwjiHmA9cpu2g/TzWWhzdSxl3PEgNPYsy4Nqzv6+5x5xOOQ==
X-Received: by 2002:a65:6150:: with SMTP id o16mr20993952pgv.237.1595883683283; Mon, 27 Jul 2020 14:01:23 -0700 (PDT)
Received: from [192.168.178.20] ([151.210.139.192]) by smtp.gmail.com with ESMTPSA id q10sm3188864pfs.75.2020.07.27.14.01.19 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 27 Jul 2020 14:01:21 -0700 (PDT)
To: Tom Herbert <tom@herbertland.com>, Vasilenko Eduard <vasilenko.eduard@huawei.com>
Cc: Fernando Gont <fgont@si6networks.com>, IPv6 Operations <v6ops@ietf.org>, "draft-gont-v6ops-ipv6-ehs-packet-drops@ietf.org" <draft-gont-v6ops-ipv6-ehs-packet-drops@ietf.org>
References: <b380408712364589a45ab9f39ab6f764@huawei.com> <CALx6S35rkA5nVPm6C6MToUdHKFmcAabGfMN9prTiUfWr+GKwCA@mail.gmail.com> <6439ceb9d73b435d950e73a7a2d68fc7@huawei.com> <CALx6S37ih8VabN2PHvQ3ELDvV2DoiUqnd28LRxr4ofj6zUq3Jw@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <d4debe5c-4ffc-88e4-0b86-6b0dff5a8083@gmail.com>
Date: Tue, 28 Jul 2020 09:01:18 +1200
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.9.1
MIME-Version: 1.0
In-Reply-To: <CALx6S37ih8VabN2PHvQ3ELDvV2DoiUqnd28LRxr4ofj6zUq3Jw@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/v6ops/xFZb-bpDTTbl0grYJ0NYSclfv4c>
Subject: Re: [v6ops] Operational Implications of IPv6 Packets with Extension Headers - Load Balancer
X-BeenThere: v6ops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: v6ops discussion list <v6ops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/v6ops>, <mailto:v6ops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/v6ops/>
List-Post: <mailto:v6ops@ietf.org>
List-Help: <mailto:v6ops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/v6ops>, <mailto:v6ops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 27 Jul 2020 21:01:27 -0000

On 28-Jul-20 07:23, Tom Herbert wrote:
> On Mon, Jul 27, 2020 at 11:05 AM Vasilenko Eduard
> <vasilenko.eduard@huawei.com> wrote:
>>
>> Hi Tom,
>> I believe that risk still exist that some application would no use flow label properly.
> 
> Exactly which applications are you concerned about?

Given that the most widespread socket APIs (POSIX and WinSock) do not allow
an application to set the flow label, I too have that question.

And again: please read RFC7098 where these issues are discussed in some
depth. If that RFC is now out of date due to changing reality (such
as TLS 1.3), please let us know.

    Brian

> 
>> Hence, it is better on LB to deep dive into UDP/TCP. More predictable/reliable result.
> 
> You seem to be assuming a very limited traffic profile that consists
> only of plain UDP/TCP packets. Any use case that deviates from that
> then breaks your LB (i.e. encapsulation, tunneled encryption, SCTP,
> IPSec, etc.). Flow label is in all IPv6 packets and is mostly set
> properly for the vast majority of packets on the Internet and
> processing it is completely independent of the protocols, so when
> taking the full scope of the problem into account it is actually more
> generic and more predictable/reliable.
> 
> Tom
> 
>> Eduard
>> -----Original Message-----
>> From: Tom Herbert [mailto:tom@herbertland.com]
>> Sent: 27 июля 2020 г. 17:15
>> To: Vasilenko Eduard <vasilenko.eduard@huawei.com>
>> Cc: Fernando Gont <fgont@si6networks.com>; IPv6 Operations <v6ops@ietf.org>; draft-gont-v6ops-ipv6-ehs-packet-drops@ietf.org
>> Subject: Re: [v6ops] Operational Implications of IPv6 Packets with Extension Headers - Load Balancer
>>
>> On Mon, Jul 27, 2020 at 2:08 AM Vasilenko Eduard <vasilenko.eduard@huawei.com> wrote:
>>>
>>> Hi Fernando,
>>> Hence again, following the logic of this draft (the level of detalization that you have given to 5.1) - may be you need additional section 5.1.x: Load Balancer have to look into TCP/UDP ports. Moreover, it could not trust "Flow label" - it is not reliable practice for LB.
>>
>> Eduard,
>>
>> What exactly does "not reliable practice for LB" mean.? If this means that the flow label might change during the flow's lifetime then I will point out that UDP is equally unreliable for that reason (i.e.
>> the UDP ports for a QUIC connection can change during the connection's lifetime). For that matter, a TCP header might be encrypted or in an encapsulation that the LB doesn't understand so the LB can't access the TCP ports at all-- in the this case the flow label is actually more reliable than TCP since it's never encrypted and is purposely designed to be consumed by intermediate nodes without the need for expensive DPI.
>>
>> Tom
>>> Or alternatively you could say something about LB in section 5.1.2,
>>> but because it is a little special case - may be better to have
>>> separate 5.1.x
>>>
>>> Eduard
>>> -----Original Message-----
>>> From: v6ops [mailto:v6ops-bounces@ietf.org] On Behalf Of Fernando Gont
>>> Sent: 26 июля 2020 г. 8:46
>>> To: IPv6 Operations <v6ops@ietf.org>
>>> Cc: draft-gont-v6ops-ipv6-ehs-packet-drops@ietf.org
>>> Subject: [v6ops] Operational Implications of IPv6 Packets with
>>> Extension Headers (Fwd: New Version Notification for
>>> draft-gont-v6ops-ipv6-ehs-packet-drops-04.txt)
>>>
>>> Folks,
>>>
>>> We have posted a rev of our IETF I-D "Operational Implications of IPv6 Packets with Extension Headers".
>>>
>>> The I-D is available at:
>>> https://www.ietf.org/internet-drafts/draft-gont-v6ops-ipv6-ehs-packet-
>>> drops-04.txt
>>>
>>> Your feedback will be appreciated.
>>>
>>> Thanks!
>>>
>>> Cheers,
>>> Fernando
>>>
>>>
>>>
>>>
>>> -------- Forwarded Message --------
>>> Subject: New Version Notification for
>>> draft-gont-v6ops-ipv6-ehs-packet-drops-04.txt
>>> Date: Sat, 25 Jul 2020 22:28:50 -0700
>>> From: internet-drafts@ietf.org
>>> To: Fernando Gont <fgont@si6networks.com>, Gert Doering
>>> <gert@space.net>, Geoff Huston <gih@apnic.net>, Warren Kumari
>>> <warren@kumari.net>, Nick Hilliard <nick@inex.ie>
>>>
>>>
>>> A new version of I-D, draft-gont-v6ops-ipv6-ehs-packet-drops-04.txt
>>> has been successfully submitted by Fernando Gont and posted to the IETF repository.
>>>
>>> Name:           draft-gont-v6ops-ipv6-ehs-packet-drops
>>> Revision:       04
>>> Title:          Operational Implications of IPv6 Packets with Extension Headers
>>> Document date:  2020-07-25
>>> Group:          Individual Submission
>>> Pages:          15
>>> URL:
>>> https://www.ietf.org/internet-drafts/draft-gont-v6ops-ipv6-ehs-packet-
>>> drops-04.txt
>>> Status:
>>> https://datatracker.ietf.org/doc/draft-gont-v6ops-ipv6-ehs-packet-drop
>>> s/
>>> Htmlized:
>>> https://tools.ietf.org/html/draft-gont-v6ops-ipv6-ehs-packet-drops-04
>>> Htmlized:
>>> https://datatracker.ietf.org/doc/html/draft-gont-v6ops-ipv6-ehs-packet
>>> -drops
>>> Diff:
>>> https://www.ietf.org/rfcdiff?url2=draft-gont-v6ops-ipv6-ehs-packet-dro
>>> ps-04
>>>
>>> Abstract:
>>>     This document summarizes the security and operational implications of
>>>     IPv6 extension headers, and attempts to analyze reasons why packets
>>>     with IPv6 extension headers may be dropped in the public Internet.
>>>
>>>
>>>
>>>
>>> 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
>>>
>>>
>>>
>>> _______________________________________________
>>> v6ops mailing list
>>> v6ops@ietf.org
>>> https://www.ietf.org/mailman/listinfo/v6ops
>>>
>>> _______________________________________________
>>> v6ops mailing list
>>> v6ops@ietf.org
>>> https://www.ietf.org/mailman/listinfo/v6ops
>>>
>>> _______________________________________________
>>> v6ops mailing list
>>> v6ops@ietf.org
>>> https://www.ietf.org/mailman/listinfo/v6ops
> 
> _______________________________________________
> v6ops mailing list
> v6ops@ietf.org
> https://www.ietf.org/mailman/listinfo/v6ops
>