Re: [6tisch] Benjamin Kaduk's Discuss on draft-ietf-6tisch-minimal-security-13: (with DISCUSS and COMMENT)

Michael Richardson <mcr+ietf@sandelman.ca> Sat, 02 November 2019 21:50 UTC

Return-Path: <mcr+ietf@sandelman.ca>
X-Original-To: 6tisch@ietfa.amsl.com
Delivered-To: 6tisch@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CF4F5120013; Sat, 2 Nov 2019 14:50:58 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.199
X-Spam-Level:
X-Spam-Status: No, score=-4.199 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham 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 VzkJJpUmFRzX; Sat, 2 Nov 2019 14:50:56 -0700 (PDT)
Received: from tuna.sandelman.ca (tuna.sandelman.ca [IPv6:2607:f0b0:f:3:216:3eff:fe7c:d1f3]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9118E1200B4; Sat, 2 Nov 2019 14:50:56 -0700 (PDT)
Received: from sandelman.ca (obiwan.sandelman.ca [IPv6:2607:f0b0:f:2::247]) by tuna.sandelman.ca (Postfix) with ESMTP id CE63E3897A; Sat, 2 Nov 2019 17:48:04 -0400 (EDT)
Received: from localhost (localhost [IPv6:::1]) by sandelman.ca (Postfix) with ESMTP id 78B0E612; Sat, 2 Nov 2019 17:50:54 -0400 (EDT)
From: Michael Richardson <mcr+ietf@sandelman.ca>
To: Benjamin Kaduk <kaduk@mit.edu>
cc: Tero Kivinen <kivinen@iki.fi>, The IESG <iesg@ietf.org>, 6tisch-chairs@ietf.org, pthubert@cisco.com, draft-ietf-6tisch-minimal-security@ietf.org, 6tisch@ietf.org
In-Reply-To: <20191101234540.GS55993@kduck.mit.edu>
References: <157250308434.32464.3300056120615958441.idtracker@ietfa.amsl.com> <23995.18627.488068.508211@fireball.acr.fi> <20191101234540.GS55993@kduck.mit.edu>
X-Mailer: MH-E 8.6; nmh 1.7+dev; GNU Emacs 24.5.1
X-Face: $\n1pF)h^`}$H>Hk{L"x@)JS7<%Az}5RyS@k9X%29-lHB$Ti.V>2bi.~ehC0; <'$9xN5Ub# z!G,p`nR&p7Fz@^UXIn156S8.~^@MJ*mMsD7=QFeq%AL4m<nPbLgmtKK-5dC@#:k
MIME-Version: 1.0
Content-Type: multipart/signed; boundary="=-=-="; micalg="pgp-sha256"; protocol="application/pgp-signature"
Date: Sat, 02 Nov 2019 17:50:54 -0400
Message-ID: <25327.1572731454@localhost>
Archived-At: <https://mailarchive.ietf.org/arch/msg/6tisch/lHS-6KZh77fDYUjyyzE9JRK9i3g>
Subject: Re: [6tisch] Benjamin Kaduk's Discuss on draft-ietf-6tisch-minimal-security-13: (with DISCUSS and COMMENT)
X-BeenThere: 6tisch@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Discuss link layer model for Deterministic IPv6 over the TSCH mode of IEEE 802.15.4e, and impacts on RPL and 6LoWPAN such as resource allocation" <6tisch.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/6tisch>, <mailto:6tisch-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/6tisch/>
List-Post: <mailto:6tisch@ietf.org>
List-Help: <mailto:6tisch-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/6tisch>, <mailto:6tisch-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sat, 02 Nov 2019 21:50:59 -0000

Benjamin Kaduk <kaduk@mit.edu> wrote:
    > To be clear, the paragraph I commented upon was:

    > When sending frames during the join process, the pledge sends
    > unencrypted and unauthenticated frames.  The JP accepts these
    > unsecured frames for the duration of the join process.  This behavior
    > may be implemented by setting the "secExempt" attribute in the IEEE
    > Std 802.15.4 security configuration tables.  How the JP learns
    > whether the join process is ongoing is out of scope of this
    > specification.

    > I'd suggest a rewording/clarification to:

    > NEW:
    > When sending frames during the join process, the pledge sends
    > unencrypted and unauthenticated frames.  In order for the join process
    > to be possible, the JP must accept these unsecured frames for the
    > duration of the join process.  This behavior may be implemented by
    > setting the "secExempt" attribute in the IEEE Std 802.15.4 security
    > configuration tables.  It is expected that the lower layer provides an
    > interface to indicate to the upper layer that unsecured frames are being
    > received from a device, and that the upper layer can use that information
    > to make a determination that a join process is in place and the unsecured
    > frames should be processed.  How the JP makes such a determination and
    > interacts with the lower layer is out of scope of this specification.

I've used your changed text.
I believe that we had a discussion about the presence of the interface that
you reference. I believe that this is not mandated by older IEEE 802.15.4
API specifications.  However, many OSes (Contiki,RIOTOS,OpenWSN...) do not
actually use the IEEE APIs, so this limitation is not generally a problem.

--
Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
 -= IPv6 IoT consulting =-