Project

General

Profile

Actions

Bug #2861

closed

IPSec Status Broken

Added by Sebastian Chrostek about 11 years ago. Updated about 11 years ago.

Status:
Resolved
Priority:
Normal
Category:
IPsec
Target version:
Start date:
03/06/2013
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.1
Affected Architecture:
All

Description

Hi,

there is a bug in
/etc/inc/ipsec.inc
on line 409

the lines

if (!strstr($sp_dstid,"/")) {
if (is_ipaddrv4($sp_srcid))

should look like this:

if (!strstr($sp_dstid,"/")) {
if (is_ipaddrv4($sp_dstid))

this bug breaks the ipsec status on ipsec links with a ph2 address as a peer (/32)

Actions

Also available in: Atom PDF