Actions
Bug #4106
closedipsec, using a carpip for the interface of a phase1 ipsec connection with fails to generate the ipsec.conf content
Status:
Rejected
Priority:
High
Assignee:
-
Category:
IPsec
Target version:
-
Start date:
12/12/2014
Due date:
% Done:
0%
Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.2
Affected Architecture:
All
Description
ipsec, using a carpip for the interface of a phase1 ipsec connection with fails to generate the ipsec.conf content.
With 2.1.5 it does work properly.
due to the value wan_vip1 being stored in the config by using this:
$carplist = get_configured_carp_interface_list();
foreach ($carplist as $cif => $carpip)
$interfaces[$cif] = $carpip." (".get_vip_descr($carpip).")";
the $cif will contain that value wan_vip1, then when the function ipsec_get_phase1_src is called it fails to convert that to the ip address of the vip.
Changing code to this make (most of) my ipsec connections work again, though description is then missing in some overviews..:
$interfaces[$carpip] = $carpip." (".get_vip_descr($carpip).")";
Actions