Giter Site home page Giter Site logo

Starting packet number about base-drafts HOT 6 CLOSED

quicwg avatar quicwg commented on May 25, 2024
Starting packet number

from base-drafts.

Comments (6)

ianswett avatar ianswett commented on May 25, 2024

This is possible today, but it should be required or highly recommended.

from base-drafts.

ianswett avatar ianswett commented on May 25, 2024

When fixing this, also fix the following inconsistency(noted by Mirja):
Section 4.2 (Regular Packets) page 10 says: "The first packet send by an endpoint MUST have a packet number of 1."
And section 7 (Packetization and Reliability) page 28 says: "That is, the first packet in both directions of the connection MUST have a packet number of 0."

from base-drafts.

JimRoskind avatar JimRoskind commented on May 25, 2024

Reading the motivation (re: off-path guessing of connection ID), I'm hopeful that a client would use a good Random Number Generator (RNG) and not produce a "guessable" connection ID. The presumption of a "good RNG" is indeed central to having many clients connecting to a single server (without collision). If one would posit a poor RNG... then in addition to collisio problems, I'd be wary that a RNG used to select a "unguessable" initial packet number would be problematic. Bottom line: I don't grok the security based motivation.

The other motivation is to prevent "ossification." Can someone provide a plausible motivation for a "need" to start at a different packet number, and avoid "ossification" in this context? I would have expected that standardization in this area simplifies code, and would not be a long-term problem.

from base-drafts.

mnot avatar mnot commented on May 25, 2024

Discussed in Tokyo; agreement that it's a good idea. Randomise some number of the bottom bits.

from base-drafts.

martinthomson avatar martinthomson commented on May 25, 2024

Currently, we aren't sure how many bits are going to be in initial packets. When @ekr produces a proposal for the packet headers, I think that this should include a fixed-size slot for the packet number. That will make this easier to write up.

from base-drafts.

martinthomson avatar martinthomson commented on May 25, 2024

This was addressed in #283.

from base-drafts.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.