ike: Use optional jitter to calculate retransmission timeouts

Also adds an optional limit to avoid very high retransmission timeouts
with high numbers of retries.
This commit is contained in:
Tobias Brunner
2017-05-23 18:02:15 +02:00
parent d140b3bd3f
commit 389e4b8e67
5 changed files with 75 additions and 6 deletions
+7
View File
@@ -311,6 +311,13 @@ charon.retransmit_timeout = 4.0
charon.retransmit_tries = 5
Number of times to retransmit a packet before giving up.
charon.retransmit_jitter = 0
Maximum jitter in percent to apply randomly to calculated retransmission
timeout (0 to disable).
charon.retransmit_limit = 0
Upper limit in seconds for calculated retransmission timeout (0 to disable).
charon.retry_initiate_interval = 0
Interval in seconds to use when retrying to initiate an IKE_SA (e.g. if DNS
resolution failed), 0 to disable retries.