[GH-ISSUE #1912] Userspace implementation of RemoveAllowedIP recreates wireguard iface #3529

Open
opened 2026-08-05 00:52:54 -04:00 by saavagebueno · 0 comments
Owner

Originally created by @hurricanehrndz on GitHub (May 2, 2024).
Original GitHub issue: https://github.com/netbirdio/netbird/issues/1912

Describe the problem

RemoveAllowedIP is not an update operation. Because of this when this function is called on platforms depending on the user space implementation of wireguard it results in all connections being dropped because it tries to use a port that is already in use.

To Reproduce

Steps to reproduce the behavior:
Deselect one of the routes from the new "Network Routes" menu

Expected behavior

Expect removing an IP from peer ACL does not recreate wireguard interface

Are you using NetBird Cloud?
NA

NetBird version

main

NetBird status -d output:

Not applicable

Screenshots

If applicable, add screenshots to help explain your problem.

Additional context

Add any other context about the problem here.

Originally created by @hurricanehrndz on GitHub (May 2, 2024). Original GitHub issue: https://github.com/netbirdio/netbird/issues/1912 **Describe the problem** [RemoveAllowedIP](https://github.com/netbirdio/netbird/blob/main/iface/wg_configurer_usp.go#L121C35-L121C40) is not an update operation. Because of this when this function is called on platforms depending on the user space implementation of wireguard it results in all connections being dropped because it tries to use a port that is already in use. **To Reproduce** Steps to reproduce the behavior: Deselect one of the routes from the new "Network Routes" menu **Expected behavior** Expect removing an IP from peer ACL does not recreate wireguard interface **Are you using NetBird Cloud?** NA **NetBird version** main **NetBird status -d output:** Not applicable **Screenshots** If applicable, add screenshots to help explain your problem. **Additional context** Add any other context about the problem here.
saavagebueno added the triage-needed label 2026-08-05 00:52:54 -04:00
Sign in to join this conversation.
No Label triage-needed
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: DYNR/netbird#3529