diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-19 01:22:57 +0200 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2018-06-19 05:09:35 +0200 |
commit | 5d7bdaaf0bd7b5a28ad196109f5ec3cdb550bd02 (patch) | |
tree | d3ddb13296b3676478cdf778b0e27a9d7c347951 /src/ratelimiter.c | |
parent | noise: wait for crng before taking locks (diff) | |
download | wireguard-linux-compat-5d7bdaaf0bd7b5a28ad196109f5ec3cdb550bd02.tar.xz wireguard-linux-compat-5d7bdaaf0bd7b5a28ad196109f5ec3cdb550bd02.zip |
receive: drop handshake packets if rng is not initialized
Otherwise it's too easy to trigger cookie reply messages.
Signed-off-by: Jason A. Donenfeld <Jason@zx2c4.com>
Diffstat (limited to 'src/ratelimiter.c')
0 files changed, 0 insertions, 0 deletions