Re: [Last-Call] [v6ops] Tsvart last call review of draft-ietf-v6ops-ipv6-ehs-packet-drops-05

Tom Herbert <tom@herbertland.com> Sat, 20 February 2021 15:32 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: last-call@ietfa.amsl.com
Delivered-To: last-call@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 539403A14E8 for <last-call@ietfa.amsl.com>; Sat, 20 Feb 2021 07:32:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.897
X-Spam-Level:
X-Spam-Status: No, score=-1.897 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, SPF_HELO_NONE=0.001, SPF_NONE=0.001, URIBL_BLOCKED=0.001] autolearn=unavailable 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 sbb73mJ3UuyZ for <last-call@ietfa.amsl.com>; Sat, 20 Feb 2021 07:32:41 -0800 (PST)
Received: from mail-ej1-x634.google.com (mail-ej1-x634.google.com [IPv6:2a00:1450:4864:20::634]) (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 2136B3A14EC for <last-call@ietf.org>; Sat, 20 Feb 2021 07:32:40 -0800 (PST)
Received: by mail-ej1-x634.google.com with SMTP id bl23so21474865ejb.5 for <last-call@ietf.org>; Sat, 20 Feb 2021 07:32:40 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=herbertland-com.20150623.gappssmtp.com; s=20150623; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=BccZQrZ9Xk9bczPEVA36PM0NgOh8D3x3T5Ikf2zIAWk=; b=wV9QT8vsWzvDnhSxTXtgL6wXAS2obmPIPGPBdH+Qef5rjTqjeWKLR/+01fk9eGB+bD w2i1fwJqijF1oB5SIOMTj+v32T+bwE4T2w9bWuM19YWOLX4UeglMwfjPTSIudQvbLQEh pP2lYvW1PcMnlUEjpSfCQMsG3DioD+KwjTxZ+k/v9b/PVA3FL7NCLg2makexNd29Ffno SojPI7GOMW3oFLmCffQxt55xuvQpbXIMeUG/n9hbJhkUuO1TjqjeMBCqvPeqR30rKuhf ya7B0wQuhbPB7aKVg0Oe+Dj9J/NBiLvmFI2UyPdQgJ7eRYxtU81ovQwVuGSWfnWDZro8 4c6w==
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=BccZQrZ9Xk9bczPEVA36PM0NgOh8D3x3T5Ikf2zIAWk=; b=dcwJyRQH0rRXNPadE2XTpArUskXzIao7CnyTJI577gE2o9qIXN72ICQKiw9uvD21gW 3SmiVwEVIZHOEx4eluW3bQKJejbW5aubT5MGm0N17VwohEB/QAArUgQPUZd/Os8sLdwk bVafZ56bwqqoJD8/cf+VzltF/w+ebd95DYL7BpnlbNn9pKpRbd4lJy3kZWRxTERKBqaf 1VZE5loIghJKMgijxCHBjr/r6XuxlXtlTWM46Bt60ZMR2BUFsuQobIr3+SPI3S5QeW7y fyxfa97oRtb79c9io3gMcthGS6vZ3p81FKF75AuxiTQg4c9rXszsmdYvp2lzMPTylw9N ibIg==
X-Gm-Message-State: AOAM53129lZJtulfSeqbAyFzJBYfu/+ZlJeEOsJ8OZLLw7C+k4xfPlcM 9f1D4JzEjZN1ihI+Svh2XIkJq3LLMGgKHRkxIowaFg==
X-Google-Smtp-Source: ABdhPJwy6xcuDQvWHN/l+UOwxtxdZ9KEurPC1q0aKHN5p8n+BiY48heoXvkXIguSAksyw3oZG8QbYeuh0ZfKV+VTwIA=
X-Received: by 2002:a17:906:4442:: with SMTP id i2mr13769184ejp.41.1613835159104; Sat, 20 Feb 2021 07:32:39 -0800 (PST)
MIME-Version: 1.0
References: <161366727749.10107.14514005068158901089@ietfa.amsl.com> <42668fb5-a355-e656-7d99-c40b3d33fb92@si6networks.com> <0e377231-c319-2157-30a0-759e2f96a692@gmail.com> <5f464f17-85ed-f105-35f9-02f35d04aed2@si6networks.com> <CALx6S364zGbq_HZNNVEaJHnHccuk4Zau2DXhmaVYbwnYQc-5bw@mail.gmail.com> <1847e8e3-543f-5deb-dd14-f7c7fa3677db@si6networks.com>
In-Reply-To: <1847e8e3-543f-5deb-dd14-f7c7fa3677db@si6networks.com>
From: Tom Herbert <tom@herbertland.com>
Date: Sat, 20 Feb 2021 08:32:28 -0700
Message-ID: <CALx6S34TPppMRJrOvyJ05LLeRvv+S51pQHJnzZDKk-qOdsF0AA@mail.gmail.com>
To: Fernando Gont <fgont@si6networks.com>
Cc: Brian E Carpenter <brian.e.carpenter@gmail.com>, Gorry Fairhurst <gorry@erg.abdn.ac.uk>, tsv-art@ietf.org, last-call@ietf.org, draft-ietf-v6ops-ipv6-ehs-packet-drops.all@ietf.org, IPv6 Operations <v6ops@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/last-call/WQJNj8lFdf4OAJmwqyQDT6E5cvM>
Subject: Re: [Last-Call] [v6ops] Tsvart last call review of draft-ietf-v6ops-ipv6-ehs-packet-drops-05
X-BeenThere: last-call@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Last Calls <last-call.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/last-call>, <mailto:last-call-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/last-call/>
List-Post: <mailto:last-call@ietf.org>
List-Help: <mailto:last-call-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/last-call>, <mailto:last-call-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 20 Feb 2021 15:32:43 -0000

On Fri, Feb 19, 2021 at 10:09 PM Fernando Gont <fgont@si6networks.com> wrote:
>
> Hi, Tom,
>
> On 19/2/21 18:13, Tom Herbert wrote:
> [....]>> xor add this:
> >>
> >>     [RFC7098] discusses how the IPv6 FLow Label can used to enhance layer
> >>      3/4 (L3/4) load distribution and balancing for large server farms.
> >>
> >> right after:
> >>      Thus, ECMP and Hash-based Load-
> >>      Sharing should be possible without the need to process the entire
> >>      IPv6 header chain to obtain upper-layer information to identify
> >>      flows.
> >>
> > I don't why this is only a "should".
>
> This is not a requirement. We're mostly indicating possibility.
>
>
> > Hashing of three tuple for load
> > balancing works as described as evident by the fact it is in wide
> > deployment (consider it's been in Linux stack for it's internal load
> > balancing for several years and there's now over a billion devices in
> > the world that do this).
>
> LB based on the FL relies on:
> * Appropriate implementation of the FL
> * Use of the FL in load balancers
>
> There has been (and still is) an interesting mix of cases where one or
> both of this simply do not happen.

Fernando,

On the other hand, there are use cases where it does work and is in
deployment; in fact, there are use cases where it's the *only* way to
do in flow classification on packets. The implicit requirement of this
draft here is that packets have port numbers in plain text, however
that is not possible in no-first fragments, tunnel mode IPsec,
tunnling protocols the routers don't understand, etc.

With regards to extension headers, the presumed problem isn't that the
port numbers are present, it's that some, not all, routers have
limited capabilities to parse over EHs to find the transport headers.
This is reflected in the statement: "If an IPv6 header chain is
sufficiently long that it exceeds the packet look-up capacity of the
router, the router might be unable to determine how the packet should
be handled, and thus could resort to dropping the packet." It's not to
me clear what "sufficiently long" means; in particular, such a
statement isn't helpful to the host stack developer trying to figure
out if the packets they're creating will be properly forwarded.  For
the purpose of providing use guidance to the host stack developers,
can you please clarify exactly what "sufficiently long" is?  For
instance, is it reasonable to expect that modern routers should be
able forward packets that contain sixty-four bytes of Destination
Options, or Routing Header, or HBH Options? Note that RFC8504 and
RFC8883 do discuss processing limits being exceeded in terms of the
protocol considerations (in fact, RFC8504 recommends a specific
default limits on the maximum number of HBH and DestOpt options a host
will process in order to mitigate the "DoS due to processing
requirements" issue raised in 7.4 of this draft).

Tom

>
> See e.g.: https://blog.apnic.net/2018/01/11/ipv6-flow-label-misuse-hashing/
>
> We're just the messenger here....
>
> Thanks,
> --
> Fernando Gont
> SI6 Networks
> e-mail: fgont@si6networks.com
> PGP Fingerprint: 6666 31C6 D484 63B2 8FB1 E3C4 AE25 0D55 1D4E 7492
>
>
>
>