diff options
author | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-30 14:29:32 +0100 |
---|---|---|
committer | Jason A. Donenfeld <Jason@zx2c4.com> | 2019-10-30 14:29:32 +0100 |
commit | 4cdf805b29b1aaca1fab317ca4fce54c7fd69bf6 (patch) | |
tree | 2e2ec7aca22ce98a0a7971ab871e2719ea0a7c8e | |
parent | f7d0edd2ecf5f7f5aed188823de0a122691a7de6 (diff) |
constants: recalculate rekey max based on a one minute flood
Discussed-with: Mathias Hall-Andersen <mathias@hall-andersen.dk>
-rw-r--r-- | device/constants.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 |