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

Alexandre Petrescu <alexandre.petrescu@gmail.com> Thu, 08 October 2020 19:15 UTC

Return-Path: <alexandre.petrescu@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 61D543A0C50 for <ipv6@ietfa.amsl.com>; Thu, 8 Oct 2020 12:15:24 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: 0.458
X-Spam-Level:
X-Spam-Status: No, score=0.458 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_ADSP_CUSTOM_MED=0.001, FORGED_GMAIL_RCVD=1, FREEMAIL_FROM=0.001, NICE_REPLY_A=-0.213, NML_ADSP_CUSTOM_MED=0.9, RCVD_IN_MSPIKE_H4=0.001, RCVD_IN_MSPIKE_WL=0.001, SPF_HELO_NONE=0.001, SPF_SOFTFAIL=0.665, URIBL_BLOCKED=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 bgJtt-OiJ5Ml for <ipv6@ietfa.amsl.com>; Thu, 8 Oct 2020 12:15:22 -0700 (PDT)
Received: from sainfoin-smtp-out.extra.cea.fr (sainfoin-smtp-out.extra.cea.fr [132.167.192.228]) (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 93A293A0C45 for <ipv6@ietf.org>; Thu, 8 Oct 2020 12:15:22 -0700 (PDT)
Received: from pisaure.intra.cea.fr (pisaure.intra.cea.fr [132.166.88.21]) by sainfoin-sys.extra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id 098JFKxN033411 for <ipv6@ietf.org>; Thu, 8 Oct 2020 21:15:20 +0200
Received: from pisaure.intra.cea.fr (localhost [127.0.0.1]) by localhost (Postfix) with SMTP id 7BD27207F22 for <ipv6@ietf.org>; Thu, 8 Oct 2020 21:15:20 +0200 (CEST)
Received: from muguet1-smtp-out.intra.cea.fr (muguet1-smtp-out.intra.cea.fr [132.166.192.12]) by pisaure.intra.cea.fr (Postfix) with ESMTP id 718602043F1 for <ipv6@ietf.org>; Thu, 8 Oct 2020 21:15:20 +0200 (CEST)
Received: from [10.11.240.44] ([10.11.240.44]) by muguet1-sys.intra.cea.fr (8.14.7/8.14.7/CEAnet-Internet-out-4.0) with ESMTP id 098JFKjb001521 for <ipv6@ietf.org>; Thu, 8 Oct 2020 21:15:20 +0200
Subject: Re: New Version Notification for draft-troan-6man-universal-ra-option-03.txt
To: ipv6@ietf.org
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> <m1kQ9tr-0000KEC@stereo.hq.phicoh.net> <9FB26236-5D9F-433C-8B79-B17F6D337664@employees.org> <818fb13b-5ddd-be02-40f4-e7f395c0bcca@gmail.com> <ACF262A8-82BC-43DB-8B07-449D829E70FC@fugue.com> <7086.1602180590@localhost>
From: Alexandre Petrescu <alexandre.petrescu@gmail.com>
Message-ID: <a526731f-667a-1ea7-e99a-448b83d19b4e@gmail.com>
Date: Thu, 08 Oct 2020 21:15:19 +0200
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:78.0) Gecko/20100101 Thunderbird/78.3.2
MIME-Version: 1.0
In-Reply-To: <7086.1602180590@localhost>
Content-Type: text/plain; charset="utf-8"; format="flowed"
Content-Language: fr
Content-Transfer-Encoding: 8bit
Archived-At: <https://mailarchive.ietf.org/arch/msg/ipv6/0r7MEreag8ZqJYzcUP3qkDtPSWc>
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: Thu, 08 Oct 2020 19:15:24 -0000


Le 08/10/2020 à 20:09, Michael Richardson a écrit :
> 
> Ted Lemon <mellon@fugue.com> wrote:
>> The reason you want a JSON-like encapsulation for data is that you
>> want to be able to send arbitrary data. If your protocol does not
>> need the ability to send arbitrary data, a JSON-like encapsulation
>> is always going to be more work, and more prone to security issues
>> when the validator isn’t quite right.
> 
> Assuming you only write one TLV parser, and one JSON parser, and you
> use them both once, then your comparison is valid.
> 
> How many TLV formats does the IETF have?  Seven? Ten?
> 
> How many are written with the same care as the CBOR (apples to apples
> here), parser? The goal here is not to enable embedded systems to
> parse RA option in python[%], but to enable new RA options to be
> passed through to *applications* (not kernels) that need them.

Here I disagree, Michael.

I think one of the reasons why SLAAC is so successful compared to DHCP
is that its Host part (the most numerous) is in the kernel.  YEs, a
monolithic large kernel, but still a kernel.  Everyone getting a unix
system gets SLAAC with it because it's in the kernel; the user apps are
all optional.

In that direction, I think to replicate that success for DHCP parts that
are absent from SLAAC is to move these parts into the kernel.  To that
end, we worked to put a DHCP-PD client implementation in the kernel
instead of being in the typical userspace.

As such, a direction where the config option is facilitated more to
userspace apps - what this draft and your direction of thought proposes
- is useless to the kernel implementations of DHCP-PD.

(and yes, I also know of directions that consider protocol overloads
like Mobile IP to be better away from kernel into userspace; and the
directions of 'micro-'kernel; despite that still I consider DHCP-PD
client in the kernel to be a good potential way for wider DHCP-PD adoption).

Alex

> 
> 
> [%] - but, micropython on all the Adafruit line of things. It's the
> Napster-like toolkit of IoT.
> 
> -- Michael Richardson <mcr+IETF@sandelman.ca>   . o O ( IPv6 IøT
> consulting ) Sandelman Software Works Inc, Ottawa and Worldwide
> 
> 
> 
> 
> 
> -------------------------------------------------------------------- 
> IETF IPv6 working group mailing list ipv6@ietf.org Administrative
> Requests: https://www.ietf.org/mailman/listinfo/ipv6 
> --------------------------------------------------------------------
>