RE: draft-tiesel-quic-unreliable-streams-01 - comments

Ingemar Johansson S <ingemar.s.johansson@ericsson.com> Tue, 07 November 2017 14:48 UTC

Return-Path: <ingemar.s.johansson@ericsson.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 367CC13FC24 for <quic@ietfa.amsl.com>; Tue, 7 Nov 2017 06:48:10 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -4.219
X-Spam-Level:
X-Spam-Status: No, score=-4.219 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_MED=-2.3, RCVD_IN_MSPIKE_H3=-0.01, RCVD_IN_MSPIKE_WL=-0.01, SPF_PASS=-0.001, URIBL_BLOCKED=0.001] autolearn=ham autolearn_force=no
Authentication-Results: ietfa.amsl.com (amavisd-new); dkim=pass (1024-bit key) header.d=ericsson.onmicrosoft.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 IXGk7y0APYJA for <quic@ietfa.amsl.com>; Tue, 7 Nov 2017 06:48:02 -0800 (PST)
Received: from sesbmg23.ericsson.net (sesbmg23.ericsson.net [193.180.251.37]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 621E313FEB4 for <quic@ietf.org>; Tue, 7 Nov 2017 06:48:02 -0800 (PST)
X-AuditID: c1b4fb25-1b7d19c000000c94-21-5a01c79fbc0d
Received: from ESESSHC001.ericsson.se (Unknown_Domain [153.88.183.21]) by sesbmg23.ericsson.net (Symantec Mail Security) with SMTP id 90.49.03220.F97C10A5; Tue, 7 Nov 2017 15:48:00 +0100 (CET)
Received: from EUR01-HE1-obe.outbound.protection.outlook.com (153.88.183.145) by oa.msg.ericsson.com (153.88.183.21) with Microsoft SMTP Server (TLS) id 14.3.352.0; Tue, 7 Nov 2017 15:47:59 +0100
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericsson.onmicrosoft.com; s=selector1-ericsson-com; h=From:Date:Subject:Message-ID:Content-Type:MIME-Version; bh=QNSaFOp1d0AhmBreAkqBWUpOHytC9EHatzpeJEXIdes=; b=KfyZn13lKKhuRsGoww6ZAzOylJH/wj7nVh9u57RdY8x/ok4DAdMRX+6nyT2b50PfPgEMzdyUjIjp5U2ViCvso0BWUebUYj77CG5RVvUyJlaHdDuM/dGD0ImQ7AyaIEwlIkImE7t2+/LtS8GABCccabEdGeCa+AUZW2MLZLUxLxo=
Received: from DB4PR07MB348.eurprd07.prod.outlook.com (10.141.234.148) by DB4PR07MB345.eurprd07.prod.outlook.com (10.141.234.142) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_256_CBC_SHA384_P256) id 15.20.218.6; Tue, 7 Nov 2017 14:47:57 +0000
Received: from DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::d067:33bc:7c46:c8c9]) by DB4PR07MB348.eurprd07.prod.outlook.com ([fe80::d067:33bc:7c46:c8c9%13]) with mapi id 15.20.0218.005; Tue, 7 Nov 2017 14:47:57 +0000
From: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>
To: Roni Even <roni.even@huawei.com>, "Philipp S. Tiesel" <phils@in-panik.de>
CC: QUIC WG <quic@ietf.org>
Subject: RE: draft-tiesel-quic-unreliable-streams-01 - comments
Thread-Topic: draft-tiesel-quic-unreliable-streams-01 - comments
Thread-Index: AQHTVznzaxwXVQFObkG5Q8JOBDTpHqMIg0wwgABLYwCAADCkgA==
Date: Tue, 07 Nov 2017 14:47:57 +0000
Message-ID: <DB4PR07MB348012BC630A37881C3852CC2510@DB4PR07MB348.eurprd07.prod.outlook.com>
References: <6E58094ECC8D8344914996DAD28F1CCD82A735@DGGEMM506-MBS.china.huawei.com> <FBF9665E-15CE-437B-A575-25AEA7C88073@in-panik.de> <6E58094ECC8D8344914996DAD28F1CCD832288@DGGEMM506-MBX.china.huawei.com> <B814D19D-2FD6-42B6-867E-8A26C7475E0F@in-panik.de> <DB4PR07MB34899FCFC336AE2F0B72A6CC2510@DB4PR07MB348.eurprd07.prod.outlook.com> <6E58094ECC8D8344914996DAD28F1CCD8351F8@DGGEMM506-MBX.china.huawei.com>
In-Reply-To: <6E58094ECC8D8344914996DAD28F1CCD8351F8@DGGEMM506-MBX.china.huawei.com>
Accept-Language: sv-SE, en-US
Content-Language: en-US
X-MS-Has-Attach:
X-MS-TNEF-Correlator:
x-originating-ip: [192.176.1.92]
x-ms-publictraffictype: Email
x-microsoft-exchange-diagnostics: 1; DB4PR07MB345; 6:zKohgQG9xhcyRO1VeAGNM5vrF6BaqbRRg2/S8YmvJ2l5q8BELFPosl0Flxx4LJSWTWGecv/Bv8TzzgcR0Lqj52DmWT32UVkvQH3GsuyJOeD7Ct+qmoHudcnyM1B2r6kFVlCvseI1HzhOEq2JqwZUeVTaPScXY7CUYJtqHVl1fAEmCcAzwna017IX6ueQuDPcvaSmmGckgHiTWJi5XL26Dzbr9urcfRsmjfYCJlWH5v30tUt1ShP99Npat+tSxOU7YBM7w0E6s+2933coTkfIFq4l20Z4KKwfd9MUxMv815sK5/gC3J/VCBHxtfffqVDzF0xiBcpVJJ9OvJX6dsQFLXGYukOIYPtwWJ424MlVGC0=; 5:QhEZwgDUJhoB/jZy9DLat0KoJx7gvT4W1veeoxol2RciXdYZ14HD0v/IgbKZHfSf+4V1fVHuHg9FVT0t8VxZwgpkMwyUZx7GPg1bpk99bpLyF6Vo+HfD+DMAUdYWDmyXEmAvQTwWlEAymo2AO6e+zFtq4xj+E5bMOhZxvtfiSdY=; 24:hxT9P1MiUiNic8k952MWHgCPopXQVhvsXGbN9tK5ipFUc5uVSVzZbvbMKwOzmwwT3FdjkHG1KTsZAcT95l5OljFcSSd/x9FQcGOr0OEQSzI=; 7:/G9JKZ6TXNiX56Zzh5/dOHSCCAM7j12hOC8gyYZZ/0DiHlstU3DfsG+SDHz5OlGzJZKaUPHccz0MZvF9Rl6qjFZKRPFZFszslsNCf0ZZcV/3GtksIHRLB3BxVZ347cOIrn0gOItLJGWRiqKn5uowayV39sjLFLdZ3sKawoqEy2htgYYvednSW/mJOFTJId3rj7mycQ3c2uUfEk95QKolHq0NWLjmpgP1NVUdTsM6lzoHjj4jPd3MaT+Mh03ib9Sp
x-ms-exchange-antispam-srfa-diagnostics: SSOS;
x-ms-office365-filtering-correlation-id: 9df091ba-a6f7-477d-2afa-08d525ee88f8
x-microsoft-antispam: UriScan:; BCL:0; PCL:0; RULEID:(22001)(4534020)(4602075)(4627115)(201703031133081)(201702281549075)(2017052603249); SRVR:DB4PR07MB345;
x-ms-traffictypediagnostic: DB4PR07MB345:
authentication-results: spf=none (sender IP is ) smtp.mailfrom=ingemar.s.johansson@ericsson.com;
x-exchange-antispam-report-test: UriScan:(37575265505322)(20558992708506)(278428928389397)(192374486261705)(50582790962513)(21748063052155)(17755550239193);
x-microsoft-antispam-prvs: <DB4PR07MB345B4C66561528A4A5AC5FCC2510@DB4PR07MB345.eurprd07.prod.outlook.com>
x-exchange-antispam-report-cfa-test: BCL:0; PCL:0; RULEID:(100000700101)(100105000095)(100000701101)(100105300095)(100000702101)(100105100095)(6040450)(2401047)(8121501046)(5005006)(93006095)(93001095)(100000703101)(100105400095)(3231021)(3002001)(10201501046)(6041248)(20161123560025)(20161123564025)(20161123562025)(201703131423075)(201702281528075)(201703061421075)(201703061406153)(20161123555025)(20161123558100)(6072148)(201708071742011)(100000704101)(100105200095)(100000705101)(100105500095); SRVR:DB4PR07MB345; BCL:0; PCL:0; RULEID:(100000800101)(100110000095)(100000801101)(100110300095)(100000802101)(100110100095)(100000803101)(100110400095)(100000804101)(100110200095)(100000805101)(100110500095); SRVR:DB4PR07MB345;
x-forefront-prvs: 0484063412
x-forefront-antispam-report: SFV:NSPM; SFS:(10009020)(346002)(376002)(39860400002)(189002)(24454002)(199003)(14454004)(74316002)(106356001)(101416001)(9326002)(5660300001)(68736007)(33656002)(55016002)(478600001)(6506006)(6246003)(50986999)(54356999)(2950100002)(230783001)(25786009)(229853002)(6306002)(54896002)(236005)(2900100001)(606006)(9686003)(53546010)(76176999)(7696004)(6436002)(105586002)(8676002)(3660700001)(19609705001)(3846002)(102836003)(6116002)(790700001)(3280700002)(53386004)(4326008)(81156014)(81166006)(86362001)(97736004)(8936002)(99286004)(189998001)(2906002)(110136005)(53936002)(316002)(93886005)(66066001)(5250100002)(7736002); DIR:OUT; SFP:1101; SCL:1; SRVR:DB4PR07MB345; H:DB4PR07MB348.eurprd07.prod.outlook.com; FPR:; SPF:None; PTR:InfoNoRecords; MX:1; A:1; LANG:en;
received-spf: None (protection.outlook.com: ericsson.com does not designate permitted sender hosts)
spamdiagnosticoutput: 1:99
spamdiagnosticmetadata: NSPM
Content-Type: multipart/alternative; boundary="_000_DB4PR07MB348012BC630A37881C3852CC2510DB4PR07MB348eurprd_"
MIME-Version: 1.0
X-MS-Exchange-CrossTenant-Network-Message-Id: 9df091ba-a6f7-477d-2afa-08d525ee88f8
X-MS-Exchange-CrossTenant-originalarrivaltime: 07 Nov 2017 14:47:57.1170 (UTC)
X-MS-Exchange-CrossTenant-fromentityheader: Hosted
X-MS-Exchange-CrossTenant-id: 92e84ceb-fbfd-47ab-be52-080c6b87953f
X-MS-Exchange-Transport-CrossTenantHeadersStamped: DB4PR07MB345
X-OriginatorOrg: ericsson.com
X-Brightmail-Tracker: H4sIAAAAAAAAA02Se0hTYRjG+845247W6nO6fNOMGl00UysL/MNSg2gFQmKIDCKnnlTyxplJ 2h9ZKMLMK2k6zVuWmZKpedky0XVZlqBpGWqUV0TLIi+4yqRtn4H//d73eV6eh4+PpSVNAgc2 KjaB42OV0TKhNVMU3Cp1KzcgxcHMdNorvfoR5XWzfKPX/KtexpeWp76YE8irqn5R8tT3tmdp hbV3OBcdlcjxHsdDrCPzavoE8fo2dGXU+FeUgvqakBqxLOAjkPX7vBpZsxL8HEG9JlNIBgOC wqFSxjwwOJMG9f0fFFHyKVidrWHIMIrg6XWtSI2sWCH2hhr9MjKzHfaH7LFOC9PYEW5kfxKa 2Rb7QKHmpYB4fOFj2gBD+AQsvLlt8TB4N5SuFtFmFmMF9M7kCUhYJQ2D6meWYyt8DvJ7ui3B CDvBl+XPDAmzh+HJMsrMgDFUtffShKUwM7EqILwTVvrHhYSdoL8sAxHuEkF2BSbsDs25c2t7 f6jNuIfMJQAXItDqStcEFxjPMdKkRBjMD2WuBZSYTEtOhKMgo7B57bhfAFmLSwwRtkOFQS/K QW6adcUJx4FGO8FoLC9gA91FkyZmTXsXqNd5EMsuuJUxJiLsDGkld0Tr9+VI9BBJVZwqNCbi sKc7x0eFqVRxse6xXEIjMn2lrid/9rShgW9+eoRZJNskDm5EColAmahKitEjYGmZnbh13waF RByuTErm+LgL/OVoTqVHjiwjsxf7dfQFS3CEMoG7xHHxHP9fpVgrhxR0OrC7Y3Da2SFn+K6P 68hUcNBe6WTHqR10S0xtw+L3cHwg4LX2Z0Pbg6Dor6Ohm7veRlYX+9ddpB4HLnY6a7emTo3D WPvKu25P45ZrtXeSdQvLZ3KbUupGPpwMWWnO1w0qDFfHZ4ud5OnHji7kb5MV2EzHr6TWG3lx gGtLZU9BEyVjVJHKQ/tpXqX8B59CRKlGAwAA
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/GOEzmQ7bACXTc-8VGImM_arCeaU>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.22
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: Tue, 07 Nov 2017 14:48:10 -0000

Hi

OK, then I understand, maybe.. Still don’t get it, sorry. If you are about to selectively discard ACK packets, then the ACK spacing will become larger and the ACK clocking will be degraded. The end effect is that also the media (or whatever) that constitute the large packets will also get a degraded performance ?

I assume that we will still be running one congestion control for the connection ?

/Ingemar

From: Roni Even [mailto:roni.even@huawei.com]
Sent: den 7 november 2017 12:50
To: Ingemar Johansson S <ingemar.s.johansson@ericsson.com>; Philipp S. Tiesel <phils@in-panik.de>
Cc: QUIC WG <quic@ietf.org>
Subject: RE: draft-tiesel-quic-unreliable-streams-01 - comments

Hi Ingemar,
It is not CCM the attacker just does heuristics to understand that this is not media but report (RTCP or ACK frames) and drops it, BTW: audio packets may also be small.
This is an example. The claim is that you can use heuristics to drop “selected” frames even though you do not know what is in the packet.
Roni



From: Ingemar Johansson S [mailto:ingemar.s.johansson@ericsson.com]
Sent: יום ג 07 נובמבר 2017 09:41
To: Philipp S. Tiesel; Roni Even
Cc: QUIC WG
Subject: RE: draft-tiesel-quic-unreliable-streams-01 - comments

Hi Philip and Roni

I assume that by reception reports is meant the RTCP CCM messages such as TMMBR or ?

So.. unless I misunderstood it completely.
I am not at all convinced that media rate/congestion control in QUIC should rely on TMMBR.
SCReAM for instance, specified in the RMCAT WG for instance does not depend on TMMBR as it is ACK clocked, the media transmission is reduced to a very low rate if the ACKs are discarded by an attacker.

I would say that it is more straightforward to use a multipurpose congestion control in QUIC, this is perhaps based on BBR, but SCReAM style is not excluded. In any case this means that it is not possible to prevent rate adaptation.

/Ingemar


From: Philipp S. Tiesel [mailto:phils@in-panik.de]
Sent: den 6 november 2017 10:15
To: Roni Even <roni.even@huawei.com<mailto:roni.even@huawei.com>>
Cc: QUIC WG <quic@ietf.org<mailto:quic@ietf.org>>
Subject: Re: draft-tiesel-quic-unreliable-streams-01 - comments



On 5. Nov 2017, at 08:32, Roni Even <roni.even@huawei.com<mailto:roni.even@huawei.com>> wrote:
From: Philipp S. Tiesel [mailto:phils@in-panik.de]
On 1. Nov 2017, at 14:03, Roni Even <roni.even@huawei.com<mailto:roni.even@huawei.com>> wrote:
In the security section “ An active, on path attacker can drop selected
frames “ . What does it mean selected frames, the whole payload is
encrypted.
This is a little complicated:
- Assume having “stream-as-a-message” streams with two different kins of
messages sized A,B
- Assume each message fits into one packet, but two messages will not fit
- Assume one doesn't want to split packets to fill packets to MTU due to
latency constrains  => If an attacker know the inside protocol, the attacker
can distinguish from the packet length wether it is an A or B kind message

To avoid this, one has to pad all packets… I should clarify this.
[Roni Even] I understand this case but what does selected frames mean, I assume that the attacker does not know what is in each stream in order to select a specific one, so why will he just drop one and not the other or why not both?

Assuming the attacker _knows the protocol_, the attacker would also know the sizes of all kinds of messages and may use this knowledge to recover protocol state or selectively drop messages.

For a protocol like HTTP, the attack vector is rather small.
If one uses this against video conferencing applications, an attacker could prevent rate adaption  by dropping reception reports (larger than a pure QUIC ACK, smaller than a video frame).
If one uses this on IoT control stuff, an attacker might be able to learn a lot about the system state by observing sizes and timings.

This is nothing we can fix within QUIC without massive scarifies, but application developers must keep in mind.


AVE!
  Philipp S. Tiesel / phils…
--
   {phils}--->---(phils@in-panik.de<mailto:phils@in-panik.de>)--->---(http://phils.in-panik.de)----,
      wenn w eine   aube ist dn      man au dran dre en                   |
           o     Schr        an muss     hc         h   (Kurt Schwitters) |
:wq!  <----(phone: +49-179-6737439)---<---(jabber: phils@in-panik.de<mailto:phils@in-panik.de>)----'