Re: [ippm] QUIC concerns relating to draft-ietf-ippm-explicit-flow-measurements

Christian Huitema <huitema@huitema.net> Thu, 11 May 2023 07:38 UTC

Return-Path: <huitema@huitema.net>
X-Original-To: ippm@ietfa.amsl.com
Delivered-To: ippm@ietfa.amsl.com
Received: from localhost (localhost [127.0.0.1]) by ietfa.amsl.com (Postfix) with ESMTP id 5DC84C151097 for <ippm@ietfa.amsl.com>; Thu, 11 May 2023 00:38:35 -0700 (PDT)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.9
X-Spam-Level:
X-Spam-Status: No, score=-1.9 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, NICE_REPLY_A=-0.001, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001] autolearn=ham autolearn_force=no
Received: from mail.ietf.org ([50.223.129.194]) by localhost (ietfa.amsl.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id L4bCYGJlfI-b for <ippm@ietfa.amsl.com>; Thu, 11 May 2023 00:38:34 -0700 (PDT)
Received: from mx36-out20.antispamcloud.com (mx36-out20.antispamcloud.com [209.126.121.68]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by ietfa.amsl.com (Postfix) with ESMTPS id 620E7C151099 for <ippm@ietf.org>; Thu, 11 May 2023 00:38:34 -0700 (PDT)
Received: from xse155.mail2web.com ([66.113.196.155] helo=xse.mail2web.com) by mx198.antispamcloud.com with esmtp (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1px0sg-0001MJ-SZ for ippm@ietf.org; Thu, 11 May 2023 09:38:32 +0200
Received: from xsmtp21.mail2web.com (unknown [10.100.68.60]) by xse.mail2web.com (Postfix) with ESMTPS id 4QH3f32rB5z5Rp for <ippm@ietf.org>; Thu, 11 May 2023 00:38:03 -0700 (PDT)
Received: from [10.5.2.13] (helo=xmail03.myhosting.com) by xsmtp21.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1px0sF-0005j8-96 for ippm@ietf.org; Thu, 11 May 2023 00:38:03 -0700
Received: (qmail 12627 invoked from network); 11 May 2023 07:37:59 -0000
Received: from unknown (HELO [192.168.1.104]) (Authenticated-user:_huitema@huitema.net@[172.58.43.121]) (envelope-sender <huitema@huitema.net>) by xmail03.myhosting.com (qmail-ldap-1.03) with ESMTPA for <lucaspardue.24.7@gmail.com>; 11 May 2023 07:37:59 -0000
Message-ID: <791fd608-8112-bea7-9e22-5d0b8b9e8b1d@huitema.net>
Date: Thu, 11 May 2023 00:37:55 -0700
MIME-Version: 1.0
User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.10.1
Content-Language: en-US
To: Lucas Pardue <lucaspardue.24.7@gmail.com>, Tommy Pauly <tpauly@apple.com>
Cc: IETF IPPM WG <ippm@ietf.org>, QUIC WG <quic@ietf.org>
References: <CALGR9oZxFEXWD5hZZOJB7q+-f766FsjBGBTNjpuc1jyZyucz3Q@mail.gmail.com> <3103CBFB-5112-4FAC-A2F0-5209F52AB288@apple.com> <CALGR9oboNgFo-BA0Sqstog_JFPm+DL545VUSbksgF1chTnZ7VQ@mail.gmail.com>
From: Christian Huitema <huitema@huitema.net>
In-Reply-To: <CALGR9oboNgFo-BA0Sqstog_JFPm+DL545VUSbksgF1chTnZ7VQ@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Originating-IP: 66.113.196.155
X-Spampanel-Domain: xsmtpout.mail2web.com
X-Spampanel-Username: 66.113.196.0/24
Authentication-Results: antispamcloud.com; auth=pass smtp.auth=66.113.196.0/24@xsmtpout.mail2web.com
X-Spampanel-Outgoing-Class: unsure
X-Spampanel-Outgoing-Evidence: Combined (0.23)
X-Recommended-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NZ fa8pHhHaz+HPa0HAgEx4sWDF
X-Report-Abuse-To: spam@quarantine14.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/ippm/RtAwrYOmv8SNmoSCRswFqiadheY>
Subject: Re: [ippm] QUIC concerns relating to draft-ietf-ippm-explicit-flow-measurements
X-BeenThere: ippm@ietf.org
X-Mailman-Version: 2.1.39
Precedence: list
List-Id: IETF IP Performance Metrics Working Group <ippm.ietf.org>
List-Unsubscribe: <https://www.ietf.org/mailman/options/ippm>, <mailto:ippm-request@ietf.org?subject=unsubscribe>
List-Archive: <https://mailarchive.ietf.org/arch/browse/ippm/>
List-Post: <mailto:ippm@ietf.org>
List-Help: <mailto:ippm-request@ietf.org?subject=help>
List-Subscribe: <https://www.ietf.org/mailman/listinfo/ippm>, <mailto:ippm-request@ietf.org?subject=subscribe>
X-List-Received-Date: Thu, 11 May 2023 07:38:35 -0000

On 5/10/2023 7:35 PM, Lucas Pardue wrote:
> Hey Tommy,
> 
> On Thu, May 11, 2023 at 3:00 AM Tommy Pauly<tpauly@apple.com>  wrote:
> 
>> The document is describing how bits*could*  be used, not actually
>> suggesting reserving specific ones at this point.
>>
>> This same feedback did come up in IESG review, and I believe that there
>> will be an update to remove details that refer to specific bit ranges to
>> avoid this danger.
>>
>> I’ll let the authors chime in more =)
>>
> 
> To summarize the issue, there's only 7 bits that any QUIC version
> compatible with the Invariants can ever use. Unless client, server and
> observers all agree what those bits might mean, there's no way to actually
> use them assuredly. The draft doesn't pay enough attention to highlighting
> this deployment problem, so there's a risk that the work done to define the
> bits in the abstract is for nought because the next steps of trying this
> out for real are unclear. Relying on some private agreements of what the
> bits might mean isn't safe for several reasons.

I addition to Lucas' concerns, let me express my own concern with the 
mention of the "UDP surplus space". This is the same concern that I have 
with the proposal to define "UDP options". These options would define an 
unencrypted trailer of QUIC packet. The idea is that the IP packet 
length is longer than UDP header length plus UDP payload length, leaving 
bits at the end that are not covered by the QUIC encryption. These bits 
create a clear text "side channel", which can be easily used to 
compromise the security of QUIC. I think this a serious security hole, 
which should be blocked.

One way to block it is to immediately drop any QUIC packet for which IP 
length and UDP length don't match. Many firewalls do that already. Doing 
that will penalize any attempt to add a side channel to QUIC -- any 
application that used such a channel would cause packets to be dropped, 
making this kind of channels very unattractive.

-- Christian Huitema