Re: QUIC for IoT embeddeds system

Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com> Sun, 18 August 2019 12:08 UTC

Return-Path: <mikkelfj@gmail.com>
X-Original-To: quic@ietfa.amsl.com
Delivered-To: quic@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id CA605120077 for <quic@ietfa.amsl.com>; Sun, 18 Aug 2019 05:08:43 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -0.737
X-Spam-Level:
X-Spam-Status: No, score=-0.737 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, FREEMAIL_REPLY=1, HTML_MESSAGE=0.001, HTML_OBFUSCATE_05_10=0.26, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, UNPARSEABLE_RELAY=0.001] autolearn=no 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 4Chtks8ObaVk for <quic@ietfa.amsl.com>; Sun, 18 Aug 2019 05:08:42 -0700 (PDT)
Received: from mail-ed1-x541.google.com (mail-ed1-x541.google.com [IPv6:2a00:1450:4864:20::541]) (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 E81491201C6 for <quic@ietf.org>; Sun, 18 Aug 2019 05:08:41 -0700 (PDT)
Received: by mail-ed1-x541.google.com with SMTP id s49so8859288edb.1 for <quic@ietf.org>; Sun, 18 Aug 2019 05:08:41 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:in-reply-to:references:mime-version:date:message-id:subject:to :cc; bh=iQTeO+SWnGBK56jQaDNCDc0ZrEUNcqaxGSH/yKQwFac=; b=CREs+OTiFFgllCufOHhBzpw1+wqe6IhDxO/7VLEGoNDnXMFFzlmNIuWAqDMXr9lSxM 8hoqTIkJlrX3lZ4aQKOhnx7ys1je57GkoXodhkMawlw5CG5cMmIZ5OObhm+cVW4I3upt cy88fStLvIVsd4WMuO0+xoREAhIsc7FiywqLKcmHIfMSfQe7WNe9zR45RdfnetYm+Gsg /tZatRO9y9yLpR8I8Mccg4cKj2e6D2g7VofPWjZImCkDRklpu8Iq15qsLwnJUVf7Crf2 jFturY2p/mRKmge3J7/EtHrdUPb4B40tNFcafUrkg6qYygxGlw628BSZptq9qCkp4q/a NMgg==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:in-reply-to:references:mime-version:date :message-id:subject:to:cc; bh=iQTeO+SWnGBK56jQaDNCDc0ZrEUNcqaxGSH/yKQwFac=; b=S44e0kvy51dbULs7ccn67rKQOj8+rk5TmKbpuytusmtd3Y84iXvmh1OctQ+OBSnCAt huoZ5AIYwA8NNwYZUHWVuJ8noEFNSFDTpXrTKiK601CDFo1ONGwv9p413XXe/Jqdxx2r 04l0FbseIC23hB02ozn7PbVqxBRyQZF2AgvKndugxs+eEqZxX7lxl/OVHulZXeS4TaV1 I6AwFcuep/ZI19q+Ay7ktw+ywdNkeN0+DGO3hdCSdGACPKv+iQmK7kJmqeUrONM5zDlG qhv42zd58yaaf+W5x2U3UQtaZ0FoRAnX2SZZx5JG710G76f+cJauqjwGPJAn4qUfOqjW ikuw==
X-Gm-Message-State: APjAAAU+pm4M7833QBBV1vsHztM39pRk8i6A0OvlAzMfeSYEDiWC7Ky6 LVvCxe8sENslI4qGLb8GfpiJvHe/RzDKSUSKRb8=
X-Google-Smtp-Source: APXvYqwW+HVkIRiUA1GL3mX+h6f2mn1MucNd4SnUGht7ash2k/QI9m58jRQOboB0G9VXoY1RRl77uX2C450pDD37lnU=
X-Received: by 2002:a17:906:f211:: with SMTP id gt17mr16593552ejb.263.1566130120503; Sun, 18 Aug 2019 05:08:40 -0700 (PDT)
Received: from 1058052472880 named unknown by gmailapi.google.com with HTTPREST; Sun, 18 Aug 2019 08:08:39 -0400
From: Mikkel Fahnøe Jørgensen <mikkelfj@gmail.com>
In-Reply-To: <CAA=hcWQCvNbDSgCah8nZOQmaqnx2Qb4cX6f0joifZYkWNc-9QA@mail.gmail.com>
References: <CAA=hcWQ2dPNcktjNMQBE8ovj1xyEOtBgE8S2qBuRz832R=7d6w@mail.gmail.com> <CAN1APdfHBgR3NMPZTakny2uecgHnngMxAXVpyP7hjucBUOv7oQ@mail.gmail.com> <CAA=hcWQCvNbDSgCah8nZOQmaqnx2Qb4cX6f0joifZYkWNc-9QA@mail.gmail.com>
X-Mailer: Airmail (420)
MIME-Version: 1.0
Date: Sun, 18 Aug 2019 08:08:39 -0400
Message-ID: <CAN1APdeMmfxnCMCNhyxibRvWsCtY36MePJhWOGod-maAKAkUOQ@mail.gmail.com>
Subject: Re: QUIC for IoT embeddeds system
To: JH <jupiter.hce@gmail.com>
Cc: IETF QUIC WG <quic@ietf.org>
Content-Type: multipart/alternative; boundary="00000000000081361c0590631548"
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/mboL3kRqRECMO-41u09pRS80KO4>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: Main mailing list of the IETF QUIC working group <quic.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/quic>, <mailto:quic-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/quic/>
List-Post: <mailto:quic@ietf.org>
List-Help: <mailto:quic-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/quic>, <mailto:quic-request@ietf.org?subject=subscribe>
X-List-Received-Date: Sun, 18 Aug 2019 12:08:44 -0000

See inline

On 18 August 2019 at 13.55.27, JH (jupiter.hce@gmail.com) wrote:

Are there any IETF QUIC open sources for clearly separation? Ideally,
a QUIC git source should only contain QUIC core functionality, the
moment you added HTTP, WebRTC, Web sockets to mix with the QUIC
source, there will never be a clear separation.

https://github.com/quicwg/base-drafts

The invariants is what never change - it is very small document.

The transport document is the core QUIC document - with supporting TLS and
retransmission docs. The HTTP and QPACK are separate from that but still
part of the eventual QUIC v1 delivery.


> The intention for IoT, as I undertand it, is for “someone” to pick up the
> ball and specify a new QUIC version aimed for constrained devices. QUIC is

> designed to handle such protocol variations.

If the QUIC spec can define core functions mandatory, variations and
options can be added or removed for specific platforms or
applications, that will make it easier to be adapted and adopted. For
IoT embedded system, the size is critical for many small devices.

I personally don’t think modular plug and play is a good thing here.
Different QUIC versions with limited functionality is better - it keeps
things simple and reduces interop complexities and attack vectors. As to
encryption, I could imagine a version that doesn’t use TLS at all, but
simply settles for simplified ChaCha/Poly handshake with ED25519 key
exchange, and optional AES-GCM. Such a version would use many primitives
from TLS but with reduced overhead. The downside is if the crypto
vulnerability is discovered, but that can be fixed in a new QUIC version.

A QUIC version could be modular in the sence that you have multiple
versions that each flag in one or more features from a base version such as
QUIC v1 but then there might be say 4 different profiles or versions,
rather than infinitely many combinations.

QUIC versioning and fallback attack protection isn’t fully designed yet but
will likely be a priority just after v1 release.


> Another aspect could be transport over non-UDP, non-IP fabric.

The IP is the Internet, same as UDP or TCP, I don't see any non-IP,
non-UDP or non-TCP can be succeeded.

IoT isn’t necessarily running on the internet. You can have mesh networks
for power metering or in-car electronics.

That said, at least one IoT version would likely be UDP centric.