[PR #2937] [MERGED] [client] Android exit node via P2P #18716

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

📋 Pull Request Information

Original PR: https://github.com/netbirdio/netbird/pull/2937
Author: @pappz
Created: 11/22/2024
Status: Merged
Merged: 11/25/2024
Merged by: @pappz

Base: net-code-cleaningHead: android-wg-route-marks


📝 Commits (3)

📊 Changes

6 files changed (+48 additions, -48 deletions)

View changed files

client/iface/bind/control_android.go (+12 -0)
📝 go.mod (+1 -1)
📝 go.sum (+2 -2)
📝 util/net/dialer_init_android.go (+1 -21)
📝 util/net/listener_init_android.go (+1 -21)
📝 util/net/protectsocket_android.go (+31 -3)

📄 Description

Describe your changes

Support exit node feature on Android via P2P communication

Protect the WireGuard UDP listeners with marks.
The implementation can support the VPN permission revocation events in thread safe way. It will be important if we start to support the running time route and DNS update features.

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

🔄 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/2937 **Author:** [@pappz](https://github.com/pappz) **Created:** 11/22/2024 **Status:** ✅ Merged **Merged:** 11/25/2024 **Merged by:** [@pappz](https://github.com/pappz) **Base:** `net-code-cleaning` ← **Head:** `android-wg-route-marks` --- ### 📝 Commits (3) - [`9f64e34`](https://github.com/netbirdio/netbird/commit/9f64e34d5239ceca0fc7c75eccbd84dc30f2d44a) Protect WireGuard listener with marks - [`2593345`](https://github.com/netbirdio/netbird/commit/25933458a62acd9702bab192c46df17dc12b63b8) Go mod tidy - [`675f0f2`](https://github.com/netbirdio/netbird/commit/675f0f2aa43ebf2246764be505d8a6fa4a3fd44f) Update wireguard-go lib ### 📊 Changes **6 files changed** (+48 additions, -48 deletions) <details> <summary>View changed files</summary> ➕ `client/iface/bind/control_android.go` (+12 -0) 📝 `go.mod` (+1 -1) 📝 `go.sum` (+2 -2) 📝 `util/net/dialer_init_android.go` (+1 -21) 📝 `util/net/listener_init_android.go` (+1 -21) 📝 `util/net/protectsocket_android.go` (+31 -3) </details> ### 📄 Description ## Describe your changes Support exit node feature on Android via P2P communication Protect the WireGuard UDP listeners with marks. The implementation can support the VPN permission revocation events in thread safe way. It will be important if we start to support the running time route and DNS update features. ## Issue ticket number and link ### Checklist - [ ] Is it a bug fix - [ ] Is a typo/documentation fix - [x] Is a feature enhancement - [ ] It is a refactor - [ ] Created tests that fail without the change (if possible) - [ ] Extended the README / documentation, if necessary --- <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 04:08:50 -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#18716