Re: [Int-area] WGLC on draft-ietf-intarea-frag-fragile-05

Tom Herbert <tom@herbertland.com> Thu, 17 January 2019 16:59 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 DBE2A130E77 for <int-area@ietfa.amsl.com>; Thu, 17 Jan 2019 08:59:08 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.042
X-Spam-Level:
X-Spam-Status: No, score=-2.042 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] 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 2dBEoa8LfieN for <int-area@ietfa.amsl.com>; Thu, 17 Jan 2019 08:59:07 -0800 (PST)
Received: from mail-qt1-x835.google.com (mail-qt1-x835.google.com [IPv6:2607:f8b0:4864:20::835]) (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 C210B130E8E for <int-area@ietf.org>; Thu, 17 Jan 2019 08:59:06 -0800 (PST)
Received: by mail-qt1-x835.google.com with SMTP id l12so12045713qtf.8 for <int-area@ietf.org>; Thu, 17 Jan 2019 08:59:06 -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=zqYliTgBQWYhqxIPWzVt9Ng7tx/B9u/7X8o8XUIZj68=; b=uagIcDiCVvfKjvGxgSEAPw+Z/RgDXaLK5szoy/eOakQPdOCuwLF/YOeZ+dwaKdPK0K SLhv46TXxHoY9It+FalGA2xmPlHyXFrPMhdJ/SL+bV8/1O+YqQZIxACyR0ug+wyi4s4L G2GkK/EwbAuDaCTl3PB61OVvZj83bf2xoYa3D3F+ybAkR4ZTaR8oKk0AnDjcVbhWCGHp p07VaIvGB0rU8iotaJe2Zcj7DzcX05Nw+FFfGm00u3p1qoSBYq6xFlS/g0vlr19PW6ih z1oiBr7BbzIQbkPvgAJ4/MWRRGCHF1RE/wOPnTcqKyoAk8zOM4lwHBaQxODNVv2YRvPL ANhA==
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=zqYliTgBQWYhqxIPWzVt9Ng7tx/B9u/7X8o8XUIZj68=; b=JcIb6rYhzRhuBhNExSpOOtsqDkhg7lITX5qR/o7qCNLcXwVINnsH6V4/83DJ3gAXtK OUmH9vdHxoPGw0I/yiWbd6AINsLDeCUePwYUmjhVQobs173trng8UEJmBxG+KJRv0OQa zkOZCNbyA+4ptgKxvB7aehKBOqhDKkx0U1g5sa2ML/kKCjV/RLOzXeUaUzit9TynK3f3 4Iuwib/GxOC8pSEZtZ30zbxFnZeUTdCCrnRmI5e0SZidOqa+J6KWCBfFju/0rvcXFdqv wHO3kramdmRK0CIgBWS5Xrfy+TbI7eeqYCJFLjhctfb3D+snQ6t2OnXcm8KVJ6i+z8hZ sLjw==
X-Gm-Message-State: AJcUukdXovWma5veUSQ8X5PefF2SkybVvTRcB3aUxLcVo49z+Zk4/Pu6 h7CNA1FYUAFskKWhx0HVGG+idxn9bUvUvzS5g7QYRRl0
X-Google-Smtp-Source: ALg8bN7c5WHQwUBPmGE084LxuAaLGpUAdwUJQxjam/Ka7NoLHrV1Ke13P0bs9TYWKwdDpO5GFycyaJD+DbEODxufxlU=
X-Received: by 2002:a0c:f584:: with SMTP id k4mr12169598qvm.22.1547744345631; Thu, 17 Jan 2019 08:59:05 -0800 (PST)
MIME-Version: 1.0
References: <D060DC26-15C7-4D3F-A3C5-641072C75CC5@ericsson.com> <4a283194-98f5-8f38-211a-29cfbc4c9c3e@joelhalpern.com> <CALx6S36btHxs0UTjahSMXEmOgfnQMAD+xYVFam=vKvQQfvOVdQ@mail.gmail.com> <984bfc0f-8e48-ca87-8f5c-064ae290bb0e@strayalpha.com> <CALx6S36bvohww=X8T_Yc7MmVWnD04hFmgvfW2VEEa-F-kTPERQ@mail.gmail.com> <31109D45-3F4A-45A5-99B9-386B045CF81B@strayalpha.com> <CALx6S35jigE3YapYN8uPg7bP_FPfA71iyDApF8D_AJZK_jAu_w@mail.gmail.com> <90788fb5f4ab20c1c262a40baf1db11d@strayalpha.com>
In-Reply-To: <90788fb5f4ab20c1c262a40baf1db11d@strayalpha.com>
From: Tom Herbert <tom@herbertland.com>
Date: Thu, 17 Jan 2019 08:58:53 -0800
Message-ID: <CALx6S373eVDkwfZfbBT7wcOi4H-iV7a7eRA4Oe+WjVw7UDdDtA@mail.gmail.com>
To: Joe Touch <touch@strayalpha.com>
Cc: "Joel M. Halpern" <jmh@joelhalpern.com>, "internet-area@ietf.org" <int-area@ietf.org>, intarea-chairs@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/int-area/N1yEBHXRwrgBf1F2gW18cCDmmt8>
Subject: Re: [Int-area] WGLC on draft-ietf-intarea-frag-fragile-05
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: Thu, 17 Jan 2019 16:59:10 -0000

On Thu, Jan 17, 2019 at 8:24 AM Joe Touch <touch@strayalpha.com> wrote:
>
> Hi, Tom,
>
> On 2019-01-17 07:27, Tom Herbert wrote:
>
> On Thu, Jan 17, 2019 at 7:06 AM Joe Touch <touch@strayalpha.com> wrote:
>
>
> Hi Tom,
>
> On Jan 17, 2019, at 6:55 AM, Tom Herbert <tom@herbertland.com> wrote:
> ...
>
> As I mentioned, in-network reassembly has not been specified, only
> reassembly at end destinations has been.
>
>
> Hint - if a packet arrives on your interface with your IP address, you ARE a host.
>
> Joe,
>
> Conversley, if a packet arrives on your interface that isn't destined
> to your IP address, you ARE NOT a host.
>
>
> Correct. Note that the association of host with traffic counts for both transmission and reception, though.
>
>
>
> I suspects that
> implementations of in-network reassembly commonly make two incorrect
> assumptions:
>
>
> The first one is above...
>
>
> 1) All fragments of a packet traverse the network device performing reassembly
> 2) The first fragment is always received first
>
> Neither of these assumptions are valid for IP.
>
>
> Agreed, but again, there are three incorrect assumptions. The first is that a NAT isn't a host, and too often that's the one that causes the above two to actually cause pain.
>
> If NAT is a host, then it is only a host in the return path. Packets
> sent from the client behind a NAT have destinations addresses that are
> not those of the the NAT device. If a device is performing host
> procedures on such packets, like reassembly, then it is being done
> outside the auspices of the standard.
>
>
>
> Not quite. The return path is certainly easier to see, but the forward path doesn't *relay* the incoming packets; it consumes them. Which is what a host does.
>
> The outgoing packets are emitted with the source IP of the NAT. So in the forward direction, strictly, only the *content* is relayed.
>
> If that content is modified (i.e., address/port rewriting) or inspected, then that device is acting as a host.
> If the outgoing HOST packets depend on something of the incoming ones, then that device is also acting as a host.
>
>
>
> In any case, this isn't a NAT specific issue. Stateful firewalls
> regularly process packets for which they aren't the destination.
>
>
> And they are similarly bound by the rules of being a host *when they do*.
>
Joe,

That's impossible. The first rule is that a host is defined as a node
to which packets are addressed. Intermediate nodes performing host
processing on packets that don't have their address have already
violated rule #1. If they're keeping flow state in the network
(connection state or reassembly), then that inevitably forces the
requirement that packets have to be routed through a particular node
in order for state to be maintained. This is not a problem hosts have,
and it's not required in IP that packets of a flow have to always take
the same path to a destination. Without additional requirements on
deployment, stateful devices break multi-path.

So if these devices need to *emulate* host behaviors then there really
should be a specification to that effect. It's not enough to simply
say they have to follow host requirements. They can't and they clearly
impose additional requirements.

Tom

> The Internet requirements work just fine; its the devices that aren't following them.
>
> Joe
>
>