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

Add a way to uninstall the wintun driver from the system #16

Open
deansheather opened this issue Jan 28, 2025 · 3 comments
Open

Add a way to uninstall the wintun driver from the system #16

deansheather opened this issue Jan 28, 2025 · 3 comments

Comments

@deansheather
Copy link
Member

deansheather commented Jan 28, 2025

The installer should come with wintun.dll to be dropped in the same directory we will be downloading the VPN binary to. It should also install the driver during installation, and uninstall it during uninstallation. This could either be by delegating the install/uninstall to the Go code, or importing the DLL in the installer and calling the correct method.

We will most likely need to check-in wintun.dll to this repo.

We ship wintun.dll and it gets automatically loaded by the Go code, but we should add some method of uninstalling the system driver from the system on user request. Tailscale does this by having a signal you can send to the system service to have it uninstall the driver.

@deansheather
Copy link
Member Author

deansheather commented Feb 26, 2025

The install is handled by the Go code but there's no way to uninstall it currently. I'm not sure if it persists reboot or if it's just loaded when needed.

@deansheather
Copy link
Member Author

Because other software uses wintun like Tailscale, we probably can't uninstall without the user approval.

@deansheather deansheather changed the title Installer should install/uninstall WinTUN Add a way to uninstall the wintun driver from the system Feb 28, 2025
@deansheather
Copy link
Member Author

This is not crucial for alpha

@deansheather deansheather removed their assignment Mar 11, 2025
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