vici: If a IKE reauth_time is configured, disable the default rekey_time

This commit is contained in:
Martin Willi
2015-03-03 13:49:14 +01:00
parent 1cce0df4a6
commit f6511e36b5
2 changed files with 19 additions and 2 deletions
+3 -1
View File
@@ -220,7 +220,9 @@ connections.<conn>.rekey_time = 4h
IKEv1 performs a reauthentication procedure instead.
With the default value IKE rekeying is scheduled every 4 hours, minus the
configured **rand_time**.
configured **rand_time**. If a **reauth_time** is configured, **rekey_time**
defaults to zero disabling rekeying; explicitly set both to enforce
rekeying and reauthentication.
connections.<conn>.over_time = 10% of rekey_time/reauth_time
Hard IKE_SA lifetime if rekey/reauth does not complete, as time.