ietf-wg-masque / draft-ietf-masque-quic-proxy

Other
12 stars 7 forks source link

Explain compatibility for future QUIC versions #83

Open marten-seemann opened 1 year ago

marten-seemann commented 1 year ago

The Register Target Connection ID capsule and the Virtual Connection ID capsule allow connection IDs of up to 255 bytes. This is because RFC 8999 allows up to 255 bytes, while RFC 9000 restricts them to 20 bytes.

The capsules also contain stateless reset tokens. However, stateless resets are not a concept defined in RFC 8999, they’re only defined in RFC 9000.

It seems like the hope when defining this extension is that once a new QUIC version that allows longer CIDs ships, it will still contain the concept of stateless reset tokens, with unchanged semantics and wire format. This might or might not hold true.

tfpauly commented 1 year ago

That's a good point, but I don't think we should make any change.

Would you agree?

marten-seemann commented 1 year ago

I agree with your summary. Should this document specify that the extension only works with QUIC versions that satisfy (1) - (3), but not (4)?

tfpauly commented 1 year ago

Yes, I think it would be good to add a line to explain that if the behavior of stateless reset changes or other requirements are added, we need new capsules.

martinduke commented 11 months ago

A few things that can be done here: