mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-26 19:00:34 +02:00
ipsec: Allow IKE lifetime of up to 24 hours
Requested in #10722 The recommended time has not been changed, but it is often stated that 24 hours is a common lifetime for IKE.
This commit is contained in:
@@ -2168,8 +2168,8 @@ if(($cgiparams{'ACTION'} eq $Lang::tr{'advanced'}) ||
|
||||
$errormessage = $Lang::tr{'invalid input for ike lifetime'};
|
||||
goto ADVANCED_ERROR;
|
||||
}
|
||||
if ($cgiparams{'IKE_LIFETIME'} < 1 || $cgiparams{'IKE_LIFETIME'} > 8) {
|
||||
$errormessage = $Lang::tr{'ike lifetime should be between 1 and 8 hours'};
|
||||
if ($cgiparams{'IKE_LIFETIME'} < 1 || $cgiparams{'IKE_LIFETIME'} > 24) {
|
||||
$errormessage = $Lang::tr{'ike lifetime should be between 1 and 24 hours'};
|
||||
goto ADVANCED_ERROR;
|
||||
}
|
||||
@temp = split('\|', $cgiparams{'ESP_ENCRYPTION'});
|
||||
|
||||
Reference in New Issue
Block a user