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

NM + Network: Cleanup network state updates #495

Merged
merged 3 commits into from
Jun 22, 2022

Conversation

jwijenbergh
Copy link
Collaborator

@jwijenbergh jwijenbergh commented Jun 16, 2022

Needs some testing to determine if this works on most vms and configurations. But for me this works MUCH better, especially when you have multiple VPNs configured

- Use the pygobject signals to properly check whether we have the
correct UUID
- Delete polling every second as that is hopefully not useful any more
- Delete unknown state retry mechanism for the same reason
- Should fix eduvpn#464 and hopefully eduvpn#492
- Using the primary connection is not fool proof
@jwijenbergh jwijenbergh force-pushed the cleanup-signals branch 2 times, most recently from ced90d3 to 247cd00 Compare June 22, 2022 09:39
This fixes a major bug where OpenVPN doesn't work on a reconnect. This
bug is not introduced by this PR, it's already present on master. The
problem was that we only got a new connect configuration in the case
of WireGuard, which is not right. We should always get a new connect
configuration as '/disconnect' is called.
@jwijenbergh
Copy link
Collaborator Author

jwijenbergh commented Jun 22, 2022

Tested on Ubuntu 18.04, Arch, Fedora & my own OS (NixOS). Works fine.

Also I can confirm myself that this closes #464

@jwijenbergh jwijenbergh marked this pull request as ready for review June 22, 2022 10:35
@gijzelaerr gijzelaerr merged commit c140347 into eduvpn:master Jun 22, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Reconnects when disconnecting UX: Client doesn't handle other configured VPNs correctly
2 participants