Re: draft-misell-quic-bdp-token is asking for codepoints

Christian Huitema <huitema@huitema.net> Mon, 22 January 2024 07:21 UTC

Return-Path: <huitema@huitema.net>
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 46C8FC14F5E8 for <quic@ietfa.amsl.com>; Sun, 21 Jan 2024 23:21:43 -0800 (PST)
X-Virus-Scanned: amavisd-new at amsl.com
X-Spam-Flag: NO
X-Spam-Score: -1.906
X-Spam-Level:
X-Spam-Status: No, score=-1.906 tagged_above=-999 required=5 tests=[BAYES_00=-1.9, RCVD_IN_ZEN_BLOCKED_OPENDNS=0.001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01, URIBL_BLOCKED=0.001, URIBL_DBL_BLOCKED_OPENDNS=0.001, URIBL_ZEN_BLOCKED_OPENDNS=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 mHNIQZE8BO9R for <quic@ietfa.amsl.com>; Sun, 21 Jan 2024 23:21:41 -0800 (PST)
Received: from out16-27.antispamcloud.com (out16-27.antispamcloud.com [185.201.18.27]) (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 6B674C14F683 for <quic@ietf.org>; Sun, 21 Jan 2024 23:21:40 -0800 (PST)
Received: from xse181.mail2web.com ([66.113.196.181] helo=xse.mail2web.com) by mx196.antispamcloud.com with esmtp (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1rRock-000MYr-MA for quic@ietf.org; Mon, 22 Jan 2024 08:21:39 +0100
Received: from xsmtp22.mail2web.com (unknown [10.100.68.61]) by xse.mail2web.com (Postfix) with ESMTPS id 4TJM8Z1JJJz5Rr for <quic@ietf.org>; Sun, 21 Jan 2024 23:21:18 -0800 (PST)
Received: from [10.5.2.16] (helo=xmail06.myhosting.com) by xsmtp22.mail2web.com with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.92) (envelope-from <huitema@huitema.net>) id 1rRocQ-0005yQ-18 for quic@ietf.org; Sun, 21 Jan 2024 23:21:18 -0800
Received: (qmail 7820 invoked from network); 22 Jan 2024 07:21:17 -0000
Received: from unknown (HELO [192.168.1.107]) (Authenticated-user:_huitema@huitema.net@[172.56.169.231]) (envelope-sender <huitema@huitema.net>) by xmail06.myhosting.com (qmail-ldap-1.03) with ESMTPA for <kazuhooku@gmail.com>; 22 Jan 2024 07:21:17 -0000
Message-ID: <f74c6d9c-ebf2-4817-998e-44f18f0a2e2e@huitema.net>
Date: Sun, 21 Jan 2024 23:21:15 -0800
MIME-Version: 1.0
User-Agent: Mozilla Thunderbird
Subject: Re: draft-misell-quic-bdp-token is asking for codepoints
Content-Language: en-US
To: Kazuho Oku <kazuhooku@gmail.com>, Martin Thomson <mt@lowentropy.net>
Cc: quic@ietf.org, q@as207970.net, q@magicalcodewit.ch, Janardhan Iyengar <jri@fastly.com>, Ian Swett <ianswett@google.com>
References: <5661fdad-0f42-4aad-9765-dcbd5767ed43@betaapp.fastmail.com> <CANatvzxE3bUjF78SNGiwUbUBdxzfWRGEaa_qFvzDF8HX1cqf6A@mail.gmail.com>
From: Christian Huitema <huitema@huitema.net>
Autocrypt: addr=huitema@huitema.net; keydata= xjMEXtavGxYJKwYBBAHaRw8BAQdA1ou9A5MHTP9N3jfsWzlDZ+jPnQkusmc7sfLmWVz1RmvN J0NocmlzdGlhbiBIdWl0ZW1hIDxodWl0ZW1hQGh1aXRlbWEubmV0PsKWBBMWCAA+FiEEw3G4 Nwi4QEpAAXUUELAmqKBYtJQFAl7WrxsCGwMFCQlmAYAFCwkIBwIGFQoJCAsCBBYCAwECHgEC F4AACgkQELAmqKBYtJQbMwD/ebj/qnSbthC/5kD5DxZ/Ip0CGJw5QBz/+fJp3R8iAlsBAMjK r2tmyWyJz0CUkVG24WaR5EAJDvgwDv8h22U6QVkAzjgEXtavGxIKKwYBBAGXVQEFAQEHQJoM 6MUAIqpoqdCIiACiEynZf7nlJg2Eu0pXIhbUGONdAwEIB8J+BBgWCAAmFiEEw3G4Nwi4QEpA AXUUELAmqKBYtJQFAl7WrxsCGwwFCQlmAYAACgkQELAmqKBYtJRm2wD7BzeK5gEXSmBcBf0j BYdSaJcXNzx4yPLbP4GnUMAyl2cBAJzcsR4RkwO4dCRqM9CHpVJCwHtbUDJaa55//E0kp+gH
In-Reply-To: <CANatvzxE3bUjF78SNGiwUbUBdxzfWRGEaa_qFvzDF8HX1cqf6A@mail.gmail.com>
Content-Type: text/plain; charset="UTF-8"; format="flowed"
Content-Transfer-Encoding: 8bit
X-Originating-IP: 66.113.196.181
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.12)
X-Recommended-Action: accept
X-Filter-ID: Pt3MvcO5N4iKaDQ5O6lkdGlMVN6RH8bjRMzItlySaT/cnyw+K83+pnvP6ULM1iZEPUtbdvnXkggZ 3YnVId/Y5jcf0yeVQAvfjHznO7+bT5x6h2yQpzTslcOqazQkKtAFKj/EwzSHE5FGYwwjsNRPCIwb GLJSlSh854R3Knuatd3mD6wdmZPcItWbGe10hXJtXL4FsauCVkDjmcYJdU3yWp7KuHNaaKdg7iBE ZefdsNUFWKwa/wzJUjmazeC7ImcaHTefHBP933VKzk+DJbtVQBQ6V51u76v35b1wNe/MvdKX8bg7 8d8EvEyQEZCV9hJd2+J9PgaoF8SQHto3le4zsHTaeQtlKubP6iUTjj6yPARK6buALVaA782LKxg6 vRmng8N1aLhXqdc+jC1RcnVud53D5caUhbVtvqItBqoizkEt9O20UjkwI0v+LOlw05G4BS+iyyNq bT8dUMXMJ4tUCMj6G37ZfAMLceP5aNHPt26RBupu5v1nytoNnc138GfEEIgtEXyXj6S3SDvReMcV 8TXUjLjYWQt1/5xnQymMoPsgr/U0flMcy2Vi/IcBgY4arPaiJ1W6hAyiRC61jekdwIcXNugoOEbH RyFULpSjm7iff8pZ9ure3k2YtJj4Q8Z7MmhlopTqh5tIz3fgmDa+puiF8tcJPb3AkseVulqscf/Z 9cjASPoFPf7EBvmKv9xJoYYpy78/ZfTpWFqEVNffsiyZvdx3ZJDsPzrvEdt+b8mxX4OQOI/UQ6jn FfMBgzwOSHunMg5j/UO+IMRndiIcrsgI+7L3X9a7j6CqD08hriDZcpPgEJKLbDyaC/LdLvvY/kTB WVLzgSIOXAPwcOmD8fpVB9v9zY0h8asEYmbGGsJD9ySC20IzFkBtfP+lFUR4SE1BxayQWMyyh+7m K1AbwL13qFZSq8Fx+9otn0aqja8VKPqpdskk5LxBR/9t1zMMkdu6/R2FM84kxYRFSvC1IDg1BRW7 hzp8w3iHcOwbVtsmWfnQGGis4EvbR3jXsI0ESXwhBU2hwt/J18C+HygJl/jEzm1SsR8v3aJbN/NZ fa8pHhHaz+HPa0HAgEx4sWDF
X-Report-Abuse-To: spam@quarantine14.antispamcloud.com
Archived-At: <https://mailarchive.ietf.org/arch/msg/quic/nd3ZAOBiB0ASc0CdFs7D5YncaT0>
X-BeenThere: quic@ietf.org
X-Mailman-Version: 2.1.39
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: Mon, 22 Jan 2024 07:21:43 -0000


On 1/21/2024 9:31 PM, Kazuho Oku wrote:
> 2024年1月22日(月) 7:59 Martin Thomson <mt@lowentropy.net>:
> 
>> https://datatracker.ietf.org/doc/html/draft-misell-quic-bdp-token
>>
>> IANA has received a formal request related to this draft.  As far as I can
>> tell, this is a different spelling of draft-kuhn-quic-bdpframe-extension,
>> just with real code points specified.  The value chosen takes two bytes to
>> encode, which is fine.
>>
> 
> Regarding the code point, doesn't RFC 9000 section 22.1.2 state that 4-byte
> or 8-byte code points should be used unless it is "especially sensitive to
> having a longer encoding?" My feeling is that transport parameters and
> error codes are not sensitive, as they are used only once per the lifetime
> of a connection.
> 
> That said, I wonder if it is necessary to request a provisional
> registration for every individual draft. My experience has been that drafts
> submitted to the working group are discussed and revised. Then, as they
> mature, code points are fixed and registered.
> 
> Generally speaking I think sending CC-related signals from the client is an
> idea worth exploring. At the same time, I am concerned that the design in
> the current form might have privacy concerns, as CC-related properties from
> the servers will be sent in clear when the client attempts to resume. This
> can become a vector for correlating connections, as in the past we have
> discussed that it would make sense for servers to issue multiple tokens for
> one connection (in which case those tokens are likely to contain the same
> properties).
> 
> To paraphrase, my hope is that we will have something like this
> standardized with changes, and the question is if there is a need for
> provisional registration before doing that.
> 
> 
>> The draft is reasonably clear about how it operates.  It differs from
>> draft-kuhn-quic-bdpframe-extension in that it uses NEW_TOKEN to
>> communicate.  I don't see why implementations that operated this way
>> couldn't interoperate.  That is, as far as interoperation is concretely
>> necessary in this case, which is to say "not really".
>>
>> As an expert on the registry, I've been asked to review this
>> registration.  The fact that I think this is a bad idea is not a sufficient
>> reason to reject the registration.  So I plan to let IANA know to go ahead.

What Kazuho said. The multipath draft, for example, was rewritten to use 
an 8 bytes transport parameter (62 bits, 52 random and 8 bits for the 
draft version) and four bytes frame types (22 bits random as a prefix 
and 8 bits for individual frame types). I would expect registrants to do 
the same, especially for individual drafts. If I was in your shoes, I 
would ask them to stick to these lengths and explain which random 
generation process they used to produce the values.

-- Christian Huitema