Skip to content

Commit

Permalink
Move to Connection Error section
Browse files Browse the repository at this point in the history
  • Loading branch information
martinthomson committed Nov 18, 2020
1 parent 570ab07 commit 79e0514
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions draft-ietf-quic-transport.md
Expand Up @@ -3256,6 +3256,14 @@ frame risks a peer missing the first such packet. The only mechanism available
to an endpoint that continues to receive data for a terminated connection is to
use the stateless reset process ({{stateless-reset}}).

As the AEAD on Initial packets does not provide strong authentication, an
endpoint MAY discard an invalid Initial packet. Discarding an Initial packet is
permitted even where this specification otherwise mandates a connection error.
An endpoint can only discard a packet if it does not process the frames in the
packet or reverts the effects of any processing. Discarding invalid Initial
packets might be used to reduce exposure to denial of service; see
{{handshake-dos}}.


## Stream Errors

Expand Down Expand Up @@ -3316,14 +3324,6 @@ contents of the packet and generate Initial packets that will be successfully
authenticated at either endpoint. The AEAD also protects Initial packets
against accidental modification.

As the AEAD on Initial packets does not provide strong authentication, an
endpoint MAY discard an invalid Initial packet. Discarding an Initial packet is
permitted even where this specification otherwise mandates a connection error.
An endpoint can only discard a packet if it does not process the frames in the
packet or reverts the effects of any processing. Discarding invalid Initial
packets might be used to reduce exposure to denial of service; see
{{handshake-dos}}.

All other packets are protected with keys derived from the cryptographic
handshake. The cryptographic handshake ensures that only the communicating
endpoints receive the corresponding keys for Handshake, 0-RTT, and 1-RTT
Expand Down

0 comments on commit 79e0514

Please sign in to comment.