Révision 4e2712d6
Ajouté par Ermal il y a presque 10 ans
usr/local/www/vpn_ipsec_phase1.php | ||
---|---|---|
91 | 91 |
$pconfig['dhgroup'] = $a_phase1[$p1index]['dhgroup']; |
92 | 92 |
$pconfig['lifetime'] = $a_phase1[$p1index]['lifetime']; |
93 | 93 |
$pconfig['authentication_method'] = $a_phase1[$p1index]['authentication_method']; |
94 |
$pconfig['proposal_check'] = $a_phase1[$p1index]['proposal_check']; |
|
95 | 94 |
|
96 | 95 |
if (($pconfig['authentication_method'] == "pre_shared_key") || |
97 | 96 |
($pconfig['authentication_method'] == "xauth_psk_server")) { |
... | ... | |
342 | 341 |
$ph1ent['certref'] = $pconfig['certref']; |
343 | 342 |
$ph1ent['caref'] = $pconfig['caref']; |
344 | 343 |
$ph1ent['authentication_method'] = $pconfig['authentication_method']; |
345 |
$ph1ent['proposal_check'] = $pconfig['proposal_check']; |
|
346 | 344 |
$ph1ent['descr'] = $pconfig['descr']; |
347 | 345 |
$ph1ent['nat_traversal'] = $pconfig['nat_traversal']; |
348 | 346 |
|
... | ... | |
711 | 709 |
</span> |
712 | 710 |
</td> |
713 | 711 |
</tr> |
714 |
<tr id="proposal_check"> |
|
715 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Proposal Checking"); ?></td> |
|
716 |
<td width="78%" class="vtable"> |
|
717 |
<select name="proposal_check" class="formselect"> |
|
718 |
<option value="" <?php if (empty($pconfig['proposal_check'])) echo "selected"; ?>>Default</option> |
|
719 |
<option value="obey" <?php if ($pconfig['proposal_check'] == "obey") echo "selected"; ?>>Obey</option> |
|
720 |
<option value="strict" <?php if ($pconfig['proposal_check'] == "strict") echo "selected"; ?>>Strict</option> |
|
721 |
<option value="claim" <?php if ($pconfig['proposal_check'] == "claim") echo "selected"; ?>>Claim</option> |
|
722 |
<option value="exact" <?php if ($pconfig['proposal_check'] == "exact") echo "selected"; ?>>Exact</option> |
|
723 |
</select> |
|
724 |
<br /> |
|
725 |
<span class="vexpl"> |
|
726 |
<?=gettext("Specifies the action of lifetime length, key length, and PFS of the phase 2 selection on the responder side, and the action of lifetime check in phase 1."); ?> |
|
727 |
</span> |
|
728 |
</td> |
|
729 |
</tr> |
|
730 | 712 |
<tr> |
731 | 713 |
<td width="22%" valign="top" class="vncellreq"><?=gettext("Encryption algorithm"); ?></td> |
732 | 714 |
<td width="78%" class="vtable"> |
Formats disponibles : Unified diff
Remove Proposal check as a racoon thingy