Skip to content

OpenVPN: Fix leaks related to the overall stack#350

Merged
keeshux merged 18 commits into
masterfrom
bugfix/openvpn-leaks
Apr 19, 2026
Merged

OpenVPN: Fix leaks related to the overall stack#350
keeshux merged 18 commits into
masterfrom
bugfix/openvpn-leaks

Conversation

@keeshux
Copy link
Copy Markdown
Member

@keeshux keeshux commented Apr 18, 2026

  • Merge deprecated CyclingConnection into OpenVPNConnectionV2
    • Use typealias in tests
  • Resolve leaks in the connection/session/negotiator chain
    • Fix long-lived tun loop holding self (OpenVPNSession)
    • Release Negotiator pending packets and authenticator on cancel()
    • Finish .hasBetterPath stream in LinkInterface implementations

Fixes #204

@keeshux keeshux added bug Something isn't working OpenVPN labels Apr 18, 2026
@keeshux keeshux self-assigned this Apr 18, 2026
@keeshux keeshux added this to the 1.0.0 milestone Apr 18, 2026
@keeshux keeshux marked this pull request as ready for review April 18, 2026 16:39
@keeshux keeshux merged commit dc93ab7 into master Apr 19, 2026
1 check passed
@keeshux keeshux deleted the bugfix/openvpn-leaks branch April 19, 2026 10:08
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working OpenVPN

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenVPN: Leaks in OpenVPNSession

1 participant