Re: Comments on <draft-gont-6man-rfc6564bis-01>

Hagen Paul Pfeifer <hagen@jauu.net> Tue, 27 October 2015 17:32 UTC

Return-Path: <hagen@jauu.net>
X-Original-To: ipv6@ietfa.amsl.com
Delivered-To: ipv6@ietfa.amsl.com
Received: from localhost (ietfa.amsl.com [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 470D51A89F2; Tue, 27 Oct 2015 10:32:32 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.2
X-Spam-Level:
X-Spam-Status: No, score=-4.2 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3] autolearn=ham
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 pqVEBttQLNz6; Tue, 27 Oct 2015 10:32:29 -0700 (PDT)
Received: from mx1.mailbox.org (mx1.mailbox.org [80.241.60.212]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 61D611ACD18; Tue, 27 Oct 2015 10:32:26 -0700 (PDT)
Received: from smtp1.mailbox.org (smtp1.mailbox.org [80.241.60.240]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.mailbox.org (Postfix) with ESMTPS id DB06640038; Tue, 27 Oct 2015 18:32:24 +0100 (CET)
X-Virus-Scanned: amavisd-new at heinlein-support.de
Received: from smtp1.mailbox.org ([80.241.60.240]) by gerste.heinlein-support.de (gerste.heinlein-support.de [91.198.250.173]) (amavisd-new, port 10030) with ESMTP id KME7IeIl746y; Tue, 27 Oct 2015 18:32:23 +0100 (CET)
Date: Tue, 27 Oct 2015 18:32:23 +0100
From: Hagen Paul Pfeifer <hagen@jauu.net>
To: Brian E Carpenter <brian.e.carpenter@gmail.com>, Bob Hinden <bob.hinden@gmail.com>
Message-ID: <1162141237.6003.1445967143331.JavaMail.open-xchange@ox1app>
In-Reply-To: <562ECA7F.5010306@gmail.com>
References: <5ABE9F3B-FD35-4288-B7AE-A154A4DF384C@gmail.com> <20151024124803.GA4053@virgo.local> <372F6293-A02F-4ABA-B132-152E1B82DC07@gmail.com> <1858999608.4668.1445880199015.JavaMail.open-xchange@ox1app> <562ECA7F.5010306@gmail.com>
Subject: Re: Comments on <draft-gont-6man-rfc6564bis-01>
MIME-Version: 1.0
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Priority: 3
Importance: Medium
X-Oxguard-PGPSign: False
X-Mailer: Open-Xchange Mailer v7.6.2-Rev33
X-Originating-Client: open-xchange-appsuite
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/XVHZHsxVh0DyYx2tsHgBSbSk3jk>
Cc: IPv6 List <ipv6@ietf.org>, draft-gont-6man-rfc6564bis <draft-gont-6man-rfc6564bis@ietf.org>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
Precedence: list
Reply-To: Hagen Paul Pfeifer <hagen@jauu.net>
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, 27 Oct 2015 17:32:32 -0000

> On October 27, 2015 at 1:51 AM Brian E Carpenter
> <brian.e.carpenter@gmail.com> wrote:

Hey Brian

> That is 6 extension header types. There are 11 header types
> currently registered:
> http://www.iana.org/assignments/ipv6-parameters/ipv6-parameters.xhtml#extension-header
> .
> Where does the code handle the other 5, and in particular how does it
> handle the experimental values, whose structure is completely open?

The Linux Kernel must handle some types a little bit different. So for
example see
http://lxr.free-electrons.com/source/include/uapi/linux/in6.h#L130 and
click on IPPROTO_MH you will find the code how IP Mobility is implemented.
HIP and SHIM is not mainlined and not supported yet. Sure, a patch can
help to make these extension headers known to let the kernel ignore them.
If currently one of these extension header is received the packet will be
discarded. Maybe this is an indicator that HIP/SHIM is not widely adopted.
;-) Note: "received" means in particular the packet is locally delivered.
Let's skip the decision what happens to HIP/SHIM packets over netfiltered
forwarding paths.

The experimental range is not supported because it is impossible! This is
the central issue and it is addressed with this ID (among other things).
Supporting the "experimental range" is not possible because the kernel do
not know how the particular extension header is encoded! The kernel do not
know how to jump over unknown extension header. What is required is a
guarantee that a particular extension header is encoded in a pre-known
format. This is where draft-gont-6man-rfc6564bis comes into play.

1. Define a Universal Extension Header with a TLV like encoding where the
header size is always at the same position
2. Provide the Kernel a guarantee that a header is encoded with the
Universal Extension header

Hagen