Skip to content

Validate the QUIC fixed bit (0x40) on incoming packets #2557

Description

@tuplecats

Header::from_bytes() does not validate the QUIC fixed bit (0x40) on received packets. The bit is currently only set when encoding outgoing packets.

RFC 9000 requires packets with a cleared fixed bit to be discarded. Encrypted packets will generally fail authentication later, but this unnecessarily reaches the crypto path.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions