comments on draft-baker-6man-hbh-header-handling-03

神明達哉 <jinmei@wide.ad.jp> Tue, 03 November 2015 06:48 UTC

Return-Path: <jinmei.tatuya@gmail.com>
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 973541B2EB7 for <ipv6@ietfa.amsl.com>; Mon, 2 Nov 2015 22:48:07 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.978
X-Spam-Level:
X-Spam-Status: No, score=-0.978 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, FM_FORGED_GMAIL=0.622, FREEMAIL_FROM=0.001, MIME_8BIT_HEADER=0.3, SPF_PASS=-0.001] autolearn=no
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 cTsmg00dsJ_J for <ipv6@ietfa.amsl.com>; Mon, 2 Nov 2015 22:48:06 -0800 (PST)
Received: from mail-ig0-x236.google.com (mail-ig0-x236.google.com [IPv6:2607:f8b0:4001:c05::236]) (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 6A8891AC3B6 for <ipv6@ietf.org>; Mon, 2 Nov 2015 22:48:06 -0800 (PST)
Received: by igpw7 with SMTP id w7so63125870igp.1 for <ipv6@ietf.org>; Mon, 02 Nov 2015 22:48:05 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:date:message-id:subject:from:to:content-type; bh=1Er8xxRnpaTVBGekgT9ecXjuq584bjvKGXbyoDDqV+0=; b=Ii7J1WoRS4BcQRVp7uTI0eBzfS6XKTpCIEFH+N79ukCkYxZjFlD2htsfR+IpsvEfF0 g3ZhOp69XfhVNvTjRbor0WdYh7Yzpa8iVu3yUoPCNJL6QUyLXWtGKDoxP3qN3KB+Y7TH PuBWoKBjdKmePpSBrhBW6KLScSJTFnQVgM1cE86LvmmT5LpxNbrWmz13cuwehoNtQ2La igbdhE+7vc5EFKZOy+sgwHBMQhiQ0aAqP1OmOz67nC1hPm5v2iL3oGwU7fmZJb3F1HFF RpGcXIZd55W5oPBrkASyMbFwokOAAzKVyjgJVM+TfiE8Y5eG+4hYUh1DSDhMMWHwbwFM yOwg==
MIME-Version: 1.0
X-Received: by 10.50.43.161 with SMTP id x1mr14259970igl.64.1446533285870; Mon, 02 Nov 2015 22:48:05 -0800 (PST)
Sender: jinmei.tatuya@gmail.com
Received: by 10.107.140.71 with HTTP; Mon, 2 Nov 2015 22:48:05 -0800 (PST)
Date: Tue, 03 Nov 2015 15:48:05 +0900
X-Google-Sender-Auth: X1NprVZdn5gmn5acfAb-d8qgWUM
Message-ID: <CAJE_bqd4nN2jT-CrjTsk5--Ov7PN2HDn+zPDUq=NfAhUf6TR5Q@mail.gmail.com>
Subject: comments on draft-baker-6man-hbh-header-handling-03
From: 神明達哉 <jinmei@wide.ad.jp>
To: IPv6 IPv6 List <ipv6@ietf.org>
Content-Type: text/plain; charset="UTF-8"
Archived-At: <http://mailarchive.ietf.org/arch/msg/ipv6/l--4ACYhjKrc1UA5jTY9qKDDxyg>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.15
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, 03 Nov 2015 06:48:07 -0000

I've read draft-baker-6man-hbh-header-handling-03 and have a few (I
guess minor) comments:

- Section 2.2

   As a side comment, the Routing Header, which is an extension header
   rather than a list of options, is treated similarly; when a system is
   the destination of a packet and not the last one in the Routing
   Header's list, it swaps the destination address with the indicated
   address in the list, and updates the hop count and the list depth
   accordingly.

To be very accurate (and in my understanding), this level of behavior
depends on the type of the routing header.  Now-deprecated type-0
routing header certainly behaves this way, but I guess other types of
routing header may not necessarily behave as described above, as long
as it meets the general rules defined in RFC2460.

- Section 2.2

   Such options must be marked appropriately (their option type is of
   the form XX1XXXXX), and are excluded from checksum calculations in AH
   and ESP.

If this draft focuses on hop-by-hop options, this sentence is not 100%
accurate or at least a bit confusing, since the HbH options header is
excluded from ESP's integrity check.

The same comment applies to Section 2.3 (regarding HbH options
header).

- Section 2.3

   Use cases under current consideration take this a step further: a
   router or middleware process MAY add an extension header, [...]

I suspect this violates the latest clarification in rfc2460bis:

   Extension headers must never be inserted by any node other than the
   source of the packet.

BTW, I'm not sure how I should interpret "middleware process".  Does
this mean some kind of shim layer on the sending node?  If so, in that
case we may be able to say it 'MAY add an extension header', but
without a clear definition of this term I'm not sure if it's correct.

--
JINMEI, Tatuya