Project

General

Profile

Bug #4781

IPsec PSKs from user manager and vpn_ipsec_keys.php incorrect

Added by Chris Buechler over 4 years ago. Updated over 4 years ago.

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

0%

Estimated time:
Affected Version:
2.2.x
Affected Architecture:

Description

PSKs defined in the user manager and vpn_ipsec_keys.php result in:

no shared key found for '1.2.3.4'[1.2.3.4] - 'user@example.com'[4.3.2.1]

they're written out out to ipsec.secrets like:

%any user@example.com : PSK 0sDkeFJIEOeiruSDFKLJdiruFJDJkefiuse

These must specify the identifier rather than %any to match.

commit coming momentarily. This restores the working behavior from change in #4126.

Associated revisions

Revision 887093c3 (diff)
Added by Chris Buechler over 4 years ago

Specify $myid rather than %any here, otherwise user manager and mobile PSKs won't match. Ticket #4781

Revision 62102a8b (diff)
Added by Chris Buechler over 4 years ago

Specify $myid rather than %any here, otherwise user manager and mobile PSKs won't match. Ticket #4781

Conflicts:
etc/inc/vpn.inc

History

#1 Updated by Chris Buechler over 4 years ago

  • Status changed from Confirmed to Feedback

confirmed working on one system

#2 Updated by Chris Buechler over 4 years ago

  • Status changed from Feedback to Resolved

fixed

Also available in: Atom PDF