Project

General

Profile

Actions

Bug #9207

closed

Phase1s created before pfSense 2.1.0 no longer work after upgrade to 2.4.3: IPsec ERROR: Could not find phase 1 source for connection [redacted]. Omitting from configuration file.

Added by Louis Sautier almost 6 years ago. Updated over 5 years ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
IPsec
Target version:
Start date:
12/18/2018
Due date:
% Done:

100%

Estimated time:
Plus Target Version:
Release Notes:
Affected Version:
2.4.4_1
Affected Architecture:
All

Description

Hi,
Before e79b24ab3534ac2af7d832038155a99902bc2c49, a phase1 did not have a protocol attribute. This a problem since d1f69741f57f9f049f80040a93278591c424a4cc because the attribute is now required.
Logs now show the following:

/vpn_ipsec.php: IPsec ERROR: Could not find phase 1 source for connection [redacted]. Omitting from configuration file.

Since this commit first appeared in 2.4.3, could something be added to the upgrade_178_to_179 function to add a protocol attribute with a value of inet to all phase1s that don't have one?

Actions #1

Updated by Jim Pingle almost 6 years ago

  • Assignee set to Jim Pingle
  • Target version set to 48

It would be better in a new upgrade code function, but that is certainly possible.

In the mean time, a simple edit/save of the P1 should put the protocol in place.

Actions #2

Updated by Jim Pingle almost 6 years ago

  • Status changed from New to Feedback
  • % Done changed from 0 to 100
Actions #3

Updated by Louis Sautier almost 6 years ago

Looks good to me, thanks for the quick fix!

Actions #4

Updated by Jim Pingle over 5 years ago

  • Target version changed from 48 to 2.5.0
Actions #5

Updated by Jim Pingle over 5 years ago

  • Target version changed from 2.5.0 to 2.4.4-p3
Actions #6

Updated by Chris Linstruth over 5 years ago

2.4.4-p3

Restored an 18.9 configuration with protocol intentionally removed. The configuration was updated to 19.1 and the protocol attribute was added back.

Actions #7

Updated by Jim Pingle over 5 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF