Skip to content

Instantly share code, notes, and snippets.

@taktoa
Created March 11, 2018 22:26
Show Gist options
  • Save taktoa/8c09f1f445e8106942b0de825540e20d to your computer and use it in GitHub Desktop.
Save taktoa/8c09f1f445e8106942b0de825540e20d to your computer and use it in GitHub Desktop.

Things to keep in mind

  • If you write a server using raw UDP, the size of a packet returned as a result of a packet received must be strictly smaller than the size of the packet received, to prevent DoS amplification attacks.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment