From f7f10881235e3b9b0c272772a0f4c646f987a8d3 Mon Sep 17 00:00:00 2001 From: Mathias Hall-Andersen Date: Wed, 7 Aug 2019 11:29:39 +0200 Subject: Added initiation flood protection --- src/handshake/noise.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/handshake/noise.rs') diff --git a/src/handshake/noise.rs b/src/handshake/noise.rs index 6532f4d..4eea627 100644 --- a/src/handshake/noise.rs +++ b/src/handshake/noise.rs @@ -306,7 +306,7 @@ pub fn consume_initiation<'a, T: Copy>( // check and update timestamp - peer.check_timestamp(device, &ts)?; + peer.check_replay_flood(device, &ts)?; // H := Hash(H || msg.timestamp) -- cgit v1.2.3-59-g8ed1b