Project

General

Profile

Actions

Bug #4106

closed

ipsec, using a carpip for the interface of a phase1 ipsec connection with fails to generate the ipsec.conf content

Added by Pi Ba almost 11 years ago. Updated about 10 years ago.

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 #1

Updated by Chris Buechler almost 11 years ago

  • Status changed from New to Rejected

duplicate of #4089 which is fixed already.

Actions #2

Updated by Chris Buechler about 10 years ago

  • Target version deleted (2.2)
Actions

Also available in: Atom PDF