Re: [Int-area] Comments on draft-ietf-intarea-frag-fragile-06

Tom Herbert <tom@herbertland.com> Wed, 30 January 2019 00:55 UTC

Return-Path: <tom@herbertland.com>
X-Original-To: int-area@ietfa.amsl.com
Delivered-To: int-area@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 2E376131056 for <int-area@ietfa.amsl.com>; Tue, 29 Jan 2019 16:55:16 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.041
X-Spam-Level:
X-Spam-Status: No, score=-2.041 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.142, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, RCVD_IN_DNSWL_NONE=-0.0001, URIBL_BLOCKED=0.001] 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 JUNHJVsgUTZ4 for <int-area@ietfa.amsl.com>; Tue, 29 Jan 2019 16:55:13 -0800 (PST)
Received: from mail-qk1-x734.google.com (mail-qk1-x734.google.com [IPv6:2607:f8b0:4864:20::734]) (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 A7745131052 for <int-area@ietf.org>; Tue, 29 Jan 2019 16:55:13 -0800 (PST)
Received: by mail-qk1-x734.google.com with SMTP id q1so12728454qkf.13 for <int-area@ietf.org>; Tue, 29 Jan 2019 16:55:13 -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:content-transfer-encoding; bh=iIw/fkPB4tjuo61Nr6c2VGxKNVelfZx7qv855xN6JBs=; b=BwQvDm7LUIMRJRYvF+gpFdPu0RXcmwKoglQAArcNqXwLTawATKxi/1RR1JSVyVuG88 XmoyBQgm/lclnOqgQlBs6W6DbECqEY8WzIO1izfL3P56Q1ussnCPEw2TRna8yFN/+mbT zH88NtD8+8pJvAI3/5ln5ZaPhU9S/e2pd7BTvsbrxPFkC6sEHcFIeD1qYh+UfQsYynkG p7w3bIZUIfCSYhqzfwgTm3pMNTzBg3ZuNShydgxTrNKDc7H6Z3GX2HPZfxhBCqHpacOT ERPHEBFLebpyLEAoIxz2saIQcF7A/xW1hEV27GSHdY2PLJWeF1QPgXU2QN4utmHDuKGW lMAQ==
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:content-transfer-encoding; bh=iIw/fkPB4tjuo61Nr6c2VGxKNVelfZx7qv855xN6JBs=; b=SUI4gWhE8b/4MP+NL9FqP+TkknpRjaLQlBYj4FBA6uRpHRY0rffnLcP4AQunxlwbXE Bn1brMjM4n6+UrwWLqV/iKRx9t8wXXX5Q2l3i4JBYJzyedYIE0xNY+iX95hk+da2m/0x +ElJFQ5sHyY1d7o3Uvx/+1GlMVqwvGUsmHgKrh++a6dbeYwpyd2RuV7ZEFcMQ94EXRKV d7EmPf5A9JvMMYUzOXxs9yPz7lwP9JprJsWroqvuPguyJ3tMzLtIa589WOxiia0bkqIy fxV9xg4wGdfcvDa2OOAZu11bXbH7Lr77XxdKz3+6gP6rDLJQqjZ2grn/WcBNQocfc59R 4MCA==
X-Gm-Message-State: AJcUukfxEUhjV99uIT05OY6hOY/5kFzZMwvc2wqp6INp92fm5N4ZbpQf 2FWMAZyap8rxvHbn0yq7dCNJeT8m0U24J+FB9BKskg==
X-Google-Smtp-Source: ALg8bN5JlajNEqUDRPlMJvkCVrf16mKExbOUexQqi2k63BJnAm5x/jGweKk1sxRI0agM7asUTGngSs3gXPK31IBnPCE=
X-Received: by 2002:a37:d4d9:: with SMTP id s86mr25746113qks.190.1548809712590; Tue, 29 Jan 2019 16:55:12 -0800 (PST)
MIME-Version: 1.0
References: <CALx6S35kwvHL5iE4Ci10LQbPzun3k1C-T4m5B55yAyL+nP4sdQ@mail.gmail.com> <3B29EAA5-5989-4A8F-857B-3DEF63A7FEA7@gmail.com>
In-Reply-To: <3B29EAA5-5989-4A8F-857B-3DEF63A7FEA7@gmail.com>
From: Tom Herbert <tom@herbertland.com>
Date: Tue, 29 Jan 2019 16:55:00 -0800
Message-ID: <CALx6S35JNTS3KGyv5iJHv65KAmJube==d-aQs6a-uPv9W57VkA@mail.gmail.com>
To: Fred Baker <fredbaker.ietf@gmail.com>
Cc: int-area <int-area@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: quoted-printable
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/sWq0KCoxttYOu_1VOqSeqnCWHF0>
Subject: Re: [Int-area] Comments on draft-ietf-intarea-frag-fragile-06
X-BeenThere: int-area@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IETF Internet Area Mailing List <int-area.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/int-area>, <mailto:int-area-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/int-area/>
List-Post: <mailto:int-area@ietf.org>
List-Help: <mailto:int-area-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/int-area>, <mailto:int-area-request@ietf.org?subject=subscribe>
X-List-Received-Date: Wed, 30 Jan 2019 00:55:16 -0000

On Tue, Jan 29, 2019 at 3:37 PM Fred Baker <fredbaker.ietf@gmail.com> wrote:
>
>
>
> > On Jan 29, 2019, at 11:45 AM, Tom Herbert <tom@herbertland.com> wrote:
> >
> > Hello,
> >
> > I have suggested text for the draft to address some previous comments
> > made on the list.
> >
> > Last paragraph in section 4.3:
> >
> > "This problem does not occur in stateful firewalls or Network Address
> > Translation (NAT) devices. Such devices maintain state so that they
> > can afford identical treatment to each fragment that belongs to a
> > packet.
>
> Do we have a list of such products? I'm unaware of one. Making a blanket statement such as this troubles me, because it seems to say that this is invariably true, and I don't know that it is or isn't.
>
> > Note, however, that stateful firewalls and NAT devices impose
> > the external requirement that all packets of a flow and fragments of a
> > packets for a flow must traverse the same stateful device; stateless
> > devices do not force this requirement."
>
> Here's an example of why blanket statements need to be qualified. If you take NPTv6 to be a form of NAT, it doesn't force route symmetry.
>
Fred,

Yes, but the statement is in the context of stateful NATs. I agree
that this section is murky, but I believe that's because it referring
to non-standard behaviors. It would be so much easier if we could just
reference the specification that says how stateful intermediate
devices are supposed to work.

> > Section 4.5:
> > "IP fragmentation causes problems for some routers that support Equal
> > Cost Multipath (ECMP). Many routers that support ECMP execute the
> > algorithm described in Section 4.4 in order to perform flow based
> > forwarding;
>
> As far as I know, routers that hash fields in the IP header to select a en ECMP next hop do so because all packets in a flow will hash the same way (modulo the issues with the transport port number), not because they are doing per-flow forwarding. The do so explicitly to avoid having to maintain per-flow state and yet make all fragments of a message follow the same path.

That's true for IPv4,the only way to do stateless ECMP and have
fragments follow the same path as non-fragments is to hash over the IP
addresses only. For IPv6 we can do better. The flow label allows finer
grained per-flow routing, but still only requires inspection of IP
header so keeping fragments in order just works.

Tom

>
> > therefore, the exhibit they same problematic behaviors
> > described in Section 4.4. In IPv6, the flow label may alternatively
> > used as input to the algorithm as opposed to parsing the transport
> > layer of packets to discern port numbers. The flow label should be
> > consistently set for a packets of flow including fragments, such that
> > a device does not need to parse packets beyond the IP header for the
> > purposes of ECMP."
> >
> > Add to section 7.3:
> >
> > "Routers SHOULD use IPv6 flow label for ECMP routing as described in [RFC6438]."
> >
> > _______________________________________________
> > Int-area mailing list
> > Int-area@ietf.org
> > https://www.ietf.org/mailman/listinfo/int-area
>
> --------------------------------------------------------------------------------
> Victorious warriors win first and then go to war,
> Defeated warriors go to war first and then seek to win.
>      Sun Tzu
>