Bug #9207
closedPhase1s 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.
100%
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?
Updated by Jim Pingle about 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.
Updated by Jim Pingle about 6 years ago
- Status changed from New to Feedback
- % Done changed from 0 to 100
Applied in changeset d188b7251a83b4a8a39ba50dfaf9a1cba35cad17.
Updated by Louis Sautier about 6 years ago
Looks good to me, thanks for the quick fix!
Updated by Jim Pingle almost 6 years ago
- Target version changed from 48 to 2.5.0
Updated by Jim Pingle over 5 years ago
- Target version changed from 2.5.0 to 2.4.4-p3
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.