Project

General

Profile

« Previous | Next » 

Revision e27e8e91

Added by Jim Pingle about 5 years ago

Allow 0 for IPsec P1 reauth/rekey/over. Fixes #10529

View differences:

src/usr/local/www/vpn_ipsec_phase1.php
914 914
	'rekey_time',
915 915
	'Rekey Time',
916 916
	'number',
917
	$pconfig['rekey_time']
917
	$pconfig['rekey_time'],
918
	['min' => 0]
918 919
))->setHelp('Time, in seconds, before an IKE SA establishes new keys. This works without interruption. ' .
919 920
		'Only supported by IKEv2, and is recommended for use with IKEv2. ' .
920 921
		'Leave blank or enter a value of 0 to disable.');
......
923 924
	'reauth_time',
924 925
	'Reauth Time',
925 926
	'number',
926
	$pconfig['reauth_time']
927
	$pconfig['reauth_time'],
928
	['min' => 0]
927 929
))->setHelp('Time, in seconds, before an IKE SA is torn down and recreated from scratch, including authentication. ' .
928 930
		'This can be disruptive unless both sides support make-before-break and overlapping IKE SA entries. ' .
929 931
		'Supported by IKEv1 and IKEv2. Leave blank or enter a value of 0 to disable.');
......
932 934
	'over_time',
933 935
	'Over Time',
934 936
	'number',
935
	$pconfig['over_time']
937
	$pconfig['over_time'],
938
	['min' => 0]
936 939
))->setHelp('Hard IKE SA life time, in seconds, after which the IKE SA will be expired. ' .
937 940
		'This time is relative to reauthentication and rekey time. ' .
938 941
		'If left empty, defaults to 10% of whichever timer is higher (reauth or rekey)');

Also available in: Unified diff