Re: [Ace] draft-ietf-ace-mqtt-tls-profile-03

Cigdem Sengul <cigdem.sengul@gmail.com> Tue, 25 February 2020 14:10 UTC

Return-Path: <cigdem.sengul@gmail.com>
X-Original-To: ace@ietfa.amsl.com
Delivered-To: ace@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id ECC113A0D99 for <ace@ietfa.amsl.com>; Tue, 25 Feb 2020 06:10:22 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -2.097
X-Spam-Level:
X-Spam-Status: No, score=-2.097 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, URIBL_BLOCKED=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 Hhl6-WCayKwe for <ace@ietfa.amsl.com>; Tue, 25 Feb 2020 06:10:21 -0800 (PST)
Received: from mail-vs1-xe29.google.com (mail-vs1-xe29.google.com [IPv6:2607:f8b0:4864:20::e29]) (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 6B22A3A0D94 for <ace@ietf.org>; Tue, 25 Feb 2020 06:10:21 -0800 (PST)
Received: by mail-vs1-xe29.google.com with SMTP id b79so8028676vsd.9 for <ace@ietf.org>; Tue, 25 Feb 2020 06:10:21 -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 :cc; bh=cCiQg+q/Wq1nVGeu5w4ucLfG3qWsFNosaAR6bb93uVs=; b=gL608rJ9HWR+/U6R8Jei9vzS3PXjesQJdtEZ9XHNIXKp5c6AVTDJQzrhuvP6dJja0l U6HqRAemkFt/hcLLm5li5fuIHDXbVKU6107KmV8W7P4yPCp7EsuWfeoWr5xV/J51Vs9k UAkRc7fq3SqkvFBP0pKHFojAyPjBRKyWjytg4SM6yOZL695IquCfyoThfRWkOslMq3M+ SgrOkU48qfiHJ0u5NTFtXEhWNNr0AjMFPiHXdQ45+Ra4NC3BAbkMhDb2RcqG8aIkEAwl rkhDeJxRjL6WEbo4jm6Gmou2T4mz9zlwBI2eYubuVdqkTd6C6G4h54eCgPXDkWps6e+s Jo4g==
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:cc; bh=cCiQg+q/Wq1nVGeu5w4ucLfG3qWsFNosaAR6bb93uVs=; b=ojhbnNRyNZcqan1+Esx77qhqcIRDA6O//fdWDlMCP2M9C/jjGR9Rp4TVG+MjFTirUR 2DgRxsJxj1bMg+X6nTp5UW0JG5NPFQlrzYaVwesqB2/RXZNBsTxAp2ygR7DIO+X3IiXl q4uG0+koSdSVo+otln3QDdh21ayjzy9f4E1NfHqJyqTzgSKLefisopj9oB11nPnDV8tj g8IJ1l+Y4qWAE2WMljOXm/puZ0lg2YnFDNQMcmmJytpaLcin76g/2Mni1vBabaYv9fbi sM9GhvXAhYRrhQVRmwKhZsRZCFto3sASyYVV1zRuuGsS6ebcJB8JqE4SSkFKPP1cX8ce 6Udw==
X-Gm-Message-State: APjAAAURds06yVK17gkZaajWa0X3tYmkt1un4nG7w1Ck4HYOTWo3DQiv Ayh+SC6NDJ+LhWIzIY1Jc9G6VS27zd1v66OLn44=
X-Google-Smtp-Source: APXvYqxxirbPtkFzNUbLFq69cBTBcKlxSxgqNW/ry1M2RVF3KuFkGdHS6rhNZMNp+T2nWS7YefoF3Yy/0wjoshJi3w4=
X-Received: by 2002:a67:fd63:: with SMTP id h3mr31702926vsa.221.1582639820355; Tue, 25 Feb 2020 06:10:20 -0800 (PST)
MIME-Version: 1.0
References: <AM0PR08MB371601D0F66969D7ECB504AAFAED0@AM0PR08MB3716.eurprd08.prod.outlook.com>
In-Reply-To: <AM0PR08MB371601D0F66969D7ECB504AAFAED0@AM0PR08MB3716.eurprd08.prod.outlook.com>
From: Cigdem Sengul <cigdem.sengul@gmail.com>
Date: Tue, 25 Feb 2020 14:10:10 +0000
Message-ID: <CAA7SwCOnY1K=b=fYYMHH57ho0rFZRmN+EuT1K7qt7qxtN3fghw@mail.gmail.com>
To: Hannes Tschofenig <Hannes.Tschofenig@arm.com>
Cc: "ace@ietf.org" <ace@ietf.org>
Content-Type: multipart/alternative; boundary="0000000000004cbf10059f670ce9"
Archived-At: <https://mailarchive.ietf.org/arch/msg/ace/i2h3LOGNKgCLrirGK4mB0DRmdB0>
Subject: Re: [Ace] draft-ietf-ace-mqtt-tls-profile-03
X-BeenThere: ace@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Authentication and Authorization for Constrained Environments \(ace\)" <ace.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ace>, <mailto:ace-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ace/>
List-Post: <mailto:ace@ietf.org>
List-Help: <mailto:ace-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ace>, <mailto:ace-request@ietf.org?subject=subscribe>
X-List-Received-Date: Tue, 25 Feb 2020 14:10:23 -0000

Hello Hannes,

We used  broker as it is a widely accepted term in the MQTT Community for
"server" e.g.,
majority of the provider would list also a broker implementation to refer
to their server implementation.

With respect to whether 3.1,1 clients talking to v5, there may be some
issues. This is what the spec says:


*Non-normative Comment*

If the Server distributes Application Messages to Clients at different
protocol levels (such as MQTT V3.1.1) which do not support properties or
other features provided by this specification, some information in the
Application Message can be lost, and applications which depend on this
information might not work correctly.


The spec also defines a protocol version error message:

If the [Client's] Protocol Version [in the CONNECT packet] is not 5 and the
Server does not want to accept the CONNECT packet, the Server MAY send a
CONNACK packet with Reason Code 0x84 (Unsupported Protocol Version) and
then MUST close the Network Connection

So, whether a broker provides dual support would depend on the provider.
E.g., the Mosquitto broker supports the different protocol versions.

Thanks,
--Cigdem

On Tue, Feb 25, 2020 at 10:01 AM Hannes Tschofenig <
Hannes.Tschofenig@arm.com> wrote:

> Hi Cigdem, Hi Anthony, Hi Paul,
>
> Why are you using the term MQTT broker? My understanding of the MQTT spec
> is that there are only clients and servers - nothing more.
>
> Is a MQTT v3.1.1 client able to talk to a MQTT v5 server? Would a MQTT
> v3.1.1 client talk to a MQTT v5 client via a server that supports both
> v3.1.1 and v5?
>
> Ciao
> Hannes
>
> IMPORTANT NOTICE: The contents of this email and any attachments are
> confidential and may also be privileged. If you are not the intended
> recipient, please notify the sender immediately and do not disclose the
> contents to any other person, use it for any purpose, or store or copy the
> information in any medium. Thank you.
>
> _______________________________________________
> Ace mailing list
> Ace@ietf.org
> https://www.ietf.org/mailman/listinfo/ace
>