Windows creates a new network connection/interface on every connect

Aperta
#37 3 commenti 0 reazioni 1 assegnatario Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

@oschwartz10612 ci sta già lavorando.

Dal 28/4/2026.

Valutazione

Questa issue non è ancora stata valutata.

Descrizione

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.

Lingua principale
Go
Stelle
26
Fork
10
Merge medio
5h 49m
PR unite (30g)
12

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di fosrl/windows-linux

Tutte le issue di fosrl/windows-linux

Issue simili

Altre issue su Go

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.