Re: [Lwip] [T2TRG] QUIC on IoT boards

Eliot Lear <lear@cisco.com> Mon, 20 January 2020 14:52 UTC

Return-Path: <lear@cisco.com>
X-Original-To: lwip@ietfa.amsl.com
Delivered-To: lwip@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 03F781200B7 for <lwip@ietfa.amsl.com>; Mon, 20 Jan 2020 06:52:09 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -14.501
X-Spam-Level:
X-Spam-Status: No, score=-14.501 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, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_HI=-5, 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 QIwuhSjLnAz0 for <lwip@ietfa.amsl.com>; Mon, 20 Jan 2020 06:52:04 -0800 (PST)
Received: from aer-iport-4.cisco.com (aer-iport-4.cisco.com [173.38.203.54]) (using TLSv1.2 with cipher DHE-RSA-SEED-SHA (128/128 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id E11D312007A for <lwip@ietf.org>; Mon, 20 Jan 2020 06:52:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=cisco.com; i=@cisco.com; l=8426; q=dns/txt; s=iport; t=1579531924; x=1580741524; h=from:message-id:mime-version:subject:date:in-reply-to:cc: to:references; bh=MCQBM5Zc+RF/uf0GWkT3u22FMNOwdebn9QGWbwwYGjg=; b=g8UOP3ILPJPBVkCGOX0rLxR6rNO89vUQ+E0TLzaV6Xg6yQCxgKtFx25c 6AzKtlcMhCI4gRDvZbsFAqyL9TQL3vvxNblgHmZMK+Ph8GI86oY+aAo9R vZ8xi1XNYzzmWZFFwkb3V6EzrMs24eLwKTkZKbkTehy2iSj+PeVjFYQeH Y=;
X-Files: signature.asc : 488
X-IronPort-Anti-Spam-Filtered: true
X-IronPort-Anti-Spam-Result: A0BVAwDwvSVe/xbLJq1lHAEBAQEBBwEBEQEEBAEBgXuBfSxsVSASKoQSiQOIIYM+hiKJTIgLAgcBAQEJAwEBIwwBAYFMgnQCgjM4EwIDDQEBBAEBAQIBBQRthTcMhV4BAQEBAgEjVgULCQIYKgICITYGExSDEgGCSgMOIA+PfpsBdYEyhDUBgRSCPw2CEAoGgTiBU4okN4IAgREnIIFgbD6CG4F6g0QygiwEjT9MiSeIbo48MkSCQ4JJgRyCS4ENikuBZIJFG5p3lz+CIYxXgy0CBAYFAhWBaSKBWDMaCBsVSA8OAYJBPhIYDYkoAQyHU4VAQAMwjXQBAQ
X-IronPort-AV: E=Sophos;i="5.70,342,1574121600"; d="asc'?scan'208,217";a="22262497"
Received: from aer-iport-nat.cisco.com (HELO aer-core-2.cisco.com) ([173.38.203.22]) by aer-iport-4.cisco.com with ESMTP/TLS/DHE-RSA-SEED-SHA; 20 Jan 2020 14:52:01 +0000
Received: from dhcp-10-61-103-205.cisco.com (dhcp-10-61-103-205.cisco.com [10.61.103.205]) by aer-core-2.cisco.com (8.15.2/8.15.2) with ESMTPS id 00KEq0hH006353 (version=TLSv1.2 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 20 Jan 2020 14:52:01 GMT
From: Eliot Lear <lear@cisco.com>
Message-Id: <4528ED27-E3B6-43C4-99A5-715DE1B79A09@cisco.com>
Content-Type: multipart/signed; boundary="Apple-Mail=_A742C58C-FC81-4B32-9CD0-C6030839485E"; protocol="application/pgp-signature"; micalg="pgp-sha256"
Mime-Version: 1.0 (Mac OS X Mail 13.0 \(3608.40.2.2.4\))
Date: Mon, 20 Jan 2020 15:52:00 +0100
In-Reply-To: <6B9FFEF5-CDC9-4703-BB10-616DBEDE80AB@gmail.com>
Cc: Lars Eggert <lars@eggert.org>, "lwip@ietf.org" <lwip@ietf.org>, "t2trg@irtf.org" <t2trg@irtf.org>, daveoran@orandom.net
To: Василий Долматов <vdolmatov@gmail.com>
References: <6CB4D459-4AAA-4313-B95C-05DF22C9A9DD@eggert.org> <E7C38177-DD0B-4D92-AE0E-EB457691E493@cisco.com> <6B9FFEF5-CDC9-4703-BB10-616DBEDE80AB@gmail.com>
X-Mailer: Apple Mail (2.3608.40.2.2.4)
X-Outbound-SMTP-Client: 10.61.103.205, dhcp-10-61-103-205.cisco.com
X-Outbound-Node: aer-core-2.cisco.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/lwip/PSeNZ-XNrukoKe6DJ9V2Lq2yx9I>
Subject: Re: [Lwip] [T2TRG] QUIC on IoT boards
X-BeenThere: lwip@ietf.org
X-Mailman-Version: 2.1.29
Precedence: list
List-Id: "Lightweight IP stack. Official mailing list for IETF LWIG Working Group." <lwip.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/lwip>, <mailto:lwip-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/lwip/>
List-Post: <mailto:lwip@ietf.org>
List-Help: <mailto:lwip-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/lwip>, <mailto:lwip-request@ietf.org?subject=subscribe>
X-List-Received-Date: Mon, 20 Jan 2020 14:52:09 -0000

Hi Василий


> On 20 Jan 2020, at 15:09, Василий Долматов <vdolmatov@gmail.com> wrote:
> 
> 
> absence of encryption can cause that sudden «green signal» be created by joking school pupils.

Absence of authentication and integrity causes that, not encryption.  And that is the distinction that I think we need to draw.  To Dave’s point:

> It would be helpful to distinguish auditing from surveillance. It’s ok for auditing to require the cooperation of the audited entities. That cooperation could, for example, involve the controlled sharing of keys. Eliot does raise a good point, in that auditing may be very hard if keys and cypher suites with PFS are chosen.


Indeed.  The example I gave isn’t really mine.  Some folks at another company who actually build trains and signal systems expressed this precise example to me.  Encryption isn’t inherently bad in this environment, but as you point out there needs to be scalable means to  manage not just auditing, but real time anomaly detection.  Both of these happen today.

There are other examples.

My friend just got a CPAP machine that reports his breathing via a 3g interface, and gives doctors (or anyone else who can hack in) the ability to (a) determine whether my friend is at home and asleep, (b) whether he is breathing properly, and (c) to remotely adjust controls of the machine.

Now… I don’t know the precise makeup of the software running on that machine, but I can tell you a few things:

I definitely want the communications between that device and the doctor’s control system encrypted.
I want that device to have up-to-date software when vulnerabilities are found.
I don’t want that device talking to anyone other than the doctor’s control system.
I only want that device speaking protocols it was designed to speak.

It’s that last one that has me worried from a long term perspective with QUIC.  If the stack hides means to determine directionality, as it does, and applications, as it does, we should take a pause to determine how we would detect whether it has services running on it that aren’t intended, as has happened all too often.[1]. These are use cases that QUIC was not designed to address.

On the other hand, we do want the IoT community to leverage the best that the Web community has delivered, if and when it is appropriate, and even when the whole package is not, it is best that they adopt the components that are, so that they don’t end up having to repeat old mistakes.

Eliot
[1] https://seclists.org/fulldisclosure/2017/Mar/63