[PR #4443] [CLOSED] Merged fixes #25515

Open
opened 2026-08-05 07:06:06 -04:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/4443
Author: @pappz
Created: 9/4/2025
Status: Closed

Base: mainHead: merged-fixes


📝 Commits (10+)

  • e9b3b62 Improve WireGuard handshake success rate
  • bfa6df1 The non handshake initiator peer start the handshake after timeout
  • 6a0f6ef Always stop timer
  • ffe7436 Code cleaning
  • 1f088b7 Extend the proxy interface with RedirectTo function and implement it in Bind proxy
  • 06a17f0 Implement redirect to in eBPF proxy
  • 4db73a1 Implement redirect logic in UDP proxy
  • d5042f6 Fix interface changes
  • 2d5b5f5 Remove log line
  • b17c1d9 [client] Improve WireGuard handshake success rate (#3092)

📊 Changes

27 files changed (+995 additions, -307 deletions)

View changed files

📝 client/iface/bind/endpoint.go (+13 -1)
📝 client/iface/bind/ice_bind.go (+12 -3)
📝 client/iface/configurer/usp.go (+7 -0)
client/iface/iface_new_freebsd.go (+40 -0)
📝 client/iface/iface_new_linux.go (+1 -1)
📝 client/iface/wgproxy/bind/proxy.go (+73 -35)
📝 client/iface/wgproxy/ebpf/proxy.go (+11 -48)
📝 client/iface/wgproxy/ebpf/wrapper.go (+50 -30)
📝 client/iface/wgproxy/factory_kernel.go (+0 -1)
client/iface/wgproxy/factory_kernel_freebsd.go (+0 -31)
📝 client/iface/wgproxy/proxy.go (+6 -0)
📝 client/iface/wgproxy/proxy_linux_test.go (+69 -41)
client/iface/wgproxy/proxy_seed_test.go (+39 -0)
📝 client/iface/wgproxy/proxy_test.go (+118 -34)
client/iface/wgproxy/rawsocket/rawsocket.go (+50 -0)
📝 client/iface/wgproxy/udp/proxy.go (+73 -21)
client/iface/wgproxy/udp/rawsocket.go (+101 -0)
📝 client/internal/engine.go (+1 -2)
📝 client/internal/peer/conn.go (+22 -19)
client/internal/peer/endpoint.go (+88 -0)

...and 7 more files

📄 Description

Describe your changes

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)

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 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/4443 **Author:** [@pappz](https://github.com/pappz) **Created:** 9/4/2025 **Status:** ❌ Closed **Base:** `main` ← **Head:** `merged-fixes` --- ### 📝 Commits (10+) - [`e9b3b62`](https://github.com/netbirdio/netbird/commit/e9b3b6210d13b60978a7cca0ca0a0fee1bbe634b) Improve WireGuard handshake success rate - [`bfa6df1`](https://github.com/netbirdio/netbird/commit/bfa6df13c5b9c687d948976bfbd01dfa80fbd0e6) The non handshake initiator peer start the handshake after timeout - [`6a0f6ef`](https://github.com/netbirdio/netbird/commit/6a0f6efc18fd8b703ec0d245d97e4418d2fba42a) Always stop timer - [`ffe7436`](https://github.com/netbirdio/netbird/commit/ffe74365a83cd922797296791fe091c6c3adad18) Code cleaning - [`1f088b7`](https://github.com/netbirdio/netbird/commit/1f088b7e6974ca65b192c1486e9d05a899f60a82) Extend the proxy interface with RedirectTo function and implement it in Bind proxy - [`06a17f0`](https://github.com/netbirdio/netbird/commit/06a17f0eee9b3cffc261e65616624eb6124733a0) Implement redirect to in eBPF proxy - [`4db73a1`](https://github.com/netbirdio/netbird/commit/4db73a13d7da23176ebc9dce35a2392b2f071a20) Implement redirect logic in UDP proxy - [`d5042f6`](https://github.com/netbirdio/netbird/commit/d5042f688f9f17bc0d2bf45938bbf186b91bd0ee) Fix interface changes - [`2d5b5f5`](https://github.com/netbirdio/netbird/commit/2d5b5f59c2f5ec40bf1831016bda7e632525f751) Remove log line - [`b17c1d9`](https://github.com/netbirdio/netbird/commit/b17c1d96a52abf164cd905afe2a8ebc016d8cd7f) [client] Improve WireGuard handshake success rate (#3092) ### 📊 Changes **27 files changed** (+995 additions, -307 deletions) <details> <summary>View changed files</summary> 📝 `client/iface/bind/endpoint.go` (+13 -1) 📝 `client/iface/bind/ice_bind.go` (+12 -3) 📝 `client/iface/configurer/usp.go` (+7 -0) ➕ `client/iface/iface_new_freebsd.go` (+40 -0) 📝 `client/iface/iface_new_linux.go` (+1 -1) 📝 `client/iface/wgproxy/bind/proxy.go` (+73 -35) 📝 `client/iface/wgproxy/ebpf/proxy.go` (+11 -48) 📝 `client/iface/wgproxy/ebpf/wrapper.go` (+50 -30) 📝 `client/iface/wgproxy/factory_kernel.go` (+0 -1) ➖ `client/iface/wgproxy/factory_kernel_freebsd.go` (+0 -31) 📝 `client/iface/wgproxy/proxy.go` (+6 -0) 📝 `client/iface/wgproxy/proxy_linux_test.go` (+69 -41) ➕ `client/iface/wgproxy/proxy_seed_test.go` (+39 -0) 📝 `client/iface/wgproxy/proxy_test.go` (+118 -34) ➕ `client/iface/wgproxy/rawsocket/rawsocket.go` (+50 -0) 📝 `client/iface/wgproxy/udp/proxy.go` (+73 -21) ➕ `client/iface/wgproxy/udp/rawsocket.go` (+101 -0) 📝 `client/internal/engine.go` (+1 -2) 📝 `client/internal/peer/conn.go` (+22 -19) ➕ `client/internal/peer/endpoint.go` (+88 -0) _...and 7 more files_ </details> ### 📄 Description ## Describe your changes ## Issue ticket number and link ## Stack <!-- branch-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](https://github.com/netbirdio/netbird/blob/main/CONTRIBUTOR_LICENSE_AGREEMENT.md). ## Documentation Select exactly one: - [ ] I added/updated documentation for this change - [ ] Documentation is **not needed** for this change (explain why) ### 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/__ --- <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 07:06:06 -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#25515