Re: [Mud] DPP + MUD onboarding

"M. Ranganathan" <mranga@gmail.com> Fri, 10 January 2020 19:59 UTC

Return-Path: <mranga@gmail.com>
X-Original-To: mud@ietfa.amsl.com
Delivered-To: mud@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 3A30F120052 for <mud@ietfa.amsl.com>; Fri, 10 Jan 2020 11:59:42 -0800 (PST)
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_HELO_NONE=0.001, SPF_PASS=-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 zECKjFN90csz for <mud@ietfa.amsl.com>; Fri, 10 Jan 2020 11:59:39 -0800 (PST)
Received: from mail-io1-xd35.google.com (mail-io1-xd35.google.com [IPv6:2607:f8b0:4864:20::d35]) (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 CF2C812001A for <mud@ietf.org>; Fri, 10 Jan 2020 11:59:39 -0800 (PST)
Received: by mail-io1-xd35.google.com with SMTP id i11so3343157ioi.12 for <mud@ietf.org>; Fri, 10 Jan 2020 11:59:39 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to; bh=E2pIA/4DYf1Oa5nGnJHp+B+exjrR5exqGVD0L6hnnto=; b=pDcI+ee9UJprmrrnYhqYWISEM6z/dyUPCVilKcoAmk3z1gWi/Rdy0HVEkA3Kk9izs7 OmuPa8KA/bBXae1dde/n9/IHMXDkExKOcyAEvTW/Pb1AxKoHsuQALVwSc7jFLkiIYEAO Z8+D9m7qu8alGzl1j+JfSx94WrZdia9wo+IMuyvovZPUqew7g+cBGuVWJohYA3LsyVsn P5kIV6plGiOGWihKN2/ewMq5644MXxO4met4jl5eq0PCLSlCNMIUvihcWtnVdTZSoIOU sqLjn9kT7vEK1NmKaESyXSq3kpYh8y2ZrojsgG9wL/5Eo/OYr9Ns2H8jQ1E9XrxAXCaI oGog==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to; bh=E2pIA/4DYf1Oa5nGnJHp+B+exjrR5exqGVD0L6hnnto=; b=abf1f5sNljM7o9iUWmayfjYZ7nquUxO/iTmRnh6qvGMoh9DQuXwMYHv0d73qNL2eGv /eKiK863jdw8mNPXdkYsuHphgrzqZboBwKB7YJKlL9appEOjdHepsUOdfyJ8DsdaMHCk 0w9A3SI1laAxP5nrqAZt5M0erxi9DG1W0qu4qC4XItc9EDRouoMXstYCfyGjTASlcdyp UBVVzyGKI/XPpzkmcMxx5wScRM9vPMVnXRRFb8Y9ajVHG5f++LI/Lq7wCfTyJ55fbgT7 V9ZUsxbwBopAwXa6AuDCNdQvUXbG75mJoQtLNfKRxPZgE/938vMTYnPBr21R2QaUDooH 8XHQ==
X-Gm-Message-State: APjAAAVdU5hHCsGY2jYEiDD0b6x0pHYKuAqiJJ1nDAVuwHD11QLB7/MP odP7j9al5kUZLJ4l6eUbH6V8F9FoRSwiy0xFeexYkl9kBEQvqw==
X-Google-Smtp-Source: APXvYqyKSAfThsie3KrO8uRh4c2KN0D6QUmskB2+n+5CkNp80vhQexBqg7QTn0UZvJ8lbyL5OWglV8ECCEfIhfbRSbs=
X-Received: by 2002:a6b:6813:: with SMTP id d19mr4025733ioc.52.1578686378354; Fri, 10 Jan 2020 11:59:38 -0800 (PST)
MIME-Version: 1.0
References: <CAHiu4JOYnGQ0e8K3R2AOQResNvpf66mGQWA=bgTOF2TAE7LHRA@mail.gmail.com>
In-Reply-To: <CAHiu4JOYnGQ0e8K3R2AOQResNvpf66mGQWA=bgTOF2TAE7LHRA@mail.gmail.com>
From: "M. Ranganathan" <mranga@gmail.com>
Date: Fri, 10 Jan 2020 14:59:02 -0500
Message-ID: <CAHiu4JO4ttmysfSY3MSVvGf9-=Bv30OQ0sqvCapDF=fd9pMGpQ@mail.gmail.com>
To: mud@ietf.org
Content-Type: text/plain; charset="UTF-8"
Archived-At: <https://mailarchive.ietf.org/arch/msg/mud/pyKUCbqiKtBJWHMY5bA4m4314Qg>
Subject: Re: [Mud] DPP + MUD onboarding
X-BeenThere: mud@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Discussion of Manufacturer Ussage Descriptions <mud.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/mud>, <mailto:mud-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/mud/>
List-Post: <mailto:mud@ietf.org>
List-Help: <mailto:mud-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/mud>, <mailto:mud-request@ietf.org?subject=subscribe>
X-List-Received-Date: Fri, 10 Jan 2020 19:59:42 -0000

A few holes .. excuse the spam I need to think this through again.


On Fri, Jan 10, 2020 at 2:14 PM M. Ranganathan <mranga@gmail.com> wrote:
>
> I am tinkering with ideas on onboarding devices using DPP and device
> certificates.
>
> In DPP a trusted configurator onboards a device.  I added (prototyped)
> piggy backing device certificates to DPP config requests so the device
> transmits its full device certificate (not just raw public key) as
> part of the DPP config request. This certificate is verified by the
> configurator which is a trusted application assumed to have the CA
> certifcate and can be assumed to reside on the same network  as the
> MUD-enabled device.( This certificate transmission is not part of the
> DPP spec but I am hoping somebody picks up on it.)
>
> The question is how to transmit the MUD URLin a non-spoofable way
> given that the configurator is trusted, has possession of the public
> key of the device and has already onboarded the device. I want to
> avoid defining new API for the MUD controller.
>
> Does the following make sense?
>
> - Configurator broadcasts the public key and MAC address of the device
> being onboarded (which is part of the DPP onboarding URL) on the local
> network using a reserved port.
> - MUD server picks up this information.
> - MUD-enabled device sends *signed* MUD URL as part of the DHCP
> request (using options 161).
> - MUD server verifies signature and installs rules / blocks device if
> signature fails.
>
> Thank you for reading.
>
> Thoughts?
>
> Best regards and best wishes for 2020.
>
> Ranga
> --
> M. Ranganathan



--
M. Ranganathan