[PR #36] [MERGED] feature: initial implementation of avoiding local proxy if peers are … #2502

Closed
opened 2025-11-20 07:11:16 -05:00 by saavagebueno · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/36
Author: @braginini
Created: 6/17/2021
Status: Merged
Merged: 6/25/2021
Merged by: @braginini

Base: mainHead: avoid-proxy-when-local-net


📝 Commits (10+)

  • 923cabd feature: initial implementation of avoiding local proxy if peers are in the same net
  • e41fded feature: enable ice mDNS
  • aa854c5 add linux native wg interface
  • 0210928 fix: extract constants from iface to iface_configuration
  • 8dfccfc refactor: remove unused code
  • dd72a01 feature: add check of Wireguard kernel module existence (Linux only)
  • 4216cd2 feature: add feature to determine when to run wireguard userspace implementation or native one (linux)
  • 0e313ee fix: mod.go build only for linux
  • 561bd68 fix: golint errors
  • 729b16e fix: windows iface build

📊 Changes

8 files changed (+253 additions, -29 deletions)

View changed files

📝 connection/connection.go (+16 -2)
📝 connection/wgproxy.go (+9 -0)
📝 go.mod (+1 -0)
📝 iface/iface.go (+8 -8)
📝 iface/iface_darwin.go (+5 -6)
📝 iface/iface_linux.go (+61 -9)
📝 iface/iface_windows.go (+9 -4)
iface/mod.go (+144 -0)

📄 Description

…in the same net


🔄 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/36 **Author:** [@braginini](https://github.com/braginini) **Created:** 6/17/2021 **Status:** ✅ Merged **Merged:** 6/25/2021 **Merged by:** [@braginini](https://github.com/braginini) **Base:** `main` ← **Head:** `avoid-proxy-when-local-net` --- ### 📝 Commits (10+) - [`923cabd`](https://github.com/netbirdio/netbird/commit/923cabda9aecb0652ade5000ca03a45da57ad962) feature: initial implementation of avoiding local proxy if peers are in the same net - [`e41fded`](https://github.com/netbirdio/netbird/commit/e41fdedd5bfd92c7d4663d488b230da52804ddb3) feature: enable ice mDNS - [`aa854c5`](https://github.com/netbirdio/netbird/commit/aa854c58999be5b0d82bfb6b8112913ef174bc4a) add linux native wg interface - [`0210928`](https://github.com/netbirdio/netbird/commit/021092800be628100336e7d8313f9408033d37cf) fix: extract constants from iface to iface_configuration - [`8dfccfc`](https://github.com/netbirdio/netbird/commit/8dfccfc8006b4612747bc6017c16b7c191055d50) refactor: remove unused code - [`dd72a01`](https://github.com/netbirdio/netbird/commit/dd72a01ecfab62d94e108b4c1fc107c5a26e4373) feature: add check of Wireguard kernel module existence (Linux only) - [`4216cd2`](https://github.com/netbirdio/netbird/commit/4216cd2986b4cd88e1f9514ec83324af6e17df5f) feature: add feature to determine when to run wireguard userspace implementation or native one (linux) - [`0e313ee`](https://github.com/netbirdio/netbird/commit/0e313eec24b7124f4e6f7d4b97cb835977cf4f6a) fix: mod.go build only for linux - [`561bd68`](https://github.com/netbirdio/netbird/commit/561bd681d922767e814bdf0624895f734a648071) fix: golint errors - [`729b16e`](https://github.com/netbirdio/netbird/commit/729b16e599fbc500840588b0f32b8f0b63dd61e8) fix: windows iface build ### 📊 Changes **8 files changed** (+253 additions, -29 deletions) <details> <summary>View changed files</summary> 📝 `connection/connection.go` (+16 -2) 📝 `connection/wgproxy.go` (+9 -0) 📝 `go.mod` (+1 -0) 📝 `iface/iface.go` (+8 -8) 📝 `iface/iface_darwin.go` (+5 -6) 📝 `iface/iface_linux.go` (+61 -9) 📝 `iface/iface_windows.go` (+9 -4) ➕ `iface/mod.go` (+144 -0) </details> ### 📄 Description …in the same net --- <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 2025-11-20 07:11:16 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: SVI/netbird#2502