[PR #3456] [client] Fix TURN-Relay switch #3745

Closed
opened 2025-11-20 08:06:59 -05:00 by saavagebueno · 0 comments
Owner

Original Pull Request: https://github.com/netbirdio/netbird/pull/3456

State: closed
Merged: Yes


Describe your changes

  • When a peer is connected with TURN and a Relay connection is established, do not force switching to Relay. Keep using TURN until disconnection.
  • In the proxy preparation phase, the Bind Proxy does not set the remote conn as a fake address for Bind. When running the Work() function, the proper proxy instance updates the conn inside the Bind.

Note

This change breaks the [client] Fix/pkg loss #3338 PR.

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)
  • Extended the README / documentation, if necessary
**Original Pull Request:** https://github.com/netbirdio/netbird/pull/3456 **State:** closed **Merged:** Yes --- ## Describe your changes - When a peer is connected with TURN and a Relay connection is established, do not force switching to Relay. Keep using TURN until disconnection. - In the proxy preparation phase, the Bind Proxy does not set the remote `conn` as a fake address for Bind. When running the Work() function, the proper proxy instance updates the `conn` inside the Bind. ### Note This change breaks the **[client] Fix/pkg loss #3338** PR. ## Issue ticket number and link ### Checklist - [x] 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) - [ ] Extended the README / documentation, if necessary
saavagebueno added the pull-request label 2025-11-20 08:06:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#3745