Re: New Version Notification for draft-troan-6man-universal-ra-option-03.txt

Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com> Wed, 07 October 2020 13:54 UTC

Return-Path: <pch-b9D3CB0F5@u-1.phicoh.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 B979A3A08CD for <ipv6@ietfa.amsl.com>; Wed, 7 Oct 2020 06:54:45 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.624
X-Spam-Level:
X-Spam-Status: No, score=-1.624 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, KHOP_HELO_FCRDNS=0.274, SPF_HELO_NONE=0.001, SPF_NONE=0.001] autolearn=no autolearn_force=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 YTkv_bcuNrSB for <ipv6@ietfa.amsl.com>; Wed, 7 Oct 2020 06:54:44 -0700 (PDT)
Received: from stereo.hq.phicoh.net (stereo6-tun.hq.phicoh.net [IPv6:2001:888:1044:10:2a0:c9ff:fe9f:17a9]) (using TLSv1.2 with cipher ECDHE-RSA-CHACHA20-POLY1305 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 352053A08C0 for <ipv6@ietf.org>; Wed, 7 Oct 2020 06:54:44 -0700 (PDT)
Received: from stereo.hq.phicoh.net (localhost [::ffff:127.0.0.1]) by stereo.hq.phicoh.net with esmtp (TLS version=TLSv1.2 cipher=ECDHE-RSA-CHACHA20-POLY1305) (Smail #157) id m1kQ9tr-0000KEC; Wed, 7 Oct 2020 15:54:35 +0200
Message-Id: <m1kQ9tr-0000KEC@stereo.hq.phicoh.net>
To: ipv6@ietf.org
Subject: Re: New Version Notification for draft-troan-6man-universal-ra-option-03.txt
From: Philip Homburg <pch-ipv6-ietf-6@u-1.phicoh.com>
Sender: pch-b9D3CB0F5@u-1.phicoh.com
References: <160201571921.22183.2288394613501535041@ietfa.amsl.com> <FAA42031-FAF9-4F1E-A702-3B4F27375F4F@employees.org> <m1kQ8qM-0000FiC@stereo.hq.phicoh.net> <066A5931-E009-4610-B679-86A8F495A131@employees.org>
In-reply-to: Your message of "Wed, 7 Oct 2020 15:32:28 +0200 ." <066A5931-E009-4610-B679-86A8F495A131@employees.org>
Date: Wed, 07 Oct 2020 15:54:34 +0200
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/hPyWFc-j59KlzmvU6WN33kEF434>
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: Wed, 07 Oct 2020 13:54:46 -0000

> The idea of the encoding is to use a higher level more modern level
> abstraction.  Parsing implementation would be done once for all
> possible options, and most likely an implementor of the general
> option could use existing libraries for that.

This means extra code which could be an issue for embedded systems. For 
systems that process RAs in the operation system kernel, this may mean linking
with a library that potentially causes remotely expoitable security holes.

> So while the work of supporting the option infrastructure in itself
> is more work than the simple TVL option, adding new data to the
> option has very little overhead.  The architectural change that
> this brings, is that no longer is changes to router operating
> systems or the host stack kernel required.  

I don't think something like CBOR is required for this. A router can have
a setup where an external service supplies options. 

The DHCP world never felt the need to come up with a high level encoding and
DHCP has a huge number of options.

> > However, the complete syntax for an option still needs the names of fields,
> > use of arrays and dicts, etc.
> 
> Right, that's modelled in CDDL in the IANA registry.

I don't think it is progress to publish protocols in the IANA registry.
The IANA registry should be for code points (private or public) and data
extracted from RFCs.

I think it would be really bad if IANA would be the sole place where 
essential RAs options are decribed. 

> Why would an option be "standards track"? Nothing prohibiting
> standards track for a universal configuration option either, but
> the proposal here is that only expert review is required to define
> new options.

To give a couple of examples:
1) For some reason we don't have a DHCPv6 option for default router. This is
   commonly requested, is not a particularly complex option, and DHCPv6 
   has plenty of code points. This is a discussion we should have out in the
   open, but as some expert review for an IANA registry.

2) We have a DHCPv6 IA_PD with poorly defined semantics. Again, a simple
   option but with complex semantics. This is again a case where we should
   have a public discussion.

3) We had an endless discussion about an 'IPV4-only' option. Again this 
   requires more discussion than just a bit of expert review.

I think that all options that we want to rely on in other RFCs should be
standards track. Yes, if some vendor has a private light bulb protocol, it
should be easy to get a code point for that. But anything that is required
for most routers or hosts should have rough consensus.