Re: Turning routers into hosts (Re: Death by extension header (was:RE: New Version Notification for draft-li-6man-hbh-fwd-hdr-00.txt))

Brian E Carpenter <brian.e.carpenter@gmail.com> Tue, 14 July 2020 00:13 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 CF19E3A0E57 for <ipv6@ietfa.amsl.com>; Mon, 13 Jul 2020 17:13:56 -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 UNf5riLyBJBP for <ipv6@ietfa.amsl.com>; Mon, 13 Jul 2020 17:13:55 -0700 (PDT)
Received: from mail-pf1-x429.google.com (mail-pf1-x429.google.com [IPv6:2607:f8b0:4864:20::429]) (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 E3E7C3A0D17 for <6man@ietf.org>; Mon, 13 Jul 2020 17:13:38 -0700 (PDT)
Received: by mail-pf1-x429.google.com with SMTP id a24so1162668pfc.10 for <6man@ietf.org>; Mon, 13 Jul 2020 17:13:38 -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=1u37FSpZvf2fc1/jngY+7kzp0ixGeFcT4RjJP+0Ly7U=; b=m+UKNJHZyO0ssX0Om+e1UEG7AHnGIpFXUHQbERHZ2ZWjngcR+q6hSJSM08H0Qm7Y9L ViH82K86hsKrWUsgvFEdRx67aUF3Frz6Qf1VASYhUJ8R/ataLYYwa0Xfck8iQs2tJFmS RZrwmXrycfX2IqVW0dj6hU9mcoqmyrjshDqcz1SYqTUevNnH3qOm1HnG7+Hrv5I1LlVI bVWBin44DHNofpOX5w2OkbO/pQdi6rpc/pkqlWJ/kPDDWvc5Oi9p9mceJnknokck9f2Y tz/O1HcEApDfNBjYkTpK73OHA8MKZuwvlNr4ZcNwVxDaxLDb88db6Pf6+MER+ShqTwxe tqEQ==
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=1u37FSpZvf2fc1/jngY+7kzp0ixGeFcT4RjJP+0Ly7U=; b=d6LFmib1lYfs4chdtu8bwZ+5yPi0yBuPFjQnWavx2x/Oy8y/dS1FuWuHDzVXguiO27 XZdYT3pOJ9Ult/2Sy7EBs1gK9nO1zwCwhcMDEQOGXNunF/gz5hP79YSbN3OEBRxpp6Gi oqpotwvvSP1auwamUznwi7NzdgTt/PNxeaKCvRVLZ4TpHeCZEhHl/dMKQGEfGKSO691G D4VQma8a/huQ6XmlgUV5UHtbRMk+S+eDX83CZ7Dp22c7lDqCp3Ce2dyn2eHTmJyq45kz km2P4CBYUlEq4VxWydUwnVrWqpDzE6Mmi1/uoFlKKAG9rDOYUC0JfcCzYrr71HAD2+UN QIZw==
X-Gm-Message-State: AOAM530XbFr+sLM6L1feJr0L96AXgbxy0bg+Vyv+vA/ecvx/sG3Ol46v 4fcjXMpc7HVRC4/n66JJuNI=
X-Google-Smtp-Source: ABdhPJzVH1H9s3ftUUpw8ugGrBZnl9pgGPPDaBpH6q3ipkkycFXiYlfqWoq6FQ/dP9lP4Uo9HFFPWw==
X-Received: by 2002:aa7:938c:: with SMTP id t12mr2082067pfe.37.1594685618315; Mon, 13 Jul 2020 17:13:38 -0700 (PDT)
Received: from [130.216.37.170] (sc-cs-567-laptop.uoa.auckland.ac.nz. [130.216.37.170]) by smtp.gmail.com with ESMTPSA id q13sm612532pjc.21.2020.07.13.17.13.35 (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 13 Jul 2020 17:13:37 -0700 (PDT)
Subject: Re: Turning routers into hosts (Re: Death by extension header (was:RE: New Version Notification for draft-li-6man-hbh-fwd-hdr-00.txt))
To: Mark Smith <markzzzsmith@gmail.com>, Toerless Eckert <tte@cs.fau.de>
Cc: "6man@ietf.org" <6man@ietf.org>, Fernando Gont <fernando@gont.com.ar>
References: <CAO42Z2zMsYm8SaZM34z7Qm+90iFx75qQMo8=67=N7woqQEvO7w@mail.gmail.com>
From: Brian E Carpenter <brian.e.carpenter@gmail.com>
Message-ID: <52b31fcb-4160-97ca-ae0e-e855ca0af382@gmail.com>
Date: Tue, 14 Jul 2020 12:13:32 +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: <CAO42Z2zMsYm8SaZM34z7Qm+90iFx75qQMo8=67=N7woqQEvO7w@mail.gmail.com>
Content-Type: text/plain; charset="utf-8"
Content-Language: en-US
Content-Transfer-Encoding: 7bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/EoNceYrjAnfRAeaomNuaGINKyMA>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.29
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: Tue, 14 Jul 2020 00:14:02 -0000

On 14-Jul-20 09:23, Mark Smith wrote:
> On Tue, 14 Jul 2020 at 06:02, Toerless Eckert <tte@cs.fau.de> wrote:
>>
>> On Mon, Jul 13, 2020 at 03:00:44PM -0300, Fernando Gont wrote:
>>> On 10/7/20 15:32, Toerless Eckert wrote:
>>>> IMHO: See my email earlier in the thread about punting stuff to slow-path, especially when/before
>>>> you figure out that you should have just ignored something at linerarte.
>>>>
>>>> Aka: not sufficiently prescriptive RFCs + bad implementations == extension header based features killed in deployments.
>>>
>>> Indeed. And add to that that the EH structure itself seems to be rather
>>> unfriendly with some popular hardware architectures. (unless with "not
>>> sufficiently prescriptive RFCs" you are meaning to set the maximum EH-header
>>> chain length to some sane value that folks might agree to comply with).
>>
>> I think we might want to start with a draft collecting what we think to
>> kow about the problem and figure out if we can structure it accordingl
>> to make sense out of it to make progress that is not just incrementally fixing
>> one single bit.
>>
> 
> I think one of the first sections needs to be titled:
> 
> "Turning Routers into Hosts"

Are you sure you don't mean "Turning Routers into Packet Manglers"?

Regards,
   An author of RFC3234

> 
> because in-flight processing of packets' EHs, payloads etc, rather
> than just dumb, fast and simple forwarding them, is host processing of
> packets.
> 
> How to tell it's host processing?
> 
> - processing of packets requires going past the IPv6 fixed header
> 
> - in-flight processing would fail if everything but the fixed header
> was encrypted
> 
> - processing beyond the fixed (forwarding) header is occuring at a
> node that *doesn't* hold the packet's destination address:
> 
> 
> RFC8200:
> 
> router       a node that forwards IPv6 packets not explicitly
>                 addressed to itself.  (See Note below.)
> 
>    host         any node that is not a router.  (See Note below.)
> 
> (Note is about a node's interfaces being forwarding or not)
> 
> 
> In this discussion and similar, people are really discussing paths
> between a packet's original source and a final destination constructed
> of a set of packet host processing hops.
> 
> 
> Regards,
> Mark.
> 
> 
> 
>> Cheers
>>     Toerless
>>
>> --------------------------------------------------------------------
>> IETF IPv6 working group mailing list
>> ipv6@ietf.org
>> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
>> --------------------------------------------------------------------
> 
> --------------------------------------------------------------------
> IETF IPv6 working group mailing list
> ipv6@ietf.org
> Administrative Requests: https://www.ietf.org/mailman/listinfo/ipv6
> --------------------------------------------------------------------
>