reject small CHLOs to prevent amplification attacks

fixes #1
This commit is contained in:
Lucas Clemente
2016-05-19 16:20:22 +02:00
parent c748a8dfc0
commit f86875f746
3 changed files with 17 additions and 2 deletions

View File

@@ -54,3 +54,6 @@ const DefaultRetransmissionTime = 500 * time.Millisecond
// MinRetransmissionTime is the minimum RTO time
const MinRetransmissionTime = 200 * time.Millisecond
// ClientHelloMinimumSize is the minimum size the server expectes an inchoate CHLO to have.
const ClientHelloMinimumSize = 1024