mirror of
https://github.com/vincentmli/bpfire.git
synced 2026-04-25 18:32:57 +02:00
ovpn_reorganize_encryption: Integrate LZO from global to advanced section
Fixes: #11819 - Since the Voracle vulnerability, LZO is better placed under advanced section cause under specific circumstances it is exploitable. - Warning/hint has been added in the option defaults description. Signed-off-by: Erik Kapfer <ummeegge@ipfire.org> Signed-off-by: Michael Tremer <michael.tremer@ipfire.org>
This commit is contained in:
committed by
Michael Tremer
parent
88e4e3d3ad
commit
1338977702
@@ -785,6 +785,7 @@ if ($cgiparams{'ACTION'} eq $Lang::tr{'save-adv-options'}) {
|
||||
$vpnsettings{'MAX_CLIENTS'} = $cgiparams{'MAX_CLIENTS'};
|
||||
$vpnsettings{'REDIRECT_GW_DEF1'} = $cgiparams{'REDIRECT_GW_DEF1'};
|
||||
$vpnsettings{'CLIENT2CLIENT'} = $cgiparams{'CLIENT2CLIENT'};
|
||||
$vpnsettings{'COMPLZO'} = $cgiparams{'DCOMPLZO'};
|
||||
$vpnsettings{'ADDITIONAL_CONFIGS'} = $cgiparams{'ADDITIONAL_CONFIGS'};
|
||||
$vpnsettings{'DHCP_DOMAIN'} = $cgiparams{'DHCP_DOMAIN'};
|
||||
$vpnsettings{'DHCP_DNS'} = $cgiparams{'DHCP_DNS'};
|
||||
@@ -2654,6 +2655,9 @@ ADV_ERROR:
|
||||
$checked{'REDIRECT_GW_DEF1'}{'off'} = '';
|
||||
$checked{'REDIRECT_GW_DEF1'}{'on'} = '';
|
||||
$checked{'REDIRECT_GW_DEF1'}{$cgiparams{'REDIRECT_GW_DEF1'}} = 'CHECKED';
|
||||
$checked{'DCOMPLZO'}{'off'} = '';
|
||||
$checked{'DCOMPLZO'}{'on'} = '';
|
||||
$checked{'DCOMPLZO'}{$cgiparams{'DCOMPLZO'}} = 'CHECKED';
|
||||
$checked{'ADDITIONAL_CONFIGS'}{'off'} = '';
|
||||
$checked{'ADDITIONAL_CONFIGS'}{'on'} = '';
|
||||
$checked{'ADDITIONAL_CONFIGS'}{$cgiparams{'ADDITIONAL_CONFIGS'}} = 'CHECKED';
|
||||
@@ -2732,7 +2736,7 @@ print <<END;
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td width='20%'></td> <td width='15%'> </td><td width='15%'> </td><td width='15%'></td><td width='35%'></td>
|
||||
<td width='20%'></td> <td width='15%'> </td><td width='20%'> </td><td width='20%'></td><td width='35%'></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
@@ -2745,6 +2749,11 @@ print <<END;
|
||||
<td><input type='checkbox' name='REDIRECT_GW_DEF1' $checked{'REDIRECT_GW_DEF1'}{'on'} /></td>
|
||||
</tr>
|
||||
|
||||
<tr><td class='boldbase' nowrap='nowrap'>$Lang::tr{'comp-lzo'}</td>
|
||||
<td><input type='checkbox' name='DCOMPLZO' $checked{'DCOMPLZO'}{'on'} /></td>
|
||||
<td>$Lang::tr{'openvpn default'}: off <font color='red'>($Lang::tr{'attention'} exploitable via Voracle)</font></td>
|
||||
</tr>
|
||||
|
||||
<tr>
|
||||
<td class='base'>$Lang::tr{'ovpn add conf'}</td>
|
||||
<td><input type='checkbox' name='ADDITIONAL_CONFIGS' $checked{'ADDITIONAL_CONFIGS'}{'on'} /></td>
|
||||
@@ -5248,8 +5257,6 @@ END
|
||||
<option value='CAST5-CBC' $selected{'DCIPHER'}{'CAST5-CBC'}>CAST5-CBC (128 $Lang::tr{'bit'}, $Lang::tr{'vpn weak'})</option>
|
||||
</select>
|
||||
</td>
|
||||
<tr><td class='boldbase' nowrap='nowrap'>$Lang::tr{'comp-lzo'}</td>
|
||||
<td><input type='checkbox' name='DCOMPLZO' $checked{'DCOMPLZO'}{'on'} /></td>
|
||||
</tr>
|
||||
|
||||
<tr><td colspan='4'><br></td></tr>
|
||||
|
||||
Reference in New Issue
Block a user