Re: A long HBH Options question

Bob Hinden <bob.hinden@gmail.com> Tue, 21 August 2018 20:34 UTC

Return-Path: <bob.hinden@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 80F45130ED4 for <ipv6@ietfa.amsl.com>; Tue, 21 Aug 2018 13:34:26 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.999
X-Spam-Level:
X-Spam-Status: No, score=-1.999 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, FREEMAIL_FROM=0.001, RCVD_IN_DNSWL_NONE=-0.0001, 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 vp9ZfBEn7BdT for <ipv6@ietfa.amsl.com>; Tue, 21 Aug 2018 13:34:25 -0700 (PDT)
Received: from mail-pl0-x233.google.com (mail-pl0-x233.google.com [IPv6:2607:f8b0:400e:c01::233]) (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 32BB0130DF7 for <6man@ietf.org>; Tue, 21 Aug 2018 13:34:25 -0700 (PDT)
Received: by mail-pl0-x233.google.com with SMTP id a4-v6so5814055plm.13 for <6man@ietf.org>; Tue, 21 Aug 2018 13:34:25 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=Q9nPgLdwbTJWzHTrRDMByPgVzKJgPU85VJIvQz662e4=; b=kv/TBiZC1GuKyuOy0LliSbZycTXsbGxuWaEvIjD5wO76rEmx25rjhSUZSfi26bhJ1u buXD4uMH6oD6heZZVN/I28vLTCjVeNSjL0+kQAZZoL0yu/KlyhTAr3uE5uOhbeji2zWD Ub/QXkPF344TnvhnGFD9pYsGevaYORRvyd2zhvr7OAhSSXjF4uLNYzPHqslcYYwrQkXH GuxleSNS8RRfplnsYWidcTwFYVTmOoiWZVELu/JqDJOCN6AOXuhT5P1iGwCmHYYscXuT fSr9m+28LzbpYYrEJnSONjV+jmwTAQSORRDKc8dfGh/8HArQyI9FsOrcKJkrYBo0q9to xtjQ==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=Q9nPgLdwbTJWzHTrRDMByPgVzKJgPU85VJIvQz662e4=; b=YNzFm15X3es5fQ0WRNCxMM5y2XB5oKiK1jK+8Ti++vbetBDReY4rqZJ9wAJPSZLzQO auaNSrBr7dDe2gyEx0+Oy9U8iU1AtX2sWgTUy3xVQRPjZCfW2mVMwgInCOchw74P94s4 lmHDqPUaJc0pqPPSwDA6JcFFq3n5XryVJpNQW3SMF82kFxSLdtED2tnSQSnSCMufwvbr kHGcDVO29pEGuopiLj/GacHLQSIyBM3IYdh65qNAOJntZrDrzOYrrDDs66noDGZG79TD FvlCCUPnE/8+pz+SepNHXtYK+PoBFqPuCi7MmEkJl+Y3Gn7deMiTD8mqEzg0voh1Uzhn L7mQ==
X-Gm-Message-State: AOUpUlFvGx8DcLO1FfLQ+hnV3mns49KT57ZqRB66vSaJtSoTyHCMwhoj poO3cVcvl+a3I7HvQ7ucNn8=
X-Google-Smtp-Source: AA+uWPwcBJ0gpB6zrdqrxBz4xYMqUeOVI6FXr1jsuCy/lf9uQgoyPsQUAuXFMfh7QhM6q+DUPG+l8g==
X-Received: by 2002:a17:902:9a8a:: with SMTP id w10-v6mr50821033plp.14.1534883664826; Tue, 21 Aug 2018 13:34:24 -0700 (PDT)
Received: from [172.16.224.219] ([209.97.127.34]) by smtp.gmail.com with ESMTPSA id f18-v6sm24154153pff.29.2018.08.21.13.34.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 21 Aug 2018 13:34:24 -0700 (PDT)
From: Bob Hinden <bob.hinden@gmail.com>
Message-Id: <3CD59A07-4990-492A-9839-6C4D25A84273@gmail.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_421881C8-7AB7-40B7-B3C4-C38D4E7913F3"; protocol="application/pgp-signature"; micalg="pgp-sha512"
Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\))
Subject: Re: A long HBH Options question
Date: Tue, 21 Aug 2018 13:34:22 -0700
In-Reply-To: <CO1PR05MB443761AE84025D23B163738AE310@CO1PR05MB443.namprd05.prod.outlook.com>
Cc: Bob Hinden <bob.hinden@gmail.com>, "6man@ietf.org" <6man@ietf.org>
To: Ron Bonica <rbonica@juniper.net>
References: <CO1PR05MB443761AE84025D23B163738AE310@CO1PR05MB443.namprd05.prod.outlook.com>
X-Mailer: Apple Mail (2.3273)
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/s4BMLK4LNLrLtWfU0w41KNaprt0>
X-BeenThere: ipv6@ietf.org
X-Mailman-Version: 2.1.27
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, 21 Aug 2018 20:34:27 -0000

Ron,

> On Aug 21, 2018, at 12:16 PM, Ron Bonica <rbonica@juniper.net> wrote:
> 
> Folks,
> 
> According to RFC 8200:
> 
>  "The Option Type identifiers are internally encoded such that their
>   highest-order 2 bits specify the action that must be taken if the
>   processing IPv6 node does not recognize the Option Type:
> 
>      00 - skip over this option and continue processing the header.
> 
>      01 - discard the packet.
> 
>      10 - discard the packet and, regardless of whether or not the
>           packet's Destination Address was a multicast address, send an
>           ICMP Parameter Problem, Code 2, message to the packet's
>           Source Address, pointing to the unrecognized Option Type.
> 
>      11 - discard the packet and, only if the packet's Destination
>           Address was not a multicast address, send an ICMP Parameter
>           Problem, Code 2, message to the packet's Source Address,
>           pointing to the unrecognized Option Type."
> 
> Also according to RFC 8200:
> 
> "While [RFC2460] required that all nodes must examine and
>   process the Hop-by-Hop Options header, it is now expected that nodes
>   along a packet's delivery path only examine and process the
>   Hop-by-Hop Options header if explicitly configured to do so."
> 
> So, let's assume that:
> 
> - A packet contains an HBH option and the high-order bits of the HBH Option type are "10".
> - The packet traverses Router A and Router B on route to its destination
> - Router A is not configured to process HBH options
> - Router B is configured to process HBH options
> - Neither Router A nor Router B recognize the HBH option contained by the above-mentioned packet.
> 
> I think that RFC 8200 requires the following behavior:
> 
> - Router A forwards the packet to Router B, without examining the HBH Options header
> - Router B discards the packet, because it doesn't recognize the option.
> 
> Is this the required behavior? If so, does this behavior cause cognitive dissonance for anybody else?
> 
> I am thinking that the "act" bits are meaningless in the HBH extension header. This discussion may also be applicable to draft-herbert-ipv6-update-dest-ops.

If a router isn’t looking at HBH headers, they are indeed meaningless as is the HBH header itself.  If the router is processing HBH headers, then they have the defined meaning.

Not sure I understand what you are asking.

Bob