Bug 1809687 - Upgrading from libreswan-3.29-1.fc31.1.x86_64 to libreswan-3.30-1.fc31.x86_64 causes lt2p vpn to fail
Summary: Upgrading from libreswan-3.29-1.fc31.1.x86_64 to libreswan-3.30-1.fc31.x86_64...
Keywords:
Status: CLOSED DUPLICATE of bug 1807024
Alias: None
Product: Fedora
Classification: Fedora
Component: libreswan
Version: 31
Hardware: x86_64
OS: Linux
unspecified
high
Target Milestone: ---
Assignee: Paul Wouters
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-03-03 16:58 UTC by Jim Wildman
Modified: 2020-03-22 03:27 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-03-22 03:27:34 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jim Wildman 2020-03-03 16:58:20 UTC
Description of problem:
after applying the last updates to a Fedora 31 host (actually 2 of them), my layer 2 vpn to a Ubiquiti USG4 stopped working.  Downgrading to libreswan-3.29-1.fc31.x86_64 restored the functionality.

Inspecting logs it appears to be looking in ipsec.nm-l2tp.secrets for credentials and not finding them.

Comment 1 Jim Wildman 2020-03-03 17:03:34 UTC
I tried starting it both from the widget and from the cli (nmcli of course).  I removed the password and preshared key hoping it would prompt me, but it did not.  Tried --ask-pass with nmcli...that didn't work either.

Comment 2 Douglas Kosovic 2020-03-22 03:27:34 UTC
I believe this is mostly a duplicate of https://bugzilla.redhat.com/show_bug.cgi?id=1807024 and is in regards to libreswan >= 3.30 no longer built with DH2 (modp1024) support.

With NetworkManager-l2tp, the PSK has to be entered in the IPsec settings dialog box, there is no other way to enter it. Instead of removing the password, you need to select "Request this password every time" which can be found in the far right of the password text entry box. Once you do that, the --ask-pass switch will prompt for the password on the terminal instead of bringing up a dialog box.

I'm not sure what in the logs you are referencing that indicates ipsec.nm-l2tp.secrets doesn't have the credentials. Depending on the libreswan version, you might see a few "warning: could not open include filename: '/etc/ipsec.d/.conf'" messages, but you should also see 'loading secrets from "/etc/ipsec.d/ipsec.nm-l2tp.secrets"'.

*** This bug has been marked as a duplicate of bug 1807024 ***


Note You need to log in before you can comment on or make changes to this bug.