Minor cleanup to keepalive timing jitter comments

This commit is contained in:
Russ Magee 2019-07-10 20:44:02 -07:00
parent f5480553df
commit 2087aab2d5
1 changed files with 1 additions and 1 deletions

View File

@ -898,7 +898,7 @@ func main() {
time.Sleep(time.Duration(2000-rand.Intn(200)) * time.Millisecond)
// FIXME: keepAlives should probably have small random packet len/data as well
// to further obscure them vs. interactive or tunnel data
// ** Min pkt len is 2 due to hkex.Conn.WritePacket() padding logic? I forget.
// keepAlives must be >=2 bytes, due to processing elsewhere
conn.WritePacket([]byte{0, 0}, hkexnet.CSOTunKeepAlive) // nolint: errcheck,gosec
}
}