From 4cdf805b29b1aaca1fab317ca4fce54c7fd69bf6 Mon Sep 17 00:00:00 2001 From: "Jason A. Donenfeld" Date: Wed, 30 Oct 2019 14:29:32 +0100 Subject: constants: recalculate rekey max based on a one minute flood Discussed-with: Mathias Hall-Andersen --- device/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'device') diff --git a/device/constants.go b/device/constants.go index e316f32..586ec9e 100644 --- a/device/constants.go +++ b/device/constants.go @@ -12,7 +12,7 @@ import ( /* Specification constants */ const ( - RekeyAfterMessages = (1 << 64) - (1 << 16) - 1 + RekeyAfterMessages = (1 << 60) RejectAfterMessages = (1 << 64) - (1 << 4) - 1 RekeyAfterTime = time.Second * 120 RekeyAttemptTime = time.Second * 90 -- cgit v1.2.3