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

DCO interface should autodestroy (by default) if userland crashes #48

Open
cron2 opened this issue Sep 12, 2023 · 0 comments
Open

DCO interface should autodestroy (by default) if userland crashes #48

cron2 opened this issue Sep 12, 2023 · 0 comments

Comments

@cron2
Copy link
Contributor

cron2 commented Sep 12, 2023

If OpenVPN crashes instead of exiting orderly (for example after hitting the --multihome --proto tcp bug) the kernel side tunX interface is kept around. On OpenVPN restart, OpenVPN will just allocate the next one, but routing is all messed up (same IP subnet configured on both tun interfaces), so it looks like it should be working but it isn't, and this is hard to diagnose ("openvpn log is all good").

tun(4) interfaces autodestruct on all platforms today (unless explicitly created in a persistent way), and so should dco(4) interfaces.

(We've discussed this in the past, and I thought I convinced you, but it seems the change still did not happen...)

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

No branches or pull requests

1 participant