[PR #5156] [client] Change Soft Interface detection to include Interface Description #22210

Open
opened 2026-08-05 05:09:29 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/5156
Author: @ressys1978
Created: 1/22/2026
Status: 🔄 Open

Base: mainHead: windows-include-pangp-softinterface


📝 Commits (7)

  • fa5ccb5 Check both interface Name and Descriuption on Windows
  • 666f71e Merge branch 'netbirdio:main' into windows-include-pangp-softinterface
  • 80cdb0a Don't drop soft-interface filtering when checker is nil
  • cace1fd Merge branch 'netbirdio:main' into windows-include-pangp-softinterface
  • 8fd87d8 Merge branch 'netbirdio:main' into windows-include-pangp-softinterface
  • b2dc63e Merge branch 'netbirdio:main' into windows-include-pangp-softinterface
  • 6d28a6c Merge branch 'netbirdio:main' into windows-include-pangp-softinterface

📊 Changes

2 files changed (+93 additions, -7 deletions)

View changed files

📝 client/internal/networkmonitor/check_change_windows.go (+87 -6)
📝 client/internal/networkmonitor/check_change_windows_test.go (+6 -1)

📄 Description

Describe your changes

Changed the Soft Interface detection on Windows to include looking at the Interface Description as well as the Name. Also added support to detect a PANGP (Palo Alto Networks GlobalProtect) as a Soft Interface.

This fixes https://github.com/netbirdio/netbird/issues/5077 on Windows

Stack

Checklist

  • Is it a bug fix
  • Is a typo/documentation fix
  • Is a feature enhancement
  • It is a refactor
  • Created tests that fail without the change (if possible)

By submitting this pull request, you confirm that you have read and agree to the terms of the Contributor License Agreement.

Documentation

Select exactly one:

  • I added/updated documentation for this change
  • Documentation is not needed for this change (explain why)

No changes to anything that's configurable.

Docs PR URL (required if "docs added" is checked)

Paste the PR link from https://github.com/netbirdio/docs here:

https://github.com/netbirdio/docs/pull/__

Summary by CodeRabbit

  • Bug Fixes

    • Improved network monitoring to better detect and ignore virtual/soft Windows adapters (including GlobalProtect), reducing false change notifications.
  • Tests

    • Added/updated tests to cover virtual adapter detection and ensure consistent filtering behavior.

✏️ Tip: You can customize this high-level summary in your review settings.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/netbirdio/netbird/pull/5156 **Author:** [@ressys1978](https://github.com/ressys1978) **Created:** 1/22/2026 **Status:** 🔄 Open **Base:** `main` ← **Head:** `windows-include-pangp-softinterface` --- ### 📝 Commits (7) - [`fa5ccb5`](https://github.com/netbirdio/netbird/commit/fa5ccb5c0afd78ce06a6fbd9c391e7dae1285ec0) Check both interface Name and Descriuption on Windows - [`666f71e`](https://github.com/netbirdio/netbird/commit/666f71ec6e397080f7d75bff7e29804fea4c1d21) Merge branch 'netbirdio:main' into windows-include-pangp-softinterface - [`80cdb0a`](https://github.com/netbirdio/netbird/commit/80cdb0ad6802d6d877f1a152867b54e10fcd7239) Don't drop soft-interface filtering when checker is nil - [`cace1fd`](https://github.com/netbirdio/netbird/commit/cace1fd7cb4cab0e30cfb31917119265489acef8) Merge branch 'netbirdio:main' into windows-include-pangp-softinterface - [`8fd87d8`](https://github.com/netbirdio/netbird/commit/8fd87d87c0efac239ac7224c1e35727eaf8c6620) Merge branch 'netbirdio:main' into windows-include-pangp-softinterface - [`b2dc63e`](https://github.com/netbirdio/netbird/commit/b2dc63ecbc3fdc19b990c59f0a6b66af47f789b0) Merge branch 'netbirdio:main' into windows-include-pangp-softinterface - [`6d28a6c`](https://github.com/netbirdio/netbird/commit/6d28a6c18c19ed17df07e20eb1fa91b3e7c556f2) Merge branch 'netbirdio:main' into windows-include-pangp-softinterface ### 📊 Changes **2 files changed** (+93 additions, -7 deletions) <details> <summary>View changed files</summary> 📝 `client/internal/networkmonitor/check_change_windows.go` (+87 -6) 📝 `client/internal/networkmonitor/check_change_windows_test.go` (+6 -1) </details> ### 📄 Description ## Describe your changes Changed the Soft Interface detection on Windows to include looking at the Interface Description as well as the Name. Also added support to detect a PANGP (Palo Alto Networks GlobalProtect) as a Soft Interface. ## Issue ticket number and link This fixes https://github.com/netbirdio/netbird/issues/5077 on Windows ## Stack <!-- branch-stack --> ### Checklist - [x] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) > By submitting this pull request, you confirm that you have read and agree to the terms of the [Contributor License Agreement](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [x] Documentation is **not needed** for this change (explain why) No changes to anything that's configurable. ### Docs PR URL (required if "docs added" is checked) Paste the PR link from https://github.com/netbirdio/docs here: https://github.com/netbirdio/docs/pull/__ <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Bug Fixes** * Improved network monitoring to better detect and ignore virtual/soft Windows adapters (including GlobalProtect), reducing false change notifications. * **Tests** * Added/updated tests to cover virtual adapter detection and ensure consistent filtering behavior. <sub>✏️ Tip: You can customize this high-level summary in your review settings.</sub> <!-- end of auto-generated comment: release notes by coderabbit.ai --> --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
saavagebueno added the pull-request label 2026-08-05 05:09:29 -04:00
Sign in to join this conversation.
No Label pull-request
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#22210