Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NetworkManager plugin only supports a single active connection #1493

Open
tonireed opened this issue Jan 5, 2023 · 1 comment
Open

NetworkManager plugin only supports a single active connection #1493

tonireed opened this issue Jan 5, 2023 · 1 comment

Comments

@tonireed
Copy link

tonireed commented Jan 5, 2023

System (please complete the following information):

  • OS: Debian 12.0
  • Kernel version: 6.0.0
  • strongSwan version: 5.9.8
  • Tested/confirmed with the latest version: yes

Describe the bug
The NetworkManager plugin strongswan only supports a single active connection.

To Reproduce
Steps to reproduce the behavior:

  1. Create multiple connections that use the NetworkManager plugin strongswan.
  2. Activate the first connection.
  3. Try to activate the second connection.

Expected behavior
The NetworkManager plugin strongswan supports a single active connection. The property supports-multiple-connections in the section VPN Connection in the file nm-strongswan-service.name is set to true.

Logs/Backtraces
The following error message should appear in the output of nmcli and in the log of NetworkManager:

The 'strongswan' plugin only supports a single active connection.

Additional context
Manually setting the property supports-multiple-connections in the section VPN Connection in the file nm-strongswan-service.name is set to true does not appear to solve the issue.

@tobiasbrunner
Copy link
Member

Manually setting the property supports-multiple-connections in the section VPN Connection in the file nm-strongswan-service.name is set to true does not appear to solve the issue.

Because the plugin doesn't support multiple connections. Would require quite some work to correctly track multiple connections/IKE_SAs in charon-nm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants