Re: [Anima-bootstrap] section 5.1 -- redirection

"Max Pritikin (pritikin)" <pritikin@cisco.com> Mon, 17 October 2016 22:00 UTC

Return-Path: <pritikin@cisco.com>
X-Original-To: anima-bootstrap@ietfa.amsl.com
Delivered-To: anima-bootstrap@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 43CD112943F for <anima-bootstrap@ietfa.amsl.com>; Mon, 17 Oct 2016 15:00:34 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.952
X-Spam-Level:
X-Spam-Status: No, score=-14.952 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, RCVD_IN_DNSWL_HI=-5, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, RP_MATCHES_RCVD=-0.431, SPF_PASS=-0.001, USER_IN_DEF_DKIM_WL=-7.5] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=cisco.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 4G_oxKDwzt97 for <anima-bootstrap@ietfa.amsl.com>; Mon, 17 Oct 2016 15:00:32 -0700 (PDT)
Received: from alln-iport-8.cisco.com (alln-iport-8.cisco.com [173.37.142.95]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 9B14512947C for <anima-bootstrap@ietf.org>; Mon, 17 Oct 2016 15:00:32 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2430; q=dns/txt; s=iport; t=1476741632; x=1477951232; h=from:to:cc:subject:date:message-id:references: in-reply-to:content-id:content-transfer-encoding: mime-version; bh=ujZ91BFHElbahesEpTgKobp5vaRMa+4Pc65K5VlAOuQ=; b=EWP6w7nPfR54C7Z2wKIb5q7oRkCD/Fo0g1U7YQpRCoU3HwRVJNiT+8dr 9vS1qx41DAVeGHdzH3LilaPccuD+WZ5tIFvnevjps+BMLYBrir8x3EZ7F pwgBRPCGv5rU1Lq4NkzOW732sYpyEJdxvOmkN5s1jwMB3aF3+LDuuOlq9 Y=;
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0A6AQCBSQVY/51dJa1bGQEBAQEBAQEBAQEBBwEBAQEBgzwBAQEBAR1XfAeNLZcGlDiCCB0LgkSDNgKBbzgUAQIBAQEBAQEBXieEYQEBAQMBAQEBNzQLBQsCAQgYHhAnCyUCBA4FiEoIDsJKAQEBAQEBAQEBAQEBAQEBAQEBAQEBGAWIOoJYhDEWgzCCLwWaBgGQA491jHuDfwEeNlKEbXKIAYEAAQEB
X-IronPort-AV: E=Sophos;i="5.31,358,1473120000"; d="scan'208";a="336742186"
Received: from rcdn-core-6.cisco.com ([173.37.93.157]) by alln-iport-8.cisco.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 17 Oct 2016 22:00:24 +0000
Received: from xch-rcd-011.cisco.com (xch-rcd-011.cisco.com [173.37.102.21]) by rcdn-core-6.cisco.com (8.14.5/8.14.5) with ESMTP id u9HM0OgK030049 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=FAIL); Mon, 17 Oct 2016 22:00:24 GMT
Received: from xch-aln-013.cisco.com (173.36.7.23) by XCH-RCD-011.cisco.com (173.37.102.21) with Microsoft SMTP Server (TLS) id 15.0.1210.3; Mon, 17 Oct 2016 17:00:19 -0500
Received: from xch-aln-013.cisco.com ([173.36.7.23]) by XCH-ALN-013.cisco.com ([173.36.7.23]) with mapi id 15.00.1210.000; Mon, 17 Oct 2016 17:00:19 -0500
From: "Max Pritikin (pritikin)" <pritikin@cisco.com>
To: Michael Richardson <mcr+ietf@sandelman.ca>
Thread-Topic: [Anima-bootstrap] section 5.1 -- redirection
Thread-Index: AQHSKHz22l7b3DIF90W6zIPNiD6lZ6CthoqA
Date: Mon, 17 Oct 2016 22:00:19 +0000
Message-ID: <3F4BBD96-9E80-46DF-9E65-2A2DD9404138@cisco.com>
References: <7868.1476712024@obiwan.sandelman.ca>
In-Reply-To: <7868.1476712024@obiwan.sandelman.ca>
Accept-Language: en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-ms-exchange-messagesentrepresentingtype: 1
x-ms-exchange-transport-fromentityheader: Hosted
x-originating-ip: [10.99.106.9]
Content-Type: text/plain; charset="us-ascii"
Content-ID: <3E8FA33715939C4F9BD6A38F9DE833DB@emea.cisco.com>
Content-Transfer-Encoding: quoted-printable
MIME-Version: 1.0
Archived-At: <https://mailarchive.ietf.org/arch/msg/anima-bootstrap/XmeT_MM2iKOfclCMRkIZ46hxJm4>
Cc: anima-bootstrap <anima-bootstrap@ietf.org>
Subject: Re: [Anima-bootstrap] section 5.1 -- redirection
X-BeenThere: anima-bootstrap@ietf.org
X-Mailman-Version: 2.1.17
Precedence: list
List-Id: Mailing list for the bootstrap design team of the ANIMA WG <anima-bootstrap.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/anima-bootstrap/>
List-Post: <mailto:anima-bootstrap@ietf.org>
List-Help: <mailto:anima-bootstrap-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/anima-bootstrap>, <mailto:anima-bootstrap-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 17 Oct 2016 22:00:34 -0000

> On Oct 17, 2016, at 7:47 AM, Michael Richardson <mcr+ietf@sandelman.ca> wrote:
> 
> 
> Max, I'm doing the minutes, and I'm trying to explain the confusion we had
> over the various objects by connecting to the real text, and I came across this.
> 
> Section 5.1 includes the text:
> 
>   As indicated in EST [RFC7030] the bootstrapping server can redirect
>   the client to an alternate server.  If the New Entity authenticated
>   the Registrar using the well known URI method then the New Entity
>   MUST follow the redirect automatically and authenticate the new
>   Registrar against the redirect URI provided.  If the New Entity had
>   not yet authenticated the Registrar because it was discovered and
>   was not a known-to-be-valid URI then the new Registrar must be
>   authenticated using one of the two autonomic methods described in
>   this document.  Similarly the Registar MAY respond with an HTTP 202
>   ("the request has been accepted for processing, but the processing
>   has not been completed") as described in EST [RFC7030] section 4.2.3.
> 
> I'm trying to understand how/when the New Entity would authenticate the
> registrar using the well known URI.  Is this for some form of mitigation,
> where the new entity does not (can not) do all of the proxy steps and a human
> helps via craft console?  Or is this part of the rekey state machine?

Including a well known URI as the final discovery attempt allows the client state machine and code base to support a model where it is booted on an unsecured (unknown) network where nothing local responds to discovery attempts. This use case support any home or small-business style device that might use a cloud management model. 

The redirect is an implied case by using HTTP and, for EST, we were asked to indicate what the appropriate behavior would be. Here the same idea applies *plus* note that this allows an inversion of the proxy model for the above use case. The device reaches out to a cloud service first and gets redirected to a local service. 

- max

> 
> 
> --
> Michael Richardson <mcr+IETF@sandelman.ca>, Sandelman Software Works
> -= IPv6 IoT consulting =-
> 
> 
> 
> _______________________________________________
> Anima-bootstrap mailing list
> Anima-bootstrap@ietf.org
> https://www.ietf.org/mailman/listinfo/anima-bootstrap