Skip to content
Permalink
Browse files

Update STANDARD.md

  • Loading branch information...
gafferongames committed Apr 5, 2019
1 parent ce55c29 commit 207fb1cbc17a296cbab2cbab96b7399b2f21361e
Showing with 2 additions and 2 deletions.
  1. +2 −2 STANDARD.md
@@ -295,9 +295,9 @@ The replay protection algorithm is as follows:

1. Any packet older than the most recent sequence number received, minus the _replay buffer size_, is discarded on the receiver side.

2. When a packet arrives that is newer than the most recent sequence number received.
2. If a packet arrives that is within _replay buffer size_ of the most recent sequence number, it is accepted only if its sequence number has not already been received, otherwise it is ignored.

3. If a packet arrives that is within _replay buffer size_ of the most recent sequence number, it is accepted only if its sequence number has not already been received, otherwise it is ignored.
3. After the packet has been successfully decrypted, a) if the packet sequence # is in the replay buffer window that entry is set as received, and b) the most recent sequence number is updated if the packet sequence # is > than the previous most recent sequence number received.

Replay protection is applied to the following packet types on both client and server:

0 comments on commit 207fb1c

Please sign in to comment.
You can’t perform that action at this time.