Peer network range posture check also takes into account IP address from disconnected network adapters #732

Open
opened 2025-11-20 05:16:37 -05:00 by saavagebueno · 1 comment
Owner

Originally created by @karstennilsen on GitHub (Mar 22, 2024).

Describe the problem

Peer network range posture check also takes into account IP address from disconnected network adapters.
This is a problem because e.g. on Windows clients WLAN adapters that lose their connection keep their previous DHCP address.

To Reproduce

  1. Creata a peer network range posture check that blocks: 10.0.31.0/24
  2. Assign to a disabled adapter an IP address of 10.0.31.77
  3. VPN connectivity get's blocked by posture check

Expected behavior

Only connected apapters taken into account. (Maybe even only connected adapters that are used for IP routing?)

Are you using NetBird Cloud?

No

NetBird version
0.26.3

Screenshots

(Verbroken means disconnected in Dutch)
image_2024-03-22_11-14-55

Originally created by @karstennilsen on GitHub (Mar 22, 2024). **Describe the problem** Peer network range posture check also takes into account IP address from disconnected network adapters. This is a problem because e.g. on Windows clients WLAN adapters that lose their connection keep their previous DHCP address. **To Reproduce** 1. Creata a peer network range posture check that blocks: 10.0.31.0/24 2. Assign to a disabled adapter an IP address of 10.0.31.77 3. VPN connectivity get's blocked by posture check **Expected behavior** Only connected apapters taken into account. (Maybe even only connected adapters that are used for IP routing?) **Are you using NetBird Cloud?** No **NetBird version** 0.26.3 **Screenshots** (Verbroken means disconnected in Dutch) ![image_2024-03-22_11-14-55](https://github.com/netbirdio/netbird/assets/8917480/67a70c3c-8e4f-4aff-86a2-7a9af0210969)
Author
Owner

@nazarewk commented on GitHub (Apr 18, 2025):

@karstennilsen can you confirm or deny whether it is still an issue?

@nazarewk commented on GitHub (Apr 18, 2025): @karstennilsen can you confirm or deny whether it is still an issue?
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#732