|
|
|
|
|
by vlovich123
3 days ago
|
|
HRR is heloretryrequest - it tries to send a cheap ClientHello that fits in a single packet by either sending classical X25519 (uncommon) or the PQC share without the classical (what browsers do today). In the former, servers that prefer PQC require a new round trip. In the latter endpoints that only support classical require an extra round trip. Since PQC isn't deployed everywhere but the browsers have changed the default, the internet has actually gotten slower across the board. I think you're overly optimistic in presuming a client knows the one-way latency to the endpoint or vice-versa. I don't know anyone doing that and whatever value you choose is going to be wrong unless you bring to bear additional side channel information to try to minimize the error rate. > so all you are actually saying is that you previously sent M bytes in a connection, but now you send M + N bytes in a connection and that takes more time and incurs more potential for loss which is true, but not special Actually, initial connection is more privileged. It reserves resources on the server that are needed to move forward with the connection. QUIC's normal data stream is very resilient to packet loss where unimpacted ordered streams can continue transmission. That isn't true for the connection establishment. All your responses also completely disregard the memory impact which is the second half the size of the connection packet is relevant. You don't need any of the complexity you specified. You can just raise the IRW without any of what you just mentioned. The problem is that I can exhaust the RAM of your server with orders of magnitude fewer connections now. |
|
The initial connection window should not be any more privileged than any other choice of initial receiver window. In QUIC this is largely true as it is largely managed as just another stream subject to regular congestion control, resends, and reordering.
Any initial receiver window is a decision as to the amount of memory resources you will accept to handle connection establishment and any initial data pipelined relative to the connection establishment you wish to receive. You should probably tune this to fit your average small-connection use case on your endpoint which would enable you to service a entire request, including handshake, in 1 RTT and allow resource reclamation in 1.5 RTT.
> The problem is that I can exhaust the RAM of your server with orders of magnitude fewer connections now.
So? It is not like you need to reserve the entire initial receiver window worth of memory upfront. You can just allocate the amount of resources directly in proportion to the amount of data received. With such a scheme there is no way for them to amplify their memory usage or bandwidth usage. So, a attacker would still need to send the same amount of data in a DDoS with the only advantage being they need fewer connections so I guess you can take someone down with 1/10th the number of IP addresses? Is that the concern?