Windows creates a new network connection/interface on every connect

未关闭
#37 3 条评论 0 个 reaction 已指派 1 人 在 GitHub 查看

维护者通常 1 天内回复

@oschwartz10612 已经在做这个了。

开始于 2026年4月28日。

评估

这个 Issue 还没有评估数据。

描述

bug
Describe the Bug

Previously opened this as a feature request (https://github.com/orgs/fosrl/discussions/2772), but this a bug rather than a feature request.

When connecting to a Pangolin instance on Windows, either through OLM or the GUI client, a new virtual network connection and registry entry is created on every connection in the following locations:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\NetworkList\Signatures\Unmanaged
Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

Below is a link to the pull request that another project used to solve the issue. Started looking into the solution, and it seems like the solution here will be similar:
https://github.com/netbirdio/netbird/pull/2479

Environment
  • OS Type & Version: Windows 11
  • Pangolin Version: 0.9.0
  • Gerbil Version: N/A
  • Traefik Version: N/A
  • Newt Version: N/A
  • Olm Version: 1.4.4
To Reproduce

Install Pangolin on Windows. Connect to a network. Disconnect and reconnect. New entries will be visible below and the interface will be named something like olm2 or Pangolin2

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\WindowsNT\CurrentVersion\NetworkList\Signatures\Unmanaged

and

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows NT\CurrentVersion\NetworkList\Profiles

Expected Behavior

Install Pangolin on Windows. Connect to a network. Disconnect and reconnect. The interface name should remain the same and new entries should not be created in the registry.

主要语言
Go
星标
26
派生
10
平均合并
5 小时 49 分钟
30 天内合并 PR
12

环境准备

从这里开始

  1. 先读完整个 Issue,再读项目的贡献指南。
  2. 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
  3. Fork 仓库,在一个分支上完成修改。
  4. 提交 Pull Request,并在描述里引用这个 Issue 编号。

fosrl/windows-linux 的其他 Issue

查看 fosrl/windows-linux 的全部 Issue

相似的 Issue

更多 Go Issue

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。