Re: [Iotops] Error categories in constrained IoT authentication

Eliot Lear <lear@cisco.com> Tue, 23 February 2021 16:04 UTC

Return-Path: <lear@cisco.com>
X-Original-To: iotops@ietfa.amsl.com
Delivered-To: iotops@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id DAD113A2D0D for <iotops@ietfa.amsl.com>; Tue, 23 Feb 2021 08:04:54 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -9.601
X-Spam-Level:
X-Spam-Status: No, score=-9.601 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIMWL_WL_MED=-0.001, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, SPF_PASS=-0.001, URIBL_BLOCKED=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 6FSzQ1LrDgEe for <iotops@ietfa.amsl.com>; Tue, 23 Feb 2021 08:04:53 -0800 (PST)
Received: from aer-iport-1.cisco.com (aer-iport-1.cisco.com [173.38.203.51]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E4AED3A2D0B for <iotops@ietf.org>; Tue, 23 Feb 2021 08:04:52 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=2790; q=dns/txt; s=iport; t=1614096293; x=1615305893; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=/YiG4xOYxeXCket4dqDjWLoxM5kg7x1NX6YcybOXMlo=; b=h8gSdKxldNQTJ8+yIP1D8ugNUTNQxqK7xWfYbxWY7LkGcxKkCKCXAY9k Li+0nXa6foBO3yTZGea3QTVmWCbEx9z4Axt46sR7eVGRm9q8bjdoWwwjs TEI73hRnaEnJ5nfVRKmwBF8wuGS/m7ExB+2lO0buDtrVIOu/wYXdy6Kdt w=;
X-Files: signature.asc : 488
X-IPAS-Result: =?us-ascii?q?A0D4AAAiJzVglxbLJq1iHAEBAQEBAQcBARIBAQQEAQGCD?= =?us-ascii?q?4MhVgEnEjGEQYkEiFQDjxqNMAQHAQEBCgMBAR0LDAQBAYQJRAKBdyY4EwIDA?= =?us-ascii?q?QEBAwIDAQEBAQUBAQECAQYEFAEBAQEBAQEBhjYNhkQBAQEDAQEBISQnCwULC?= =?us-ascii?q?xgqAgInMAYTgmsBgmYgD65SdoEygzyCHIRcCgaBOIFTCYtmQoICgTgcgiIHL?= =?us-ascii?q?j6CXQEBAoE7AQGDNjSCKwSCXVEUCSYQGj4DgQJukDGMU4FymUmBFIMFgy+BP?= =?us-ascii?q?JctAx+TTI95sVgCLAxTg3MCBAYFAhaBayGBWTMaCBsVOyoBgj4+EhkNjjiIa?= =?us-ascii?q?oVGQAMvAgE1AgYBCQEBAwmMEwEB?=
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-AV: E=Sophos;i="5.81,200,1610409600"; d="asc'?scan'208";a="33665932"
Received: from aer-iport-nat.cisco.com (HELO aer-core-4.cisco.com) ([173.38.203.22]) by aer-iport-1.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 23 Feb 2021 16:04:48 +0000
Received: from [10.61.192.153] ([10.61.192.153]) by aer-core-4.cisco.com (8.15.2/8.15.2) with ESMTPS id 11NG4lkt018863 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Tue, 23 Feb 2021 16:04:48 GMT
From: Eliot Lear <lear@cisco.com>
Message-Id: <AFF64648-E1ED-43C3-AEC3-3F9B6FE73C48@cisco.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_E2FA619E-61AD-4762-B694-FEB3B4B3BB7E"; protocol="application/pgp-signature"; micalg=pgp-sha256
Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.60.0.2.21\))
Date: Tue, 23 Feb 2021 17:04:47 +0100
In-Reply-To: <08C9D759-335F-4AED-9A53-458834804998@ericsson.com>
Cc: Michael Richardson <mcr+ietf@sandelman.ca>, "iotops@ietf.org" <iotops@ietf.org>
To: =?utf-8?Q?G=C3=B6ran_Selander?= <goran.selander=40ericsson.com@dmarc.ietf.org>
References: <49569FF2-938B-4584-B290-F16558F352F5@ericsson.com> <27125.1613409584@localhost> <7FFB63D7-801D-4E8B-8257-BE9BCF7BA6BF@ericsson.com> <32317.1613496636@localhost> <08C9D759-335F-4AED-9A53-458834804998@ericsson.com>
X-Mailer: Apple Mail (2.3654.60.0.2.21)
X-Outbound-SMTP-Client: 10.61.192.153, [10.61.192.153]
X-Outbound-Node: aer-core-4.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/iotops/MbMbva_8_4ysQl_KejazrY6ZNVM>
Subject: Re: [Iotops] Error categories in constrained IoT authentication
X-BeenThere: iotops@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: IOT Operations <iotops.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/iotops>, <mailto:iotops-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/iotops/>
List-Post: <mailto:iotops@ietf.org>
List-Help: <mailto:iotops-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/iotops>, <mailto:iotops-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 23 Feb 2021 16:04:55 -0000

Hi Göran

I’m thinking that there are some errors that are ok and some that should remain generic, given that the message is transmitted in the clear.  CoAP-style error messages seem reasonable.

Eliot

> On 23 Feb 2021, at 12:08, Göran Selander <goran.selander=40ericsson.com@dmarc.ietf.org> wrote:
> 
> Thanks Michael, a question below.
> 
> On 2021-02-16, 18:30, "Michael Richardson" <mcr+ietf@sandelman.ca> wrote:
> 
>        mcr>     I think that there is a sweet spot where we could get enough
>        mcr> information to do further investigation, while not blasting useless
>        mcr> information around.
> 
>        GS> Exactly this was the intent with the draft error categories A-G in my
>        GS> previous mail. Are they doing a good job?
> 
>    mcr> They get close, but they only describe complete failures, and they may need
>    mcr> to announce intermediate progress, or even failures to even begin.
> 
> [GS]  Could you give some example of "failure to begin", and "announce intermediate progress" which illustrates missing top level categories?
> 
> * I can see that category D (access denied, credential valid but peer not allowed access) -  is announcing intermediate progress since it denies error of category C (credential error).
> 
> * Intermediate progress could also be incorporated in sub-categories. For example, if we define :
> 
> A.1 Syntax error
> A.2 Incorrect protocol field.
> 
> then A.2 indicates intermediate progress because to be able to determine incorrect protocol field at least some part of syntax needs to be correct.
> 
> Thanks
> Göran
> 
> --
> Iotops mailing list
> Iotops@ietf.org
> https://www.ietf.org/mailman/listinfo/iotops