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

Request an SRU from Ubuntu for strongSwan #494

Closed
dguido opened this issue Apr 26, 2017 · 6 comments
Closed

Request an SRU from Ubuntu for strongSwan #494

dguido opened this issue Apr 26, 2017 · 6 comments

Comments

@dguido
Copy link
Member

dguido commented Apr 26, 2017

16.04 comes with strongSwan 5.3.5 which has a bug for iOS and macOS clients that causes them to disconnect frequently. In order to workaround the bug, we have to disable dead peer detection. However, with dead peer detection disabled it consumes IPs from the virtual pool until there aren’t any left, then no one can connect.

We can address THAT issue by setting strongSwan to “replace” IPs when they reconnect. However, with "replace" set, any client with the same certificate is considered the same client. So if you gave the same certificate to 3 people, then only 1 of them can use the VPN at a time.

The best fix is to upgrade to strongSwan 5.5.1 which fixes the dead peer detection bug and properly manages the virtual IP pool. But you can’t get 5.5.1 on 16.04. It is, however, available on 17.04.

https://wiki.ubuntu.com/StableReleaseUpdates

Related to #430

@ghost
Copy link

ghost commented Apr 27, 2017

I'm currently running a 17.04 instance with strongSwan 5.5.1. Upgrading from 16.04 seems to have fixed the issue and I haven't experienced any other bugs or abnormalities. Also, I have the local DNS resolver on. It's been up for around a day now without any issues.

@sgasean
Copy link

sgasean commented Apr 27, 2017

I also upgraded to 17.04 and it seems to work. But do we need to change disabled DPD so the bug is final resolved? If so how? Thanks

@dguido dguido added this to the 1.0 milestone Apr 29, 2017
@dguido
Copy link
Member Author

dguido commented May 2, 2017

sgasean: Yes, you can edit the ipsec.conf and set uniqueids to never and dpdaction to clear.

I filed a bug in Ubuntu: https://bugs.launchpad.net/ubuntu/+source/strongswan/+bug/1687711

@ghost
Copy link

ghost commented May 7, 2017

@sgasean How to upgrade to 17.04 ?

@jackivanov
Copy link
Collaborator

They've fixed the problem in the -proposed

@dguido
Copy link
Member Author

dguido commented May 24, 2017

Fix released!

@dguido dguido closed this as completed May 24, 2017
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

3 participants