Skip to content

Commit c9c53c2

Browse files
committed
Merge branch 'pn-randomize' of https://github.com/mcmanus/base-drafts into mcmanus-pn-randomize
2 parents 9df8000 + 0e54993 commit c9c53c2

File tree

1 file changed

+5
-8
lines changed

1 file changed

+5
-8
lines changed

draft-ietf-quic-transport.md

Lines changed: 5 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -573,9 +573,9 @@ unless it has received a packet from the server. If the client has received a
573573
packet from the server, the connection ID field uses the value provided by the
574574
server.
575575

576-
The first Initial packet that is sent by a client contains a random 31-bit
577-
value. All subsequent packets contain a packet number that is incremented by
578-
one, see ({{packet-numbers}}).
576+
The first Initial packet that is sent by a client contains packet number 0. All
577+
subsequent packets contain a packet number that is incremented by one, see
578+
({{packet-numbers}}).
579579

580580
The payload of a Initial packet consists of a STREAM frame (or frames)
581581
for stream 0 containing a cryptographic handshake message, with enough PADDING
@@ -633,7 +633,7 @@ server and client.
633633
The connection ID field in a Handshake packet contains a connection ID
634634
that is chosen by the server (see {{connection-id}}).
635635

636-
The first Handshake packet sent by a server contains a randomized packet number.
636+
The first Handshake packet sent by a server contains contains packet number 0.
637637
This value is increased for each subsequent packet sent by the server as
638638
described in {{packet-numbers}}. The client increments the packet number from
639639
its previous packet by one for each Handshake packet that it sends (which might
@@ -742,10 +742,7 @@ have special rules for populating the packet number field.
742742

743743
### Initial Packet Number {#initial-packet-number}
744744

745-
The initial value for packet number MUST be selected from an uniform random
746-
distribution between 0 and 2^31-1. That is, the lower 31 bits of the packet
747-
number are randomized. {{?RFC4086}} provides guidance on the generation of
748-
random values.
745+
The initial value for packet number MUST be 0.
749746

750747
The first set of packets sent by an endpoint MUST include the low 32-bits of the
751748
packet number. Once any packet has been acknowledged, subsequent packets can

0 commit comments

Comments
 (0)